hanbiro-react16-sdk 1.0.14 → 1.0.16

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/README.md CHANGED
@@ -238,20 +238,24 @@ function setEmailContext(html) {
238
238
  Follow these steps when updating the library:
239
239
 
240
240
  1. **Finish coding**: Make your changes in the `src` directory.
241
- 2. **Build**: Run the build command and ensure there are no errors.
241
+ 2. **Typecheck**: Run the typecheck command to ensure there are no errors.
242
+ ```bash
243
+ npm run test:typescript
244
+ ```
245
+ 3. **Build**: Run the build command and ensure there are no errors.
242
246
  ```bash
243
247
  npm run build
244
248
  ```
245
- 3. **Commit**: Commit your changes to git.
246
- 4. **Patch version**: Increment the version number.
249
+ 4. **Commit**: Commit your changes to git.
250
+ 5. **Patch version**: Increment the version number.
247
251
  ```bash
248
252
  npm version patch
249
253
  ```
250
- 5. **Push**: Push the changes and tags to GitHub.
254
+ 6. **Push**: Push the changes and tags to GitHub.
251
255
  ```bash
252
256
  git push origin main --follow-tags
253
257
  ```
254
- 6. **Publish**: Publish the new version to npm.
258
+ 7. **Publish**: Publish the new version to npm.
255
259
  ```bash
256
260
  npm publish
257
261
  ```
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const DEFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default DEFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const ESFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default ESFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const FRFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default FRFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const ITFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default ITFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const JPFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default JPFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const NLFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default NLFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const PTFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default PTFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const RUFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default RUFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const SAFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default SAFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const THFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default THFlag;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const TWFlag: (props: React.SVGAttributes<SVGSVGElement>) => React.JSX.Element;
3
+ export default TWFlag;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export type FlagCode = "cn" | "id" | "kr" | "us" | "vn";
2
+ export type FlagCode = "cn" | "de" | "es" | "fr" | "id" | "it" | "jp" | "kr" | "nl" | "pt" | "ru" | "sa" | "th" | "tw" | "us" | "vn";
3
3
  export interface FlagProps extends React.SVGAttributes<SVGSVGElement> {
4
4
  flagCode?: FlagCode;
5
5
  }