@team_yumi/ramen 1.2.3-next.20240627-3c14bb8-d386da14a0844644f7a1af244344c70b → 1.2.3-next.20240704-72ccfdc-d57dfe816dd26d4d80f5987c25bca6f1
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 +14 -0
- package/index.js +3 -4
- package/package.json +1 -1
- package/src/components/core/x-text/root.d.ts +4 -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;
|
|
@@ -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, };
|