@tripian/react 8.3.0 → 9.0.0

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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { InputActionMeta } from 'react-select';
3
- export declare type RSelectOption = {
3
+ export type RSelectOption = {
4
4
  id: number;
5
5
  label: string;
6
6
  payload: {
@@ -1,11 +1,11 @@
1
1
  import Model from '@tripian/model';
2
- declare type QuestionAnswerNext = {
2
+ type QuestionAnswerNext = {
3
3
  id: number;
4
4
  name: string;
5
5
  description: string;
6
6
  subAnswers: Model.SubAnswer[];
7
7
  };
8
- export declare type QuestionNext = {
8
+ export type QuestionNext = {
9
9
  id: number;
10
10
  name: string;
11
11
  order: number;
@@ -1,11 +1,11 @@
1
1
  import Model from '@tripian/model';
2
- declare type QuestionAnswerNext = {
2
+ type QuestionAnswerNext = {
3
3
  id: number;
4
4
  name: string;
5
5
  description: string;
6
6
  subAnswers: Model.SubAnswer[];
7
7
  };
8
- export declare type QuestionNext = {
8
+ export type QuestionNext = {
9
9
  id: number;
10
10
  name: string;
11
11
  order: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  children: React.ReactElement | React.ReactElement[] | null;
4
4
  border?: boolean;
5
5
  height?: string | number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  configs: {
4
4
  clientId: string;
5
5
  domain: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  cognitoDomain: string;
4
4
  region: string;
5
5
  baseDomain: string;
@@ -7,6 +7,6 @@ interface ICustomPopover {
7
7
  content: JSX.Element;
8
8
  children: JSX.Element;
9
9
  }
10
- export declare type Ref = HTMLButtonElement;
10
+ export type Ref = HTMLButtonElement;
11
11
  declare const CustomPopover: React.ForwardRefExoticComponent<ICustomPopover & React.RefAttributes<HTMLButtonElement>>;
12
12
  export default CustomPopover;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import 'external-svg-loader';
3
- declare type InfoBoxProps = {
3
+ type InfoBoxProps = {
4
4
  iconUrl: string;
5
5
  title: string;
6
6
  description: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { InputActionMeta } from 'react-select';
3
3
  import './RSelect.scss';
4
- export declare type RSelectOption = {
4
+ export type RSelectOption = {
5
5
  value: string;
6
6
  label: string;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type RequiredProps = {
2
+ type RequiredProps = {
3
3
  customClassName?: string;
4
4
  };
5
5
  declare const Required: React.FC<RequiredProps>;
package/index.js CHANGED
@@ -22529,7 +22529,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
22529
22529
  function verb(n) { return function (v) { return step([n, v]); }; }
22530
22530
  function step(op) {
22531
22531
  if (f) throw new TypeError("Generator is already executing.");
22532
- while (_) try {
22532
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
22533
22533
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
22534
22534
  if (y = 0, t) op = [op[0] & 2, t.value];
22535
22535
  switch (op[0]) {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "8.3.0",
3
+ "version": "9.0.0",
4
4
  "description": "Tripian Inc React Components",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {
8
8
  "@react-google-maps/api": "^2.12.0",
9
- "@tripian/model": "8.3.0",
9
+ "@tripian/model": "9.0.0",
10
10
  "external-svg-loader": "^1.6.1",
11
11
  "moment": "^2.24.0",
12
12
  "react": "^18.1.0",
@@ -1,4 +1,4 @@
1
- export declare type TimeZone = {
1
+ export type TimeZone = {
2
2
  Name: string;
3
3
  Code: string;
4
4
  Timezone: string;
@@ -1,4 +1,4 @@
1
- export declare type TimeZone = {
1
+ export type TimeZone = {
2
2
  Name: string;
3
3
  Code: string;
4
4
  Timezone: string;