@incodetech/welcome 1.88.0 → 1.88.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.
@@ -15,7 +15,7 @@ var Di = (Be, Le, Ye, tt) => ({
15
15
  }
16
16
  });
17
17
  import * as React from "react";
18
- import React__default, { useState, useRef, useEffect, useCallback, useMemo, useLayoutEffect, useDebugValue, createElement as createElement$2, useContext, createContext, isValidElement, cloneElement, forwardRef, Children, useReducer, useId as useId$1, useImperativeHandle, Fragment as Fragment$1, PureComponent, Component, memo } from "react";
18
+ import React__default, { useState, useRef, useEffect, useCallback, useMemo, useLayoutEffect, useDebugValue, createElement as createElement$2, useContext, createContext, isValidElement, cloneElement, forwardRef, Children, useReducer, useImperativeHandle, Fragment as Fragment$1, PureComponent, Component, memo } from "react";
19
19
  import * as ReactDOM from "react-dom";
20
20
  import ReactDOM__default, { createPortal } from "react-dom";
21
21
  function _mergeNamespaces(Be, Le) {
@@ -8580,7 +8580,7 @@ class MlWasmJSApi extends WebClient {
8580
8580
  throw new Error(Le);
8581
8581
  }
8582
8582
  }
8583
- const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$5 = "1.88.0";
8583
+ const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$5 = "1.88.1";
8584
8584
  function e$2(Be, Le) {
8585
8585
  return function(Ye, tt) {
8586
8586
  return Object.prototype.hasOwnProperty.call(Ye, tt);
@@ -15566,8 +15566,8 @@ var makeRenderlessComponent = function(Be) {
15566
15566
  tap: makeRenderlessComponent(useTapGesture),
15567
15567
  focus: makeRenderlessComponent(useFocusGesture),
15568
15568
  hover: makeRenderlessComponent(useHoverGesture)
15569
- }, counter = 0, incrementId = function() {
15570
- return counter++;
15569
+ }, counter$1 = 0, incrementId = function() {
15570
+ return counter$1++;
15571
15571
  }, useId = function() {
15572
15572
  return useConstant(incrementId);
15573
15573
  };
@@ -25805,7 +25805,13 @@ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|def
25805
25805
  tags.forEach(function(Be) {
25806
25806
  styled[Be] = styled(Be);
25807
25807
  });
25808
- const useTokens = () => useTheme(), breakpoints$2 = {
25808
+ const useTokens = () => useTheme();
25809
+ let counter = 0;
25810
+ function useUniqueId(Be = "") {
25811
+ const Le = useRef(null);
25812
+ return Le.current === null && (Le.current = `${Be}:r${(counter++).toString(36)}:`), Le.current;
25813
+ }
25814
+ const breakpoints$2 = {
25809
25815
  // Tablets (portrait) / Small laptops
25810
25816
  lg: "1024px",
25811
25817
  // Tablets (landscape) / Laptops
@@ -27654,7 +27660,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex$1, { justify: "center", al
27654
27660
  position: kt
27655
27661
  }) => {
27656
27662
  var Bt, Dt, Pt;
27657
- const vt = Le || tt, bt = useTokens(), It = usePageTheme(), wt = useId$1(), Tt = Ye || wt, Rt = Et ?? ((Bt = It == null ? void 0 : It.branding) == null ? void 0 : Bt.hideFooterBranding) ?? !1;
27663
+ const vt = Le || tt, bt = useTokens(), It = usePageTheme(), wt = useUniqueId("page"), Tt = Ye || wt, Rt = Et ?? ((Bt = It == null ? void 0 : It.branding) == null ? void 0 : Bt.hideFooterBranding) ?? !1;
27658
27664
  return useEffect(() => {
27659
27665
  var Nt;
27660
27666
  Le && ((Nt = document.getElementById(Tt)) == null || Nt.focus());
@@ -28384,7 +28390,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex$1, { justify: "center", al
28384
28390
  renderSelectedLabel: Bt,
28385
28391
  onBlur: Dt
28386
28392
  }, Pt) => {
28387
- const Nt = useTokens(), Lt = useId$1(), $t = Ct || Lt, Xt = `${$t}-label`, Kt = `${$t}-button`, Vt = `${$t}-listbox`, Ft = `${$t}-error`, Mt = `${$t}-helper`, [Wt, Ut] = useState(!1), [_t, Ht] = useState(!1), [qt, zt] = useState(-1), [en, on] = useState(""), tn = useRef(null), cn = useRef(null), pn = useRef(null), an = useRef(null), gn = useRef([]), mn = useRef(""), sn = useRef();
28393
+ const Nt = useTokens(), Lt = useUniqueId("dropdown"), $t = Ct || Lt, Xt = `${$t}-label`, Kt = `${$t}-button`, Vt = `${$t}-listbox`, Ft = `${$t}-error`, Mt = `${$t}-helper`, [Wt, Ut] = useState(!1), [_t, Ht] = useState(!1), [qt, zt] = useState(-1), [en, on] = useState(""), tn = useRef(null), cn = useRef(null), pn = useRef(null), an = useRef(null), gn = useRef([]), mn = useRef(""), sn = useRef();
28388
28394
  useImperativeHandle(Pt, () => cn.current);
28389
28395
  const nn = bt && en ? nt.filter(
28390
28396
  (un) => un.label.toLowerCase().includes(en.toLowerCase())
@@ -144530,7 +144536,7 @@ const SynchronizedInputGroup = styled.div`
144530
144536
  disableCountrySelector: xt = !1,
144531
144537
  ...Et
144532
144538
  }, yt) => {
144533
- const { countryItems: Ct } = useCountryItems(), [kt, vt] = useState(), [bt, It] = useState(""), wt = useTokens(), Tt = useId$1(), Rt = `${Tt}-phone`, Bt = `${Tt}-country`;
144539
+ const { countryItems: Ct } = useCountryItems(), [kt, vt] = useState(), [bt, It] = useState(""), wt = useTokens(), Tt = useUniqueId("phone-input"), Rt = `${Tt}-phone`, Bt = `${Tt}-country`;
144534
144540
  useEffect(() => {
144535
144541
  const Vt = Ct.get(Be) ?? Ct.get("MX");
144536
144542
  vt(Vt == null ? void 0 : Vt.id);