@team_yumi/ramen 1.0.2-next.20240313-b531266-4b20873f286059002cdb1eaf2fb0139e → 1.2.1-next.20240408-9c0c8c8-06722c3f37abe13bd67d12c23fdaebac
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 +174 -63
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/components/core/x-accordion/root.d.ts +2 -2
- package/src/components/core/x-alert/root.d.ts +1 -1
- package/src/components/core/x-avatar/root.d.ts +1 -1
- package/src/components/core/x-badge/root.d.ts +1 -1
- package/src/components/core/x-bar/root.d.ts +1 -1
- package/src/components/core/x-box/root.d.ts +1 -1
- package/src/components/core/x-button/root.d.ts +2 -1
- package/src/components/core/x-button-icon/root.d.ts +1 -1
- package/src/components/core/x-card/root.d.ts +1 -1
- package/src/components/core/x-card-counter/root.d.ts +1 -1
- package/src/components/core/x-checkbox/root.d.ts +1 -1
- package/src/components/core/x-collapse-card/root.d.ts +1 -1
- package/src/components/core/x-config-provider/context.d.ts +1 -1
- package/src/components/core/x-config-provider/root.d.ts +1 -1
- package/src/components/core/x-decision/root.d.ts +1 -1
- package/src/components/core/x-decision-item/root.d.ts +1 -1
- package/src/components/core/x-divider/root.d.ts +1 -1
- package/src/components/core/x-email-input/root.d.ts +1 -1
- package/src/components/core/x-expansion-panel/root.d.ts +1 -1
- package/src/components/core/x-icon/root.d.ts +1 -1
- package/src/components/core/x-image/root.d.ts +1 -1
- package/src/components/core/x-image-preview/root.d.ts +1 -1
- package/src/components/core/x-image-previewer/root.d.ts +1 -1
- package/src/components/core/x-input/root.d.ts +1 -1
- package/src/components/core/x-number-input/root.d.ts +1 -1
- package/src/components/core/x-password-input/root.d.ts +1 -1
- package/src/components/core/x-phone-input/root.d.ts +1 -1
- package/src/components/core/x-progress-bar/root.d.ts +1 -1
- package/src/components/core/x-radio-button/root.d.ts +1 -1
- package/src/components/core/x-search-input/root.d.ts +1 -1
- package/src/components/core/x-skeleton/root.d.ts +1 -1
- package/src/components/core/x-symbol/root.d.ts +1 -1
- package/src/components/core/x-symbol/symbols/neutral/index.d.ts +2 -1
- package/src/components/core/x-tab/root.d.ts +1 -1
- package/src/components/core/x-tabs/root.d.ts +1 -1
- package/src/components/core/x-tag/root.d.ts +1 -1
- package/src/components/core/x-tag-business/root.d.ts +1 -1
- package/src/components/core/x-tag-state/root.d.ts +1 -1
- package/src/components/core/x-text/root.d.ts +1 -1
- package/src/components/core/x-text-field/root.d.ts +1 -1
- package/src/components/core/x-text-input/root.d.ts +1 -1
- package/src/components/core/x-vspace/root.d.ts +1 -1
- package/src/components/mobile/x-body/root.d.ts +1 -0
- package/src/components/mobile/x-bottom-sheet/root.d.ts +1 -1
- package/src/components/mobile/x-bottom-sheet-expandable/root.d.ts +1 -1
- package/src/components/mobile/x-calendar/root.d.ts +1 -1
- package/src/components/mobile/x-card-approve/root.d.ts +1 -1
- package/src/components/mobile/x-card-business/index.d.ts +2 -0
- package/src/components/mobile/x-card-business/root.d.ts +10 -0
- package/src/components/mobile/x-card-decision/root.d.ts +1 -1
- package/src/components/mobile/x-card-image/root.d.ts +1 -1
- package/src/components/mobile/x-card-scan/root.d.ts +1 -1
- package/src/components/mobile/x-datepicker/root.d.ts +1 -1
- package/src/components/mobile/x-datepicker-input/root.d.ts +1 -1
- package/src/components/mobile/x-empty-state/root.module.d.ts +1 -1
- package/src/components/mobile/x-float-button/root.d.ts +1 -1
- package/src/components/mobile/x-footer/root.d.ts +1 -1
- package/src/components/mobile/x-header/root.d.ts +1 -1
- package/src/components/mobile/x-modal/root.d.ts +1 -1
- package/src/components/mobile/x-option-radio-button/root.d.ts +1 -1
- package/src/components/mobile/x-radio-button-option/root.d.ts +1 -1
- package/src/components/mobile/x-select/root.d.ts +2 -1
- package/src/components/mobile/x-select-multiple/root.d.ts +1 -1
- package/src/components/mobile/x-snackbar/container.d.ts +1 -1
- package/src/components/mobile/x-snackbar/snackbar.d.ts +2 -2
- package/src/components/mobile/x-store-selector/index.d.ts +2 -0
- package/src/components/mobile/x-store-selector/root.d.ts +11 -0
- package/src/components/mobile/x-tab-bar/root.d.ts +1 -1
- package/src/components/mobile/x-tab-bar-item/root.d.ts +1 -1
- package/src/components/web/x-collapse-card/root.d.ts +1 -1
- package/src/components/web/x-drawer/root.d.ts +1 -1
- package/src/components/web/x-modal/root.d.ts +1 -1
- package/src/components/web/x-notification/notification.d.ts +1 -1
- package/src/components/web/x-select/root.d.ts +1 -1
- package/src/components/web/x-select-multiple/root.d.ts +1 -1
- package/src/components/web/x-sidebar/root.d.ts +1 -1
- package/src/components/web/x-tab-underline/index.d.ts +2 -0
- package/src/components/web/x-tab-underline/root.d.ts +11 -0
- package/src/components/web/x-tooltip/root.d.ts +1 -1
- package/src/index.mobile.d.ts +4 -0
- package/src/index.web.d.ts +2 -0
- package/src/models/Collections/ICardBusinessLogo.d.ts +1 -0
- package/src/models/Collections/IStoreSelectorLogo.d.ts +1 -0
- package/src/models/Collections/IStoreSelectorSize.d.ts +1 -0
- package/src/models/Collections/ISymbol.d.ts +1 -1
- package/src/models/Collections/index.d.ts +4 -1
- package/src/utils/countries.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
export interface IProps {
|
|
4
4
|
buttonType?: (typeof Collections.IButtonButtonType)[number];
|
|
5
5
|
text?: string;
|
|
@@ -11,6 +11,7 @@ export interface IProps {
|
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
13
13
|
skeleton?: boolean;
|
|
14
|
+
count?: number;
|
|
14
15
|
}
|
|
15
16
|
declare const XButton: React.FC<IProps>;
|
|
16
17
|
export default XButton;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
export interface IProps {
|
|
4
4
|
buttonType?: (typeof Collections.IButtonButtonType)[number];
|
|
5
5
|
type?: (typeof Collections.IType)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as IInputProps } from '../x-input/root';
|
|
4
4
|
export interface IProps extends Omit<IInputProps, 'type' | 'icon'> {
|
|
5
5
|
size?: (typeof Collections.IEmailInputSize)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { LegacyRef, MouseEventHandler } from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
export interface IProps {
|
|
4
4
|
inputRef?: LegacyRef<HTMLInputElement>;
|
|
5
5
|
type?: (typeof Collections.IInputType)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as IInputProps } from '../x-input/root';
|
|
4
4
|
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
5
5
|
size?: (typeof Collections.INumberInputSize)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as IInputProps } from '../x-input/root';
|
|
4
4
|
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
5
5
|
size?: (typeof Collections.INumberInputSize)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as IInputProps } from '../x-input/root';
|
|
4
4
|
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
5
5
|
size?: (typeof Collections.IPhoneInputSize)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as IInputProps } from '../x-input/root';
|
|
4
4
|
export interface IProps extends Omit<IInputProps, 'type' | 'icon'> {
|
|
5
5
|
size?: (typeof Collections.ISearchInputSize)[number];
|
|
@@ -48,4 +48,5 @@ import { ReactComponent as Several } from './varios.svg';
|
|
|
48
48
|
import { ReactComponent as TelephoneSales } from './venta-telefonica.svg';
|
|
49
49
|
import { ReactComponent as CalendarAdd } from './calendar-add.svg';
|
|
50
50
|
import { ReactComponent as CalendarAlert } from './calendar-alert.svg';
|
|
51
|
-
|
|
51
|
+
import { ReactComponent as WaterMeasurement } from './water-measurement.svg';
|
|
52
|
+
export { WaterMeasurement, FixedAssets, FitStock, FoundRateAlert, LostSaleAlert, Alert, TaskAssigner, Bazaar, CustomersBag, Central, FinanceConcept, OperationsConcept, ParkingLot, YellowLabel, WhiteLabel, MassiveLabel, UnitaryLabel, LabelCencosud, WarrantyDamage, WarrantyTheft, WarrantyTime, Generic, LoadHistory, Supplies, CyclicalInventory, Decrease, Wardrobe, Planograms, Promotions, Protection, Qr, ReceiptMerchandise, Replacement, Sad, MerchandiseOutput, Sections, GuaranteeSeal, Address, BoxesSales, Service, Smile, LoadRequest, Medium, LogisticsUnits, UserLost, UserServices, UserSales, Several, TelephoneSales, CalendarAdd, CalendarAlert, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as IInputProps } from '../x-input/root';
|
|
4
4
|
export interface IProps extends Omit<IInputProps, 'type'> {
|
|
5
5
|
size?: (typeof Collections.ITextInputSize)[number];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
logo: (typeof Collections.ICardBusinessLogo)[number];
|
|
5
|
+
sizeFixed?: boolean;
|
|
6
|
+
activated?: boolean;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const XCardBusiness: React.FC<IProps>;
|
|
10
|
+
export default XCardBusiness;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
import { IProps as XButtonIconProps } from '../../core/x-button-icon/root';
|
|
4
4
|
export interface IProps extends XButtonIconProps {
|
|
5
5
|
placement?: (typeof Collections.IFloatButtonPlacement)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
interface IOption {
|
|
4
4
|
label: string;
|
|
5
5
|
value: string;
|
|
@@ -22,6 +22,7 @@ export interface IProps {
|
|
|
22
22
|
selectionAsTag?: boolean;
|
|
23
23
|
searchPlaceholder?: string;
|
|
24
24
|
onChange?: (value: IOption | undefined) => void;
|
|
25
|
+
onClickOpenCustomModal?: React.MouseEventHandler<HTMLDivElement>;
|
|
25
26
|
}
|
|
26
27
|
declare const XSelect: React.FC<IProps>;
|
|
27
28
|
export default XSelect;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Collections } from '
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
3
|
export interface IProps {
|
|
4
4
|
/**
|
|
5
5
|
* Type of the snackbar can be info, success, warning, error or loading
|
|
@@ -10,7 +10,7 @@ export interface IProps {
|
|
|
10
10
|
* @deprecated the Placement is going to be removed in the next release
|
|
11
11
|
* is going to be always on top
|
|
12
12
|
*/
|
|
13
|
-
placement
|
|
13
|
+
placement?: (typeof Collections.IPlacementY)[number];
|
|
14
14
|
/**
|
|
15
15
|
* The text to show in the snackbar
|
|
16
16
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '../../../models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
logo: (typeof Collections.IStoreSelectorLogo)[number];
|
|
5
|
+
size?: (typeof Collections.IStoreSelectorSize)[number];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
label: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const XStoreSelector: React.FC<IProps>;
|
|
11
|
+
export default XStoreSelector;
|