@feathery/react 2.40.0 → 2.40.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 (88) hide show
  1. package/cjs/elements/basic/ButtonElement.d.ts.map +1 -1
  2. package/cjs/elements/fields/index.d.ts.map +1 -1
  3. package/cjs/{fthry_AssistantChat.G0rHUKOm.js → fthry_AssistantChat.BINgQyo6.js} +4 -4
  4. package/cjs/{fthry_FormControl.BwRmM30S.js → fthry_FormControl.DvttBFQA.js} +1 -1
  5. package/cjs/{fthry_InlineTooltip.Bs529m1d.js → fthry_InlineTooltip.9rIsJpfs.js} +2 -2
  6. package/cjs/{fthry_Overlay.ZvXimrP-.js → fthry_Overlay.WBYrIj6B.js} +1 -1
  7. package/cjs/{fthry_PaymentMethodField.DN0v1YmF.js → fthry_PaymentMethodField.C4VaZqHL.js} +4 -4
  8. package/cjs/{fthry_Placeholder.DzUdOE_N.js → fthry_Placeholder.CgOjJ0U4.js} +1 -1
  9. package/cjs/{fthry_ShowEyeIcon.DFO9YO4y.js → fthry_ShowEyeIcon.Du1EeWml.js} +1 -1
  10. package/cjs/{fthry_highlighted-body-TPN3WLV5.CsHGvYhh.js → fthry_highlighted-body-TPN3WLV5.Dp7GX6-r.js} +3 -3
  11. package/cjs/{fthry_index.C6yl7Ss-.js → fthry_index.4pE67UNZ.js} +2 -2
  12. package/cjs/{fthry_index.PbjPJIUk.js → fthry_index.77iwkkTt.js} +1 -1
  13. package/cjs/{fthry_index.wKZXS8Pf.js → fthry_index.7mKI1oBY.js} +6 -6
  14. package/cjs/{fthry_index.7bAdlgHy.js → fthry_index.B3vyA57B.js} +4 -4
  15. package/cjs/{fthry_index.D9dmRskb.js → fthry_index.B8ak9onq.js} +6 -6
  16. package/cjs/{fthry_index.Dmq9NSJd.js → fthry_index.BFhnkMpT.js} +5 -5
  17. package/cjs/{fthry_index.lGyEnbOI.js → fthry_index.BKWR0eIG.js} +6 -6
  18. package/cjs/{fthry_index.CFYcuteU.js → fthry_index.BMETf3gc.js} +1 -1
  19. package/cjs/{fthry_index.BklL-aiD.js → fthry_index.BSCklZZq.js} +3 -3
  20. package/cjs/{fthry_index.D4mJgW_c.js → fthry_index.BUdPhxy4.js} +1 -1
  21. package/cjs/{fthry_index.CbrD0Z53.js → fthry_index.CKWYW0O2.js} +1 -1
  22. package/cjs/{fthry_index.B9or_S6G.js → fthry_index.CbQmuDs_.js} +1 -1
  23. package/cjs/{fthry_index.CjepExAG.js → fthry_index.D8ITkmFC.js} +1 -1
  24. package/cjs/{fthry_index.Ctv-i1zI.js → fthry_index.DAxzjise.js} +1 -1
  25. package/cjs/{fthry_index.5LVTbVr2.js → fthry_index.DJ6koGNn.js} +5 -5
  26. package/cjs/{fthry_index.BNB0x74A.js → fthry_index.D_BPIST3.js} +8 -8
  27. package/cjs/{fthry_index.LTo4dKdb.js → fthry_index.Da5woXe8.js} +5 -5
  28. package/cjs/{fthry_index.D1XeJIsf.js → fthry_index.Dj4ehG8g.js} +6 -6
  29. package/cjs/{fthry_index.DrOeHAs6.js → fthry_index.DpVhF5g2.js} +5 -5
  30. package/cjs/{fthry_index.CWX3sSB9.js → fthry_index.WF97Zeu4.js} +1 -1
  31. package/cjs/{fthry_index.koqHLxjW.js → fthry_index.XvyKMnpa.js} +3 -3
  32. package/cjs/{fthry_index.SdAzmwen.js → fthry_index.cnUDSCaQ.js} +4 -4
  33. package/cjs/{fthry_index.BMBD0adh.js → fthry_index.flfYpHk5.js} +1 -1
  34. package/cjs/{fthry_index.CZQRzS7D.js → fthry_index.it32PXmr.js} +48 -30
  35. package/cjs/{fthry_index.D6kp7W7I.js → fthry_index.zUy9GEIP.js} +2 -2
  36. package/cjs/{fthry_input.C5hU8qoU.js → fthry_input.nvV9Bxkl.js} +1 -1
  37. package/cjs/{fthry_mermaid-O7DHMXV3.CwUNhDAv.js → fthry_mermaid-O7DHMXV3.BFcqxiN5.js} +3 -3
  38. package/cjs/{fthry_script.CXV8Wb7h.js → fthry_script.DfcanA-w.js} +1 -1
  39. package/cjs/{fthry_styles.CR0dqh6j.js → fthry_styles.uG1sSQ2A.js} +1 -1
  40. package/cjs/{fthry_useElementSize.CNPWGju4.js → fthry_useElementSize.DgMtXr2A.js} +1 -1
  41. package/cjs/{fthry_useSalesforceSync.7E9m_hhF.js → fthry_useSalesforceSync.C7Dsl-VD.js} +1 -1
  42. package/cjs/{fthry_webfontloader.DccGtWsq.js → fthry_webfontloader.Db18omAR.js} +1 -1
  43. package/cjs/index.js +1 -1
  44. package/dist/elements/basic/ButtonElement.d.ts.map +1 -1
  45. package/dist/elements/fields/index.d.ts.map +1 -1
  46. package/dist/{fthry_AssistantChat.C4E2R_en.js → fthry_AssistantChat.CpwDG4Ri.js} +4 -4
  47. package/dist/{fthry_FormControl.BaRwUrV1.js → fthry_FormControl.aDOShOnN.js} +1 -1
  48. package/dist/{fthry_InlineTooltip.Du40UlbF.js → fthry_InlineTooltip.B5_RegvG.js} +2 -2
  49. package/dist/{fthry_Overlay.D_sj8sym.js → fthry_Overlay.t3wJuWQ8.js} +1 -1
  50. package/dist/{fthry_PaymentMethodField.mzXuSQ8R.js → fthry_PaymentMethodField.BNkIfG_Z.js} +4 -4
  51. package/dist/{fthry_Placeholder.CeQnc05Z.js → fthry_Placeholder.D4oxVj_P.js} +1 -1
  52. package/dist/{fthry_ShowEyeIcon.C0yRQ198.js → fthry_ShowEyeIcon.DVClpFRX.js} +1 -1
  53. package/dist/{fthry_highlighted-body-TPN3WLV5.BH1ZC9h3.js → fthry_highlighted-body-TPN3WLV5.CjlsNAY7.js} +3 -3
  54. package/dist/{fthry_index.Bhle2u_B.js → fthry_index.BGLOsRWg.js} +5 -5
  55. package/dist/{fthry_index.Ky-g0bWJ.js → fthry_index.BO07WkMA.js} +1 -1
  56. package/dist/{fthry_index.DylkcojM.js → fthry_index.BR6pD2W9.js} +4 -4
  57. package/dist/{fthry_index.Qya_gJCa.js → fthry_index.BXDa3BX8.js} +4 -4
  58. package/dist/{fthry_index.DEOA055J.js → fthry_index.Bw-_5HVu.js} +1 -1
  59. package/dist/{fthry_index.BS0y_3jr.js → fthry_index.C55D2H1o.js} +5 -5
  60. package/dist/{fthry_index.D74y6OAR.js → fthry_index.Cb2svRRS.js} +5 -5
  61. package/dist/{fthry_index.Km475eeC.js → fthry_index.Cuk_Vs8O.js} +6 -6
  62. package/dist/{fthry_index.xIaUS4wo.js → fthry_index.CxnWFkgd.js} +48 -30
  63. package/dist/{fthry_index.DjZQBlTA.js → fthry_index.D54GKwWT.js} +1 -1
  64. package/dist/{fthry_index.B_kkxOWT.js → fthry_index.D9PZSsaC.js} +1 -1
  65. package/dist/{fthry_index.9s5SUZD0.js → fthry_index.DFAEKElD.js} +2 -2
  66. package/dist/{fthry_index.BAW36YGO.js → fthry_index.DGYmS3yE.js} +3 -3
  67. package/dist/{fthry_index.Dhg5xJ4s.js → fthry_index.DGrF6rBR.js} +5 -5
  68. package/dist/{fthry_index.DukxIF0D.js → fthry_index.DNOrRr2p.js} +1 -1
  69. package/dist/{fthry_index.GJ441VFD.js → fthry_index.DRCzThWg.js} +8 -8
  70. package/dist/{fthry_index.Bi9j2CoL.js → fthry_index.DRsP7zHy.js} +6 -6
  71. package/dist/{fthry_index.2cm5TGLE.js → fthry_index.DSvEn71B.js} +3 -3
  72. package/dist/{fthry_index.DoLCpn8f.js → fthry_index.DtnlZPBE.js} +5 -5
  73. package/dist/{fthry_index.CSfhoU0u.js → fthry_index.Du0fTEDI.js} +1 -1
  74. package/dist/{fthry_index.D2-8ZRpd.js → fthry_index.Dz10UO8A.js} +6 -6
  75. package/dist/{fthry_index.BJL5DUFv.js → fthry_index.HKMtuquq.js} +1 -1
  76. package/dist/{fthry_index.Dib6rza_.js → fthry_index.THknYMbR.js} +2 -2
  77. package/dist/{fthry_index.Y8uCPyI1.js → fthry_index.XucW1AjN.js} +1 -1
  78. package/dist/{fthry_index.CFui_RpS.js → fthry_index.tT6s5qHu.js} +1 -1
  79. package/dist/{fthry_input.BUZxnbfK.js → fthry_input.qy9b9thc.js} +1 -1
  80. package/dist/{fthry_mermaid-O7DHMXV3.C8qNyDC8.js → fthry_mermaid-O7DHMXV3.C3O0wHy0.js} +3 -3
  81. package/dist/{fthry_script.CHlON7tM.js → fthry_script.CzgDHOyt.js} +1 -1
  82. package/dist/{fthry_styles.CRruZ5I3.js → fthry_styles.B_d3wcqj.js} +1 -1
  83. package/dist/{fthry_useElementSize.DyfzVGG2.js → fthry_useElementSize.BHI3Ek3Q.js} +1 -1
  84. package/dist/{fthry_useSalesforceSync.YGkWXJ1l.js → fthry_useSalesforceSync.pcGl8IA9.js} +1 -1
  85. package/dist/{fthry_webfontloader.DVyqdvKt.js → fthry_webfontloader.CX5xEcgl.js} +1 -1
  86. package/dist/index.js +1 -1
  87. package/package.json +1 -1
  88. package/umd/index.js +1 -1
@@ -40981,7 +40981,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
40981
40981
  }, [activeStep, stepKey, formName]);
40982
40982
  }
40983
40983
 
40984
- var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.C4E2R_en.js').then(function (n) { return n.A; }); });
40984
+ var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.CpwDG4Ri.js').then(function (n) { return n.A; }); });
40985
40985
  var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
40986
40986
 
40987
40987
  var AssistantClient = /** @class */ (function () {
@@ -47587,9 +47587,9 @@ function init(sdkKey, options) {
47587
47587
  if (runningInClient()) {
47588
47588
  // Dynamically load libraries that must be client side
47589
47589
  global.scriptjsLoadPromise = import(
47590
- /* webpackChunkName: "scriptjs" */ './fthry_script.CHlON7tM.js').then(function (n) { return n.s; });
47590
+ /* webpackChunkName: "scriptjs" */ './fthry_script.CzgDHOyt.js').then(function (n) { return n.s; });
47591
47591
  global.webfontloaderPromise = import(
47592
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DVyqdvKt.js').then(function (n) { return n.w; });
47592
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CX5xEcgl.js').then(function (n) { return n.w; });
47593
47593
  // Client-side tracking logic
47594
47594
  if (initState.userTracking === 'cookie') {
47595
47595
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -47735,7 +47735,7 @@ function getFieldValues() {
47735
47735
  return __assign({}, fieldValues);
47736
47736
  }
47737
47737
  function logFeatheryBadge() {
47738
- console.log('%c Feathery %c v' + "2.40.0" + ' ', // replaced with real version during build
47738
+ console.log('%c Feathery %c v' + "2.40.1" + ' ', // replaced with real version during build
47739
47739
  'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
47740
47740
  }
47741
47741
 
@@ -49250,64 +49250,64 @@ breakpoint) {
49250
49250
 
49251
49251
  var fieldLoaders = {
49252
49252
  AddressLine1: function () {
49253
- return import(/* webpackChunkName: "AddressField" */ './fthry_index.Bhle2u_B.js');
49253
+ return import(/* webpackChunkName: "AddressField" */ './fthry_index.BGLOsRWg.js');
49254
49254
  },
49255
49255
  ButtonGroupField: function () {
49256
- return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.Qya_gJCa.js');
49256
+ return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.BXDa3BX8.js');
49257
49257
  },
49258
49258
  CheckboxField: function () {
49259
- return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.Y8uCPyI1.js');
49259
+ return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.XucW1AjN.js');
49260
49260
  },
49261
49261
  CheckboxGroupField: function () {
49262
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Km475eeC.js');
49262
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Cuk_Vs8O.js');
49263
49263
  },
49264
49264
  ColorPickerField: function () {
49265
- return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DukxIF0D.js');
49265
+ return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DNOrRr2p.js');
49266
49266
  },
49267
49267
  CustomField: function () {
49268
- return import(/* webpackChunkName: "CustomField" */ './fthry_index.BJL5DUFv.js');
49268
+ return import(/* webpackChunkName: "CustomField" */ './fthry_index.HKMtuquq.js');
49269
49269
  },
49270
49270
  DateSelectorField: function () {
49271
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.Bi9j2CoL.js');
49271
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DRsP7zHy.js');
49272
49272
  },
49273
49273
  DropdownField: function () {
49274
- return import(/* webpackChunkName: "DropdownField" */ './fthry_index.Dhg5xJ4s.js');
49274
+ return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DGrF6rBR.js');
49275
49275
  },
49276
49276
  DropdownMultiField: function () {
49277
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.D74y6OAR.js');
49277
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.Cb2svRRS.js');
49278
49278
  },
49279
49279
  FileUploadField: function () {
49280
- return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.Ky-g0bWJ.js');
49280
+ return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BO07WkMA.js');
49281
49281
  },
49282
49282
  MatrixField: function () {
49283
- return import(/* webpackChunkName: "MatrixField" */ './fthry_index.2cm5TGLE.js');
49283
+ return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DSvEn71B.js');
49284
49284
  },
49285
49285
  PasswordField: function () {
49286
- return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DoLCpn8f.js');
49286
+ return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DtnlZPBE.js');
49287
49287
  },
49288
49288
  PaymentMethodField: function () {
49289
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.mzXuSQ8R.js');
49289
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BNkIfG_Z.js');
49290
49290
  },
49291
- PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BS0y_3jr.js'); },
49291
+ PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.C55D2H1o.js'); },
49292
49292
  PinInputField: function () {
49293
- return import(/* webpackChunkName: "PinInputField" */ './fthry_index.B_kkxOWT.js');
49293
+ return import(/* webpackChunkName: "PinInputField" */ './fthry_index.D9PZSsaC.js');
49294
49294
  },
49295
- QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.9s5SUZD0.js'); },
49295
+ QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DFAEKElD.js'); },
49296
49296
  RadioButtonGroupField: function () {
49297
49297
  return import(
49298
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.D2-8ZRpd.js');
49298
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.Dz10UO8A.js');
49299
49299
  },
49300
49300
  RatingField: function () {
49301
- return import(/* webpackChunkName: "RatingField" */ './fthry_index.DjZQBlTA.js');
49301
+ return import(/* webpackChunkName: "RatingField" */ './fthry_index.D54GKwWT.js');
49302
49302
  },
49303
49303
  SignatureField: function () {
49304
- return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BAW36YGO.js');
49304
+ return import(/* webpackChunkName: "SignatureField" */ './fthry_index.DGYmS3yE.js');
49305
49305
  },
49306
49306
  SliderField: function () {
49307
- return import(/* webpackChunkName: "SliderField" */ './fthry_index.Dib6rza_.js');
49307
+ return import(/* webpackChunkName: "SliderField" */ './fthry_index.THknYMbR.js');
49308
49308
  },
49309
- TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.GJ441VFD.js'); },
49310
- TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DylkcojM.js'); }
49309
+ TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.DRCzThWg.js'); },
49310
+ TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.BR6pD2W9.js'); }
49311
49311
  };
49312
49312
  var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
49313
49313
  // Share the resolved component between preload and render. A separate
@@ -49579,6 +49579,9 @@ function applyFieldStyles(field, styles) {
49579
49579
  }); });
49580
49580
  styles.applyHeight('bc', '', true);
49581
49581
  styles.apply('field', ['button_width', 'button_width_unit', 'content_responsive'], function (a, b, c) {
49582
+ // Fit-width buttons size to their content
49583
+ if (isFit(b))
49584
+ return { width: 'fit-content' };
49582
49585
  var metric = "".concat(a).concat(b);
49583
49586
  if (c)
49584
49587
  return { minWidth: metric };
@@ -49590,9 +49593,10 @@ function applyFieldStyles(field, styles) {
49590
49593
  });
49591
49594
  styles.apply('field', ['button_height', 'button_height_unit', 'content_responsive'], function (a, b, c) {
49592
49595
  var _a;
49593
- return (_a = {},
49594
- _a[c ? 'minHeight' : 'height'] = "".concat(a).concat(b),
49595
- _a);
49596
+ // Fit-height buttons size to their content
49597
+ if (isFit(b))
49598
+ return { height: 'fit-content' };
49599
+ return _a = {}, _a[c ? 'minHeight' : 'height'] = "".concat(a).concat(b), _a;
49596
49600
  });
49597
49601
  styles.applyBackgroundColorGradient('field');
49598
49602
  styles.applyBoxShadow('field');
@@ -50050,6 +50054,16 @@ function applyButtonStyles(element, responsiveStyles) {
50050
50054
  return {};
50051
50055
  });
50052
50056
  responsiveStyles.applyTextAlign('buttonLabel');
50057
+ // Fit-width buttons shrink to their text and padding, so prevent the
50058
+ // text from wrapping
50059
+ responsiveStyles.apply('buttonLabel', 'width_unit', function (unit) {
50060
+ if (!isFit(unit))
50061
+ return {};
50062
+ return {
50063
+ whiteSpace: 'nowrap',
50064
+ 'span, a': { whiteSpace: 'pre' }
50065
+ };
50066
+ });
50053
50067
  responsiveStyles.apply('button', [
50054
50068
  'uploader_padding_top',
50055
50069
  'uploader_padding_right',
@@ -50118,6 +50132,10 @@ function applyButtonStyles(element, responsiveStyles) {
50118
50132
  responsiveStyles.applySpanSelectorStyles('buttonDisabled', 'disabled_');
50119
50133
  responsiveStyles.applyColor('buttonDisabled', "disabled_background_color", 'background', true);
50120
50134
  responsiveStyles.apply('loader', ['height', 'height_unit'], function (a, b) {
50135
+ // Fit-height buttons have no numeric height, so size the loader
50136
+ // relative to the button text instead
50137
+ if (isFit(b))
50138
+ return { width: '1em', height: '1em' };
50121
50139
  var halfHeight = Math.round(a / 2);
50122
50140
  var dimension = "".concat(halfHeight).concat(b);
50123
50141
  return { width: dimension, height: dimension };
@@ -50501,7 +50519,7 @@ function ElementSkeleton(_a) {
50501
50519
  }
50502
50520
  var templateObject_1;
50503
50521
 
50504
- var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.CFui_RpS.js'); });
50522
+ var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.tT6s5qHu.js'); });
50505
50523
  var Basic = {
50506
50524
  ImageElement: ImageElement,
50507
50525
  VideoElement: VideoElement,
@@ -1,4 +1,4 @@
1
- import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.xIaUS4wo.js';
1
+ import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.xIaUS4wo.js';
1
+ import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.CxnWFkgd.js';
2
2
  import { useRef, useCallback, useEffect, useState } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,6 +1,6 @@
1
- import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.xIaUS4wo.js';
1
+ import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.CxnWFkgd.js';
2
2
  import React__default, { useEffect, useCallback } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.CRruZ5I3.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.B_d3wcqj.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1,6 +1,6 @@
1
- import { t as featheryDoc, Y as devicePixelRatio, C as getDefaultExportFromCjs, c as __read, j as jsxs, a as jsx, _ as __assign, q as Fragment, l as __awaiter, m as __generator, Z as toBase64, H as debounce, $ as MODAL_Z_INDEX, N as CloseIcon, a0 as dataURLToFile, F as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.xIaUS4wo.js';
1
+ import { t as featheryDoc, Y as devicePixelRatio, C as getDefaultExportFromCjs, c as __read, j as jsxs, a as jsx, _ as __assign, q as Fragment, l as __awaiter, m as __generator, Z as toBase64, H as debounce, $ as MODAL_Z_INDEX, N as CloseIcon, a0 as dataURLToFile, F as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.CxnWFkgd.js';
2
2
  import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
3
- import { P as PropTypes } from './fthry_index.DEOA055J.js';
3
+ import { P as PropTypes } from './fthry_index.Bw-_5HVu.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1477,7 +1477,7 @@ function SignatureField(_a) {
1477
1477
  useEffect(function () {
1478
1478
  if (!global.webfontloaderPromise)
1479
1479
  global.webfontloaderPromise = import(
1480
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DVyqdvKt.js').then(function (n) { return n.w; });
1480
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CX5xEcgl.js').then(function (n) { return n.w; });
1481
1481
  global.webfontloaderPromise.then(function (WebFont) {
1482
1482
  WebFont.load({ google: { families: ['La Belle Aurore'] } });
1483
1483
  });
@@ -1,13 +1,13 @@
1
- import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.xIaUS4wo.js';
1
+ import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState, useRef, useEffect } from 'react';
3
- import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
4
- import { h as hasState, g as getStateOptions } from './fthry_index.CSfhoU0u.js';
5
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.YGkWXJ1l.js';
3
+ import { I as InlineTooltip } from './fthry_InlineTooltip.B5_RegvG.js';
4
+ import { h as hasState, g as getStateOptions } from './fthry_index.Du0fTEDI.js';
5
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.pcGl8IA9.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'react-dom/client';
8
8
  import 'jszip';
9
9
  import 'react-dom';
10
- import './fthry_Overlay.D_sj8sym.js';
10
+ import './fthry_Overlay.t3wJuWQ8.js';
11
11
 
12
12
  function DropdownField(_a) {
13
13
  var _b, _c, _d;
@@ -1,4 +1,4 @@
1
- import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.xIaUS4wo.js';
1
+ import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.CxnWFkgd.js';
2
2
  import React__default, { useRef, useEffect, useCallback, useState, useMemo, Fragment } from 'react';
3
3
  import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,16 +1,16 @@
1
- import { j as jsxs, _ as __assign, a as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, y as getFieldValue, z as stringifyWithNull, h as hoverStylesGuard, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles, A as emailPatternStr } from './fthry_index.xIaUS4wo.js';
1
+ import { j as jsxs, _ as __assign, a as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, y as getFieldValue, z as stringifyWithNull, h as hoverStylesGuard, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles, A as emailPatternStr } from './fthry_index.CxnWFkgd.js';
2
2
  import { memo, useRef, useState } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.CeQnc05Z.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
5
- import { O as Overlay } from './fthry_Overlay.D_sj8sym.js';
6
- import { u as useElementSize } from './fthry_useElementSize.DyfzVGG2.js';
7
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.C0yRQ198.js';
8
- import { I as IMaskInput } from './fthry_input.BUZxnbfK.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.D4oxVj_P.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.B5_RegvG.js';
5
+ import { O as Overlay } from './fthry_Overlay.t3wJuWQ8.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.BHI3Ek3Q.js';
7
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DVClpFRX.js';
8
+ import { I as IMaskInput } from './fthry_input.qy9b9thc.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react-dom/client';
11
11
  import 'jszip';
12
12
  import 'react-dom';
13
- import './fthry_index.DEOA055J.js';
13
+ import './fthry_index.Bw-_5HVu.js';
14
14
 
15
15
  function TextAutocomplete(_a) {
16
16
  var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
@@ -1,17 +1,17 @@
1
- import { a as jsx, G as Global, e as css, g as __makeTemplateObject, _ as __assign, c as __read, s as isMobile, p as featheryWindow, t as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, k as __rest, au as formatDateString } from './fthry_index.xIaUS4wo.js';
1
+ import { a as jsx, G as Global, e as css, g as __makeTemplateObject, _ as __assign, c as __read, s as isMobile, p as featheryWindow, t as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, k as __rest, au as formatDateString } from './fthry_index.CxnWFkgd.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
4
- import { P as Placeholder } from './fthry_Placeholder.CeQnc05Z.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
4
+ import { P as Placeholder } from './fthry_Placeholder.D4oxVj_P.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.B5_RegvG.js';
6
6
  import { c as clsx } from './fthry_clsx.ChV9xqsO.js';
7
7
  import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
8
8
  import * as ReactDOM from 'react-dom';
9
9
  import ReactDOM__default from 'react-dom';
10
- import { a as IMask, I as IMaskInput } from './fthry_input.BUZxnbfK.js';
10
+ import { a as IMask, I as IMaskInput } from './fthry_input.qy9b9thc.js';
11
11
  import 'react-dom/client';
12
12
  import 'jszip';
13
- import './fthry_Overlay.D_sj8sym.js';
14
- import './fthry_index.DEOA055J.js';
13
+ import './fthry_Overlay.t3wJuWQ8.js';
14
+ import './fthry_index.Bw-_5HVu.js';
15
15
 
16
16
  var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
17
17
  var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
@@ -1,7 +1,7 @@
1
- import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.xIaUS4wo.js';
1
+ import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState, useRef, useMemo } from 'react';
3
- import { O as Overlay, T as Tooltip } from './fthry_Overlay.D_sj8sym.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.Y8uCPyI1.js';
3
+ import { O as Overlay, T as Tooltip } from './fthry_Overlay.t3wJuWQ8.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.XucW1AjN.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
@@ -1,13 +1,13 @@
1
- import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.xIaUS4wo.js';
1
+ import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.CxnWFkgd.js';
2
2
  import { memo, useState, useRef } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.CeQnc05Z.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
5
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.C0yRQ198.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.D4oxVj_P.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.B5_RegvG.js';
5
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DVClpFRX.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'react-dom/client';
8
8
  import 'jszip';
9
9
  import 'react-dom';
10
- import './fthry_Overlay.D_sj8sym.js';
10
+ import './fthry_Overlay.t3wJuWQ8.js';
11
11
 
12
12
  function PasswordField(_a) {
13
13
  var _b;
@@ -1,4 +1,4 @@
1
- import { a as jsx, _ as __assign } from './fthry_index.xIaUS4wo.js';
1
+ import { a as jsx, _ as __assign } from './fthry_index.CxnWFkgd.js';
2
2
 
3
3
  var ae = [
4
4
  { name: 'Abu Dhabi', code: 'AZ' },
@@ -1,14 +1,14 @@
1
- import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.xIaUS4wo.js';
1
+ import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CxnWFkgd.js';
2
2
  import { useRef, useState, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.BaRwUrV1.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.Y8uCPyI1.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.YGkWXJ1l.js';
3
+ import { F as FormControl } from './fthry_FormControl.aDOShOnN.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.XucW1AjN.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.B5_RegvG.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.pcGl8IA9.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
10
10
  import 'react-dom';
11
- import './fthry_Overlay.D_sj8sym.js';
11
+ import './fthry_Overlay.t3wJuWQ8.js';
12
12
 
13
13
  var applyRadioGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('radioGroup');
@@ -1,4 +1,4 @@
1
- import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.xIaUS4wo.js';
1
+ import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.CxnWFkgd.js';
2
2
  import { useRef, useState, useEffect, memo, useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,6 +1,6 @@
1
- import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.xIaUS4wo.js';
1
+ import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState, useEffect } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.CRruZ5I3.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.B_d3wcqj.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1,4 +1,4 @@
1
- import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.xIaUS4wo.js';
1
+ import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.CxnWFkgd.js';
2
2
  import { useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.xIaUS4wo.js';
1
+ import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
3
3
  import { createPortal } from 'react-dom';
4
4
  import 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { P as PropTypes } from './fthry_index.DEOA055J.js';
2
+ import { P as PropTypes } from './fthry_index.Bw-_5HVu.js';
3
3
 
4
4
  /** Checks if value is string */
5
5
  function isString(str) {
@@ -1,9 +1,9 @@
1
- export { u as Mermaid } from './fthry_AssistantChat.C4E2R_en.js';
2
- import './fthry_index.xIaUS4wo.js';
1
+ export { u as Mermaid } from './fthry_AssistantChat.CpwDG4Ri.js';
2
+ import './fthry_index.CxnWFkgd.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
7
7
  import 'react-dom';
8
8
  import './fthry_clsx.ChV9xqsO.js';
9
- import './fthry_index.CSfhoU0u.js';
9
+ import './fthry_index.Du0fTEDI.js';
@@ -1,4 +1,4 @@
1
- import { C as getDefaultExportFromCjs } from './fthry_index.xIaUS4wo.js';
1
+ import { C as getDefaultExportFromCjs } from './fthry_index.CxnWFkgd.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { useState, useMemo } from 'react';
3
- import { C as getDefaultExportFromCjs, j as jsxs, q as Fragment, a as jsx, G as Global, e as css, g as __makeTemplateObject } from './fthry_index.xIaUS4wo.js';
3
+ import { C as getDefaultExportFromCjs, j as jsxs, q as Fragment, a as jsx, G as Global, e as css, g as __makeTemplateObject } from './fthry_index.CxnWFkgd.js';
4
4
  import { flushSync } from 'react-dom';
5
5
 
6
6
  function canUseDom() {
@@ -1,4 +1,4 @@
1
- import { c as __read, p as featheryWindow } from './fthry_index.xIaUS4wo.js';
1
+ import { c as __read, p as featheryWindow } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState, useLayoutEffect } from 'react';
3
3
 
4
4
  function useElementSize(anchorRef) {
@@ -1,4 +1,4 @@
1
- import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.xIaUS4wo.js';
1
+ import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.CxnWFkgd.js';
2
2
  import { useState, useEffect } from 'react';
3
3
 
4
4
  function useSalesforceSync(salesforceSync, editMode) {
@@ -1,4 +1,4 @@
1
- import { C as getDefaultExportFromCjs } from './fthry_index.xIaUS4wo.js';
1
+ import { C as getDefaultExportFromCjs } from './fthry_index.CxnWFkgd.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { aL as AssistantChat, aD as Elements, aM as Feathery, aC as Form, aJ as LoginForm, aN as StyledContainer, aH as getFieldValues, aE as init, aI as renderAt, ax as setFieldValues, aG as updateTheme, aF as updateUserId, aK as useAuthClient } from './fthry_index.xIaUS4wo.js';
1
+ export { aL as AssistantChat, aD as Elements, aM as Feathery, aC as Form, aJ as LoginForm, aN as StyledContainer, aH as getFieldValues, aE as init, aI as renderAt, ax as setFieldValues, aG as updateTheme, aF as updateUserId, aK as useAuthClient } from './fthry_index.CxnWFkgd.js';
2
2
  import 'react-dom/client';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feathery/react",
3
- "version": "2.40.0",
3
+ "version": "2.40.1",
4
4
  "description": "React library for Feathery",
5
5
  "author": "Boyang Dun",
6
6
  "license": "MIT",