@team_yumi/ramen 1.2.3-next.20240627-3c14bb8-d386da14a0844644f7a1af244344c70b → 1.2.3-next.20240821-bae06f9-f4455711ced42dc9e2ecf932f1b872e2
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 +28 -8
- package/index.js +3 -4
- package/package.json +1 -1
- package/src/components/core/x-text/root.d.ts +4 -0
- package/src/components/mobile/x-card-expand-progress/index.d.ts +2 -0
- package/src/components/mobile/x-card-expand-progress/root.d.ts +18 -0
- package/src/components/web/x-table/root.d.ts +4 -0
- package/src/models/Collections/IDisplay.d.ts +1 -0
- package/src/models/Collections/IWidth.d.ts +1 -1
- package/src/models/Collections/index.d.ts +2 -1
package/package.json
CHANGED
|
@@ -41,6 +41,10 @@ export interface IProps {
|
|
|
41
41
|
* If true, the content will be rendered with a skeleton effect
|
|
42
42
|
*/
|
|
43
43
|
skeleton?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Display mode can be inline or block, and define the display mode in rendering
|
|
46
|
+
*/
|
|
47
|
+
display?: (typeof Collections.IDisplay)[number];
|
|
44
48
|
}
|
|
45
49
|
declare const XText: React.FC<IProps>;
|
|
46
50
|
export default XText;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
size?: (typeof Collections.ICardProgressSize)[number];
|
|
7
|
+
borderType?: (typeof Collections.IBorderType)[number];
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
progress?: number;
|
|
12
|
+
items?: {
|
|
13
|
+
description: string;
|
|
14
|
+
progress: number;
|
|
15
|
+
}[];
|
|
16
|
+
}
|
|
17
|
+
declare const XCardExpandProgress: React.FC<IProps>;
|
|
18
|
+
export default XCardExpandProgress;
|
|
@@ -26,6 +26,10 @@ interface IColumn {
|
|
|
26
26
|
dataIndex?: string;
|
|
27
27
|
key: string;
|
|
28
28
|
sorter?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Width in percentage for the column
|
|
31
|
+
*/
|
|
32
|
+
width?: number;
|
|
29
33
|
render?: (value: TValue, record: object) => React.ReactNode;
|
|
30
34
|
}
|
|
31
35
|
export interface XTableSorter {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IDisplay: readonly ["inline", "block"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const IWidth: readonly ["auto", "half", "full", "flex", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
1
|
+
export declare const IWidth: readonly ["auto", "half", "full", "flex", "fit-content", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
@@ -110,4 +110,5 @@ import { ICardBusinessLogo } from './ICardBusinessLogo';
|
|
|
110
110
|
import { IStoreSelectorLogo } from './IStoreSelectorLogo';
|
|
111
111
|
import { IStoreSelectorSize } from './IStoreSelectorSize';
|
|
112
112
|
import { ICardProgressSize } from './ICardProgressSize';
|
|
113
|
-
|
|
113
|
+
import { IDisplay } from './IDisplay';
|
|
114
|
+
export { IDisplay, ICardProgressSize, IStoreSelectorSize, IStoreSelectorLogo, ICardBusinessLogo, ISelectManyModalSize, ISelectBorderType, ISelectMultipleBorderType, IModalSize, 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, IButtonButtonType, 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, IIconsAndSymbols, };
|