@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.
Files changed (90) hide show
  1. package/index.css +174 -63
  2. package/index.js +2 -2
  3. package/package.json +1 -1
  4. package/src/components/core/x-accordion/root.d.ts +2 -2
  5. package/src/components/core/x-alert/root.d.ts +1 -1
  6. package/src/components/core/x-avatar/root.d.ts +1 -1
  7. package/src/components/core/x-badge/root.d.ts +1 -1
  8. package/src/components/core/x-bar/root.d.ts +1 -1
  9. package/src/components/core/x-box/root.d.ts +1 -1
  10. package/src/components/core/x-button/root.d.ts +2 -1
  11. package/src/components/core/x-button-icon/root.d.ts +1 -1
  12. package/src/components/core/x-card/root.d.ts +1 -1
  13. package/src/components/core/x-card-counter/root.d.ts +1 -1
  14. package/src/components/core/x-checkbox/root.d.ts +1 -1
  15. package/src/components/core/x-collapse-card/root.d.ts +1 -1
  16. package/src/components/core/x-config-provider/context.d.ts +1 -1
  17. package/src/components/core/x-config-provider/root.d.ts +1 -1
  18. package/src/components/core/x-decision/root.d.ts +1 -1
  19. package/src/components/core/x-decision-item/root.d.ts +1 -1
  20. package/src/components/core/x-divider/root.d.ts +1 -1
  21. package/src/components/core/x-email-input/root.d.ts +1 -1
  22. package/src/components/core/x-expansion-panel/root.d.ts +1 -1
  23. package/src/components/core/x-icon/root.d.ts +1 -1
  24. package/src/components/core/x-image/root.d.ts +1 -1
  25. package/src/components/core/x-image-preview/root.d.ts +1 -1
  26. package/src/components/core/x-image-previewer/root.d.ts +1 -1
  27. package/src/components/core/x-input/root.d.ts +1 -1
  28. package/src/components/core/x-number-input/root.d.ts +1 -1
  29. package/src/components/core/x-password-input/root.d.ts +1 -1
  30. package/src/components/core/x-phone-input/root.d.ts +1 -1
  31. package/src/components/core/x-progress-bar/root.d.ts +1 -1
  32. package/src/components/core/x-radio-button/root.d.ts +1 -1
  33. package/src/components/core/x-search-input/root.d.ts +1 -1
  34. package/src/components/core/x-skeleton/root.d.ts +1 -1
  35. package/src/components/core/x-symbol/root.d.ts +1 -1
  36. package/src/components/core/x-symbol/symbols/neutral/index.d.ts +2 -1
  37. package/src/components/core/x-tab/root.d.ts +1 -1
  38. package/src/components/core/x-tabs/root.d.ts +1 -1
  39. package/src/components/core/x-tag/root.d.ts +1 -1
  40. package/src/components/core/x-tag-business/root.d.ts +1 -1
  41. package/src/components/core/x-tag-state/root.d.ts +1 -1
  42. package/src/components/core/x-text/root.d.ts +1 -1
  43. package/src/components/core/x-text-field/root.d.ts +1 -1
  44. package/src/components/core/x-text-input/root.d.ts +1 -1
  45. package/src/components/core/x-vspace/root.d.ts +1 -1
  46. package/src/components/mobile/x-body/root.d.ts +1 -0
  47. package/src/components/mobile/x-bottom-sheet/root.d.ts +1 -1
  48. package/src/components/mobile/x-bottom-sheet-expandable/root.d.ts +1 -1
  49. package/src/components/mobile/x-calendar/root.d.ts +1 -1
  50. package/src/components/mobile/x-card-approve/root.d.ts +1 -1
  51. package/src/components/mobile/x-card-business/index.d.ts +2 -0
  52. package/src/components/mobile/x-card-business/root.d.ts +10 -0
  53. package/src/components/mobile/x-card-decision/root.d.ts +1 -1
  54. package/src/components/mobile/x-card-image/root.d.ts +1 -1
  55. package/src/components/mobile/x-card-scan/root.d.ts +1 -1
  56. package/src/components/mobile/x-datepicker/root.d.ts +1 -1
  57. package/src/components/mobile/x-datepicker-input/root.d.ts +1 -1
  58. package/src/components/mobile/x-empty-state/root.module.d.ts +1 -1
  59. package/src/components/mobile/x-float-button/root.d.ts +1 -1
  60. package/src/components/mobile/x-footer/root.d.ts +1 -1
  61. package/src/components/mobile/x-header/root.d.ts +1 -1
  62. package/src/components/mobile/x-modal/root.d.ts +1 -1
  63. package/src/components/mobile/x-option-radio-button/root.d.ts +1 -1
  64. package/src/components/mobile/x-radio-button-option/root.d.ts +1 -1
  65. package/src/components/mobile/x-select/root.d.ts +2 -1
  66. package/src/components/mobile/x-select-multiple/root.d.ts +1 -1
  67. package/src/components/mobile/x-snackbar/container.d.ts +1 -1
  68. package/src/components/mobile/x-snackbar/snackbar.d.ts +2 -2
  69. package/src/components/mobile/x-store-selector/index.d.ts +2 -0
  70. package/src/components/mobile/x-store-selector/root.d.ts +11 -0
  71. package/src/components/mobile/x-tab-bar/root.d.ts +1 -1
  72. package/src/components/mobile/x-tab-bar-item/root.d.ts +1 -1
  73. package/src/components/web/x-collapse-card/root.d.ts +1 -1
  74. package/src/components/web/x-drawer/root.d.ts +1 -1
  75. package/src/components/web/x-modal/root.d.ts +1 -1
  76. package/src/components/web/x-notification/notification.d.ts +1 -1
  77. package/src/components/web/x-select/root.d.ts +1 -1
  78. package/src/components/web/x-select-multiple/root.d.ts +1 -1
  79. package/src/components/web/x-sidebar/root.d.ts +1 -1
  80. package/src/components/web/x-tab-underline/index.d.ts +2 -0
  81. package/src/components/web/x-tab-underline/root.d.ts +11 -0
  82. package/src/components/web/x-tooltip/root.d.ts +1 -1
  83. package/src/index.mobile.d.ts +4 -0
  84. package/src/index.web.d.ts +2 -0
  85. package/src/models/Collections/ICardBusinessLogo.d.ts +1 -0
  86. package/src/models/Collections/IStoreSelectorLogo.d.ts +1 -0
  87. package/src/models/Collections/IStoreSelectorSize.d.ts +1 -0
  88. package/src/models/Collections/ISymbol.d.ts +1 -1
  89. package/src/models/Collections/index.d.ts +4 -1
  90. package/src/utils/countries.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team_yumi/ramen",
3
- "version": "1.0.2-next.20240313-b531266-4b20873f286059002cdb1eaf2fb0139e",
3
+ "version": "1.2.1-next.20240408-9c0c8c8-06722c3f37abe13bd67d12c23fdaebac",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "react": ">=16.8.0"
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { Collections } from "@yumi/models";
1
+ import React from 'react';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Set open or close accordion
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Child Elements
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  src: string;
5
5
  size?: (typeof Collections.ISize)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  value?: number;
5
5
  size?: (typeof Collections.ISize)[number];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * The type of the progress bar
@@ -1,5 +1,5 @@
1
1
  import React, { MouseEventHandler } from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Children of the component
@@ -1,5 +1,5 @@
1
1
  import React, { MouseEventHandler } from 'react';
2
- import { Collections } from '@yumi/models';
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 '@yumi/models';
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 '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  symbol?: (typeof Collections.ISymbol)[number];
5
5
  icons?: (typeof Collections.IIcon)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  title?: string;
5
5
  subtitle?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Checkbox selected or not
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  open?: boolean;
5
5
  defaultOpen?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IConfig {
4
4
  country: (typeof Collections.ICountry)[number];
5
5
  theme: (typeof Collections.ITheme)[number];
@@ -1,4 +1,4 @@
1
- import { Collections } from '@yumi/models';
1
+ import { Collections } from '../../../models';
2
2
  import React from 'react';
3
3
  export interface IProps {
4
4
  country?: (typeof Collections.ICountry)[number];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  showNotApplicable: boolean;
5
5
  size?: (typeof Collections.IDecisionSize)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Item type can be 'check', 'refuse', 'not-applicable', 'various' or 'remove' (optional)
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  orientation?: (typeof Collections.IOrientation)[number];
5
5
  size?: (typeof Collections.ISize)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
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 from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  open?: boolean;
5
5
  defaultOpen?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Icon name
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  src: string;
5
5
  height?: (typeof Collections.IHeight)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  src: string;
5
5
  border?: (typeof Collections.IBorder)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  src: string;
5
5
  border?: (typeof Collections.IBorder)[number];
@@ -1,5 +1,5 @@
1
1
  import React, { LegacyRef, MouseEventHandler } from 'react';
2
- import { Collections } from '@yumi/models';
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 '@yumi/models';
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 '@yumi/models';
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 '@yumi/models';
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
  /// <reference types="react" />
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * The type of the progress bar
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Check radio or not
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
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];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  size?: (typeof Collections.ISize)[number];
5
5
  type: (typeof Collections.ISkeletonType)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Symbol name
@@ -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
- export { 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, };
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, { MouseEventHandler } from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  label?: string;
5
5
  icon?: (typeof Collections.IIcon)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  interface ITab {
4
4
  key: string;
5
5
  label?: string;
@@ -1,5 +1,5 @@
1
1
  import React, { MouseEventHandler } from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  text: string;
5
5
  icon?: (typeof Collections.IIcon)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  brand: (typeof Collections.ITagBusinessBrand)[number];
5
5
  size?: (typeof Collections.ITagBusinessSize)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  type?: (typeof Collections.ITagStateType)[number];
5
5
  size?: (typeof Collections.ITagStateSize)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * Text content
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  import { IProps as IInputProps } from '../x-input/root';
4
4
  /**
5
5
  * Properties for a custom input component.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
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];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  size: (typeof Collections.IVSpaceSize)[number];
5
5
  }
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  export interface IProps {
3
3
  children?: React.ReactNode;
4
4
  skeleton?: boolean;
5
+ isFull?: boolean;
5
6
  }
6
7
  declare const XBody: React.FC<IProps>;
7
8
  export default XBody;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IAction {
4
4
  /**
5
5
  * The key of the action
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IAction {
4
4
  key: string;
5
5
  text: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  title?: string;
5
5
  subtitle?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  title?: {
5
5
  text: string;
@@ -0,0 +1,2 @@
1
+ import Root from './root';
2
+ export default Root;
@@ -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
  /// <reference types="react" />
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * If true, the elements will be rendered as a skeleton
@@ -1,4 +1,4 @@
1
- import { Collections } from '@yumi/models';
1
+ import { Collections } from '../../../models';
2
2
  import React from 'react';
3
3
  export interface IProps {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import React, { LegacyRef } from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  onClick?: () => void;
5
5
  onSubmit?: () => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  onChange?: (date: Date | Date[] | undefined) => void;
5
5
  type?: (typeof Collections.IDatepickerType)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  onChange?: (date: Date | Date[] | undefined) => void;
5
5
  type?: (typeof Collections.IDatepickerInputType)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  title: string;
5
5
  subtitle?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
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 '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  children?: React.ReactNode;
5
5
  background?: (typeof Collections.IBackground)[number];
@@ -1,5 +1,5 @@
1
1
  import React, { MouseEventHandler } from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  type Tag = {
4
4
  type: 'business';
5
5
  brand: (typeof Collections.ITagBusinessBrand)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IAction {
4
4
  /**
5
5
  * The key of the action
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * If true, the elements will be rendered as a skeleton
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Collections } from "@yumi/models";
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  /**
5
5
  * If true, the elements will be rendered as a skeleton
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
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 '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface XSelectMultipleOption {
4
4
  label: string;
5
5
  value: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  id: string;
5
5
  placement: (typeof Collections.IPlacementY)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
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: (typeof Collections.IPlacementY)[number];
13
+ placement?: (typeof Collections.IPlacementY)[number];
14
14
  /**
15
15
  * The text to show in the snackbar
16
16
  */
@@ -0,0 +1,2 @@
1
+ import Root from './root';
2
+ export default Root;
@@ -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;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  children: ReactNode;
5
5
  border: (typeof Collections.ITabBarBorder)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  onClick?: () => void;
5
5
  icon: (typeof Collections.IIcon)[number];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Collections } from '@yumi/models';
2
+ import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  title?: string;
5
5
  subtitle?: string;