@tellescope/react-components 1.229.0 → 1.230.1

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 (43) hide show
  1. package/lib/cjs/Forms/forms.v2.d.ts.map +1 -1
  2. package/lib/cjs/Forms/forms.v2.js +3 -1
  3. package/lib/cjs/Forms/forms.v2.js.map +1 -1
  4. package/lib/cjs/Forms/index.d.ts +1 -0
  5. package/lib/cjs/Forms/index.d.ts.map +1 -1
  6. package/lib/cjs/Forms/index.js +3 -1
  7. package/lib/cjs/Forms/index.js.map +1 -1
  8. package/lib/cjs/Forms/inputs.js +2 -2
  9. package/lib/cjs/Forms/inputs.js.map +1 -1
  10. package/lib/cjs/Forms/inputs.v2.d.ts.map +1 -1
  11. package/lib/cjs/Forms/inputs.v2.js +5 -3
  12. package/lib/cjs/Forms/inputs.v2.js.map +1 -1
  13. package/lib/esm/CMS/components.d.ts +1 -0
  14. package/lib/esm/CMS/components.d.ts.map +1 -1
  15. package/lib/esm/Forms/form_responses.d.ts +1 -0
  16. package/lib/esm/Forms/form_responses.d.ts.map +1 -1
  17. package/lib/esm/Forms/forms.d.ts +3 -3
  18. package/lib/esm/Forms/forms.v2.d.ts +3 -3
  19. package/lib/esm/Forms/forms.v2.d.ts.map +1 -1
  20. package/lib/esm/Forms/forms.v2.js +3 -1
  21. package/lib/esm/Forms/forms.v2.js.map +1 -1
  22. package/lib/esm/Forms/hooks.d.ts +1 -0
  23. package/lib/esm/Forms/hooks.d.ts.map +1 -1
  24. package/lib/esm/Forms/index.d.ts +1 -0
  25. package/lib/esm/Forms/index.d.ts.map +1 -1
  26. package/lib/esm/Forms/index.js +1 -0
  27. package/lib/esm/Forms/index.js.map +1 -1
  28. package/lib/esm/Forms/inputs.js +3 -3
  29. package/lib/esm/Forms/inputs.js.map +1 -1
  30. package/lib/esm/Forms/inputs.v2.d.ts.map +1 -1
  31. package/lib/esm/Forms/inputs.v2.js +6 -4
  32. package/lib/esm/Forms/inputs.v2.js.map +1 -1
  33. package/lib/esm/controls.d.ts +2 -2
  34. package/lib/esm/inputs.d.ts +1 -1
  35. package/lib/esm/inputs.native.d.ts +1 -0
  36. package/lib/esm/inputs.native.d.ts.map +1 -1
  37. package/lib/esm/state.d.ts +40 -40
  38. package/lib/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +9 -9
  40. package/src/Forms/forms.v2.tsx +18 -2
  41. package/src/Forms/index.ts +2 -1
  42. package/src/Forms/inputs.tsx +2 -2
  43. package/src/Forms/inputs.v2.tsx +5 -3
@@ -76,7 +76,7 @@ export declare const useModalIconButton: (props: UseModalIconButtonProps) => {
76
76
  id?: string | undefined;
77
77
  ariaLabel?: string | undefined;
78
78
  disabled?: boolean | undefined;
79
- color?: "primary" | "secondary" | "error" | "inherit" | "default" | "white" | undefined;
79
+ color?: "inherit" | "default" | "error" | "primary" | "white" | "secondary" | undefined;
80
80
  placement?: TooltipPlacement | undefined;
81
81
  onClick?: ((e: any) => void) | undefined;
82
82
  showArrow?: boolean | undefined;
@@ -97,7 +97,7 @@ export declare const IconModal: ({ open, setOpen, children, disabled, onClick, s
97
97
  id?: string | undefined;
98
98
  ariaLabel?: string | undefined;
99
99
  disabled?: boolean | undefined;
100
- color?: "primary" | "secondary" | "error" | "inherit" | "default" | "white" | undefined;
100
+ color?: "inherit" | "default" | "error" | "primary" | "white" | "secondary" | undefined;
101
101
  placement?: TooltipPlacement | undefined;
102
102
  onClick?: ((e: any) => void) | undefined;
103
103
  showArrow?: boolean | undefined;
@@ -104,7 +104,7 @@ export declare const SearchTextInput: ({ onChange, hideIcon, ...props }: {
104
104
  fullWidth?: boolean | undefined;
105
105
  name?: string | undefined;
106
106
  sx?: import("@mui/material").SxProps<{}> | undefined;
107
- variant?: "outlined" | "filled" | "flat" | undefined;
107
+ variant?: "flat" | "filled" | "outlined" | undefined;
108
108
  type?: React.HTMLInputTypeAttribute | undefined;
109
109
  autoCapitalize?: "none" | "characters" | "sentences" | "words" | undefined;
110
110
  autoCorrect?: boolean | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FileUploaderProps, useDisplayPictureUploadForSelf, useFileUpload } from "./inputs.js";
2
3
  import { TextFieldProps } from "./mui";
3
4
  export { useDisplayPictureUploadForSelf, useFileUpload };
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.native.d.ts","sourceRoot":"","sources":["../../src/inputs.native.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAa,cAAc,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,8BAA8B,EAAE,aAAa,EAAE,CAAA;AAExD,eAAO,MAAM,YAAY,aAExB,CAAA;AAED,eAAO,MAAM,YAAY,MAAO,iBAAiB,UAEhD,CAAA;AAED,eAAO,MAAM,eAAe,UAAY,cAAc,gBAErD,CAAA"}
1
+ {"version":3,"file":"inputs.native.d.ts","sourceRoot":"","sources":["../../src/inputs.native.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAa,cAAc,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,8BAA8B,EAAE,aAAa,EAAE,CAAA;AAExD,eAAO,MAAM,YAAY,aAExB,CAAA;AAED,eAAO,MAAM,YAAY,MAAO,iBAAiB,UAEhD,CAAA;AAED,eAAO,MAAM,eAAe,UAAY,cAAc,gBAErD,CAAA"}
@@ -1192,7 +1192,10 @@ export declare const useDataSync____internal: () => {
1192
1192
  setLoadTiming: (key: string, loadTimeInMS: number) => void;
1193
1193
  setHandler: (key: string, handler: undefined | (() => void)) => void;
1194
1194
  removeHandler: (key: string, handler: () => void) => void;
1195
- getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").File & {
1195
+ getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").Form & {
1196
+ id: string;
1197
+ createdAt: Date;
1198
+ }) | (import("@tellescope/types-models").FormField & {
1196
1199
  id: string;
1197
1200
  createdAt: Date;
1198
1201
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1201,6 +1204,9 @@ export declare const useDataSync____internal: () => {
1201
1204
  }) | (import("@tellescope/types-models").User & {
1202
1205
  id: string;
1203
1206
  createdAt: Date;
1207
+ }) | (import("@tellescope/types-models").FormResponse & {
1208
+ id: string;
1209
+ createdAt: Date;
1204
1210
  }) | (import("@tellescope/types-models").AIConversation & {
1205
1211
  id: string;
1206
1212
  createdAt: Date;
@@ -1267,19 +1273,13 @@ export declare const useDataSync____internal: () => {
1267
1273
  }) | (import("@tellescope/types-models").Meeting & {
1268
1274
  id: string;
1269
1275
  createdAt: Date;
1270
- }) | (import("@tellescope/types-models").Note & {
1271
- id: string;
1272
- createdAt: Date;
1273
- }) | (import("@tellescope/types-models").MessageTemplate & {
1274
- id: string;
1275
- createdAt: Date;
1276
- }) | (import("@tellescope/types-models").Form & {
1276
+ }) | (import("@tellescope/types-models").File & {
1277
1277
  id: string;
1278
1278
  createdAt: Date;
1279
- }) | (import("@tellescope/types-models").FormField & {
1279
+ }) | (import("@tellescope/types-models").Note & {
1280
1280
  id: string;
1281
1281
  createdAt: Date;
1282
- }) | (import("@tellescope/types-models").FormResponse & {
1282
+ }) | (import("@tellescope/types-models").MessageTemplate & {
1283
1283
  id: string;
1284
1284
  createdAt: Date;
1285
1285
  }) | (import("@tellescope/types-models").Journey & {
@@ -1461,7 +1461,10 @@ export declare const useDataSync____internal: () => {
1461
1461
  createdAt: Date;
1462
1462
  }))[];
1463
1463
  getDeleted: <T_1 extends string>(modelName: T_1) => string[];
1464
- popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").File & {
1464
+ popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").Form & {
1465
+ id: string;
1466
+ createdAt: Date;
1467
+ }) | (import("@tellescope/types-models").FormField & {
1465
1468
  id: string;
1466
1469
  createdAt: Date;
1467
1470
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1470,6 +1473,9 @@ export declare const useDataSync____internal: () => {
1470
1473
  }) | (import("@tellescope/types-models").User & {
1471
1474
  id: string;
1472
1475
  createdAt: Date;
1476
+ }) | (import("@tellescope/types-models").FormResponse & {
1477
+ id: string;
1478
+ createdAt: Date;
1473
1479
  }) | (import("@tellescope/types-models").AIConversation & {
1474
1480
  id: string;
1475
1481
  createdAt: Date;
@@ -1536,19 +1542,13 @@ export declare const useDataSync____internal: () => {
1536
1542
  }) | (import("@tellescope/types-models").Meeting & {
1537
1543
  id: string;
1538
1544
  createdAt: Date;
1539
- }) | (import("@tellescope/types-models").Note & {
1540
- id: string;
1541
- createdAt: Date;
1542
- }) | (import("@tellescope/types-models").MessageTemplate & {
1543
- id: string;
1544
- createdAt: Date;
1545
- }) | (import("@tellescope/types-models").Form & {
1545
+ }) | (import("@tellescope/types-models").File & {
1546
1546
  id: string;
1547
1547
  createdAt: Date;
1548
- }) | (import("@tellescope/types-models").FormField & {
1548
+ }) | (import("@tellescope/types-models").Note & {
1549
1549
  id: string;
1550
1550
  createdAt: Date;
1551
- }) | (import("@tellescope/types-models").FormResponse & {
1551
+ }) | (import("@tellescope/types-models").MessageTemplate & {
1552
1552
  id: string;
1553
1553
  createdAt: Date;
1554
1554
  }) | (import("@tellescope/types-models").Journey & {
@@ -1738,7 +1738,10 @@ export declare const useSyncContext: () => {
1738
1738
  setLoadTiming: (key: string, loadTimeInMS: number) => void;
1739
1739
  setHandler: (key: string, handler: undefined | (() => void)) => void;
1740
1740
  removeHandler: (key: string, handler: () => void) => void;
1741
- getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").File & {
1741
+ getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").Form & {
1742
+ id: string;
1743
+ createdAt: Date;
1744
+ }) | (import("@tellescope/types-models").FormField & {
1742
1745
  id: string;
1743
1746
  createdAt: Date;
1744
1747
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1747,6 +1750,9 @@ export declare const useSyncContext: () => {
1747
1750
  }) | (import("@tellescope/types-models").User & {
1748
1751
  id: string;
1749
1752
  createdAt: Date;
1753
+ }) | (import("@tellescope/types-models").FormResponse & {
1754
+ id: string;
1755
+ createdAt: Date;
1750
1756
  }) | (import("@tellescope/types-models").AIConversation & {
1751
1757
  id: string;
1752
1758
  createdAt: Date;
@@ -1813,19 +1819,13 @@ export declare const useSyncContext: () => {
1813
1819
  }) | (import("@tellescope/types-models").Meeting & {
1814
1820
  id: string;
1815
1821
  createdAt: Date;
1816
- }) | (import("@tellescope/types-models").Note & {
1817
- id: string;
1818
- createdAt: Date;
1819
- }) | (import("@tellescope/types-models").MessageTemplate & {
1820
- id: string;
1821
- createdAt: Date;
1822
- }) | (import("@tellescope/types-models").Form & {
1822
+ }) | (import("@tellescope/types-models").File & {
1823
1823
  id: string;
1824
1824
  createdAt: Date;
1825
- }) | (import("@tellescope/types-models").FormField & {
1825
+ }) | (import("@tellescope/types-models").Note & {
1826
1826
  id: string;
1827
1827
  createdAt: Date;
1828
- }) | (import("@tellescope/types-models").FormResponse & {
1828
+ }) | (import("@tellescope/types-models").MessageTemplate & {
1829
1829
  id: string;
1830
1830
  createdAt: Date;
1831
1831
  }) | (import("@tellescope/types-models").Journey & {
@@ -2007,7 +2007,10 @@ export declare const useSyncContext: () => {
2007
2007
  createdAt: Date;
2008
2008
  }))[];
2009
2009
  getDeleted: <T_1 extends string>(modelName: T_1) => string[];
2010
- popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").File & {
2010
+ popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").Form & {
2011
+ id: string;
2012
+ createdAt: Date;
2013
+ }) | (import("@tellescope/types-models").FormField & {
2011
2014
  id: string;
2012
2015
  createdAt: Date;
2013
2016
  }) | (import("@tellescope/types-models").Enduser & {
@@ -2016,6 +2019,9 @@ export declare const useSyncContext: () => {
2016
2019
  }) | (import("@tellescope/types-models").User & {
2017
2020
  id: string;
2018
2021
  createdAt: Date;
2022
+ }) | (import("@tellescope/types-models").FormResponse & {
2023
+ id: string;
2024
+ createdAt: Date;
2019
2025
  }) | (import("@tellescope/types-models").AIConversation & {
2020
2026
  id: string;
2021
2027
  createdAt: Date;
@@ -2082,19 +2088,13 @@ export declare const useSyncContext: () => {
2082
2088
  }) | (import("@tellescope/types-models").Meeting & {
2083
2089
  id: string;
2084
2090
  createdAt: Date;
2085
- }) | (import("@tellescope/types-models").Note & {
2086
- id: string;
2087
- createdAt: Date;
2088
- }) | (import("@tellescope/types-models").MessageTemplate & {
2089
- id: string;
2090
- createdAt: Date;
2091
- }) | (import("@tellescope/types-models").Form & {
2091
+ }) | (import("@tellescope/types-models").File & {
2092
2092
  id: string;
2093
2093
  createdAt: Date;
2094
- }) | (import("@tellescope/types-models").FormField & {
2094
+ }) | (import("@tellescope/types-models").Note & {
2095
2095
  id: string;
2096
2096
  createdAt: Date;
2097
- }) | (import("@tellescope/types-models").FormResponse & {
2097
+ }) | (import("@tellescope/types-models").MessageTemplate & {
2098
2098
  id: string;
2099
2099
  createdAt: Date;
2100
2100
  }) | (import("@tellescope/types-models").Journey & {