@caspeco/casper-ui-library 10.0.4 → 10.1.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 (115) hide show
  1. package/dist/components/combobox/combobox-button.d.ts +1 -1
  2. package/dist/components/combobox/combobox-button.d.ts.map +1 -1
  3. package/dist/components/combobox/combobox-button.js +78 -77
  4. package/dist/components/combobox/combobox.d.ts.map +1 -1
  5. package/dist/components/combobox/combobox.js +147 -141
  6. package/dist/components/combobox/types.d.ts +1 -0
  7. package/dist/components/combobox/types.d.ts.map +1 -1
  8. package/dist/components/input/input-recipe.d.ts.map +1 -1
  9. package/dist/components/input/input-recipe.js +8 -3
  10. package/dist/components/input/input.composition.d.ts.map +1 -1
  11. package/dist/components/input/input.d.ts +1 -0
  12. package/dist/components/input/input.d.ts.map +1 -1
  13. package/dist/components/input/input.js +76 -52
  14. package/dist/components/input/types.d.ts +2 -2
  15. package/dist/components/input/types.d.ts.map +1 -1
  16. package/dist/components/menu/menu-box-button.d.ts +4 -1
  17. package/dist/components/menu/menu-box-button.d.ts.map +1 -1
  18. package/dist/components/menu/menu-box-button.js +15 -14
  19. package/dist/components/phone-input/country-data.d.ts +22 -0
  20. package/dist/components/phone-input/country-data.d.ts.map +1 -0
  21. package/dist/components/phone-input/country-data.js +38 -0
  22. package/dist/components/phone-input/country-data.spec.d.ts +2 -0
  23. package/dist/components/phone-input/country-data.spec.d.ts.map +1 -0
  24. package/dist/components/phone-input/country-list.d.ts +19 -0
  25. package/dist/components/phone-input/country-list.d.ts.map +1 -0
  26. package/dist/components/phone-input/country-list.js +27 -0
  27. package/dist/components/phone-input/country-selector.d.ts +59 -0
  28. package/dist/components/phone-input/country-selector.d.ts.map +1 -0
  29. package/dist/components/phone-input/country-selector.js +120 -0
  30. package/dist/components/phone-input/index.d.ts +5 -0
  31. package/dist/components/phone-input/index.d.ts.map +1 -0
  32. package/dist/components/phone-input/phone-input-helpers.d.ts +47 -0
  33. package/dist/components/phone-input/phone-input-helpers.d.ts.map +1 -0
  34. package/dist/components/phone-input/phone-input-helpers.js +134 -0
  35. package/dist/components/phone-input/phone-input-helpers.spec.d.ts +2 -0
  36. package/dist/components/phone-input/phone-input-helpers.spec.d.ts.map +1 -0
  37. package/dist/components/phone-input/phone-input.composition.d.ts +26 -0
  38. package/dist/components/phone-input/phone-input.composition.d.ts.map +1 -0
  39. package/dist/components/phone-input/phone-input.d.ts +22 -0
  40. package/dist/components/phone-input/phone-input.d.ts.map +1 -0
  41. package/dist/components/phone-input/phone-input.js +43 -0
  42. package/dist/components/phone-input/phone-input.spec.d.ts +2 -0
  43. package/dist/components/phone-input/phone-input.spec.d.ts.map +1 -0
  44. package/dist/components/phone-input/phone-input.visual.test.d.ts +2 -0
  45. package/dist/components/phone-input/phone-input.visual.test.d.ts.map +1 -0
  46. package/dist/components/phone-input/translations.d.ts +60 -0
  47. package/dist/components/phone-input/translations.d.ts.map +1 -0
  48. package/dist/components/phone-input/translations.js +54 -0
  49. package/dist/components/phone-input/types.d.ts +45 -0
  50. package/dist/components/phone-input/types.d.ts.map +1 -0
  51. package/dist/components/phone-input/use-phone-input.d.ts +49 -0
  52. package/dist/components/phone-input/use-phone-input.d.ts.map +1 -0
  53. package/dist/components/phone-input/use-phone-input.js +138 -0
  54. package/dist/components/phone-input/use-phone-input.spec.d.ts +2 -0
  55. package/dist/components/phone-input/use-phone-input.spec.d.ts.map +1 -0
  56. package/dist/hooks/use-measured-width.d.ts +23 -0
  57. package/dist/hooks/use-measured-width.d.ts.map +1 -0
  58. package/dist/hooks/use-measured-width.js +22 -0
  59. package/dist/index.d.ts +1 -0
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +289 -285
  62. package/dist/node_modules/country-flag-icons/modules/countries.json.js +4 -0
  63. package/dist/node_modules/country-flag-icons/modules/hasFlag.js +7 -0
  64. package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +6303 -0
  65. package/dist/node_modules/country-flag-icons/react/3x2/index.js +269 -0
  66. package/dist/node_modules/libphonenumber-js/es6/ParseError.js +89 -0
  67. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +192 -0
  68. package/dist/node_modules/libphonenumber-js/es6/constants.js +10 -0
  69. package/dist/node_modules/libphonenumber-js/es6/format.js +98 -0
  70. package/dist/node_modules/libphonenumber-js/es6/getCountries.js +7 -0
  71. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +11 -0
  72. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
  73. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +16 -0
  74. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
  75. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +18 -0
  76. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +46 -0
  77. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +27 -0
  78. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +23 -0
  79. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +39 -0
  80. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +31 -0
  81. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +23 -0
  82. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +25 -0
  83. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js +12 -0
  84. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +9 -0
  85. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +43 -0
  86. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +12 -0
  87. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +52 -0
  88. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
  89. package/dist/node_modules/libphonenumber-js/es6/helpers/isCallingCode.js +7 -0
  90. package/dist/node_modules/libphonenumber-js/es6/helpers/isCountryCode.js +7 -0
  91. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
  92. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +20 -0
  93. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
  94. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +79 -0
  95. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +19 -0
  96. package/dist/node_modules/libphonenumber-js/es6/isPossible.js +35 -0
  97. package/dist/node_modules/libphonenumber-js/es6/isValid.js +14 -0
  98. package/dist/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +59 -0
  99. package/dist/node_modules/libphonenumber-js/es6/metadata.js +494 -0
  100. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +108 -0
  101. package/dist/node_modules/libphonenumber-js/es6/parse.js +138 -0
  102. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +40 -0
  103. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
  104. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +55 -0
  105. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +62 -0
  106. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +14 -0
  107. package/dist/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
  108. package/dist/node_modules/libphonenumber-js/min/exports/getCountries.js +8 -0
  109. package/dist/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +8 -0
  110. package/dist/node_modules/libphonenumber-js/min/exports/isSupportedCountry.js +8 -0
  111. package/dist/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js +8 -0
  112. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +8 -0
  113. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +8 -0
  114. package/dist/test-utils/create-visual-tests.d.ts.map +1 -1
  115. package/package.json +3 -1
@@ -1,3 +1,3 @@
1
1
  import { ComboboxInnerProps } from './types.js';
2
- export declare function ComboboxButton({ id, asPlainText, inputValue, selectedItems, displayItems, toggleItem, highlightState, openState, parentStrings, size, variant, label, placeHolderText, isDisabled, isReadOnly, isInvalid, collapsed, hasPendingDelete, setHasPendingDelete, setInputValue, onSearch, isSingleSelect, }: ComboboxInnerProps): import("react").JSX.Element;
2
+ export declare function ComboboxButton({ id, asPlainText, inputValue, selectedItems, displayItems, toggleItem, clearSelection, highlightState, openState, parentStrings, size, variant, label, placeHolderText, isDisabled, isReadOnly, isInvalid, collapsed, hasPendingDelete, setHasPendingDelete, setInputValue, onSearch, isSingleSelect, }: ComboboxInnerProps): import("react").JSX.Element;
3
3
  //# sourceMappingURL=combobox-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"combobox-button.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-button.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAsBlD,wBAAgB,cAAc,CAAC,EAC9B,EAAE,EACF,WAAW,EACX,UAAU,EACV,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,SAAS,EACT,aAAa,EACb,IAAI,EACJ,OAAO,EACP,KAAK,EACL,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,QAAQ,EACR,cAAc,GACd,EAAE,kBAAkB,+BA4LpB"}
1
+ {"version":3,"file":"combobox-button.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-button.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAsBlD,wBAAgB,cAAc,CAAC,EAC9B,EAAE,EACF,WAAW,EACX,UAAU,EACV,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,cAAc,EACd,SAAS,EACT,aAAa,EACb,IAAI,EACJ,OAAO,EACP,KAAK,EACL,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,QAAQ,EACR,cAAc,GACd,EAAE,kBAAkB,+BAgMpB"}
@@ -1,15 +1,15 @@
1
- import { jsxs as H, jsx as i } from "react/jsx-runtime";
2
- import { c as ne } from "../../_virtual/compiler-runtime.js";
3
- import { useRecipe as ae, Flex as A, Input as se, Box as L } from "@chakra-ui/react";
4
- import { Fragment as ce } from "react";
5
- import { ComboboxItem as le } from "./combobox-item.js";
6
- import { Tag as pe } from "../tag/tag.js";
7
- import { ThemeColorVariable as l, ThemeSpaceVariable as F, ThemeIconSizeVariable as de, ThemeRadiusVariable as fe } from "../../theme/theme-types.js";
8
- import { TreeViewCollapseIcon as ue } from "../icon/icons/tree-view-collapse-icon.js";
9
- function re() {
10
- const s = ne.c(1);
1
+ import { jsxs as L, jsx as n } from "react/jsx-runtime";
2
+ import { c as ae } from "../../_virtual/compiler-runtime.js";
3
+ import { useRecipe as se, Flex as F, Input as ce, Box as N } from "@chakra-ui/react";
4
+ import { Fragment as pe } from "react";
5
+ import { ComboboxItem as ie } from "./combobox-item.js";
6
+ import { Tag as de } from "../tag/tag.js";
7
+ import { ThemeColorVariable as l, ThemeSpaceVariable as H, ThemeIconSizeVariable as fe, ThemeRadiusVariable as ue } from "../../theme/theme-types.js";
8
+ import { TreeViewCollapseIcon as he } from "../icon/icons/tree-view-collapse-icon.js";
9
+ function ne() {
10
+ const s = ae.c(1);
11
11
  let e;
12
- return s[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ i(L, { backgroundColor: l.NeutralContainer, width: "8px", borderRadius: "4px", marginRight: "-8px", _before: {
12
+ return s[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ n(N, { backgroundColor: l.NeutralContainer, width: "8px", borderRadius: "4px", marginRight: "-8px", _before: {
13
13
  content: "''",
14
14
  borderRadius: "4px",
15
15
  marginLeft: "2px",
@@ -19,61 +19,62 @@ function re() {
19
19
  backgroundColor: l.Surface
20
20
  } }), s[0] = e) : e = s[0], e;
21
21
  }
22
- function Ie(s) {
23
- const e = ne.c(66), {
24
- id: N,
25
- asPlainText: n,
22
+ function Oe(s) {
23
+ const e = ae.c(68), {
24
+ id: X,
25
+ asPlainText: i,
26
26
  inputValue: a,
27
27
  selectedItems: o,
28
- displayItems: X,
28
+ displayItems: K,
29
29
  toggleItem: I,
30
+ clearSelection: U,
30
31
  highlightState: c,
31
32
  openState: r,
32
- parentStrings: K,
33
- size: U,
34
- variant: q,
33
+ parentStrings: q,
34
+ size: G,
35
+ variant: J,
35
36
  label: O,
36
37
  placeHolderText: k,
37
38
  isDisabled: p,
38
39
  isReadOnly: f,
39
- isInvalid: G,
40
+ isInvalid: M,
40
41
  collapsed: _,
41
42
  hasPendingDelete: d,
42
43
  setHasPendingDelete: y,
43
44
  setInputValue: u,
44
45
  onSearch: h,
45
- isSingleSelect: ie
46
+ isSingleSelect: D
46
47
  } = s;
47
- let D;
48
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = {
49
- key: "combobox"
50
- }, e[0] = D) : D = e[0];
51
- const J = ae(D);
52
48
  let R;
53
- e[1] !== J || e[2] !== U || e[3] !== q ? (R = J({
54
- variant: q,
55
- size: U
56
- }), e[1] = J, e[2] = U, e[3] = q, e[4] = R) : R = e[4];
57
- const M = R;
49
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = {
50
+ key: "combobox"
51
+ }, e[0] = R) : R = e[0];
52
+ const Q = se(R);
58
53
  let T;
59
- e[5] !== n || e[6] !== X || e[7] !== d || e[8] !== c || e[9] !== a || e[10] !== h || e[11] !== r || e[12] !== o || e[13] !== y || e[14] !== u || e[15] !== I ? (T = (t) => {
60
- if (t.key === "Enter" && (t.preventDefault(), t.stopPropagation(), r.isOpen ? I(X[c.index]) : r.open()), t.key === "Escape") {
54
+ e[1] !== Q || e[2] !== G || e[3] !== J ? (T = Q({
55
+ variant: J,
56
+ size: G
57
+ }), e[1] = Q, e[2] = G, e[3] = J, e[4] = T) : T = e[4];
58
+ const Y = T;
59
+ let V;
60
+ e[5] !== i || e[6] !== U || e[7] !== K || e[8] !== d || e[9] !== c || e[10] !== a || e[11] !== D || e[12] !== h || e[13] !== r || e[14] !== o || e[15] !== y || e[16] !== u || e[17] !== I ? (V = (t) => {
61
+ if (t.key === "Enter" && (t.preventDefault(), t.stopPropagation(), r.isOpen ? I(K[c.index]) : r.open()), t.key === "Escape") {
61
62
  if (!r.isOpen)
62
63
  return;
63
- t.preventDefault(), t.stopPropagation(), r.close(), n || (u(""), h?.(""));
64
+ t.preventDefault(), t.stopPropagation(), r.close(), i || (u(""), h?.(""));
64
65
  }
65
- t.key === "Backspace" ? a.length === 0 && o.length > 0 && !n && (d ? (I(o[o.length - 1]), y(!1)) : y(!0)) : y(!1), t.key === "ArrowDown" && (r.isOpen ? c.next() : r.open()), t.key === "ArrowUp" && (r.isOpen ? c.previous() : r.open());
66
- }, e[5] = n, e[6] = X, e[7] = d, e[8] = c, e[9] = a, e[10] = h, e[11] = r, e[12] = o, e[13] = y, e[14] = u, e[15] = I, e[16] = T) : T = e[16];
67
- const Q = T;
68
- let V;
69
- e[17] !== c || e[18] !== h || e[19] !== r || e[20] !== u ? (V = (t) => {
66
+ t.key === "Backspace" ? a.length === 0 && o.length > 0 && !i && (d ? (D ? U() : I(o[o.length - 1]), y(!1)) : y(!0)) : y(!1), t.key === "ArrowDown" && (r.isOpen ? c.next() : r.open()), t.key === "ArrowUp" && (r.isOpen ? c.previous() : r.open());
67
+ }, e[5] = i, e[6] = U, e[7] = K, e[8] = d, e[9] = c, e[10] = a, e[11] = D, e[12] = h, e[13] = r, e[14] = o, e[15] = y, e[16] = u, e[17] = I, e[18] = V) : V = e[18];
68
+ const Z = V;
69
+ let P;
70
+ e[19] !== c || e[20] !== h || e[21] !== r || e[22] !== u ? (P = (t) => {
70
71
  t.preventDefault(), t.stopPropagation();
71
- const W = t.target.value;
72
- u(W), h?.(W), c.set(0), r.open();
73
- }, e[17] = c, e[18] = h, e[19] = r, e[20] = u, e[21] = V) : V = e[21];
74
- const Y = V, C = o[0], P = o[o.length - 1], Z = r.isOpen || n || k;
75
- let v;
76
- e[22] !== Z ? (v = Z ? {
72
+ const A = t.target.value;
73
+ u(A), h?.(A), c.set(0), r.open();
74
+ }, e[19] = c, e[20] = h, e[21] = r, e[22] = u, e[23] = P) : P = e[23];
75
+ const ee = P, C = o[0], v = o[o.length - 1], oe = r.isOpen || i || k;
76
+ let E;
77
+ e[24] !== oe ? (E = oe ? {
77
78
  width: "100%"
78
79
  } : {
79
80
  position: "absolute",
@@ -85,61 +86,61 @@ function Ie(s) {
85
86
  clipPath: "inset(50%)",
86
87
  whiteSpace: "nowrap",
87
88
  border: 0
88
- }, e[22] = Z, e[23] = v) : v = e[23];
89
- const ee = v;
90
- let E, $;
91
- e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = {
89
+ }, e[24] = oe, e[25] = E) : E = e[25];
90
+ const te = E;
91
+ let $, j;
92
+ e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = {
92
93
  borderColor: l.Error,
93
94
  boxShadow: `0 0 0 4px ${l.ErrorContainer}`,
94
95
  backgroundColor: l.Surface
95
- }, $ = {
96
+ }, j = {
96
97
  borderColor: l.Info,
97
98
  boxShadow: `0 0 0 4px ${l.InfoContainer}`,
98
99
  backgroundColor: l.Surface
99
- }, e[24] = E, e[25] = $) : (E = e[24], $ = e[25]);
100
- const oe = _ || ie ? "nowrap" : "wrap";
100
+ }, e[26] = $, e[27] = j) : ($ = e[26], j = e[27]);
101
+ const le = _ || D ? "nowrap" : "wrap";
101
102
  let m;
102
- e[26] !== O ? (m = O && /* @__PURE__ */ i(L, { whiteSpace: "nowrap", children: O }), e[26] = O, e[27] = m) : m = e[27];
103
+ e[28] !== O ? (m = O && /* @__PURE__ */ n(N, { whiteSpace: "nowrap", children: O }), e[28] = O, e[29] = m) : m = e[29];
103
104
  let g;
104
- e[28] !== n || e[29] !== _ || e[30] !== d || e[31] !== P || e[32] !== o ? (g = !n && (_ ? o.length > 0 && P && /* @__PURE__ */ H(A, { gap: F.XSmall, flexShrink: "1", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: [
105
- o.length > 3 && /* @__PURE__ */ i(re, {}),
106
- o.length > 2 && /* @__PURE__ */ i(re, {}),
107
- o.length > 1 && /* @__PURE__ */ i(pe, { children: o.length - 1 }),
108
- /* @__PURE__ */ i(le, { isDeleting: d, item: P, asPlainText: n })
109
- ] }) : o.map((t, W) => /* @__PURE__ */ i(le, { item: t, asPlainText: n, isDeleting: W === o.length - 1 && d }, t.id))), e[28] = n, e[29] = _, e[30] = d, e[31] = P, e[32] = o, e[33] = g) : g = e[33];
105
+ e[30] !== i || e[31] !== _ || e[32] !== d || e[33] !== v || e[34] !== o ? (g = !i && (_ ? o.length > 0 && v && /* @__PURE__ */ L(F, { gap: H.XSmall, flexShrink: "1", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: [
106
+ o.length > 3 && /* @__PURE__ */ n(ne, {}),
107
+ o.length > 2 && /* @__PURE__ */ n(ne, {}),
108
+ o.length > 1 && /* @__PURE__ */ n(de, { children: o.length - 1 }),
109
+ /* @__PURE__ */ n(ie, { isDeleting: d, item: v, asPlainText: i })
110
+ ] }) : o.map((t, A) => /* @__PURE__ */ n(ie, { item: t, asPlainText: i, isDeleting: A === o.length - 1 && d }, t.id))), e[30] = i, e[31] = _, e[32] = d, e[33] = v, e[34] = o, e[35] = g) : g = e[35];
110
111
  let b;
111
- e[34] !== n || e[35] !== C || e[36] !== a || e[37] !== K || e[38] !== o.length ? (b = n && o.length > 0 && C && a === C.label && K[C.id]?.map(he), e[34] = n, e[35] = C, e[36] = a, e[37] = K, e[38] = o.length, e[39] = b) : b = e[39];
112
- let j, z;
113
- e[40] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = {
112
+ e[36] !== i || e[37] !== C || e[38] !== a || e[39] !== q || e[40] !== o.length ? (b = i && o.length > 0 && C && a === C.label && q[C.id]?.map(me), e[36] = i, e[37] = C, e[38] = a, e[39] = q, e[40] = o.length, e[41] = b) : b = e[41];
113
+ let z, B;
114
+ e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = {
114
115
  color: l.OnSurfaceSubdued
115
- }, z = {
116
+ }, B = {
116
117
  cursor: "not-allowed",
117
118
  color: l.OnSurfaceSubdued
118
- }, e[40] = j, e[41] = z) : (j = e[40], z = e[41]);
119
+ }, e[42] = z, e[43] = B) : (z = e[42], B = e[43]);
119
120
  let S;
120
- e[42] !== N || e[43] !== ee || e[44] !== a || e[45] !== p || e[46] !== f || e[47] !== Y || e[48] !== Q || e[49] !== k ? (S = /* @__PURE__ */ i(se, { id: N, disabled: p, readOnly: f, onKeyDown: Q, unstyled: !0, value: a, autoComplete: "off", minWidth: F.XLarge, onChange: Y, placeholder: k, border: "none", flex: 1, color: l.OnSurface, outline: "none", _placeholder: j, _disabled: z, css: ee }), e[42] = N, e[43] = ee, e[44] = a, e[45] = p, e[46] = f, e[47] = Y, e[48] = Q, e[49] = k, e[50] = S) : S = e[50];
121
+ e[44] !== X || e[45] !== te || e[46] !== a || e[47] !== p || e[48] !== f || e[49] !== ee || e[50] !== Z || e[51] !== k ? (S = /* @__PURE__ */ n(ce, { id: X, disabled: p, readOnly: f, onKeyDown: Z, unstyled: !0, value: a, autoComplete: "off", minWidth: H.XLarge, onChange: ee, placeholder: k, border: "none", flex: 1, color: l.OnSurface, outline: "none", _placeholder: z, _disabled: B, css: te }), e[44] = X, e[45] = te, e[46] = a, e[47] = p, e[48] = f, e[49] = ee, e[50] = Z, e[51] = k, e[52] = S) : S = e[52];
121
122
  let x;
122
- e[51] !== g || e[52] !== b || e[53] !== S || e[54] !== oe || e[55] !== m ? (x = /* @__PURE__ */ H(A, { flexWrap: oe, gap: F.Small, overflow: "hidden", children: [
123
+ e[53] !== g || e[54] !== b || e[55] !== S || e[56] !== le || e[57] !== m ? (x = /* @__PURE__ */ L(F, { flexWrap: le, gap: H.Small, overflow: "hidden", children: [
123
124
  m,
124
125
  g,
125
126
  b,
126
127
  S
127
- ] }), e[51] = g, e[52] = b, e[53] = S, e[54] = oe, e[55] = m, e[56] = x) : x = e[56];
128
- const te = p ? l.OnSurfaceSubdued : l.OnSurface;
128
+ ] }), e[53] = g, e[54] = b, e[55] = S, e[56] = le, e[57] = m, e[58] = x) : x = e[58];
129
+ const re = p ? l.OnSurfaceSubdued : l.OnSurface;
129
130
  let w;
130
- e[57] !== te ? (w = /* @__PURE__ */ i(A, { className: "combobox-dropdown-icon", justifyContent: "center", alignItems: "center", cursor: "pointer", children: /* @__PURE__ */ i(ue, { size: de.Small, color: te }) }), e[57] = te, e[58] = w) : w = e[58];
131
- let B;
132
- return e[59] !== p || e[60] !== G || e[61] !== f || e[62] !== M || e[63] !== x || e[64] !== w ? (B = /* @__PURE__ */ H(A, { css: M, "aria-disabled": p, "aria-readonly": f, "aria-invalid": G, borderRadius: fe.Small, padding: F.Small, _invalid: E, _focusWithin: $, children: [
131
+ e[59] !== re ? (w = /* @__PURE__ */ n(F, { className: "combobox-dropdown-icon", justifyContent: "center", alignItems: "center", cursor: "pointer", children: /* @__PURE__ */ n(he, { size: fe.Small, color: re }) }), e[59] = re, e[60] = w) : w = e[60];
132
+ let W;
133
+ return e[61] !== p || e[62] !== M || e[63] !== f || e[64] !== Y || e[65] !== x || e[66] !== w ? (W = /* @__PURE__ */ L(F, { css: Y, "aria-disabled": p, "aria-readonly": f, "aria-invalid": M, borderRadius: ue.Small, padding: H.Small, _invalid: $, _focusWithin: j, children: [
133
134
  x,
134
135
  w
135
- ] }), e[59] = p, e[60] = G, e[61] = f, e[62] = M, e[63] = x, e[64] = w, e[65] = B) : B = e[65], B;
136
+ ] }), e[61] = p, e[62] = M, e[63] = f, e[64] = Y, e[65] = x, e[66] = w, e[67] = W) : W = e[67], W;
136
137
  }
137
- function he(s) {
138
- return /* @__PURE__ */ H(ce, { children: [
139
- /* @__PURE__ */ i(L, { color: l.OnSurfaceSubdued, textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", children: s }),
140
- /* @__PURE__ */ i(L, { color: l.OnSurfaceSubdued, children: "/" })
138
+ function me(s) {
139
+ return /* @__PURE__ */ L(pe, { children: [
140
+ /* @__PURE__ */ n(N, { color: l.OnSurfaceSubdued, textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", children: s }),
141
+ /* @__PURE__ */ n(N, { color: l.OnSurfaceSubdued, children: "/" })
141
142
  ] }, s);
142
143
  }
143
144
  export {
144
- Ie as ComboboxButton
145
+ Oe as ComboboxButton
145
146
  };
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,SAAS,CAAC;AA0GjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAkB,EAClB,MAAgB,EAChB,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,+BAiUf"}
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,SAAS,CAAC;AA0GjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAkB,EAClB,MAAgB,EAChB,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,+BA4Uf"}