@team_yumi/ramen 1.0.0-next.20240227-a55606b-9fd384bee7dff31035cf557f49187f73 → 1.0.0-next.20240227-f74b994-ee8958a50fc4918616d66958e5595b95
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/index.css +5 -1
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/components/core/x-box/index.d.ts +1 -1
- package/src/components/core/x-button/root.d.ts +1 -0
- package/src/components/core/x-button-icon/root.d.ts +1 -0
- package/src/components/mobile/x-group-checkbox/index.d.ts +2 -0
- package/src/components/mobile/x-group-checkbox/root.d.ts +15 -0
- package/src/components/web/x-checkbox-group/root.d.ts +1 -0
- package/src/index.mobile.d.ts +2 -0
- package/src/models/Collections/IButtonType.d.ts +1 -0
- package/src/models/Collections/index.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import Root from
|
|
1
|
+
import Root from './root';
|
|
2
2
|
export default Root;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
2
|
import { Collections } from '@yumi/models';
|
|
3
3
|
export interface IProps {
|
|
4
|
+
buttonType?: (typeof Collections.IButtonType)[number];
|
|
4
5
|
text?: string;
|
|
5
6
|
type?: (typeof Collections.IType)[number];
|
|
6
7
|
size?: (typeof Collections.ISize)[number];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
2
|
import { Collections } from '@yumi/models';
|
|
3
3
|
export interface IProps {
|
|
4
|
+
buttonType?: (typeof Collections.IButtonType)[number];
|
|
4
5
|
type?: (typeof Collections.IType)[number];
|
|
5
6
|
size?: (typeof Collections.ISize)[number];
|
|
6
7
|
icon?: (typeof Collections.IIcon)[number];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export type Options = {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
export interface Props {
|
|
7
|
+
selectedOptions?: string[];
|
|
8
|
+
options: Options[];
|
|
9
|
+
onChange: (checkedItems: string[]) => void;
|
|
10
|
+
searchable?: boolean;
|
|
11
|
+
showSelectAll?: boolean;
|
|
12
|
+
selectAllText?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const XGroupCheckBox: FC<Props>;
|
|
15
|
+
export default XGroupCheckBox;
|
package/src/index.mobile.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ declare const _default: {
|
|
|
78
78
|
XGroupRadioButton: import("react").FC<import("./components/mobile/x-group-radio-button/root").IProps>;
|
|
79
79
|
XBottomSheet: import("react").FC<import("./components/mobile/x-bottom-sheet/root").IProps>;
|
|
80
80
|
XRadioButtonOption: import("react").FC<import("./components/mobile/x-radio-button-option/root").IProps>;
|
|
81
|
+
XGroupCheckBox: import("react").FC<import("./components/mobile/x-group-checkbox/root").Props>;
|
|
81
82
|
XCardCounter: import("react").FC<import("./components/core/x-card-counter/root").IProps>;
|
|
82
83
|
XBox: import("react").FC<import("./components/core/x-box/root").IProps>;
|
|
83
84
|
XText: import("react").FC<import("./components/core/x-text/root").IProps>;
|
|
@@ -206,3 +207,4 @@ export { default as XOptionRadioButton } from './components/mobile/x-option-radi
|
|
|
206
207
|
export { default as XGroupRadioButton } from './components/mobile/x-group-radio-button';
|
|
207
208
|
export { default as XBottomSheet } from './components/mobile/x-bottom-sheet';
|
|
208
209
|
export { default as XRadioButtonOption } from './components/mobile/x-radio-button-option';
|
|
210
|
+
export { default as XGroupCheckBox } from './components/mobile/x-group-checkbox';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IButtonType: readonly ["submit", "button", "reset"];
|
|
@@ -21,6 +21,7 @@ import { ITagSize } from './ITagSize';
|
|
|
21
21
|
import { ITagBusinessBrand } from './ITagBusinessBrand';
|
|
22
22
|
import { ITagBusinessSize } from './ITagBusinessSize';
|
|
23
23
|
import { IInputSize } from './IInputSize';
|
|
24
|
+
import { IButtonType } from './IButtonType';
|
|
24
25
|
import { IInputType } from './IInputType';
|
|
25
26
|
import { ITabSize } from './ITabSize';
|
|
26
27
|
import { ITabType } from './ITabType';
|
|
@@ -100,4 +101,4 @@ import { IBoxBackgroundThone } from './IBoxBackgroundThone';
|
|
|
100
101
|
import { ISymbolColor } from './ISymbolColor';
|
|
101
102
|
import { ISymbolSize } from './ISymbolSize';
|
|
102
103
|
import { IIconSize } from './IIconSize';
|
|
103
|
-
export { IFloatButtonBottom, IBoxBackgroundThone, ICardApproveBorder, IEmptyStateType, ITagStateColor, IDatepickerInputType, IDatepickerInputFormat, IDatepickerInputSize, IDatepickerType, IDatepickerFormat, IDatepickerSize, ICardScanSize, ITabsBorder, IHorizontalAlign, IVerticalAlign, IHeight, IWidth, IOverflow, IPadding, IGap, IOrientation, ITextOverflow, ILineHeight, IWeight, IFontSize, ILineClamp, IType, ISize, IIcon, IIconPosition, IBackground, ITagType, ITagSize, ITagBusinessBrand, ITagBusinessSize, IInputSize, IInputType, ITabSize, ITabType, ITabsSize, IFooterAlign, IEmailInputSize, INumberInputSize, IPasswordInputSize, IPhoneInputSize, ISearchInputSize, ITextInputSize, ISelectSize, IAppearance, INotificationType, IPlacement, ITooltipPlacement, IHeaderType, IAlertType, ISelectMultipleSize, ICardSize, IBorderType, ISymbol, IFloatButtonPlacement, IPlacementY, ISnackbarType, ICalendarSize, ITagStateType, ITagStateSize, IState, IVSpaceSize, IBorder, IRounded, ISkeletonType, ISkeletonWidth, ITextAlign, ICountry, ITheme, ICollapseCardSize, ICardImageSize, IInputMode, ISelectModalSize, ITextColorThone, ITagColor, IButtonIconState, ITabBarBorder, IExpanssionModalState, ICardDecisionSize, ICardCounterBorderType, IDecisionItemType, IDecisionItemSize, ICardState, IProgressBarType, IProgressBarSize, IDecisionValueType, IDecisionSize, ITextFieldType, ITextFieldSize, IIconColor, IBackgroundThone, IBorderColor, IBorderSize, IColor, IBottomExpandableState, ISymbolColor, ISymbolSize, IIconSize, };
|
|
104
|
+
export { IFloatButtonBottom, IBoxBackgroundThone, ICardApproveBorder, IEmptyStateType, ITagStateColor, IDatepickerInputType, IDatepickerInputFormat, IDatepickerInputSize, IDatepickerType, IDatepickerFormat, IDatepickerSize, ICardScanSize, ITabsBorder, IHorizontalAlign, IVerticalAlign, IHeight, IWidth, IOverflow, IPadding, IGap, IOrientation, ITextOverflow, ILineHeight, IWeight, IFontSize, ILineClamp, IType, ISize, IIcon, IIconPosition, IBackground, ITagType, ITagSize, ITagBusinessBrand, ITagBusinessSize, IInputSize, IButtonType, IInputType, ITabSize, ITabType, ITabsSize, IFooterAlign, IEmailInputSize, INumberInputSize, IPasswordInputSize, IPhoneInputSize, ISearchInputSize, ITextInputSize, ISelectSize, IAppearance, INotificationType, IPlacement, ITooltipPlacement, IHeaderType, IAlertType, ISelectMultipleSize, ICardSize, IBorderType, ISymbol, IFloatButtonPlacement, IPlacementY, ISnackbarType, ICalendarSize, ITagStateType, ITagStateSize, IState, IVSpaceSize, IBorder, IRounded, ISkeletonType, ISkeletonWidth, ITextAlign, ICountry, ITheme, ICollapseCardSize, ICardImageSize, IInputMode, ISelectModalSize, ITextColorThone, ITagColor, IButtonIconState, ITabBarBorder, IExpanssionModalState, ICardDecisionSize, ICardCounterBorderType, IDecisionItemType, IDecisionItemSize, ICardState, IProgressBarType, IProgressBarSize, IDecisionValueType, IDecisionSize, ITextFieldType, ITextFieldSize, IIconColor, IBackgroundThone, IBorderColor, IBorderSize, IColor, IBottomExpandableState, ISymbolColor, ISymbolSize, IIconSize, };
|