@team_yumi/ramen 1.0.0-next.20240216-de4168b-6317371824f89146e87da88e2cd383b5 → 1.0.0-next.20240219-f2ac5b2-ea8640620a85b1edfcb6911dc551d890

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team_yumi/ramen",
3
- "version": "1.0.0-next.20240216-de4168b-6317371824f89146e87da88e2cd383b5",
3
+ "version": "1.0.0-next.20240219-f2ac5b2-ea8640620a85b1edfcb6911dc551d890",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "react": ">=16.8.0"
@@ -16,6 +16,7 @@ export interface IProps {
16
16
  onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
17
17
  onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
18
18
  onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
19
+ onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
19
20
  innerButton?: {
20
21
  icon: (typeof Collections.IIcon)[number];
21
22
  onClick?: MouseEventHandler<HTMLButtonElement>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { IProps as IInputProps } from '../x-input/root';
3
2
  import { Collections } from '@yumi/models';
3
+ import { IProps as IInputProps } from '../x-input/root';
4
4
  /**
5
5
  * Properties for a custom input component.
6
6
  * Extends the base input properties (excluding 'type').
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="node" />
3
+ import './index.css';
3
4
  import XList from '@yumi/x-list';
4
5
  declare const _default: {
5
6
  XCardCounter: import("react").FC<import("./components/core/x-card-counter/root").IProps>;
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="node" />
3
- import './index.css';
4
3
  import { XSelectMultipleRef, XSelectMultipleOption } from '@yumi/x-select-multiple-mobile';
5
4
  import { XImageUploaderFileData } from '@yumi/x-image-uploader';
6
5
  import { XImageDownloaderFileData } from '@yumi/x-image-downloader';
@@ -0,0 +1,18 @@
1
+ export type SupportedCountries = 'yu' | 'cl' | 'ar' | 'pe' | 'co' | 'br';
2
+ export type CurrencySymbol = '$' | '€';
3
+ export type ThousandSeparator = '.' | ',';
4
+ export type DecimalSeparator = '.' | ',';
5
+ export type Currency = {
6
+ locale: string;
7
+ prefix: CurrencySymbol;
8
+ currency: string;
9
+ thousandSeparator: ThousandSeparator;
10
+ decimalSeparator: DecimalSeparator;
11
+ };
12
+ export declare const cl: Currency;
13
+ export declare const yu: Currency;
14
+ export declare const co: Currency;
15
+ export declare const pe: Currency;
16
+ export declare const ar: Currency;
17
+ export declare const br: Currency;
18
+ export declare const countries: Record<SupportedCountries, Currency>;