diginet-core-ui 1.3.24
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/avatar/default.svg +3 -0
- package/assets/images/menu/dhr/Default.svg +13 -0
- package/assets/images/menu/dhr/MHRM00N0001.svg +14 -0
- package/assets/images/menu/dhr/MHRM09N0001.svg +1 -0
- package/assets/images/menu/dhr/MHRM09N0002.svg +3 -0
- package/assets/images/menu/dhr/MHRM09N0003.svg +25 -0
- package/assets/images/menu/dhr/MHRM25N0001.svg +26 -0
- package/assets/images/menu/dhr/MHRM29N0001.svg +30 -0
- package/assets/images/menu/dhr/MHRM29N0015.svg +63 -0
- package/assets/images/menu/dhr/MHRM39N0012.svg +43 -0
- package/assets/images/menu/dhr/MHRM39N0013.svg +24 -0
- package/assets/images/menu/dhr/MHRM39N0014.svg +14 -0
- package/assets/images/menu/dhr/MHRM39N0015.svg +36 -0
- package/assets/images/menu/dhr/MHRM39N0016.svg +23 -0
- package/assets/images/menu/dhr/MHRM77N0001.svg +28 -0
- package/assets/images/menu/dhr/MHRM84N0001.svg +27 -0
- package/assets/images/menu/dhr/MHRM84N0002.svg +24 -0
- package/assets/images/menu/dhr/MHRM89N0001.svg +16 -0
- package/assets/images/menu/dhr/MHRP00N0001.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0001.svg +22 -0
- package/assets/images/menu/dhr/MHRP09N0002.svg +19 -0
- package/assets/images/menu/dhr/MHRP09N0003.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0004.svg +6 -0
- package/assets/images/menu/dhr/MHRP09N0005.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0006.svg +17 -0
- package/assets/images/menu/dhr/MHRP09N0007.svg +15 -0
- package/assets/images/menu/dhr/MHRP09N0008.svg +8 -0
- package/assets/images/menu/dhr/MHRP09N0009.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0010.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0011.svg +16 -0
- package/assets/images/menu/dhr/MHRP09N0012.svg +6 -0
- package/assets/images/menu/dhr/MHRP09N0013.svg +8 -0
- package/assets/images/menu/dhr/MHRP09N0014.svg +11 -0
- package/assets/images/menu/dhr/MHRP09N0015.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0016.svg +18 -0
- package/assets/images/menu/dhr/MHRP09N0017.svg +18 -0
- package/assets/images/menu/dhr/MHRP09N0018.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0019.svg +13 -0
- package/assets/images/menu/dhr/MHRP09N0020.svg +17 -0
- package/assets/images/menu/dhr/MHRP09N0021.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0022.svg +16 -0
- package/assets/images/menu/dhr/MHRP09N0023.svg +8 -0
- package/assets/images/menu/dhr/MHRP09N0024.svg +15 -0
- package/assets/images/menu/dhr/MHRP09N0025.svg +16 -0
- package/assets/images/menu/dhr/MHRP09N0026.svg +13 -0
- package/assets/images/menu/dhr/MHRP09N0027.svg +10 -0
- package/assets/images/menu/dhr/MHRP13N0001.svg +9 -0
- package/assets/images/menu/dhr/MHRP21N0001.svg +12 -0
- package/assets/images/menu/dhr/MHRP21N0002.svg +13 -0
- package/assets/images/menu/dhr/MHRP25N0001.svg +13 -0
- package/assets/images/menu/dhr/MHRP25N0002.svg +16 -0
- package/assets/images/menu/dhr/MHRP25N0003.svg +38 -0
- package/assets/images/menu/dhr/MHRP25N0004.svg +17 -0
- package/assets/images/menu/dhr/MHRP25N0005.svg +20 -0
- package/assets/images/menu/dhr/MHRP29N0001.svg +18 -0
- package/assets/images/menu/dhr/MHRP29N0002.svg +15 -0
- package/assets/images/menu/dhr/MHRP29N0003.svg +20 -0
- package/assets/images/menu/dhr/MHRP29N0004.svg +21 -0
- package/assets/images/menu/dhr/MHRP29N0005.svg +21 -0
- package/assets/images/menu/dhr/MHRP29N0006.svg +14 -0
- package/assets/images/menu/dhr/MHRP29N0007.svg +19 -0
- package/assets/images/menu/dhr/MHRP29N0008.svg +20 -0
- package/assets/images/menu/dhr/MHRP29N0009.svg +11 -0
- package/assets/images/menu/dhr/MHRP29N0010.svg +11 -0
- package/assets/images/menu/dhr/MHRP29N0011.svg +12 -0
- package/assets/images/menu/dhr/MHRP29N0013.svg +27 -0
- package/assets/images/menu/dhr/MHRP29N0014.svg +32 -0
- package/assets/images/menu/dhr/MHRP29N0016.svg +54 -0
- package/assets/images/menu/dhr/MHRP29N0017.svg +24 -0
- package/assets/images/menu/dhr/MHRP29N0018.svg +44 -0
- package/assets/images/menu/dhr/MHRP29N0019.svg +17 -0
- package/assets/images/menu/dhr/MHRP29N0020.svg +11 -0
- package/assets/images/menu/dhr/MHRP38N0001.svg +13 -0
- package/assets/images/menu/dhr/MHRP38N0002.svg +14 -0
- package/assets/images/menu/dhr/MHRP39N0001.svg +15 -0
- package/assets/images/menu/dhr/MHRP39N0002.svg +13 -0
- package/assets/images/menu/dhr/MHRP39N0003.svg +16 -0
- package/assets/images/menu/dhr/MHRP39N0004.svg +22 -0
- package/assets/images/menu/dhr/MHRP39N0005.svg +16 -0
- package/assets/images/menu/dhr/MHRP39N0006.svg +17 -0
- package/assets/images/menu/dhr/MHRP39N0007.svg +13 -0
- package/assets/images/menu/dhr/MHRP39N0008.svg +3 -0
- package/assets/images/menu/dhr/MHRP39N0009.svg +3 -0
- package/assets/images/menu/dhr/MHRP39N0010.svg +7 -0
- package/assets/images/menu/dhr/MHRP39N0011.svg +14 -0
- package/assets/images/menu/dhr/MHRP39N0013.svg +10 -0
- package/assets/images/menu/dhr/MHRP39N0014.svg +11 -0
- package/assets/images/menu/dhr/MHRP39N1222.svg +12 -0
- package/assets/images/menu/dhr/MHRP51N0001.svg +9 -0
- package/assets/images/menu/dhr/MHRP51N0002.svg +13 -0
- package/assets/images/menu/dhr/MHRP52N0001.svg +21 -0
- package/assets/images/menu/dhr/MHRP52N0002.svg +21 -0
- package/assets/images/menu/dhr/MHRP52N0003.svg +16 -0
- package/assets/images/menu/dhr/MHRP75N0001.svg +19 -0
- package/assets/images/menu/dhr/MHRP75N0002.svg +25 -0
- package/assets/images/menu/dhr/MHRP75N0003.svg +3 -0
- package/assets/images/menu/dhr/MHRP75N0006.svg +14 -0
- package/assets/images/menu/dhr/MHRP75N0007.svg +19 -0
- package/assets/images/menu/dhr/MHRP75N0008.svg +19 -0
- package/assets/images/menu/dhr/MHRP77N0007.svg +28 -0
- package/assets/images/menu/dhr/MHRP77N0008.svg +17 -0
- package/assets/images/menu/dhr/MHRP77N0009.svg +19 -0
- package/assets/images/menu/dhr/MHRP77N0010.svg +20 -0
- package/assets/images/menu/dhr/MHRP89N1000.svg +6 -0
- package/assets/images/menu/dhr/MHRP89N1001.svg +6 -0
- package/assets/images/menu/dhr/W00F0001.svg +3 -0
- package/assets/images/menu/dhr/W00F0002.svg +3 -0
- package/assets/images/menu/dhr/W00F0003.svg +3 -0
- package/assets/images/menu/dhr/W00F0004.svg +3 -0
- package/assets/images/menu/dhr/W00F0005.svg +1 -0
- package/assets/images/menu/dhr/W09F2000-WEB5.svg +17 -0
- package/assets/images/menu/dhr/W09F2000.svg +6 -0
- package/assets/images/menu/dhr/W09F2002-WEB5.svg +21 -0
- package/assets/images/menu/dhr/W09F2005-WEB5.svg +13 -0
- package/assets/images/menu/dhr/W09F2020-WEB5.svg +16 -0
- package/assets/images/menu/dhr/W09F2022-WEB5.svg +20 -0
- package/assets/images/menu/dhr/W09F2150-WEB5.svg +16 -0
- package/assets/images/menu/dhr/W09F2152-WEB5.svg +20 -0
- package/assets/images/menu/dhr/W09F2160-WEB5.svg +14 -0
- package/assets/images/menu/dhr/W09F2162-WEB5.svg +18 -0
- package/assets/images/menu/dhr/W29F4006-WEB5.svg +19 -0
- package/assets/images/menu/dhr/W75F2260-WEB5.svg +15 -0
- package/assets/images/menu/dhr/W75F2261-WEB5.svg +19 -0
- package/assets/images/menu/dhr/W75F3005-WEB5.svg +13 -0
- package/assets/images/menu/dhr/W75F4070-WEB5.svg +21 -0
- package/assets/images/menu/dhr/W75F4071-WEB5.svg +17 -0
- package/assets/images/menu/dhr/W75F4100-WEB5.svg +14 -0
- package/assets/images/menu/dhr/W77F1011.svg +19 -0
- package/assets/images/menu/dhr/W77F1013.svg +22 -0
- package/assets/images/menu/erp/W00F0001.svg +3 -0
- package/assets/images/menu/erp/W00F0002.svg +3 -0
- package/assets/images/menu/erp/W00F0003.svg +3 -0
- package/assets/images/menu/erp/W00F0004.svg +3 -0
- package/assets/images/menu/erp/W05F0001.svg +16 -0
- package/assets/images/menu/erp/W05F0001N0000.svg +16 -0
- package/assets/images/menu/erp/W05F0004N0000.svg +6 -0
- package/assets/images/menu/erp/W05F0006.svg +30 -0
- package/assets/images/menu/erp/W05F0007N0000.svg +6 -0
- package/assets/images/menu/erp/W05F0008.svg +14 -0
- package/assets/images/menu/erp/W05F4000.svg +9 -0
- package/assets/images/menu/erp/W06F0001.svg +17 -0
- package/assets/images/menu/erp/W06F0001N0000.svg +17 -0
- package/assets/images/menu/erp/W06F0004N0000.svg +22 -0
- package/assets/images/menu/erp/W06F0005.svg +22 -0
- package/assets/images/menu/erp/W06F0006.svg +55 -0
- package/assets/images/menu/erp/W06F0008.svg +17 -0
- package/assets/images/menu/erp/WA3F1025.svg +5 -0
- package/assets/images/menu/erp/WA3F2100.svg +10 -0
- package/components/accordion/context.js +6 -0
- package/components/accordion/css.js +159 -0
- package/components/accordion/details.js +60 -0
- package/components/accordion/group.js +122 -0
- package/components/accordion/index.js +117 -0
- package/components/accordion/summary.js +175 -0
- package/components/alert/index.js +264 -0
- package/components/alert/notify.js +192 -0
- package/components/avatar/index.js +556 -0
- package/components/badge/index.js +223 -0
- package/components/button/icon.js +493 -0
- package/components/button/index.js +653 -0
- package/components/button/more.js +135 -0
- package/components/button/ripple-effect.js +85 -0
- package/components/card/body-card.js +67 -0
- package/components/card/card.js +127 -0
- package/components/card/context.js +6 -0
- package/components/card/index.js +50 -0
- package/components/chart/Pie/Circle.js +50 -0
- package/components/chart/Pie/Sector.js +142 -0
- package/components/chart/Pie/Sectors.js +91 -0
- package/components/chart/Pie/index.js +311 -0
- package/components/chart/Pie-v2/Circle.js +50 -0
- package/components/chart/Pie-v2/Sector.js +128 -0
- package/components/chart/Pie-v2/Sectors.js +224 -0
- package/components/chart/Pie-v2/index.js +397 -0
- package/components/chart/bar/Axis.js +79 -0
- package/components/chart/bar/Bar.js +365 -0
- package/components/chart/bar/Grid.js +115 -0
- package/components/chart/bar/Labels.js +175 -0
- package/components/chart/bar/Points.js +111 -0
- package/components/chart/bar/index.js +172 -0
- package/components/chart/bar-v2/Axis.js +79 -0
- package/components/chart/bar-v2/Bar.js +374 -0
- package/components/chart/bar-v2/Grid.js +115 -0
- package/components/chart/bar-v2/Labels.js +175 -0
- package/components/chart/bar-v2/Points.js +111 -0
- package/components/chart/bar-v2/index.js +172 -0
- package/components/chart/line/Axis.js +79 -0
- package/components/chart/line/Grid.js +115 -0
- package/components/chart/line/Labels.js +172 -0
- package/components/chart/line/Path.js +163 -0
- package/components/chart/line/Point.js +348 -0
- package/components/chart/line/Title.js +56 -0
- package/components/chart/line/index.js +174 -0
- package/components/chart/line-v2/Axis.js +79 -0
- package/components/chart/line-v2/Grid.js +115 -0
- package/components/chart/line-v2/Labels.js +172 -0
- package/components/chart/line-v2/Path.js +163 -0
- package/components/chart/line-v2/Point.js +354 -0
- package/components/chart/line-v2/Title.js +56 -0
- package/components/chart/line-v2/index.js +174 -0
- package/components/check-text/index.js +157 -0
- package/components/check-text/interview-confirmation.js +172 -0
- package/components/check-text/interview-status.js +138 -0
- package/components/chip/attach.js +180 -0
- package/components/chip/index.js +340 -0
- package/components/collapse/index.js +67 -0
- package/components/dialogs/colors.js +11 -0
- package/components/divider/index.js +71 -0
- package/components/divider/style.js +12 -0
- package/components/form-control/attachment/index.js +1890 -0
- package/components/form-control/calendar/function.js +673 -0
- package/components/form-control/calendar/index.js +248 -0
- package/components/form-control/calendar/range.js +293 -0
- package/components/form-control/checkbox/index.js +306 -0
- package/components/form-control/control/index.js +92 -0
- package/components/form-control/date-picker/index-old.js +953 -0
- package/components/form-control/date-picker/index.js +676 -0
- package/components/form-control/date-range-picker/index.js +1305 -0
- package/components/form-control/dropdown/index.js +1865 -0
- package/components/form-control/dropdown-box/index.js +292 -0
- package/components/form-control/form/context.js +5 -0
- package/components/form-control/form/index.js +41 -0
- package/components/form-control/form-group/index.js +118 -0
- package/components/form-control/helper-text/index.js +71 -0
- package/components/form-control/input-base/index.js +733 -0
- package/components/form-control/label/index.js +73 -0
- package/components/form-control/money-input/index.js +491 -0
- package/components/form-control/number-input/index.js +633 -0
- package/components/form-control/phone-input/index.js +433 -0
- package/components/form-control/radio/index.js +263 -0
- package/components/form-control/text-input/index.js +523 -0
- package/components/form-control/time-picker/index.js +829 -0
- package/components/form-control/time-picker/swiper.js +590 -0
- package/components/form-control/toggle/index.js +250 -0
- package/components/form-view/helper-text.js +33 -0
- package/components/form-view/index.js +107 -0
- package/components/form-view/input.js +129 -0
- package/components/form-view/label.js +38 -0
- package/components/index.js +100 -0
- package/components/list/list-item-action.js +82 -0
- package/components/list/list-item-icon.js +76 -0
- package/components/list/list-item-text.js +57 -0
- package/components/list/list-item.js +114 -0
- package/components/list/list.js +155 -0
- package/components/list/sub-header.js +61 -0
- package/components/modal/body.js +71 -0
- package/components/modal/context.js +6 -0
- package/components/modal/footer.js +63 -0
- package/components/modal/header.js +108 -0
- package/components/modal/index.js +69 -0
- package/components/modal/modal.js +339 -0
- package/components/others/extra/index.js +124 -0
- package/components/others/scrollbar/index.js +95 -0
- package/components/paging/page-info.js +298 -0
- package/components/paging/page-selector.js +281 -0
- package/components/paper/index.js +119 -0
- package/components/popover/index.js +417 -0
- package/components/popup/danger_popup.js +215 -0
- package/components/popup/index.js +469 -0
- package/components/popup/proposals_popup.js +364 -0
- package/components/popup/v2/danger-popup.js +17 -0
- package/components/popup/v2/index.js +460 -0
- package/components/popup/v2/info-popup.js +17 -0
- package/components/popup/v2/success-popup.js +17 -0
- package/components/popup/v2/warning-popup.js +17 -0
- package/components/popup/v2/yes-no-popup.js +20 -0
- package/components/progress/circular.js +414 -0
- package/components/progress/linear.js +327 -0
- package/components/rating/index.js +392 -0
- package/components/slider/slider-container.js +356 -0
- package/components/slider/slider-item.js +183 -0
- package/components/status/index.js +123 -0
- package/components/tab/context.js +3 -0
- package/components/tab/tab-container.js +83 -0
- package/components/tab/tab-header.js +133 -0
- package/components/tab/tab-panel.js +51 -0
- package/components/tab/tab.js +206 -0
- package/components/tooltip/index.js +602 -0
- package/components/tooltip/portal.js +13 -0
- package/components/transfer/index.js +489 -0
- package/components/tree-view/css.js +94 -0
- package/components/tree-view/index.js +1009 -0
- package/components/typography/index.js +218 -0
- package/css/styles.css +1 -0
- package/css/styles.css.map +1 -0
- package/global/index.js +175 -0
- package/icons/basic.js +6326 -0
- package/icons/effect.js +171 -0
- package/icons/general/clock/clock.js +21 -0
- package/icons/general/color-handler/background.js +41 -0
- package/icons/general/color-handler/text.js +41 -0
- package/icons/general/emoji/emoji.js +35 -0
- package/icons/general/font-properties/bold.js +21 -0
- package/icons/general/font-properties/font-family.js +35 -0
- package/icons/general/font-properties/font-size.js +27 -0
- package/icons/general/font-properties/italic.js +21 -0
- package/icons/general/font-properties/underline.js +31 -0
- package/icons/general/hyperlink/hyperlink.js +38 -0
- package/icons/general/indent/decrease.js +55 -0
- package/icons/general/indent/increase.js +55 -0
- package/icons/general/index.js +21 -0
- package/icons/general/list/bullets.js +77 -0
- package/icons/general/list/numbering.js +71 -0
- package/icons/general/picture/picture.js +21 -0
- package/icons/general/steps/redo.js +21 -0
- package/icons/general/steps/undo.js +21 -0
- package/icons/general/text-align/center.js +21 -0
- package/icons/general/text-align/justify.js +21 -0
- package/icons/general/text-align/left.js +21 -0
- package/icons/general/text-align/right.js +21 -0
- package/icons/index.js +3 -0
- package/icons/menu/dhr.js +2440 -0
- package/icons/menu/erp.js +490 -0
- package/icons/menu/index.js +5 -0
- package/icons/menu/v2/index.js +52 -0
- package/locale/index.js +11 -0
- package/package.json +45 -0
- package/readme.md +517 -0
- package/styles/animation.js +890 -0
- package/styles/color-helper.js +504 -0
- package/styles/colors.js +306 -0
- package/styles/general.js +48 -0
- package/styles/media-queries.js +10 -0
- package/styles/typography.js +122 -0
- package/styles/utils.js +10 -0
- package/theme/index.js +5 -0
- package/theme/make-styles.js +95 -0
- package/theme/set-theme.js +39 -0
- package/theme/settings.js +230 -0
- package/theme/theme-provider.js +68 -0
- package/theme/theme.js +56 -0
- package/theme/with-styles.js +17 -0
- package/theme/with-theme.js +11 -0
- package/utils/array/array.js +186 -0
- package/utils/console.js +34 -0
- package/utils/date.js +471 -0
- package/utils/error/error.js +62 -0
- package/utils/error/errors.js +247 -0
- package/utils/getFileType.js +32 -0
- package/utils/index.js +23 -0
- package/utils/iterator.js +45 -0
- package/utils/map-parent.js +53 -0
- package/utils/number.js +64 -0
- package/utils/object/extend.js +57 -0
- package/utils/object/object.js +68 -0
- package/utils/parseHTML.js +8 -0
- package/utils/promisify.js +38 -0
- package/utils/randomString.js +33 -0
- package/utils/remove-unicode.js +6 -0
- package/utils/render-portal.js +90 -0
- package/utils/renderHTML.js +21 -0
- package/utils/renderIcon.js +57 -0
- package/utils/string/capitalize.js +3 -0
- package/utils/string/capitalizeSentenceCase.js +10 -0
- package/utils/string/string.js +81 -0
- package/utils/type.js +90 -0
- package/utils/updatePosition.js +36 -0
- package/utils/useOnClickOutside.js +23 -0
- package/utils/usePortal.js +56 -0
- package/utils/validate.js +149 -0
package/icons/effect.js
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
/** @jsxRuntime classic */
|
|
4
|
+
|
|
5
|
+
/** @jsx jsx */
|
|
6
|
+
import { memo, useRef, useEffect, useMemo, forwardRef } from 'react';
|
|
7
|
+
import PropTypes from 'prop-types';
|
|
8
|
+
import { jsx, css } from '@emotion/core';
|
|
9
|
+
import { success5, success7, warning5, warning7, danger5, danger7, info5, info7, brand, blue13, dark1, dark4, dark6, dark12 } from '../styles/colors';
|
|
10
|
+
import * as Icons from './basic';
|
|
11
|
+
import { capitalize } from '../utils';
|
|
12
|
+
import { useTheme } from '../theme';
|
|
13
|
+
const {
|
|
14
|
+
colors
|
|
15
|
+
} = useTheme();
|
|
16
|
+
|
|
17
|
+
const getColor = name => {
|
|
18
|
+
switch (capitalize(name)) {
|
|
19
|
+
case 'Approval':
|
|
20
|
+
return {
|
|
21
|
+
color: success5,
|
|
22
|
+
pressed: success7
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
case 'Delete':
|
|
26
|
+
return {
|
|
27
|
+
color: warning5,
|
|
28
|
+
pressed: warning7
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
case 'Cancel':
|
|
32
|
+
case 'Close':
|
|
33
|
+
return {
|
|
34
|
+
color: danger5,
|
|
35
|
+
pressed: danger7
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
case 'Edit':
|
|
39
|
+
case 'View':
|
|
40
|
+
return {
|
|
41
|
+
color: info5,
|
|
42
|
+
pressed: info7
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
default:
|
|
46
|
+
return {
|
|
47
|
+
color: brand,
|
|
48
|
+
pressed: '#697CCE'
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const Icon = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
54
|
+
type,
|
|
55
|
+
name,
|
|
56
|
+
className,
|
|
57
|
+
color,
|
|
58
|
+
width,
|
|
59
|
+
height,
|
|
60
|
+
viewBox,
|
|
61
|
+
disabled,
|
|
62
|
+
onClick,
|
|
63
|
+
...props
|
|
64
|
+
}, ref) => {
|
|
65
|
+
if (!ref) {
|
|
66
|
+
ref = useRef(null);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const dgnIcon = css`
|
|
70
|
+
display: inline-flex;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
width: max-content;
|
|
74
|
+
height: max-content;
|
|
75
|
+
min-width: ${width ? isNaN(width) ? width : width + 'px' : '24px'};
|
|
76
|
+
min-height: ${width ? isNaN(height) ? height : height + 'px' : '24px'};
|
|
77
|
+
padding: ${viewBox ? type === 'filled' ? 0 : 4 : Math.floor((width || 24) / 8)}px;
|
|
78
|
+
margin: ${type === 'filled' ? 4 : 0}px;
|
|
79
|
+
color: ${type === 'filled' ? 'white' : colors[color] || color};
|
|
80
|
+
background-color: ${type === 'filled' ? brand : 'transparent'};
|
|
81
|
+
border-radius: 50%;
|
|
82
|
+
outline: none;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
cursor: ${onClick ? 'pointer' : 'default'};
|
|
85
|
+
user-select: none;
|
|
86
|
+
&:hover {
|
|
87
|
+
color: ${getColor(name).color};
|
|
88
|
+
background-color: ${type === 'filled' ? blue13 : 'transparent'};
|
|
89
|
+
}
|
|
90
|
+
&:focus {
|
|
91
|
+
color: ${type === 'filled' ? 'white' : getColor(name).pressed};
|
|
92
|
+
background-color: ${type === 'filled' ? getColor(name).pressed : 'transparent'};
|
|
93
|
+
}
|
|
94
|
+
&:active {
|
|
95
|
+
color: ${getColor(name).color};
|
|
96
|
+
background-color: ${dark1};
|
|
97
|
+
}
|
|
98
|
+
&.disabled {
|
|
99
|
+
color: ${dark4} !important;
|
|
100
|
+
background-color: ${dark12} !important;
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
104
|
+
useEffect(() => {
|
|
105
|
+
if (disabled && ref.current) {
|
|
106
|
+
ref.current.classList.add('disabled');
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return () => {
|
|
110
|
+
if (disabled && ref.current) {
|
|
111
|
+
ref.current.classList.remove('disabled');
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
}, [disabled]);
|
|
115
|
+
const IconEffect = useMemo(() => {
|
|
116
|
+
if (!name) return null;
|
|
117
|
+
const IconComp = Icons[capitalize(name)];
|
|
118
|
+
if (!IconComp) return null;
|
|
119
|
+
return jsx("span", _extends({
|
|
120
|
+
className: 'DGN-UI-Icon ' + className,
|
|
121
|
+
css: dgnIcon,
|
|
122
|
+
tabIndex: -1,
|
|
123
|
+
ref: ref,
|
|
124
|
+
onClick: onClick
|
|
125
|
+
}, props), jsx(IconComp, {
|
|
126
|
+
width: width,
|
|
127
|
+
height: height,
|
|
128
|
+
color: 'currentColor',
|
|
129
|
+
viewBox: viewBox
|
|
130
|
+
}));
|
|
131
|
+
}, [name, type, color, width, height, onClick]);
|
|
132
|
+
return IconEffect;
|
|
133
|
+
}));
|
|
134
|
+
Icon.defaultProps = {
|
|
135
|
+
type: 'default',
|
|
136
|
+
className: '',
|
|
137
|
+
color: dark6,
|
|
138
|
+
disabled: false,
|
|
139
|
+
viewBox: false
|
|
140
|
+
};
|
|
141
|
+
Icon.propTypes = {
|
|
142
|
+
/** used to fill/non-fill background for icon */
|
|
143
|
+
type: PropTypes.oneOf(['default', 'filled']),
|
|
144
|
+
|
|
145
|
+
/** color of icon<br />
|
|
146
|
+
* default: #7F828E
|
|
147
|
+
*/
|
|
148
|
+
color: PropTypes.string,
|
|
149
|
+
|
|
150
|
+
/** className of icon in icons store */
|
|
151
|
+
className: PropTypes.string,
|
|
152
|
+
|
|
153
|
+
/** name of icon in icons store */
|
|
154
|
+
name: PropTypes.string.isRequired,
|
|
155
|
+
|
|
156
|
+
/** the width of icon */
|
|
157
|
+
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
158
|
+
|
|
159
|
+
/** the height of icon */
|
|
160
|
+
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
161
|
+
|
|
162
|
+
/** have view box if true */
|
|
163
|
+
viewBox: PropTypes.bool,
|
|
164
|
+
|
|
165
|
+
/** prevent all event if true */
|
|
166
|
+
disabled: PropTypes.bool,
|
|
167
|
+
|
|
168
|
+
/** function for click event on icon */
|
|
169
|
+
onClick: PropTypes.func
|
|
170
|
+
};
|
|
171
|
+
export default Icon;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const Clock = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 20 20",
|
|
12
|
+
fill: "none"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
clipRule: "evenodd",
|
|
16
|
+
d: "M13.4167 8.625H10.5417V5.75C10.5417 5.22004 10.1123 4.79167 9.58333 4.79167C9.05433 4.79167 8.625 5.22004 8.625 5.75V9.58333C8.625 10.1133 9.05433 10.5417 9.58333 10.5417H13.4167C13.9466 10.5417 14.375 10.1133 14.375 9.58333C14.375 9.05338 13.9466 8.625 13.4167 8.625ZM9.58333 17.25C5.35612 17.25 1.91667 13.8105 1.91667 9.58333C1.91667 5.35612 5.35612 1.91667 9.58333 1.91667C13.8105 1.91667 17.25 5.35612 17.25 9.58333C17.25 13.8105 13.8105 17.25 9.58333 17.25ZM9.58333 0C4.29908 0 0 4.29908 0 9.58333C0 14.8676 4.29908 19.1667 9.58333 19.1667C14.8676 19.1667 19.1667 14.8676 19.1667 9.58333C19.1667 4.29908 14.8676 0 9.58333 0Z",
|
|
17
|
+
fill: pathFill
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default Clock;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const BackgroundColor = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 34.522 20"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "Group_12",
|
|
14
|
+
"data-name": "Group 12",
|
|
15
|
+
transform: "translate(-1083 -1243)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
17
|
+
id: "Group_5",
|
|
18
|
+
"data-name": "Group 5",
|
|
19
|
+
transform: "translate(733 1233)",
|
|
20
|
+
clipPath: "url(#clip-path)"
|
|
21
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
id: "Path_14",
|
|
23
|
+
"data-name": "Path 14",
|
|
24
|
+
d: "M380,22.434a.7.7,0,0,1-.255-.047.661.661,0,0,1-.215-.136l-3.857-3.621a.6.6,0,0,1,0-.883.7.7,0,0,1,.94,0L380,20.927l3.387-3.179a.664.664,0,0,1,.215-.135.707.707,0,0,1,.51,0,.666.666,0,0,1,.215.135.63.63,0,0,1,.145.2.6.6,0,0,1,.05.239.582.582,0,0,1-.051.239.612.612,0,0,1-.144.2l-3.857,3.621a.661.661,0,0,1-.215.136.7.7,0,0,1-.255.047Z",
|
|
25
|
+
fill: pathFill
|
|
26
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
id: "Path_18",
|
|
28
|
+
"data-name": "Path 18",
|
|
29
|
+
d: "M367.152,10a1.641,1.641,0,0,0-1.18.49l-6.9,6.9-.01.01a.01.01,0,0,1-.01.01l-2.079,2.079a2.515,2.515,0,0,0,0,3.538,2.509,2.509,0,0,0,3.538,0l2.079-2.079h.01l.01-.01,6.9-6.906a1.672,1.672,0,0,0,0-2.359l-1.18-1.179A1.655,1.655,0,0,0,367.152,10Zm-7.816,11.834a.834.834,0,1,1-1.18-1.179l1.49-1.489,1.179,1.179ZM362,19.165l-1.179-1.179,6.317-6.317,1.179,1.179Z",
|
|
30
|
+
transform: "translate(733 1233)",
|
|
31
|
+
fill: pathFill
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
+
id: "Path_19",
|
|
34
|
+
"data-name": "Path 19",
|
|
35
|
+
d: "M368.321,25.412H351.669A1.672,1.672,0,0,0,350,27.081v1.249A1.672,1.672,0,0,0,351.669,30h16.662A1.672,1.672,0,0,0,370,28.331V27.081A1.681,1.681,0,0,0,368.321,25.412Zm0,2.909H351.669V27.071h16.662v1.249Z",
|
|
36
|
+
transform: "translate(733 1233)",
|
|
37
|
+
fill: pathFill
|
|
38
|
+
})));
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export default BackgroundColor;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const TextColor = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 34.522 20"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "Group_11",
|
|
14
|
+
"data-name": "Group 11",
|
|
15
|
+
transform: "translate(-1035 -1243)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
id: "Path_11",
|
|
18
|
+
"data-name": "Path 11",
|
|
19
|
+
d: "M320.34,25.41H303.67A1.673,1.673,0,0,0,302,27.08v1.25A1.673,1.673,0,0,0,303.67,30h16.67a1.673,1.673,0,0,0,1.67-1.67V27.08A1.667,1.667,0,0,0,320.34,25.41Zm0,2.91H303.67V27.07h16.67Z",
|
|
20
|
+
transform: "translate(733 1233)",
|
|
21
|
+
fill: pathFill
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
id: "Path_12",
|
|
24
|
+
"data-name": "Path 12",
|
|
25
|
+
d: "M317.84,14.16a.828.828,0,0,0,.83-.83v-2.5a.828.828,0,0,0-.83-.83H306.17a.828.828,0,0,0-.83.83v2.5a.83.83,0,0,0,1.66,0V11.66h2.5v10h-1.25a.83.83,0,0,0,0,1.66h7.5a.83.83,0,0,0,0-1.66H314.5v-10H317v1.67A.85.85,0,0,0,317.84,14.16Zm-5,7.5h-1.67v-10h1.67Z",
|
|
26
|
+
transform: "translate(733 1233)",
|
|
27
|
+
fill: pathFill
|
|
28
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
29
|
+
id: "Group_4",
|
|
30
|
+
"data-name": "Group 4",
|
|
31
|
+
transform: "translate(733 1233)",
|
|
32
|
+
clipPath: "url(#clip-path)"
|
|
33
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
id: "Path_13",
|
|
35
|
+
"data-name": "Path 13",
|
|
36
|
+
d: "M332,22.434a.7.7,0,0,1-.255-.047.661.661,0,0,1-.215-.136l-3.857-3.621a.6.6,0,0,1,0-.883.7.7,0,0,1,.94,0L332,20.927l3.387-3.179a.664.664,0,0,1,.215-.135.707.707,0,0,1,.51,0,.666.666,0,0,1,.215.135.63.63,0,0,1,.145.2.6.6,0,0,1,.05.239.582.582,0,0,1-.051.239.612.612,0,0,1-.144.2l-3.857,3.621a.661.661,0,0,1-.215.136.7.7,0,0,1-.255.047Z",
|
|
37
|
+
fill: pathFill
|
|
38
|
+
}))));
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export default TextColor;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const Emoji = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 34.522 20"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "Group_13",
|
|
14
|
+
"data-name": "Group 13",
|
|
15
|
+
transform: "translate(-1131 -1243)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
17
|
+
id: "Group_6",
|
|
18
|
+
"data-name": "Group 6",
|
|
19
|
+
transform: "translate(733 1233)",
|
|
20
|
+
clipPath: "url(#clip-path)"
|
|
21
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
id: "Path_15",
|
|
23
|
+
"data-name": "Path 15",
|
|
24
|
+
d: "M428,22.434a.7.7,0,0,1-.255-.047.661.661,0,0,1-.215-.136l-3.857-3.621a.6.6,0,0,1,0-.883.7.7,0,0,1,.94,0L428,20.927l3.387-3.179a.664.664,0,0,1,.215-.135.707.707,0,0,1,.51,0,.666.666,0,0,1,.215.135.63.63,0,0,1,.145.2.6.6,0,0,1,.05.239.582.582,0,0,1-.051.239.612.612,0,0,1-.144.2l-3.857,3.621a.661.661,0,0,1-.215.136.7.7,0,0,1-.255.047Z",
|
|
25
|
+
fill: pathFill
|
|
26
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
id: "Path_51",
|
|
28
|
+
"data-name": "Path 51",
|
|
29
|
+
d: "M415.07,27.069a10,10,0,1,0-14.147,0A10.02,10.02,0,0,0,415.07,27.069ZM402.005,14.015a8.459,8.459,0,1,1,0,11.963A8.471,8.471,0,0,1,402.005,14.015Zm.03,3.316v-.08a1.555,1.555,0,0,1,1.433-1.653h2.444a1.46,1.46,0,0,1,1.363,1.152h1.593A1.46,1.46,0,0,1,410.23,15.6h2.445a1.555,1.555,0,0,1,1.433,1.653v.08a1.555,1.555,0,0,1-1.433,1.653H410.23a1.55,1.55,0,0,1-1.432-1.613h-1.463a1.55,1.55,0,0,1-1.433,1.613h-2.444A1.554,1.554,0,0,1,402.035,17.331Zm10.289,4.749a4.785,4.785,0,0,1-8.676-.02.568.568,0,0,1,.311-.741.538.538,0,0,1,.22-.04.563.563,0,0,1,.521.351,3.656,3.656,0,0,0,6.592,0,.563.563,0,1,1,1.032.451Z",
|
|
30
|
+
transform: "translate(733 1233)",
|
|
31
|
+
fill: pathFill
|
|
32
|
+
})));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export default Emoji;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const Bold = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 13.89 20"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
id: "Path_7",
|
|
14
|
+
"data-name": "Path 7",
|
|
15
|
+
d: "M211.87,19.51a5.551,5.551,0,0,0-3.9-9.51h-5.86A1.114,1.114,0,0,0,201,11.11V28.89A1.114,1.114,0,0,0,202.11,30h7.22a5.55,5.55,0,0,0,2.54-10.49Zm-8.64-7.29h4.75a3.33,3.33,0,1,1,0,6.66h-4.75Zm6.11,15.56h-6.11V21.11h6.11a3.335,3.335,0,0,1,0,6.67Z",
|
|
16
|
+
transform: "translate(-201 -10)",
|
|
17
|
+
fill: pathFill
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default Bold;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const FontFamily = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 32.522 20"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "Group_9",
|
|
14
|
+
"data-name": "Group 9",
|
|
15
|
+
transform: "translate(-829 -1243)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
17
|
+
id: "Group_2",
|
|
18
|
+
"data-name": "Group 2",
|
|
19
|
+
transform: "translate(733 1233)",
|
|
20
|
+
clipPath: "url(#clip-path)"
|
|
21
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
id: "Path_1",
|
|
23
|
+
"data-name": "Path 1",
|
|
24
|
+
d: "M124,22.434a.7.7,0,0,1-.255-.047.661.661,0,0,1-.215-.136l-3.857-3.621a.6.6,0,0,1,0-.883.7.7,0,0,1,.94,0L124,20.927l3.387-3.179a.664.664,0,0,1,.215-.135.707.707,0,0,1,.51,0,.665.665,0,0,1,.215.135.631.631,0,0,1,.145.2.6.6,0,0,1,.05.239.582.582,0,0,1-.051.239.612.612,0,0,1-.144.2l-3.857,3.621a.661.661,0,0,1-.215.136.7.7,0,0,1-.255.047Z",
|
|
25
|
+
fill: pathFill
|
|
26
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
id: "Path_2",
|
|
28
|
+
"data-name": "Path 2",
|
|
29
|
+
d: "M110.55,14.55a.913.913,0,0,0,.91-.91V10.91a.913.913,0,0,0-.91-.91H96.91a.913.913,0,0,0-.91.91v2.73a.91.91,0,1,0,1.82,0V11.82H101V28.18H99.18A.91.91,0,1,0,99.19,30h9.09a.91.91,0,1,0,0-1.82h-1.82V11.82h3.18v1.82A.913.913,0,0,0,110.55,14.55Zm-5.91,13.63h-1.82V11.82h1.82Z",
|
|
30
|
+
transform: "translate(733 1233)",
|
|
31
|
+
fill: pathFill
|
|
32
|
+
})));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export default FontFamily;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const FontSize = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 35.522 20.001",
|
|
12
|
+
fill: "none"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
14
|
+
clipPath: "url(#clip0)"
|
|
15
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M32 14.4345C31.9126 14.4348 31.826 14.4187 31.7453 14.3873C31.6645 14.356 31.5912 14.3099 31.5295 14.2517L27.6727 10.631C27.5479 10.5139 27.4778 10.3551 27.4778 10.1895C27.4778 10.0238 27.5478 9.865 27.6726 9.74788C27.7973 9.63076 27.9665 9.56495 28.143 9.56494C28.3194 9.56493 28.4886 9.63071 28.6134 9.74782L32 12.927L35.3866 9.74782C35.4483 9.68983 35.5217 9.64384 35.6024 9.61246C35.6831 9.58108 35.7696 9.56494 35.857 9.56494C35.9443 9.56495 36.0308 9.58111 36.1115 9.6125C36.1922 9.64388 36.2656 9.68989 36.3273 9.74788C36.3891 9.80587 36.4381 9.87472 36.4715 9.95049C36.5049 10.0263 36.5221 10.1075 36.5221 10.1895C36.5221 10.2715 36.5049 10.3527 36.4715 10.4284C36.438 10.5042 36.389 10.5731 36.3273 10.631L32.4704 14.2517C32.4087 14.3099 32.3354 14.356 32.2547 14.3873C32.1739 14.4187 32.0874 14.4348 32 14.4345Z",
|
|
17
|
+
fill: pathFill
|
|
18
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M22.1273 9.01758H12.0433C11.521 9.01758 11.0938 9.44487 11.0938 9.96711V12.4264C11.0938 12.9486 11.521 13.3759 12.0433 13.3759C12.5655 13.3759 12.9928 12.9486 12.9928 12.4264V10.9071H16.1452V20.1016H14.683C14.1607 20.1016 13.7334 20.5288 13.7334 21.0511C13.7334 21.5733 14.1607 22.0006 14.683 22.0006H19.4971C20.0193 22.0006 20.4466 21.5733 20.4466 21.0511C20.4466 20.5288 20.0193 20.1016 19.4971 20.1016H18.0348V10.9071H21.1872V12.4169C21.1872 12.9391 21.6145 13.3664 22.1367 13.3664C22.659 13.3664 23.0863 12.9391 23.0863 12.4169V9.95761C23.0768 9.43537 22.6495 9.01758 22.1273 9.01758Z",
|
|
20
|
+
fill: pathFill
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
d: "M12.0335 2H1.94953C1.42729 2 1 2.42729 1 2.94953V5.4088C1 5.93104 1.42729 6.35833 1.94953 6.35833C2.47177 6.35833 2.89905 5.93104 2.89905 5.4088V3.88956H6.05148V20.101H4.58921C4.06697 20.101 3.63968 20.5283 3.63968 21.0505C3.63968 21.5727 4.06697 22 4.58921 22H9.40331C9.92555 22 10.3528 21.5727 10.3528 21.0505C10.3528 20.5283 9.92555 20.101 9.40331 20.101H7.94104V3.88956H11.0935V5.39931C11.0935 5.92155 11.5208 6.34883 12.043 6.34883C12.5652 6.34883 12.9925 5.92155 12.9925 5.39931V2.94953C12.983 2.42729 12.5557 2 12.0335 2Z",
|
|
23
|
+
fill: pathFill
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default FontSize;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const Italic = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 5.296 20"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
id: "Path_8",
|
|
14
|
+
"data-name": "Path 8",
|
|
15
|
+
d: "M241.46,15.04a1.26,1.26,0,0,1,.243,1.016l-2.16,11.159a1.177,1.177,0,0,1,.964,2.139l-.741.413a1.819,1.819,0,0,1-1.991-.138,1.915,1.915,0,0,1-.741-1.906l2.086-10.8h-.5a1.175,1.175,0,0,1,0-2.35h1.927A1.244,1.244,0,0,1,241.46,15.04ZM240.92,10a1.4,1.4,0,1,0,1.376,1.4A1.385,1.385,0,0,0,240.92,10Z",
|
|
16
|
+
transform: "translate(-237 -10)",
|
|
17
|
+
fill: pathFill
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default Italic;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const Underline = ({
|
|
4
|
+
width = '1em',
|
|
5
|
+
height = '1em',
|
|
6
|
+
pathFill = 'currentColor'
|
|
7
|
+
}) => {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 12.661 19.999"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "Group_18",
|
|
14
|
+
"data-name": "Group 18",
|
|
15
|
+
transform: "translate(-999 -1243)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
id: "Path_9",
|
|
18
|
+
"data-name": "Path 9",
|
|
19
|
+
d: "M277.663,10a.994.994,0,0,0-1,1v8.669a4.335,4.335,0,0,1-8.669,0V11a1,1,0,0,0-2,0v8.669A6.333,6.333,0,0,0,272.331,26a6.334,6.334,0,0,0,6.33-6.331V11A1,1,0,0,0,277.663,10Z",
|
|
20
|
+
transform: "translate(733 1233)",
|
|
21
|
+
fill: pathFill
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
id: "Path_10",
|
|
24
|
+
"data-name": "Path 10",
|
|
25
|
+
d: "M277.663,28H267a1,1,0,0,0,0,2h10.665a.994.994,0,0,0,1-1A1.006,1.006,0,0,0,277.663,28Z",
|
|
26
|
+
transform: "translate(733 1233)",
|
|
27
|
+
fill: pathFill
|
|
28
|
+
})));
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default Underline;
|