jb-mobile-input
Advanced tools
Comparing version 2.0.3 to 2.1.0
export declare const isMobile: () => boolean; |
declare function faToEnDigits(input: string | number): string; | ||
declare function enToFaDigits(input: string | number): string; | ||
export { enToFaDigits, faToEnDigits }; |
import "jb-input"; | ||
import { JBInputWebComponent } from "jb-input"; | ||
import { ValidationValue } from "jb-input/types"; | ||
import { WithValidation } from "jb-validation/types"; | ||
import { JBInputWebComponent, ValidationValue } from "jb-input"; | ||
import { type WithValidation } from "jb-validation"; | ||
export declare class JBMobileInputWebComponent extends JBInputWebComponent implements WithValidation<ValidationValue> { | ||
@@ -6,0 +5,0 @@ #private; |
import CSS from "./jb-mobile-input.scss"; | ||
import "jb-input"; | ||
// eslint-disable-next-line no-duplicate-imports | ||
import { JBInputWebComponent} from "jb-input"; | ||
import { JBInputValue, ValidationValue} from "jb-input/types"; | ||
import { WithValidation, ValidationItem } from "jb-validation/types"; | ||
import { JBInputWebComponent, JBInputValue, ValidationValue} from "jb-input"; | ||
import { type WithValidation, type ValidationItem } from "jb-validation"; | ||
@@ -8,0 +7,0 @@ export class JBMobileInputWebComponent extends JBInputWebComponent implements WithValidation<ValidationValue> { |
@@ -18,6 +18,8 @@ { | ||
"mobile web-component", | ||
"موبایل", | ||
"کامپوننت شماره موبایل", | ||
"phone web-component", | ||
"cellphone web component" | ||
], | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"bugs": "https://github.com/javadbat/jb-mobile-input/issues", | ||
@@ -29,14 +31,5 @@ "license": "MIT", | ||
"lib/", | ||
"dist/" | ||
"dist/", | ||
"react/" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js", | ||
"types":"./dist/web-component/jb-mobile-input/lib/jb-mobile-input.d.ts" | ||
}, | ||
"./types":{ | ||
"default":"./lib/types.ts", | ||
"types":"./dist/web-component/jb-mobile-input/lib/types.d.ts" | ||
} | ||
}, | ||
"main": "index.js", | ||
@@ -50,12 +43,6 @@ "module": "index.js", | ||
"types": "./dist/web-component/jb-mobile-input/lib/jb-mobile-input.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": ["./dist/web-component/jb-mobile-input/lib/jb-mobile-input.d.ts"], | ||
"types":["./dist/web-component/jb-mobile-input/lib/types.d.ts"] | ||
} | ||
}, | ||
"dependencies": { | ||
"jb-input": ">=3.0.5", | ||
"jb-validation":">=0.0.2" | ||
"jb-input": ">=3.4.2", | ||
"jb-validation":">=0.2.0" | ||
} | ||
} |
@@ -6,2 +6,6 @@ # jb-mobile-input web component | ||
## using with JS frameworks | ||
to use this component in **react** see [`jb-mobile-input/react`](https://github.com/javadbat/jb-mobile-input/tree/main/react); | ||
## Installation | ||
@@ -31,3 +35,3 @@ ```bash | ||
- see [jb-mobile-input-react](https://github.com/javadbat/jb-mobile-input-react) if you want to use this component as a ReactJS component. | ||
- see [`jb-mobile-input/react`](https://github.com/javadbat/jb-mobile-input/tree/main/react) if you want to use this component as a ReactJS component. | ||
@@ -34,0 +38,0 @@ - see [All JB Design system Component List](https://github.com/javadbat/design-system/blob/master/docs/component-list.md) for more components |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
110410
32
857
38
1
Updatedjb-input@>=3.4.2
Updatedjb-validation@>=0.2.0