@team_yumi/ramen 0.4.0-next.20240209-71f677d-510ed67bf18544f2a641ef1b2e6a91c7 → 1.0.0-next.20240216-5d091ea-20addde4c09e463fd468f5238d101f1f
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/css/themes/arcus.theme.css +36 -0
- package/css/themes/default.theme.css +5 -0
- package/css/themes/easy.theme.css +5 -0
- package/css/themes/jumbo.theme.css +5 -0
- package/css/themes/paris.theme.css +4 -0
- package/css/themes/spid.theme.css +4 -0
- package/css/tokens/fonts.css +5 -0
- package/css/{size.css → tokens/size.css} +1 -0
- package/index.css +925 -961
- package/index.d.ts +2 -0
- package/index.js +2 -2
- package/package.json +4 -5
- package/{components → src/components}/core/x-accordion/index.d.ts +2 -2
- package/{components → src/components}/core/x-accordion/root.d.ts +38 -38
- package/{components/core/x-input → src/components/core/x-alert}/index.d.ts +2 -2
- package/{components → src/components}/core/x-alert/root.d.ts +26 -26
- package/{components/core/x-checkbox → src/components/core/x-avatar}/index.d.ts +2 -2
- package/{components/core/xavatar → src/components/core/x-avatar}/root.d.ts +8 -8
- package/{components/core/x-alert → src/components/core/x-badge}/index.d.ts +2 -2
- package/{components/core/xbadge → src/components/core/x-badge}/root.d.ts +8 -8
- package/{components/core/x-text-field → src/components/core/x-bar}/index.d.ts +2 -2
- package/{components/core/xbar → src/components/core/x-bar}/root.d.ts +18 -18
- package/{components/core/x-icon → src/components/core/x-box}/index.d.ts +2 -2
- package/{components/core/xbox → src/components/core/x-box}/root.d.ts +54 -54
- package/{components/core/xbuttonicon → src/components/core/x-button}/index.d.ts +2 -2
- package/{components/core/xbutton → src/components/core/x-button}/root.d.ts +15 -15
- package/{components/core/xbar → src/components/core/x-button-icon}/index.d.ts +2 -2
- package/{components/core/xbuttonicon → src/components/core/x-button-icon}/root.d.ts +13 -13
- package/src/components/core/x-card/index.d.ts +2 -0
- package/{components/core/xcard → src/components/core/x-card}/root.d.ts +19 -19
- package/src/components/core/x-card-counter/index.d.ts +2 -0
- package/{components/core/xcard-counter → src/components/core/x-card-counter}/root.d.ts +18 -18
- package/src/components/core/x-checkbox/index.d.ts +2 -0
- package/{components → src/components}/core/x-checkbox/root.d.ts +34 -34
- package/src/components/core/x-collapse-card/index.d.ts +2 -0
- package/{components/core/xcollapse-card → src/components/core/x-collapse-card}/root.d.ts +22 -22
- package/{components/core/xconfig-provider → src/components/core/x-config-provider}/context.d.ts +12 -12
- package/{components/core/xconfig-provider → src/components/core/x-config-provider}/index.d.ts +4 -4
- package/{components/core/xconfig-provider → src/components/core/x-config-provider}/root.d.ts +10 -10
- package/{components/core/xconfig-provider → src/components/core/x-config-provider}/useConfig.d.ts +2 -2
- package/src/components/core/x-counter/index.d.ts +2 -0
- package/{components/core/xcounter → src/components/core/x-counter}/root.d.ts +13 -13
- package/src/components/core/x-credits/index.d.ts +2 -0
- package/{components/core/xcredits → src/components/core/x-credits}/root.d.ts +3 -3
- package/src/components/core/x-currency-input/index.d.ts +2 -0
- package/{components/core/xcurrency-input → src/components/core/x-currency-input}/root.d.ts +5 -5
- package/src/components/core/x-decision/index.d.ts +2 -0
- package/{components/core/xdecision → src/components/core/x-decision}/root.d.ts +17 -17
- package/src/components/core/x-decision-item/index.d.ts +2 -0
- package/{components/core/xdecision-item → src/components/core/x-decision-item}/root.d.ts +30 -30
- package/src/components/core/x-divider/index.d.ts +2 -0
- package/{components/core/xdivider → src/components/core/x-divider}/root.d.ts +9 -9
- package/src/components/core/x-email-input/index.d.ts +2 -0
- package/{components/core/xemail-input → src/components/core/x-email-input}/root.d.ts +8 -8
- package/src/components/core/x-expansion-panel/index.d.ts +2 -0
- package/{components/core/xexpansion-panel → src/components/core/x-expansion-panel}/root.d.ts +14 -14
- package/src/components/core/x-form-item/index.d.ts +2 -0
- package/{components/core/xform-item → src/components/core/x-form-item}/root.d.ts +10 -10
- package/{components → src/components}/core/x-icon/icons/bold/index.d.ts +5 -5
- package/{components → src/components}/core/x-icon/icons/extrabold/index.d.ts +14 -14
- package/{components → src/components}/core/x-icon/icons/filled/index.d.ts +53 -53
- package/{components → src/components}/core/x-icon/icons/index.d.ts +5 -5
- package/{components → src/components}/core/x-icon/icons/outline/index.d.ts +195 -195
- package/src/components/core/x-icon/index.d.ts +2 -0
- package/{components → src/components}/core/x-icon/root.d.ts +18 -18
- package/src/components/core/x-image/index.d.ts +2 -0
- package/{components/core/ximage → src/components/core/x-image}/root.d.ts +13 -13
- package/src/components/core/x-image-preview/index.d.ts +2 -0
- package/{components/core/ximage-preview → src/components/core/x-image-preview}/root.d.ts +10 -10
- package/src/components/core/x-image-previewer/index.d.ts +2 -0
- package/{components/core/ximage-previewer → src/components/core/x-image-previewer}/root.d.ts +10 -10
- package/src/components/core/x-input/index.d.ts +2 -0
- package/{components → src/components}/core/x-input/root.d.ts +26 -26
- package/src/components/core/x-list/index.d.ts +2 -0
- package/{components/core/xlist → src/components/core/x-list}/root.d.ts +12 -12
- package/{components/core/xloading → src/components/core/x-loading}/api.d.ts +10 -10
- package/{components/core/xloading → src/components/core/x-loading}/container.d.ts +3 -3
- package/{components/core/xloading → src/components/core/x-loading}/index.d.ts +3 -3
- package/{components/core/xloading → src/components/core/x-loading}/loading.d.ts +6 -6
- package/src/components/core/x-number-input/index.d.ts +2 -0
- package/{components/core/xnumber-input → src/components/core/x-number-input}/root.d.ts +8 -8
- package/src/components/core/x-password-input/index.d.ts +2 -0
- package/{components/core/xpassword-input → src/components/core/x-password-input}/root.d.ts +8 -8
- package/src/components/core/x-phone-input/index.d.ts +2 -0
- package/{components/core/xphone-input → src/components/core/x-phone-input}/root.d.ts +8 -8
- package/src/components/core/x-progress-bar/index.d.ts +2 -0
- package/{components/core/xprogress-bar → src/components/core/x-progress-bar}/root.d.ts +30 -30
- package/src/components/core/x-radio-button/index.d.ts +2 -0
- package/{components → src/components}/core/x-radio-button/root.d.ts +34 -34
- package/src/components/core/x-search-input/index.d.ts +2 -0
- package/{components/core/xsearch-input → src/components/core/x-search-input}/root.d.ts +8 -8
- package/src/components/core/x-skeleton/index.d.ts +2 -0
- package/{components/core/xskeleton → src/components/core/x-skeleton}/root.d.ts +9 -9
- package/src/components/core/x-skeleton-renderer/index.d.ts +2 -0
- package/{components/core/xskeleton-renderer → src/components/core/x-skeleton-renderer}/root.d.ts +7 -7
- package/src/components/core/x-switch/index.d.ts +2 -0
- package/{components/core/xswitch → src/components/core/x-switch}/root.d.ts +9 -9
- package/src/components/core/x-symbol/index.d.ts +2 -0
- package/{components → src/components}/core/x-symbol/root.d.ts +18 -18
- package/{components → src/components}/core/x-symbol/symbols/index.d.ts +5 -5
- package/{components → src/components}/core/x-symbol/symbols/mdh/index.d.ts +22 -22
- package/{components → src/components}/core/x-symbol/symbols/neutral/index.d.ts +51 -51
- package/{components → src/components}/core/x-symbol/symbols/sm/index.d.ts +83 -83
- package/{components → src/components}/core/x-symbol/symbols/txd/index.d.ts +7 -7
- package/src/components/core/x-tab/index.d.ts +2 -0
- package/{components/core/xtab → src/components/core/x-tab}/root.d.ts +14 -14
- package/src/components/core/x-tab-content/index.d.ts +2 -0
- package/{components/core/xtab-content → src/components/core/x-tab-content}/root.d.ts +6 -6
- package/src/components/core/x-tab-panel/index.d.ts +2 -0
- package/{components/core/xtab-panel → src/components/core/x-tab-panel}/root.d.ts +7 -7
- package/src/components/core/x-tabs/index.d.ts +2 -0
- package/{components/core/xtabs → src/components/core/x-tabs}/root.d.ts +23 -23
- package/src/components/core/x-tag/index.d.ts +2 -0
- package/{components/core/xtag → src/components/core/x-tag}/root.d.ts +13 -13
- package/src/components/core/x-tag-business/index.d.ts +2 -0
- package/{components/core/xtag-business → src/components/core/x-tag-business}/root.d.ts +8 -8
- package/src/components/core/x-tag-state/index.d.ts +2 -0
- package/{components/core/xtag-state → src/components/core/x-tag-state}/root.d.ts +12 -12
- package/src/components/core/x-text/index.d.ts +2 -0
- package/{components/core/xtext → src/components/core/x-text}/root.d.ts +46 -46
- package/src/components/core/x-text-area/index.d.ts +2 -0
- package/{components → src/components}/core/x-text-area/root.d.ts +45 -45
- package/src/components/core/x-text-field/index.d.ts +2 -0
- package/{components → src/components}/core/x-text-field/root.d.ts +31 -31
- package/src/components/core/x-text-input/index.d.ts +2 -0
- package/{components/core/xtext-input → src/components/core/x-text-input}/root.d.ts +8 -8
- package/src/components/core/x-vspace/index.d.ts +2 -0
- package/{components/core/xvspace → src/components/core/x-vspace}/root.d.ts +7 -7
- package/src/components/mobile/x-app/index.d.ts +2 -0
- package/{components/mobile/xapp → src/components/mobile/x-app}/root.d.ts +8 -8
- package/src/components/mobile/x-body/index.d.ts +2 -0
- package/{components/mobile/xbody → src/components/mobile/x-body}/root.d.ts +7 -7
- package/src/components/mobile/x-bottom-sheet/index.d.ts +2 -0
- package/{components → src/components}/mobile/x-bottom-sheet/root.d.ts +85 -85
- package/src/components/mobile/x-bottom-sheet-expandable/index.d.ts +2 -0
- package/{components/mobile/xbottom-sheet-expandable → src/components/mobile/x-bottom-sheet-expandable}/root.d.ts +25 -25
- package/src/components/mobile/x-calendar/index.d.ts +2 -0
- package/{components/mobile/xcalendar → src/components/mobile/x-calendar}/root.d.ts +17 -17
- package/src/components/mobile/x-card-approve/index.d.ts +2 -0
- package/{components/mobile/xcard-approve → src/components/mobile/x-card-approve}/root.d.ts +34 -34
- package/src/components/mobile/x-card-decision/index.d.ts +2 -0
- package/{components/mobile/xcard-decision → src/components/mobile/x-card-decision}/root.d.ts +34 -34
- package/src/components/mobile/x-card-image/index.d.ts +2 -0
- package/{components/mobile/xcard-image → src/components/mobile/x-card-image}/root.d.ts +30 -30
- package/src/components/mobile/x-card-scan/index.d.ts +2 -0
- package/{components/mobile/xcard-scan → src/components/mobile/x-card-scan}/root.d.ts +19 -19
- package/{components/mobile/xdatepicker → src/components/mobile/x-datepicker}/constants.d.ts +19 -19
- package/src/components/mobile/x-datepicker/index.d.ts +2 -0
- package/{components/mobile/xdatepicker → src/components/mobile/x-datepicker}/root.d.ts +10 -10
- package/src/components/mobile/x-datepicker-input/index.d.ts +2 -0
- package/{components/mobile/xdatepicker-input → src/components/mobile/x-datepicker-input}/root.d.ts +18 -18
- package/src/components/mobile/x-empty-state/index.d.ts +2 -0
- package/{components/mobile/xempty-state → src/components/mobile/x-empty-state}/options/index.d.ts +15 -15
- package/{components/mobile/xempty-state → src/components/mobile/x-empty-state}/root.d.ts +9 -9
- package/src/components/mobile/x-float-button/index.d.ts +2 -0
- package/{components/mobile/xfloat-button → src/components/mobile/x-float-button}/root.d.ts +9 -9
- package/src/components/mobile/x-footer/index.d.ts +2 -0
- package/{components/mobile/xfooter → src/components/mobile/x-footer}/root.d.ts +9 -9
- package/src/components/mobile/x-group-radio-button/index.d.ts +2 -0
- package/{components/mobile/xgroup-radio-button → src/components/mobile/x-group-radio-button}/root.d.ts +31 -31
- package/src/components/mobile/x-header/index.d.ts +2 -0
- package/{components/mobile/xheader → src/components/mobile/x-header}/root.d.ts +36 -36
- package/{components/mobile/ximage-downloader → src/components/mobile/x-image-downloader}/index.d.ts +3 -3
- package/{components/mobile/ximage-downloader → src/components/mobile/x-image-downloader}/root.d.ts +14 -14
- package/{components/mobile/ximage-uploader → src/components/mobile/x-image-uploader}/index.d.ts +3 -3
- package/{components/mobile/ximage-uploader → src/components/mobile/x-image-uploader}/root.d.ts +20 -20
- package/src/components/mobile/x-modal/index.d.ts +2 -0
- package/{components → src/components}/mobile/x-modal/root.d.ts +84 -84
- package/src/components/mobile/x-option-radio-button/index.d.ts +2 -0
- package/{components/mobile/xoption-radio-button → src/components/mobile/x-option-radio-button}/root.d.ts +34 -34
- package/src/components/mobile/x-page/index.d.ts +2 -0
- package/{components/mobile/xpage → src/components/mobile/x-page}/root.d.ts +9 -9
- package/src/components/mobile/x-radio-button-option/index.d.ts +2 -0
- package/{components → src/components}/mobile/x-radio-button-option/root.d.ts +34 -34
- package/src/components/mobile/x-select/index.d.ts +2 -0
- package/{components/mobile/xselect → src/components/mobile/x-select}/root.d.ts +26 -26
- package/{components/mobile/xselect-multiple → src/components/mobile/x-select-multiple}/index.d.ts +3 -3
- package/{components/mobile/xselect-multiple → src/components/mobile/x-select-multiple}/root.d.ts +32 -32
- package/{components → src/components}/mobile/x-snackbar/api.d.ts +14 -14
- package/{components → src/components}/mobile/x-snackbar/container.d.ts +8 -8
- package/{components → src/components}/mobile/x-snackbar/index.d.ts +3 -3
- package/{components → src/components}/mobile/x-snackbar/snackbar.d.ts +40 -40
- package/src/components/mobile/x-tab-bar/index.d.ts +2 -0
- package/{components/mobile/xtab-bar → src/components/mobile/x-tab-bar}/root.d.ts +8 -8
- package/src/components/mobile/x-tab-bar-content/index.d.ts +2 -0
- package/{components/mobile/xtab-bar-content → src/components/mobile/x-tab-bar-content}/root.d.ts +6 -6
- package/src/components/mobile/x-tab-bar-item/index.d.ts +2 -0
- package/{components/mobile/xtab-bar-item → src/components/mobile/x-tab-bar-item}/root.d.ts +10 -10
- package/src/components/web/x-app/index.d.ts +2 -0
- package/{components/web/xapp → src/components/web/x-app}/root.d.ts +6 -6
- package/src/components/web/x-body/index.d.ts +2 -0
- package/{components/web/xbody → src/components/web/x-body}/root.d.ts +6 -6
- package/src/components/web/x-card-image/index.d.ts +2 -0
- package/{components/web/xcard-image → src/components/web/x-card-image}/root.d.ts +9 -9
- package/src/components/web/x-checkbox-group/index.d.ts +2 -0
- package/{components/web/xcheckbox-group → src/components/web/x-checkbox-group}/root.d.ts +18 -18
- package/src/components/web/x-collapse-card/index.d.ts +2 -0
- package/{components/web/xcollapse-card → src/components/web/x-collapse-card}/root.d.ts +12 -12
- package/src/components/web/x-confirm-modal/index.d.ts +2 -0
- package/{components/web/xconfirm-modal → src/components/web/x-confirm-modal}/root.d.ts +17 -17
- package/src/components/web/x-drawer/index.d.ts +2 -0
- package/{components/web/xdrawer → src/components/web/x-drawer}/root.d.ts +25 -25
- package/src/components/web/x-header/index.d.ts +2 -0
- package/{components/web/xheader → src/components/web/x-header}/root.d.ts +12 -12
- package/src/components/web/x-modal/index.d.ts +2 -0
- package/{components/web/xmodal → src/components/web/x-modal}/root.d.ts +27 -27
- package/{components/web/xnotification → src/components/web/x-notification}/api.d.ts +16 -16
- package/{components/web/xnotification → src/components/web/x-notification}/container.d.ts +7 -7
- package/{components/web/xnotification → src/components/web/x-notification}/index.d.ts +3 -3
- package/{components/web/xnotification → src/components/web/x-notification}/notification.d.ts +12 -12
- package/src/components/web/x-page/index.d.ts +2 -0
- package/{components/web/xpage → src/components/web/x-page}/root.d.ts +6 -6
- package/src/components/web/x-select/index.d.ts +2 -0
- package/{components/web/xselect → src/components/web/x-select}/root.d.ts +22 -22
- package/src/components/web/x-select-modal/index.d.ts +2 -0
- package/{components/web/xselect-modal → src/components/web/x-select-modal}/root.d.ts +25 -25
- package/src/components/web/x-select-multiple/index.d.ts +2 -0
- package/{components/web/xselect-multiple → src/components/web/x-select-multiple}/root.d.ts +20 -20
- package/src/components/web/x-sidebar/index.d.ts +2 -0
- package/{components/web/xsidebar → src/components/web/x-sidebar}/root.d.ts +27 -27
- package/{components/web/xtable → src/components/web/x-table}/index.d.ts +3 -3
- package/{components/web/xtable → src/components/web/x-table}/root.d.ts +54 -54
- package/src/components/web/x-tabs/index.d.ts +2 -0
- package/src/components/web/x-tabs/root.d.ts +3 -0
- package/src/components/web/x-tooltip/index.d.ts +2 -0
- package/{components/web/xtooltip → src/components/web/x-tooltip}/root.d.ts +11 -11
- package/{hooks → src/hooks}/useMountTransition.d.ts +1 -1
- package/src/index.core.d.ts +78 -0
- package/src/index.mobile.d.ts +209 -0
- package/src/index.web.d.ts +183 -0
- package/{models → src/models}/Collections/IAlertType.d.ts +1 -1
- package/{models → src/models}/Collections/IAppearance.d.ts +1 -1
- package/{models → src/models}/Collections/IBackground.d.ts +1 -1
- package/{models → src/models}/Collections/IBackgroundThone.d.ts +1 -1
- package/{models → src/models}/Collections/IBorder.d.ts +1 -1
- package/{models → src/models}/Collections/IBorderColor.d.ts +1 -1
- package/{models → src/models}/Collections/IBorderSize.d.ts +1 -1
- package/{models → src/models}/Collections/IBorderType.d.ts +1 -1
- package/{models → src/models}/Collections/IBottomExpandableState.d.ts +1 -1
- package/{models → src/models}/Collections/IBoxBackgroundThone.d.ts +1 -1
- package/{models → src/models}/Collections/IButtonIconState.d.ts +1 -1
- package/{models → src/models}/Collections/ICalendarSize.d.ts +1 -1
- package/{models → src/models}/Collections/ICardApproveBorder.d.ts +1 -1
- package/{models → src/models}/Collections/ICardCounterBorderType.d.ts +1 -1
- package/{models → src/models}/Collections/ICardDecisionSize.d.ts +1 -1
- package/{models → src/models}/Collections/ICardImageSize.d.ts +1 -1
- package/{models → src/models}/Collections/ICardScanSize.d.ts +1 -1
- package/{models → src/models}/Collections/ICardSize.d.ts +1 -1
- package/{models → src/models}/Collections/ICardState.d.ts +1 -1
- package/{models → src/models}/Collections/ICollapseCardSize.d.ts +1 -1
- package/{models → src/models}/Collections/IColor.d.ts +1 -1
- package/{models → src/models}/Collections/ICountry.d.ts +1 -1
- package/{models → src/models}/Collections/IDatepickerFormat.d.ts +1 -1
- package/{models → src/models}/Collections/IDatepickerInputFormat.d.ts +1 -1
- package/{models → src/models}/Collections/IDatepickerInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/IDatepickerInputType.d.ts +1 -1
- package/{models → src/models}/Collections/IDatepickerSize.d.ts +1 -1
- package/{models → src/models}/Collections/IDatepickerType.d.ts +1 -1
- package/{models → src/models}/Collections/IDecisionItemSize.d.ts +1 -1
- package/{models → src/models}/Collections/IDecisionItemType.d.ts +1 -1
- package/{models → src/models}/Collections/IDecisionSize.d.ts +1 -1
- package/{models → src/models}/Collections/IDecisionValueType.d.ts +1 -1
- package/{models → src/models}/Collections/IEmailInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/IEmptyStateType.d.ts +1 -1
- package/{models → src/models}/Collections/IExpanssionModalState.d.ts +1 -1
- package/{models → src/models}/Collections/IFloatButtonBottom.d.ts +1 -1
- package/{models → src/models}/Collections/IFloatButtonPlacement.d.ts +1 -1
- package/{models → src/models}/Collections/IFontSize.d.ts +1 -1
- package/{models → src/models}/Collections/IFooterAlign.d.ts +1 -1
- package/{models → src/models}/Collections/IGap.d.ts +1 -1
- package/{models → src/models}/Collections/IHeaderType.d.ts +1 -1
- package/{models → src/models}/Collections/IHeight.d.ts +1 -1
- package/{models → src/models}/Collections/IHorizontalAlign.d.ts +1 -1
- package/{models → src/models}/Collections/IIcon.d.ts +1 -1
- package/{models → src/models}/Collections/IIconColor.d.ts +1 -1
- package/{models → src/models}/Collections/IIconPosition.d.ts +1 -1
- package/{models → src/models}/Collections/IIconSize.d.ts +1 -1
- package/{models → src/models}/Collections/IInputMode.d.ts +1 -1
- package/{models → src/models}/Collections/IInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/IInputType.d.ts +1 -1
- package/{models → src/models}/Collections/ILineClamp.d.ts +1 -1
- package/{models → src/models}/Collections/ILineHeight.d.ts +1 -1
- package/{models → src/models}/Collections/INotificationType.d.ts +1 -1
- package/{models → src/models}/Collections/INumberInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/IOrientation.d.ts +1 -1
- package/{models → src/models}/Collections/IOverflow.d.ts +1 -1
- package/{models → src/models}/Collections/IPadding.d.ts +1 -1
- package/{models → src/models}/Collections/IPasswordInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/IPhoneInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/IPlacement.d.ts +1 -1
- package/{models → src/models}/Collections/IPlacementY.d.ts +1 -1
- package/{models → src/models}/Collections/IProgressBarSize.d.ts +1 -1
- package/{models → src/models}/Collections/IProgressBarType.d.ts +1 -1
- package/{models → src/models}/Collections/IRounded.d.ts +1 -1
- package/{models → src/models}/Collections/ISearchInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/ISelectModalSize.d.ts +1 -1
- package/{models → src/models}/Collections/ISelectMultipleSize.d.ts +1 -1
- package/{models → src/models}/Collections/ISelectSize.d.ts +1 -1
- package/{models → src/models}/Collections/ISize.d.ts +1 -1
- package/{models → src/models}/Collections/ISkeletonType.d.ts +1 -1
- package/{models → src/models}/Collections/ISkeletonWidth.d.ts +1 -1
- package/{models → src/models}/Collections/ISnackbarType.d.ts +1 -1
- package/{models → src/models}/Collections/IState.d.ts +1 -1
- package/{models → src/models}/Collections/ISymbol.d.ts +1 -1
- package/{models → src/models}/Collections/ISymbolColor.d.ts +1 -1
- package/{models → src/models}/Collections/ISymbolSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITabBarBorder.d.ts +1 -1
- package/{models → src/models}/Collections/ITabSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITabType.d.ts +1 -1
- package/{models → src/models}/Collections/ITabsBorder.d.ts +1 -1
- package/{models → src/models}/Collections/ITabsSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITagBusinessBrand.d.ts +1 -1
- package/{models → src/models}/Collections/ITagBusinessSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITagColor.d.ts +1 -1
- package/{models → src/models}/Collections/ITagSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITagStateColor.d.ts +1 -1
- package/{models → src/models}/Collections/ITagStateSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITagStateType.d.ts +1 -1
- package/{models → src/models}/Collections/ITagType.d.ts +1 -1
- package/{models → src/models}/Collections/ITextAlign.d.ts +1 -1
- package/{models → src/models}/Collections/ITextColorThone.d.ts +1 -1
- package/{models → src/models}/Collections/ITextFieldSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITextFieldType.d.ts +1 -1
- package/{models → src/models}/Collections/ITextInputSize.d.ts +1 -1
- package/{models → src/models}/Collections/ITextOverflow.d.ts +1 -1
- package/{models → src/models}/Collections/ITheme.d.ts +1 -1
- package/{models → src/models}/Collections/ITooltipPlacement.d.ts +1 -1
- package/{models → src/models}/Collections/IType.d.ts +1 -1
- package/{models → src/models}/Collections/IVSpaceSize.d.ts +1 -1
- package/{models → src/models}/Collections/IVerticalAlign.d.ts +1 -1
- package/{models → src/models}/Collections/IWeight.d.ts +1 -1
- package/{models → src/models}/Collections/IWidth.d.ts +1 -1
- package/{models → src/models}/Collections/index.d.ts +103 -103
- package/{models → src/models}/index.d.ts +2 -2
- package/components/core/x-radio-button/index.d.ts +0 -2
- package/components/core/x-symbol/index.d.ts +0 -2
- package/components/core/x-text-area/index.d.ts +0 -2
- package/components/core/xavatar/index.d.ts +0 -2
- package/components/core/xbadge/index.d.ts +0 -2
- package/components/core/xbox/index.d.ts +0 -2
- package/components/core/xbutton/index.d.ts +0 -2
- package/components/core/xcard/index.d.ts +0 -2
- package/components/core/xcard-counter/index.d.ts +0 -2
- package/components/core/xcollapse-card/index.d.ts +0 -2
- package/components/core/xcounter/index.d.ts +0 -2
- package/components/core/xcredits/index.d.ts +0 -2
- package/components/core/xcurrency-input/index.d.ts +0 -2
- package/components/core/xdecision/index.d.ts +0 -2
- package/components/core/xdecision-item/index.d.ts +0 -2
- package/components/core/xdivider/index.d.ts +0 -2
- package/components/core/xemail-input/index.d.ts +0 -2
- package/components/core/xexpansion-panel/index.d.ts +0 -2
- package/components/core/xform-item/index.d.ts +0 -2
- package/components/core/ximage/index.d.ts +0 -2
- package/components/core/ximage-preview/index.d.ts +0 -2
- package/components/core/ximage-previewer/index.d.ts +0 -2
- package/components/core/xlist/index.d.ts +0 -2
- package/components/core/xnumber-input/index.d.ts +0 -2
- package/components/core/xpassword-input/index.d.ts +0 -2
- package/components/core/xphone-input/index.d.ts +0 -2
- package/components/core/xprogress-bar/index.d.ts +0 -2
- package/components/core/xsearch-input/index.d.ts +0 -2
- package/components/core/xskeleton/index.d.ts +0 -2
- package/components/core/xskeleton-renderer/index.d.ts +0 -2
- package/components/core/xswitch/index.d.ts +0 -2
- package/components/core/xtab/index.d.ts +0 -2
- package/components/core/xtab-content/index.d.ts +0 -2
- package/components/core/xtab-panel/index.d.ts +0 -2
- package/components/core/xtabs/index.d.ts +0 -2
- package/components/core/xtag/index.d.ts +0 -2
- package/components/core/xtag-business/index.d.ts +0 -2
- package/components/core/xtag-state/index.d.ts +0 -2
- package/components/core/xtext/index.d.ts +0 -2
- package/components/core/xtext-input/index.d.ts +0 -2
- package/components/core/xvspace/index.d.ts +0 -2
- package/components/mobile/x-bottom-sheet/index.d.ts +0 -2
- package/components/mobile/x-modal/index.d.ts +0 -2
- package/components/mobile/x-radio-button-option/index.d.ts +0 -2
- package/components/mobile/xapp/index.d.ts +0 -2
- package/components/mobile/xbody/index.d.ts +0 -2
- package/components/mobile/xbottom-sheet-expandable/index.d.ts +0 -2
- package/components/mobile/xcalendar/index.d.ts +0 -2
- package/components/mobile/xcard-approve/index.d.ts +0 -2
- package/components/mobile/xcard-decision/index.d.ts +0 -2
- package/components/mobile/xcard-image/index.d.ts +0 -2
- package/components/mobile/xcard-scan/index.d.ts +0 -2
- package/components/mobile/xdatepicker/index.d.ts +0 -2
- package/components/mobile/xdatepicker-input/index.d.ts +0 -2
- package/components/mobile/xempty-state/index.d.ts +0 -2
- package/components/mobile/xfloat-button/index.d.ts +0 -2
- package/components/mobile/xfooter/index.d.ts +0 -2
- package/components/mobile/xgroup-radio-button/index.d.ts +0 -2
- package/components/mobile/xheader/index.d.ts +0 -2
- package/components/mobile/xoption-radio-button/index.d.ts +0 -2
- package/components/mobile/xpage/index.d.ts +0 -2
- package/components/mobile/xselect/index.d.ts +0 -2
- package/components/mobile/xtab-bar/index.d.ts +0 -2
- package/components/mobile/xtab-bar-content/index.d.ts +0 -2
- package/components/mobile/xtab-bar-item/index.d.ts +0 -2
- package/components/web/xapp/index.d.ts +0 -2
- package/components/web/xbody/index.d.ts +0 -2
- package/components/web/xcard-image/index.d.ts +0 -2
- package/components/web/xcheckbox-group/index.d.ts +0 -2
- package/components/web/xcollapse-card/index.d.ts +0 -2
- package/components/web/xconfirm-modal/index.d.ts +0 -2
- package/components/web/xdrawer/index.d.ts +0 -2
- package/components/web/xheader/index.d.ts +0 -2
- package/components/web/xmodal/index.d.ts +0 -2
- package/components/web/xpage/index.d.ts +0 -2
- package/components/web/xselect/index.d.ts +0 -2
- package/components/web/xselect-modal/index.d.ts +0 -2
- package/components/web/xselect-multiple/index.d.ts +0 -2
- package/components/web/xsidebar/index.d.ts +0 -2
- package/components/web/xtabs/index.d.ts +0 -2
- package/components/web/xtabs/root.d.ts +0 -3
- package/components/web/xtooltip/index.d.ts +0 -2
- package/css/fonts.css +0 -41
- package/css/index.css +0 -18
- package/index.core.d.ts +0 -76
- package/index.mobile.d.ts +0 -131
- package/index.web.d.ts +0 -115
- package/themes/arcus.theme.css +0 -33
- package/themes/default.css +0 -17
- package/themes/easy.theme.css +0 -28
- package/themes/fonts.css +0 -1
- package/themes/jumbo.theme.css +0 -26
- package/themes/paris.theme.css +0 -13
- package/themes/spid.theme.css +0 -15
- /package/css/{breakpoints.css → tokens/breakpoints.css} +0 -0
- /package/{themes/default.theme.css → css/tokens/colors.css} +0 -0
- /package/css/{shadow.css → tokens/shadow.css} +0 -0
- /package/css/{spacing.css → tokens/spacing.css} +0 -0
- /package/css/{typography.css → tokens/typography.css} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
visible: boolean;
|
|
4
|
-
title?: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
cancelText?: string;
|
|
7
|
-
confirmText?: string;
|
|
8
|
-
onClose?: () => void;
|
|
9
|
-
onCancel?: () => void;
|
|
10
|
-
onConfirm?: () => void;
|
|
11
|
-
cancelDisabled?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
mountNode?: HTMLElement | null;
|
|
15
|
-
}
|
|
16
|
-
declare const XConfirmModal: React.FC<IProps>;
|
|
17
|
-
export default XConfirmModal;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
cancelText?: string;
|
|
7
|
+
confirmText?: string;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onCancel?: () => void;
|
|
10
|
+
onConfirm?: () => void;
|
|
11
|
+
cancelDisabled?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
mountNode?: HTMLElement | null;
|
|
15
|
+
}
|
|
16
|
+
declare const XConfirmModal: React.FC<IProps>;
|
|
17
|
+
export default XConfirmModal;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
interface IAction {
|
|
4
|
-
text: string;
|
|
5
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface IProps {
|
|
10
|
-
open?: boolean;
|
|
11
|
-
animation?: boolean;
|
|
12
|
-
mountNode?: HTMLElement | null;
|
|
13
|
-
placement?: (typeof Collections.IPlacement)[number];
|
|
14
|
-
headerType?: (typeof Collections.IHeaderType)[number];
|
|
15
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
16
|
-
size?: (typeof Collections.ISize)[number];
|
|
17
|
-
title?: string;
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
action?: IAction;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
onClose?: () => void;
|
|
22
|
-
onClickAction?: () => void;
|
|
23
|
-
}
|
|
24
|
-
declare const XDrawer: React.FC<IProps>;
|
|
25
|
-
export default XDrawer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
interface IAction {
|
|
4
|
+
text: string;
|
|
5
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface IProps {
|
|
10
|
+
open?: boolean;
|
|
11
|
+
animation?: boolean;
|
|
12
|
+
mountNode?: HTMLElement | null;
|
|
13
|
+
placement?: (typeof Collections.IPlacement)[number];
|
|
14
|
+
headerType?: (typeof Collections.IHeaderType)[number];
|
|
15
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
16
|
+
size?: (typeof Collections.ISize)[number];
|
|
17
|
+
title?: string;
|
|
18
|
+
closable?: boolean;
|
|
19
|
+
action?: IAction;
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
onClose?: () => void;
|
|
22
|
+
onClickAction?: () => void;
|
|
23
|
+
}
|
|
24
|
+
declare const XDrawer: React.FC<IProps>;
|
|
25
|
+
export default XDrawer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
onSignOutClick?: () => void;
|
|
4
|
-
onProfileClick?: () => void;
|
|
5
|
-
profile: {
|
|
6
|
-
title: string;
|
|
7
|
-
name: string;
|
|
8
|
-
avatar?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
declare const XHeader: React.FC<IProps>;
|
|
12
|
-
export default XHeader;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
onSignOutClick?: () => void;
|
|
4
|
+
onProfileClick?: () => void;
|
|
5
|
+
profile: {
|
|
6
|
+
title: string;
|
|
7
|
+
name: string;
|
|
8
|
+
avatar?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const XHeader: React.FC<IProps>;
|
|
12
|
+
export default XHeader;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import React, { MouseEventHandler } from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IAction {
|
|
4
|
-
text: string;
|
|
5
|
-
type: (typeof Collections.IType)[number];
|
|
6
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
10
|
-
}
|
|
11
|
-
export interface IProps {
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
14
|
-
title: string;
|
|
15
|
-
size?: (typeof Collections.ISize)[number];
|
|
16
|
-
headerType?: (typeof Collections.IHeaderType)[number];
|
|
17
|
-
footerAlign?: (typeof Collections.IFooterAlign)[number];
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
visible: boolean;
|
|
20
|
-
onClose?: () => void;
|
|
21
|
-
actions: Array<IAction>;
|
|
22
|
-
actionSize?: (typeof Collections.ISize)[number];
|
|
23
|
-
headerAlign?: (typeof Collections.IOrientation)[number];
|
|
24
|
-
mountNode?: HTMLElement | null;
|
|
25
|
-
}
|
|
26
|
-
declare const XModal: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export default XModal;
|
|
1
|
+
import React, { MouseEventHandler } from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IAction {
|
|
4
|
+
text: string;
|
|
5
|
+
type: (typeof Collections.IType)[number];
|
|
6
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
10
|
+
}
|
|
11
|
+
export interface IProps {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
14
|
+
title: string;
|
|
15
|
+
size?: (typeof Collections.ISize)[number];
|
|
16
|
+
headerType?: (typeof Collections.IHeaderType)[number];
|
|
17
|
+
footerAlign?: (typeof Collections.IFooterAlign)[number];
|
|
18
|
+
closable?: boolean;
|
|
19
|
+
visible: boolean;
|
|
20
|
+
onClose?: () => void;
|
|
21
|
+
actions: Array<IAction>;
|
|
22
|
+
actionSize?: (typeof Collections.ISize)[number];
|
|
23
|
+
headerAlign?: (typeof Collections.IOrientation)[number];
|
|
24
|
+
mountNode?: HTMLElement | null;
|
|
25
|
+
}
|
|
26
|
+
declare const XModal: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export default XModal;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { EventEmitter } from 'events';
|
|
3
|
-
import { IProps as INotificationItemProps } from './notification';
|
|
4
|
-
export interface INotificationConfig extends INotificationItemProps {
|
|
5
|
-
container?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const DEFAULT_CONTAINER_ID = "xnotifications-default";
|
|
8
|
-
declare class XNotification extends EventEmitter {
|
|
9
|
-
open: (config: INotificationConfig) => void;
|
|
10
|
-
info: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
11
|
-
success: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
12
|
-
error: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
13
|
-
warning: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: XNotification;
|
|
16
|
-
export default _default;
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { EventEmitter } from 'events';
|
|
3
|
+
import { IProps as INotificationItemProps } from './notification';
|
|
4
|
+
export interface INotificationConfig extends INotificationItemProps {
|
|
5
|
+
container?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DEFAULT_CONTAINER_ID = "xnotifications-default";
|
|
8
|
+
declare class XNotification extends EventEmitter {
|
|
9
|
+
open: (config: INotificationConfig) => void;
|
|
10
|
+
info: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
11
|
+
success: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
12
|
+
error: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
13
|
+
warning: (config: Omit<INotificationConfig, 'type'>) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: XNotification;
|
|
16
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
id: string;
|
|
4
|
-
mountNode?: HTMLElement;
|
|
5
|
-
}
|
|
6
|
-
declare const XNotificationContainer: React.FC<IProps>;
|
|
7
|
-
export default XNotificationContainer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
id: string;
|
|
4
|
+
mountNode?: HTMLElement;
|
|
5
|
+
}
|
|
6
|
+
declare const XNotificationContainer: React.FC<IProps>;
|
|
7
|
+
export default XNotificationContainer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Api from './api';
|
|
2
|
-
import XNotificationContainer from './container';
|
|
3
|
-
export { XNotificationContainer, Api };
|
|
1
|
+
import Api from './api';
|
|
2
|
+
import XNotificationContainer from './container';
|
|
3
|
+
export { XNotificationContainer, Api };
|
package/{components/web/xnotification → src/components/web/x-notification}/notification.d.ts
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IProps {
|
|
4
|
-
type: (typeof Collections.INotificationType)[number];
|
|
5
|
-
appearance?: (typeof Collections.IAppearance)[number];
|
|
6
|
-
description: string;
|
|
7
|
-
message?: string;
|
|
8
|
-
duration?: number;
|
|
9
|
-
onClose?: () => void;
|
|
10
|
-
}
|
|
11
|
-
declare const XNotificationItem: React.FC<IProps>;
|
|
12
|
-
export default XNotificationItem;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
type: (typeof Collections.INotificationType)[number];
|
|
5
|
+
appearance?: (typeof Collections.IAppearance)[number];
|
|
6
|
+
description: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
duration?: number;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const XNotificationItem: React.FC<IProps>;
|
|
12
|
+
export default XNotificationItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
declare const XPage: React.FC<IProps>;
|
|
6
|
-
export default XPage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
declare const XPage: React.FC<IProps>;
|
|
6
|
+
export default XPage;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
interface IOption {
|
|
4
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
stats?: number;
|
|
8
|
-
}
|
|
9
|
-
export interface IProps {
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
value?: string;
|
|
12
|
-
defaultValue?: string;
|
|
13
|
-
options?: IOption[];
|
|
14
|
-
size?: (typeof Collections.ISelectSize)[number];
|
|
15
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
hasError?: boolean;
|
|
18
|
-
maxHeight?: number;
|
|
19
|
-
onChange?: (value: string) => void;
|
|
20
|
-
}
|
|
21
|
-
declare const XSelect: React.FC<IProps>;
|
|
22
|
-
export default XSelect;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
interface IOption {
|
|
4
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
stats?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IProps {
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
options?: IOption[];
|
|
14
|
+
size?: (typeof Collections.ISelectSize)[number];
|
|
15
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
hasError?: boolean;
|
|
18
|
+
maxHeight?: number;
|
|
19
|
+
onChange?: (value: string) => void;
|
|
20
|
+
}
|
|
21
|
+
declare const XSelect: React.FC<IProps>;
|
|
22
|
+
export default XSelect;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface XSelectMultipleOption {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
text?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
selected?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface IData {
|
|
10
|
-
items: XSelectMultipleOption[];
|
|
11
|
-
selectedItems: XSelectMultipleOption[];
|
|
12
|
-
}
|
|
13
|
-
export interface IProps {
|
|
14
|
-
mountNode?: HTMLElement | null;
|
|
15
|
-
title: string;
|
|
16
|
-
actionText: string;
|
|
17
|
-
searchText: string;
|
|
18
|
-
data?: IData;
|
|
19
|
-
setData: (data: IData) => void;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
selectAllText?: string;
|
|
22
|
-
allowSelectEmpty?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const XSelectModal: React.FC<IProps>;
|
|
25
|
-
export default XSelectModal;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface XSelectMultipleOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface IData {
|
|
10
|
+
items: XSelectMultipleOption[];
|
|
11
|
+
selectedItems: XSelectMultipleOption[];
|
|
12
|
+
}
|
|
13
|
+
export interface IProps {
|
|
14
|
+
mountNode?: HTMLElement | null;
|
|
15
|
+
title: string;
|
|
16
|
+
actionText: string;
|
|
17
|
+
searchText: string;
|
|
18
|
+
data?: IData;
|
|
19
|
+
setData: (data: IData) => void;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
selectAllText?: string;
|
|
22
|
+
allowSelectEmpty?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const XSelectModal: React.FC<IProps>;
|
|
25
|
+
export default XSelectModal;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
interface IOption {
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
stats?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface IProps {
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
value?: string[];
|
|
11
|
-
defaultValue?: string[];
|
|
12
|
-
options?: IOption[];
|
|
13
|
-
size?: (typeof Collections.ISelectSize)[number];
|
|
14
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
hasError?: boolean;
|
|
17
|
-
onChange?: (value: string[]) => void;
|
|
18
|
-
}
|
|
19
|
-
declare const XSelectMultiple: React.FC<IProps>;
|
|
20
|
-
export default XSelectMultiple;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
interface IOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
stats?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface IProps {
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
value?: string[];
|
|
11
|
+
defaultValue?: string[];
|
|
12
|
+
options?: IOption[];
|
|
13
|
+
size?: (typeof Collections.ISelectSize)[number];
|
|
14
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
hasError?: boolean;
|
|
17
|
+
onChange?: (value: string[]) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const XSelectMultiple: React.FC<IProps>;
|
|
20
|
+
export default XSelectMultiple;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IProps {
|
|
4
|
-
logo: string;
|
|
5
|
-
expandedLogo: string;
|
|
6
|
-
menu: Array<IMenuItem>;
|
|
7
|
-
onActionClick?: (key: string) => void;
|
|
8
|
-
expanded?: boolean;
|
|
9
|
-
selectedKey?: string;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
type: 'divider';
|
|
13
|
-
text: string;
|
|
14
|
-
} | {
|
|
15
|
-
type: 'action';
|
|
16
|
-
icon: (typeof Collections.IIcon)[number] | {
|
|
17
|
-
type: 'icon';
|
|
18
|
-
value: (typeof Collections.IIcon)[number];
|
|
19
|
-
} | {
|
|
20
|
-
type: 'symbol';
|
|
21
|
-
value: (typeof Collections.ISymbol)[number];
|
|
22
|
-
};
|
|
23
|
-
text: string;
|
|
24
|
-
key: string;
|
|
25
|
-
};
|
|
26
|
-
declare const XSidebar: React.FC<IProps>;
|
|
27
|
-
export default XSidebar;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
logo: string;
|
|
5
|
+
expandedLogo: string;
|
|
6
|
+
menu: Array<IMenuItem>;
|
|
7
|
+
onActionClick?: (key: string) => void;
|
|
8
|
+
expanded?: boolean;
|
|
9
|
+
selectedKey?: string;
|
|
10
|
+
}
|
|
11
|
+
export type IMenuItem = {
|
|
12
|
+
type: 'divider';
|
|
13
|
+
text: string;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'action';
|
|
16
|
+
icon: (typeof Collections.IIcon)[number] | {
|
|
17
|
+
type: 'icon';
|
|
18
|
+
value: (typeof Collections.IIcon)[number];
|
|
19
|
+
} | {
|
|
20
|
+
type: 'symbol';
|
|
21
|
+
value: (typeof Collections.ISymbol)[number];
|
|
22
|
+
};
|
|
23
|
+
text: string;
|
|
24
|
+
key: string;
|
|
25
|
+
};
|
|
26
|
+
declare const XSidebar: React.FC<IProps>;
|
|
27
|
+
export default XSidebar;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Root, { XTablePagination, XTableSorter } from './root';
|
|
2
|
-
export default Root;
|
|
3
|
-
export type { XTablePagination, XTableSorter };
|
|
1
|
+
import Root, { XTablePagination, XTableSorter } from './root';
|
|
2
|
+
export default Root;
|
|
3
|
+
export type { XTablePagination, XTableSorter };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IProps as IXButtonProps } from '../../core/
|
|
3
|
-
import { IProps as IXSearchInputProps } from '../../core/
|
|
4
|
-
|
|
5
|
-
component: 'title';
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
component: 'message';
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
component: 'button';
|
|
14
|
-
} & IXButtonProps;
|
|
15
|
-
|
|
16
|
-
component: 'search';
|
|
17
|
-
} & Omit<IXSearchInputProps, 'label' | 'icon'>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
interface IHeader {
|
|
21
|
-
left?: TTitle | TMessage | TButton;
|
|
22
|
-
right?: TButton[];
|
|
23
|
-
}
|
|
24
|
-
interface IColumn {
|
|
25
|
-
title: string;
|
|
26
|
-
dataIndex?: string;
|
|
27
|
-
key: string;
|
|
28
|
-
sorter?: boolean;
|
|
29
|
-
render?: (value: TValue, record: object) => React.ReactNode;
|
|
30
|
-
}
|
|
31
|
-
export interface XTableSorter {
|
|
32
|
-
field: string;
|
|
33
|
-
order: TOrder;
|
|
34
|
-
}
|
|
35
|
-
export interface XTablePagination {
|
|
36
|
-
offset: number;
|
|
37
|
-
limit: number;
|
|
38
|
-
total: number;
|
|
39
|
-
denyChangeItemsQuantity?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface IProps {
|
|
42
|
-
header?: IHeader;
|
|
43
|
-
extraHeader?: TSearch;
|
|
44
|
-
columns?: IColumn[];
|
|
45
|
-
sorter?: XTableSorter;
|
|
46
|
-
pagination?: XTablePagination;
|
|
47
|
-
dataSource?: object[];
|
|
48
|
-
rowKey?: string;
|
|
49
|
-
onChange: (sorter?: XTableSorter, pagination?: XTablePagination) => void;
|
|
50
|
-
maxRenderedPages?: number;
|
|
51
|
-
skeleton?: boolean;
|
|
52
|
-
}
|
|
53
|
-
declare const XTable: React.FC<IProps>;
|
|
54
|
-
export default XTable;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IProps as IXButtonProps } from '../../core/x-button/root';
|
|
3
|
+
import { IProps as IXSearchInputProps } from '../../core/x-search-input/root';
|
|
4
|
+
type TTitle = {
|
|
5
|
+
component: 'title';
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
type TMessage = {
|
|
9
|
+
component: 'message';
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
type TButton = {
|
|
13
|
+
component: 'button';
|
|
14
|
+
} & IXButtonProps;
|
|
15
|
+
type TSearch = {
|
|
16
|
+
component: 'search';
|
|
17
|
+
} & Omit<IXSearchInputProps, 'label' | 'icon'>;
|
|
18
|
+
type TOrder = 'ascend' | 'descend';
|
|
19
|
+
type TValue = string | number | boolean | undefined;
|
|
20
|
+
interface IHeader {
|
|
21
|
+
left?: TTitle | TMessage | TButton;
|
|
22
|
+
right?: TButton[];
|
|
23
|
+
}
|
|
24
|
+
interface IColumn {
|
|
25
|
+
title: string;
|
|
26
|
+
dataIndex?: string;
|
|
27
|
+
key: string;
|
|
28
|
+
sorter?: boolean;
|
|
29
|
+
render?: (value: TValue, record: object) => React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export interface XTableSorter {
|
|
32
|
+
field: string;
|
|
33
|
+
order: TOrder;
|
|
34
|
+
}
|
|
35
|
+
export interface XTablePagination {
|
|
36
|
+
offset: number;
|
|
37
|
+
limit: number;
|
|
38
|
+
total: number;
|
|
39
|
+
denyChangeItemsQuantity?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface IProps {
|
|
42
|
+
header?: IHeader;
|
|
43
|
+
extraHeader?: TSearch;
|
|
44
|
+
columns?: IColumn[];
|
|
45
|
+
sorter?: XTableSorter;
|
|
46
|
+
pagination?: XTablePagination;
|
|
47
|
+
dataSource?: object[];
|
|
48
|
+
rowKey?: string;
|
|
49
|
+
onChange: (sorter?: XTableSorter, pagination?: XTablePagination) => void;
|
|
50
|
+
maxRenderedPages?: number;
|
|
51
|
+
skeleton?: boolean;
|
|
52
|
+
}
|
|
53
|
+
declare const XTable: React.FC<IProps>;
|
|
54
|
+
export default XTable;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
text: string;
|
|
6
|
-
placement?: (typeof Collections.ITooltipPlacement)[number];
|
|
7
|
-
inline?: boolean;
|
|
8
|
-
size?: (typeof Collections.ISize)[number];
|
|
9
|
-
}
|
|
10
|
-
declare const XTooltip: React.FC<IProps>;
|
|
11
|
-
export default XTooltip;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
text: string;
|
|
6
|
+
placement?: (typeof Collections.ITooltipPlacement)[number];
|
|
7
|
+
inline?: boolean;
|
|
8
|
+
size?: (typeof Collections.ISize)[number];
|
|
9
|
+
}
|
|
10
|
+
declare const XTooltip: React.FC<IProps>;
|
|
11
|
+
export default XTooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useMountTransition: (isMounted: boolean | undefined, unmountDelay: number) => boolean;
|
|
1
|
+
export declare const useMountTransition: (isMounted: boolean | undefined, unmountDelay: number) => boolean;
|