@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,31 +1,31 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IProps as IInputProps } from '../x-input/root';
|
|
3
|
-
import { Collections } from '@yumi/models';
|
|
4
|
-
/**
|
|
5
|
-
* Properties for a custom input component.
|
|
6
|
-
* Extends the base input properties (excluding 'type').
|
|
7
|
-
*/
|
|
8
|
-
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
9
|
-
/**
|
|
10
|
-
* Type of the input field, must be a value from Collections.ITextFieldType.
|
|
11
|
-
*/
|
|
12
|
-
type: (typeof Collections.ITextFieldType)[number];
|
|
13
|
-
/**
|
|
14
|
-
* Label for the input field.
|
|
15
|
-
*/
|
|
16
|
-
label?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Additional caption or description for the input field.
|
|
19
|
-
*/
|
|
20
|
-
caption?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Error message associated with the input field.
|
|
23
|
-
*/
|
|
24
|
-
error?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the input field is mandatory.
|
|
27
|
-
*/
|
|
28
|
-
mandatory?: boolean;
|
|
29
|
-
}
|
|
30
|
-
declare const XTextField: React.FC<IProps>;
|
|
31
|
-
export default XTextField;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IProps as IInputProps } from '../x-input/root';
|
|
3
|
+
import { Collections } from '@yumi/models';
|
|
4
|
+
/**
|
|
5
|
+
* Properties for a custom input component.
|
|
6
|
+
* Extends the base input properties (excluding 'type').
|
|
7
|
+
*/
|
|
8
|
+
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
9
|
+
/**
|
|
10
|
+
* Type of the input field, must be a value from Collections.ITextFieldType.
|
|
11
|
+
*/
|
|
12
|
+
type: (typeof Collections.ITextFieldType)[number];
|
|
13
|
+
/**
|
|
14
|
+
* Label for the input field.
|
|
15
|
+
*/
|
|
16
|
+
label?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Additional caption or description for the input field.
|
|
19
|
+
*/
|
|
20
|
+
caption?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Error message associated with the input field.
|
|
23
|
+
*/
|
|
24
|
+
error?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the input field is mandatory.
|
|
27
|
+
*/
|
|
28
|
+
mandatory?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare const XTextField: React.FC<IProps>;
|
|
31
|
+
export default XTextField;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
import { IProps as IInputProps } from '../x-input/root';
|
|
4
|
-
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
5
|
-
size?: (typeof Collections.ITextInputSize)[number];
|
|
6
|
-
}
|
|
7
|
-
declare const XTextInput: React.FC<IProps>;
|
|
8
|
-
export default XTextInput;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
import { IProps as IInputProps } from '../x-input/root';
|
|
4
|
+
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
5
|
+
size?: (typeof Collections.ITextInputSize)[number];
|
|
6
|
+
}
|
|
7
|
+
declare const XTextInput: React.FC<IProps>;
|
|
8
|
+
export default XTextInput;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IProps {
|
|
4
|
-
size: (typeof Collections.IVSpaceSize)[number];
|
|
5
|
-
}
|
|
6
|
-
declare const XVSpace: React.FC<IProps>;
|
|
7
|
-
export default XVSpace;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
size: (typeof Collections.IVSpaceSize)[number];
|
|
5
|
+
}
|
|
6
|
+
declare const XVSpace: React.FC<IProps>;
|
|
7
|
+
export default XVSpace;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const DEFAULT_TOP_CONTAINER_ID = "xsnackbar-top-default";
|
|
3
|
-
export declare const DEFAULT_BOTTOM_CONTAINER_ID = "xsnackbar-bottom-default";
|
|
4
|
-
export interface IProps {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const XApp: React.FC<IProps>;
|
|
8
|
-
export default XApp;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const DEFAULT_TOP_CONTAINER_ID = "xsnackbar-top-default";
|
|
3
|
+
export declare const DEFAULT_BOTTOM_CONTAINER_ID = "xsnackbar-bottom-default";
|
|
4
|
+
export interface IProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare const XApp: React.FC<IProps>;
|
|
8
|
+
export default XApp;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
skeleton?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const XBody: React.FC<IProps>;
|
|
7
|
-
export default XBody;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
skeleton?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const XBody: React.FC<IProps>;
|
|
7
|
+
export default XBody;
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IAction {
|
|
4
|
-
/**
|
|
5
|
-
* The key of the action
|
|
6
|
-
*/
|
|
7
|
-
key: string;
|
|
8
|
-
/**
|
|
9
|
-
* The text of the action button
|
|
10
|
-
*/
|
|
11
|
-
text: string;
|
|
12
|
-
/**
|
|
13
|
-
* The type of the action button
|
|
14
|
-
*/
|
|
15
|
-
type: (typeof Collections.IType)[number];
|
|
16
|
-
/**
|
|
17
|
-
* The icon of the action button
|
|
18
|
-
*/
|
|
19
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
20
|
-
/**
|
|
21
|
-
* If true, the action button will be disabled
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* If true, the action button will be loading
|
|
26
|
-
*/
|
|
27
|
-
loading?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface IProps {
|
|
30
|
-
/**
|
|
31
|
-
* If true, the component will show a transition when it is expanded or collapsed
|
|
32
|
-
*/
|
|
33
|
-
animation?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* If true, the component will be expanded
|
|
36
|
-
*/
|
|
37
|
-
expanded: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* The content of the component
|
|
40
|
-
*/
|
|
41
|
-
children?: React.ReactNode;
|
|
42
|
-
/**
|
|
43
|
-
* The content of the header
|
|
44
|
-
*/
|
|
45
|
-
headerChildren?: React.ReactNode;
|
|
46
|
-
/**
|
|
47
|
-
* The icon of the header
|
|
48
|
-
*/
|
|
49
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
50
|
-
/**
|
|
51
|
-
* The title of the header
|
|
52
|
-
*/
|
|
53
|
-
title?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The state of the bottom sheet
|
|
56
|
-
*/
|
|
57
|
-
display?: (typeof Collections.IBottomExpandableState)[number];
|
|
58
|
-
/**
|
|
59
|
-
* The subtitle of the header
|
|
60
|
-
*/
|
|
61
|
-
subtitle?: string;
|
|
62
|
-
/**
|
|
63
|
-
* The callback fired when the component is expanded
|
|
64
|
-
*/
|
|
65
|
-
onExpand?: () => void;
|
|
66
|
-
/**
|
|
67
|
-
* The callback fired when the component is collapsed
|
|
68
|
-
*/
|
|
69
|
-
onCollapse?: () => void;
|
|
70
|
-
/**
|
|
71
|
-
* The actions of the component
|
|
72
|
-
*/
|
|
73
|
-
actions?: IAction[];
|
|
74
|
-
/**
|
|
75
|
-
* The callback fired when an action is clicked
|
|
76
|
-
* @param key
|
|
77
|
-
*/
|
|
78
|
-
onActionClick?: (key: string) => void;
|
|
79
|
-
/**
|
|
80
|
-
* The number for the badge of the header
|
|
81
|
-
*/
|
|
82
|
-
badge?: number;
|
|
83
|
-
}
|
|
84
|
-
declare const XBottomSheet: React.FC<IProps>;
|
|
85
|
-
export default XBottomSheet;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IAction {
|
|
4
|
+
/**
|
|
5
|
+
* The key of the action
|
|
6
|
+
*/
|
|
7
|
+
key: string;
|
|
8
|
+
/**
|
|
9
|
+
* The text of the action button
|
|
10
|
+
*/
|
|
11
|
+
text: string;
|
|
12
|
+
/**
|
|
13
|
+
* The type of the action button
|
|
14
|
+
*/
|
|
15
|
+
type: (typeof Collections.IType)[number];
|
|
16
|
+
/**
|
|
17
|
+
* The icon of the action button
|
|
18
|
+
*/
|
|
19
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
20
|
+
/**
|
|
21
|
+
* If true, the action button will be disabled
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* If true, the action button will be loading
|
|
26
|
+
*/
|
|
27
|
+
loading?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface IProps {
|
|
30
|
+
/**
|
|
31
|
+
* If true, the component will show a transition when it is expanded or collapsed
|
|
32
|
+
*/
|
|
33
|
+
animation?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* If true, the component will be expanded
|
|
36
|
+
*/
|
|
37
|
+
expanded: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The content of the component
|
|
40
|
+
*/
|
|
41
|
+
children?: React.ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* The content of the header
|
|
44
|
+
*/
|
|
45
|
+
headerChildren?: React.ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* The icon of the header
|
|
48
|
+
*/
|
|
49
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
50
|
+
/**
|
|
51
|
+
* The title of the header
|
|
52
|
+
*/
|
|
53
|
+
title?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The state of the bottom sheet
|
|
56
|
+
*/
|
|
57
|
+
display?: (typeof Collections.IBottomExpandableState)[number];
|
|
58
|
+
/**
|
|
59
|
+
* The subtitle of the header
|
|
60
|
+
*/
|
|
61
|
+
subtitle?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The callback fired when the component is expanded
|
|
64
|
+
*/
|
|
65
|
+
onExpand?: () => void;
|
|
66
|
+
/**
|
|
67
|
+
* The callback fired when the component is collapsed
|
|
68
|
+
*/
|
|
69
|
+
onCollapse?: () => void;
|
|
70
|
+
/**
|
|
71
|
+
* The actions of the component
|
|
72
|
+
*/
|
|
73
|
+
actions?: IAction[];
|
|
74
|
+
/**
|
|
75
|
+
* The callback fired when an action is clicked
|
|
76
|
+
* @param key
|
|
77
|
+
*/
|
|
78
|
+
onActionClick?: (key: string) => void;
|
|
79
|
+
/**
|
|
80
|
+
* The number for the badge of the header
|
|
81
|
+
*/
|
|
82
|
+
badge?: number;
|
|
83
|
+
}
|
|
84
|
+
declare const XBottomSheet: React.FC<IProps>;
|
|
85
|
+
export default XBottomSheet;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IAction {
|
|
4
|
-
key: string;
|
|
5
|
-
text: string;
|
|
6
|
-
type: (typeof Collections.IType)[number];
|
|
7
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface IProps {
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
headerChildren?: React.ReactNode;
|
|
14
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
15
|
-
title?: string;
|
|
16
|
-
subtitle?: string;
|
|
17
|
-
onExpand?: () => void;
|
|
18
|
-
onCollapse?: () => void;
|
|
19
|
-
actions?: Array<IAction>;
|
|
20
|
-
onActionClick?: (key: string) => void;
|
|
21
|
-
expanded?: boolean;
|
|
22
|
-
badge?: number;
|
|
23
|
-
}
|
|
24
|
-
declare const XExpanssionModal: React.FC<IProps>;
|
|
25
|
-
export default XExpanssionModal;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IAction {
|
|
4
|
+
key: string;
|
|
5
|
+
text: string;
|
|
6
|
+
type: (typeof Collections.IType)[number];
|
|
7
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IProps {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
headerChildren?: React.ReactNode;
|
|
14
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
15
|
+
title?: string;
|
|
16
|
+
subtitle?: string;
|
|
17
|
+
onExpand?: () => void;
|
|
18
|
+
onCollapse?: () => void;
|
|
19
|
+
actions?: Array<IAction>;
|
|
20
|
+
onActionClick?: (key: string) => void;
|
|
21
|
+
expanded?: boolean;
|
|
22
|
+
badge?: number;
|
|
23
|
+
}
|
|
24
|
+
declare const XExpanssionModal: React.FC<IProps>;
|
|
25
|
+
export default XExpanssionModal;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
3
|
-
export interface IProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
value?: Date;
|
|
8
|
-
defaultValue?: Date;
|
|
9
|
-
okText?: string;
|
|
10
|
-
dateFormat?: string;
|
|
11
|
-
size?: (typeof Collections.ICalendarSize)[number];
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
hasError?: boolean;
|
|
14
|
-
onChange?: (values: Date) => void;
|
|
15
|
-
}
|
|
16
|
-
declare const XCalendar: React.FC<IProps>;
|
|
17
|
-
export default XCalendar;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
value?: Date;
|
|
8
|
+
defaultValue?: Date;
|
|
9
|
+
okText?: string;
|
|
10
|
+
dateFormat?: string;
|
|
11
|
+
size?: (typeof Collections.ICalendarSize)[number];
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
hasError?: boolean;
|
|
14
|
+
onChange?: (values: Date) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const XCalendar: React.FC<IProps>;
|
|
17
|
+
export default XCalendar;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Collections } from '@yumi/models';
|
|
3
|
-
export interface IProps {
|
|
4
|
-
title?: {
|
|
5
|
-
text: string;
|
|
6
|
-
icon?: (typeof Collections.IIcon)[number];
|
|
7
|
-
color?: (typeof Collections.ITagColor)[number];
|
|
8
|
-
};
|
|
9
|
-
border?: (typeof Collections.ICardApproveBorder)[number];
|
|
10
|
-
subtitle?: string;
|
|
11
|
-
value: string;
|
|
12
|
-
header: string[];
|
|
13
|
-
infoRow: Array<{
|
|
14
|
-
label: string;
|
|
15
|
-
value: string | number;
|
|
16
|
-
}>;
|
|
17
|
-
buttons?: Array<{
|
|
18
|
-
type: (typeof Collections.IType)[number];
|
|
19
|
-
icon: (typeof Collections.IIcon)[number];
|
|
20
|
-
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
goToDetail?: {
|
|
24
|
-
onClick: () => void;
|
|
25
|
-
title: string;
|
|
26
|
-
};
|
|
27
|
-
checkbox?: {
|
|
28
|
-
show?: boolean;
|
|
29
|
-
hasSelected?: boolean;
|
|
30
|
-
onClickCheckBox?: () => void;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
declare const XCardApprove: React.FC<IProps>;
|
|
34
|
-
export default XCardApprove;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
title?: {
|
|
5
|
+
text: string;
|
|
6
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
7
|
+
color?: (typeof Collections.ITagColor)[number];
|
|
8
|
+
};
|
|
9
|
+
border?: (typeof Collections.ICardApproveBorder)[number];
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
value: string;
|
|
12
|
+
header: string[];
|
|
13
|
+
infoRow: Array<{
|
|
14
|
+
label: string;
|
|
15
|
+
value: string | number;
|
|
16
|
+
}>;
|
|
17
|
+
buttons?: Array<{
|
|
18
|
+
type: (typeof Collections.IType)[number];
|
|
19
|
+
icon: (typeof Collections.IIcon)[number];
|
|
20
|
+
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
goToDetail?: {
|
|
24
|
+
onClick: () => void;
|
|
25
|
+
title: string;
|
|
26
|
+
};
|
|
27
|
+
checkbox?: {
|
|
28
|
+
show?: boolean;
|
|
29
|
+
hasSelected?: boolean;
|
|
30
|
+
onClickCheckBox?: () => void;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
declare const XCardApprove: React.FC<IProps>;
|
|
34
|
+
export default XCardApprove;
|
package/{components/mobile/xcard-decision → src/components/mobile/x-card-decision}/root.d.ts
RENAMED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Collections } from '@yumi/models';
|
|
3
|
-
export interface IProps {
|
|
4
|
-
/**
|
|
5
|
-
* If true, the elements will be rendered as a skeleton
|
|
6
|
-
*/
|
|
7
|
-
skeleton?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* The label of the decision card
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* The size of the card, can be 's', 'm' or 'l'
|
|
14
|
-
*/
|
|
15
|
-
size?: (typeof Collections.ICardDecisionSize)[number];
|
|
16
|
-
/**
|
|
17
|
-
* The action to be executed when the affirmative button is clicked
|
|
18
|
-
*/
|
|
19
|
-
onClickAffirmative: (state: boolean) => void;
|
|
20
|
-
/**
|
|
21
|
-
* The action to be executed when the negative button is clicked
|
|
22
|
-
*/
|
|
23
|
-
onClickNegative: (state: boolean) => void;
|
|
24
|
-
/**
|
|
25
|
-
* If true, the card will have a third option that is doesn't apply, only works with size 'l'
|
|
26
|
-
*/
|
|
27
|
-
doesntApplyOption?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The action to be executed when the third option button is clicked
|
|
30
|
-
*/
|
|
31
|
-
onClickDoesntApplyOption?: (state: boolean) => void;
|
|
32
|
-
}
|
|
33
|
-
declare const XCardDecision: React.FC<IProps>;
|
|
34
|
-
export default XCardDecision;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
/**
|
|
5
|
+
* If true, the elements will be rendered as a skeleton
|
|
6
|
+
*/
|
|
7
|
+
skeleton?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The label of the decision card
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* The size of the card, can be 's', 'm' or 'l'
|
|
14
|
+
*/
|
|
15
|
+
size?: (typeof Collections.ICardDecisionSize)[number];
|
|
16
|
+
/**
|
|
17
|
+
* The action to be executed when the affirmative button is clicked
|
|
18
|
+
*/
|
|
19
|
+
onClickAffirmative: (state: boolean) => void;
|
|
20
|
+
/**
|
|
21
|
+
* The action to be executed when the negative button is clicked
|
|
22
|
+
*/
|
|
23
|
+
onClickNegative: (state: boolean) => void;
|
|
24
|
+
/**
|
|
25
|
+
* If true, the card will have a third option that is doesn't apply, only works with size 'l'
|
|
26
|
+
*/
|
|
27
|
+
doesntApplyOption?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The action to be executed when the third option button is clicked
|
|
30
|
+
*/
|
|
31
|
+
onClickDoesntApplyOption?: (state: boolean) => void;
|
|
32
|
+
}
|
|
33
|
+
declare const XCardDecision: React.FC<IProps>;
|
|
34
|
+
export default XCardDecision;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Collections } from '
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IProps {
|
|
4
|
-
/**
|
|
5
|
-
* The image of the card, whe size is 'l' fit well a rectangular image, for the other sizes a square image is recommended
|
|
6
|
-
*/
|
|
7
|
-
image: string;
|
|
8
|
-
/**
|
|
9
|
-
* The main title of the card
|
|
10
|
-
*/
|
|
11
|
-
title: string;
|
|
12
|
-
/**
|
|
13
|
-
* The description of the card
|
|
14
|
-
*/
|
|
15
|
-
description?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The action to be executed when the card is clicked
|
|
18
|
-
*/
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
/**
|
|
21
|
-
* If true, the elements of the card will be rendered as a skeleton
|
|
22
|
-
*/
|
|
23
|
-
skeleton?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The size of the card, can be 's', 'm' or 'l'
|
|
26
|
-
*/
|
|
27
|
-
size?: (typeof Collections.ICardImageSize)[number];
|
|
28
|
-
}
|
|
29
|
-
declare const XCardImage: React.FC<IProps>;
|
|
30
|
-
export default XCardImage;
|
|
1
|
+
import { Collections } from '@yumi/models';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
/**
|
|
5
|
+
* The image of the card, whe size is 'l' fit well a rectangular image, for the other sizes a square image is recommended
|
|
6
|
+
*/
|
|
7
|
+
image: string;
|
|
8
|
+
/**
|
|
9
|
+
* The main title of the card
|
|
10
|
+
*/
|
|
11
|
+
title: string;
|
|
12
|
+
/**
|
|
13
|
+
* The description of the card
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The action to be executed when the card is clicked
|
|
18
|
+
*/
|
|
19
|
+
onClick?: () => void;
|
|
20
|
+
/**
|
|
21
|
+
* If true, the elements of the card will be rendered as a skeleton
|
|
22
|
+
*/
|
|
23
|
+
skeleton?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The size of the card, can be 's', 'm' or 'l'
|
|
26
|
+
*/
|
|
27
|
+
size?: (typeof Collections.ICardImageSize)[number];
|
|
28
|
+
}
|
|
29
|
+
declare const XCardImage: React.FC<IProps>;
|
|
30
|
+
export default XCardImage;
|