@commercelayer/app-elements 0.0.78 → 0.0.79

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 (109) hide show
  1. package/dist/{Async-163e6f77.js → Async-2e9c3da2.js} +5 -3
  2. package/dist/{InputDateComponent-6853e317.js → InputDateComponent-fe3ffd00.js} +4 -2
  3. package/dist/{Select-a7b98c9a.js → Select-be90391b.js} +5 -3
  4. package/dist/helpers/appsNavigation.d.ts +1 -0
  5. package/dist/hooks/useOverlayNavigation.d.ts +1 -0
  6. package/dist/{main-740e7f02.js → main-bd408fbe.js} +12557 -11009
  7. package/dist/main.d.ts +18 -0
  8. package/dist/main.js +151 -127
  9. package/dist/{overrides-f9354b78.js → overrides-684ed062.js} +2 -2
  10. package/dist/providers/TokenProvider/MockTokenProvider.d.ts +1 -0
  11. package/dist/style.css +1 -1
  12. package/dist/ui/atoms/A.d.ts +1 -0
  13. package/dist/ui/atoms/Avatar.d.ts +1 -0
  14. package/dist/ui/atoms/AvatarLetter.d.ts +1 -0
  15. package/dist/ui/atoms/BlockCode.d.ts +1 -0
  16. package/dist/ui/atoms/ButtonFilter.d.ts +1 -0
  17. package/dist/ui/atoms/Card.d.ts +2 -0
  18. package/dist/ui/atoms/Container.d.ts +1 -0
  19. package/dist/ui/atoms/CopyToClipboard.d.ts +1 -0
  20. package/dist/ui/atoms/Hr.d.ts +1 -0
  21. package/dist/ui/atoms/Icon.d.ts +1 -0
  22. package/dist/ui/atoms/Pagination.d.ts +1 -0
  23. package/dist/ui/atoms/Progress.d.ts +1 -0
  24. package/dist/ui/atoms/StatusDot.d.ts +1 -0
  25. package/dist/ui/atoms/Steps.d.ts +1 -0
  26. package/dist/ui/atoms/dropdown/DropdownMenu.d.ts +1 -0
  27. package/dist/ui/atoms/dropdown/DropdownMenuDivider.d.ts +1 -0
  28. package/dist/ui/atoms/dropdown/DropdownMenuItem.d.ts +1 -0
  29. package/dist/ui/atoms/tables/Td.d.ts +1 -0
  30. package/dist/ui/atoms/tables/Th.d.ts +1 -0
  31. package/dist/ui/atoms/tables/Tr.d.ts +1 -0
  32. package/dist/ui/composite/ContextMenu.d.ts +1 -0
  33. package/dist/ui/composite/PageError.d.ts +1 -0
  34. package/dist/ui/composite/PageSkeleton.d.ts +1 -0
  35. package/dist/ui/composite/SearchBar.d.ts +1 -0
  36. package/dist/ui/forms/Input.d.ts +1 -0
  37. package/dist/ui/forms/InputCheckbox.d.ts +1 -0
  38. package/dist/ui/forms/InputCurrency/index.d.ts +1 -0
  39. package/dist/ui/forms/InputCurrencyRange.d.ts +1 -0
  40. package/dist/ui/forms/InputDate/InputDateComponent.d.ts +1 -0
  41. package/dist/ui/forms/InputDate/index.d.ts +1 -0
  42. package/dist/ui/forms/InputDateRange.d.ts +1 -0
  43. package/dist/ui/forms/InputFeedback.d.ts +1 -0
  44. package/dist/ui/forms/InputFile.d.ts +1 -0
  45. package/dist/ui/forms/InputJson.d.ts +1 -0
  46. package/dist/ui/forms/InputReadonly.d.ts +1 -0
  47. package/dist/ui/forms/InputSelect/Async.d.ts +1 -0
  48. package/dist/ui/forms/InputSelect/Select.d.ts +1 -0
  49. package/dist/ui/forms/InputSelect/overrides.d.ts +1 -0
  50. package/dist/ui/forms/InputSpinner.d.ts +1 -0
  51. package/dist/ui/forms/InputTextArea.d.ts +1 -0
  52. package/dist/ui/forms/InputToggleBox.d.ts +1 -0
  53. package/dist/ui/forms/InputToggleListBox.d.ts +1 -0
  54. package/dist/ui/forms/Label.d.ts +1 -0
  55. package/dist/ui/forms/ToggleButtons.d.ts +1 -0
  56. package/dist/ui/hook-form/HookedForm.d.ts +34 -0
  57. package/dist/ui/hook-form/HookedInput.d.ts +17 -0
  58. package/dist/ui/hook-form/HookedInputCheckbox.d.ts +17 -0
  59. package/dist/ui/hook-form/HookedInputCurrency.d.ts +18 -0
  60. package/dist/ui/hook-form/HookedInputDate.d.ts +18 -0
  61. package/dist/ui/hook-form/HookedInputDateRange.d.ts +19 -0
  62. package/dist/ui/hook-form/HookedInputMetadata.d.ts +19 -0
  63. package/dist/ui/hook-form/HookedInputSelect.d.ts +34 -0
  64. package/dist/ui/hook-form/HookedInputSpinner.d.ts +17 -0
  65. package/dist/ui/hook-form/HookedInputToggleBox.d.ts +21 -0
  66. package/dist/ui/hook-form/HookedInputToggleListBox.d.ts +21 -0
  67. package/dist/ui/hook-form/HookedRelationshipSelector.d.ts +18 -0
  68. package/dist/ui/hook-form/HookedToggleButtons.d.ts +18 -0
  69. package/dist/ui/hook-form/HookedValidationApiError.d.ts +22 -0
  70. package/dist/ui/hook-form/HookedValidationError.d.ts +12 -0
  71. package/dist/ui/hook-form/setApiFormErrors.d.ts +19 -0
  72. package/dist/ui/hook-form/setApiFormErrors.test.d.ts +1 -0
  73. package/dist/ui/hook-form/useValidationFeedback.d.ts +4 -0
  74. package/dist/ui/internals/InputWrapper.d.ts +1 -0
  75. package/dist/ui/resources/Filters/FieldCurrencyRange.d.ts +7 -0
  76. package/dist/ui/resources/Filters/FieldItem.d.ts +7 -0
  77. package/dist/ui/resources/Filters/FieldTimeRange.d.ts +7 -0
  78. package/dist/ui/resources/Filters/FiltersForm.d.ts +17 -0
  79. package/dist/ui/resources/Filters/FiltersNav.d.ts +25 -0
  80. package/dist/ui/resources/Filters/FiltersSearchBar.d.ts +28 -0
  81. package/dist/ui/resources/Filters/adaptFormValuesToSdk.d.ts +19 -0
  82. package/dist/ui/resources/Filters/adaptFormValuesToSdk.test.d.ts +1 -0
  83. package/dist/ui/resources/Filters/adaptFormValuesToUrlQuery.d.ts +11 -0
  84. package/dist/ui/resources/Filters/adaptFormValuesToUrlQuery.test.d.ts +1 -0
  85. package/dist/ui/resources/Filters/adaptUrlQueryToFormValues.d.ts +11 -0
  86. package/dist/ui/resources/Filters/adaptUrlQueryToFormValues.test.d.ts +1 -0
  87. package/dist/ui/resources/Filters/adaptUrlQueryToSdk.d.ts +14 -0
  88. package/dist/ui/resources/Filters/adaptUrlQueryToSdk.test.d.ts +1 -0
  89. package/dist/ui/resources/Filters/adaptUrlQueryToUrlQuery.d.ts +11 -0
  90. package/dist/ui/resources/Filters/adaptUrlQueryToUrlQuery.test.d.ts +1 -0
  91. package/dist/ui/resources/Filters/adapters.d.ts +2 -0
  92. package/dist/ui/resources/Filters/adapters.types.d.ts +20 -0
  93. package/dist/ui/resources/Filters/index.d.ts +5 -0
  94. package/dist/ui/resources/Filters/mockedInstructions.d.ts +2 -0
  95. package/dist/ui/resources/Filters/timeUtils.d.ts +36 -0
  96. package/dist/ui/resources/Filters/timeUtils.test.d.ts +1 -0
  97. package/dist/ui/resources/Filters/types.d.ts +130 -0
  98. package/dist/ui/resources/Filters/useFilters.d.ts +59 -0
  99. package/dist/ui/resources/Filters/utils.d.ts +29 -0
  100. package/dist/ui/resources/Filters/utils.test.d.ts +1 -0
  101. package/dist/ui/resources/OrderSummary.d.ts +1 -0
  102. package/dist/ui/resources/RelationshipSelector/Checkbox.d.ts +1 -0
  103. package/dist/ui/resources/RelationshipSelector/FullList.d.ts +1 -0
  104. package/dist/ui/resources/RelationshipSelector/index.d.ts +1 -0
  105. package/dist/ui/resources/ResourceList/utils.d.ts +1 -0
  106. package/dist/ui/tables/TableData.d.ts +1 -0
  107. package/dist/{unsupportedIterableToArray-1a2db0a9.js → unsupportedIterableToArray-a4407b22.js} +1 -1
  108. package/dist/utils/htmltags.d.ts +1 -0
  109. package/package.json +8 -1
@@ -1,10 +1,12 @@
1
- import { L as de, H as le } from "./main-740e7f02.js";
1
+ import { L as de, H as le } from "./main-bd408fbe.js";
2
2
  import * as ce from "react";
3
3
  import { useRef as F, useState as a, useEffect as x, useCallback as D, forwardRef as ve } from "react";
4
- import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-f9354b78.js";
5
- import { d as ye } from "./unsupportedIterableToArray-1a2db0a9.js";
4
+ import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-684ed062.js";
5
+ import { d as ye } from "./unsupportedIterableToArray-a4407b22.js";
6
6
  import "react-dom";
7
7
  import "@commercelayer/sdk";
8
+ import "react-hook-form";
9
+ import "query-string";
8
10
  var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
9
11
  function Ie(t) {
10
12
  var o = t.defaultOptions, n = o === void 0 ? !1 : o, i = t.cacheOptions, u = i === void 0 ? !1 : i, r = t.loadOptions;
@@ -1,10 +1,12 @@
1
- import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-740e7f02.js";
1
+ import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-bd408fbe.js";
2
2
  import * as B from "react";
3
3
  import h, { forwardRef as Fn, createElement as ja, Component as Ua, createRef as Ba } from "react";
4
- import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-1a2db0a9.js";
4
+ import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-a4407b22.js";
5
5
  import * as Va from "react-dom";
6
6
  import Qa, { findDOMNode as $a } from "react-dom";
7
7
  import "@commercelayer/sdk";
8
+ import "react-hook-form";
9
+ import "query-string";
8
10
  var qa = Object.defineProperty, Ka = Object.defineProperties, Za = Object.getOwnPropertyDescriptors, zr = Object.getOwnPropertySymbols, za = Object.prototype.hasOwnProperty, Xa = Object.prototype.propertyIsEnumerable, Xr = (a, r, n) => r in a ? qa(a, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[r] = n, Ga = (a, r) => {
9
11
  for (var n in r || (r = {}))
10
12
  za.call(r, n) && Xr(a, n, r[n]);
@@ -1,10 +1,12 @@
1
- import { H as n } from "./main-740e7f02.js";
2
- import { u as s, S as m, c as p, s as i } from "./overrides-f9354b78.js";
1
+ import { H as n } from "./main-bd408fbe.js";
2
+ import { u as s, S as m, c as p, s as i } from "./overrides-684ed062.js";
3
3
  import * as c from "react";
4
4
  import { forwardRef as S } from "react";
5
5
  import "react-dom";
6
6
  import "@commercelayer/sdk";
7
- import "./unsupportedIterableToArray-1a2db0a9.js";
7
+ import "react-hook-form";
8
+ import "query-string";
9
+ import "./unsupportedIterableToArray-a4407b22.js";
8
10
  var f = /* @__PURE__ */ S(function(e, t) {
9
11
  var o = s(e);
10
12
  return /* @__PURE__ */ c.createElement(m, p({
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { type ResourceTypeLock } from '@commercelayer/sdk/lib/cjs/api';
2
3
  export interface BackToItem {
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { type OverlayProps } from '../ui/atoms/Overlay';
2
3
  interface OverlayNavigationOptions {
3
4
  /**