@rankingcoach/vanguard 1.4.2 → 1.5.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 (53) hide show
  1. package/dist/index-Accordion2.js +1 -1
  2. package/dist/index-CalendarPicker.js +1 -1
  3. package/dist/index-DateInput.js +4 -4
  4. package/dist/index-DateRange.js +1 -1
  5. package/dist/index-DropdownMenu.js +1 -1
  6. package/dist/index-InputRangeField.js +1 -1
  7. package/dist/index-LoginButton.js +1 -1
  8. package/dist/index-Menu.js +43 -251
  9. package/dist/index-Menu.module.scss.js +7 -0
  10. package/dist/index-Menu2.js +254 -0
  11. package/dist/index-MenuItem.js +38 -237
  12. package/dist/index-MenuItem2.js +240 -0
  13. package/dist/index-Month.js +2 -2
  14. package/dist/index-MonthPicker.js +1 -1
  15. package/dist/index-Parser2.js +2 -3
  16. package/dist/index-SearchableSelect.js +1 -1
  17. package/dist/index-Select.js +1 -1
  18. package/dist/index-SelectInput2.js +2 -2
  19. package/dist/index-Tooltip.js +1 -1
  20. package/dist/index-YearPicker.js +1 -1
  21. package/dist/index-_virtual10.js +5 -3
  22. package/dist/index-_virtual11.js +5 -5
  23. package/dist/index-_virtual12.js +2 -5
  24. package/dist/index-_virtual18.js +7 -2
  25. package/dist/index-_virtual19.js +2 -7
  26. package/dist/index-_virtual69.js +2 -2
  27. package/dist/index-_virtual70.js +4 -2
  28. package/dist/index-_virtual71.js +2 -4
  29. package/dist/index-_virtual72.js +4 -2
  30. package/dist/index-_virtual73.js +1 -1
  31. package/dist/index-_virtual74.js +1 -1
  32. package/dist/index-_virtual75.js +2 -4
  33. package/dist/index-_virtual76.js +2 -2
  34. package/dist/index-_virtual9.js +3 -2
  35. package/dist/index-accessibility.js +1 -1
  36. package/dist/index-dist3.js +1 -1
  37. package/dist/index-http.store.js +1 -1
  38. package/dist/index-useAutocomplete.js +1 -1
  39. package/dist/index-useControlled.js +26 -2
  40. package/dist/index-useControlled2.js +2 -26
  41. package/dist/index-useSlider.js +1 -1
  42. package/dist/index-useViews.js +1 -1
  43. package/dist/index-video.es.js +2 -2
  44. package/dist/index.js +396 -392
  45. package/dist/types/core/Menu/Menu.d.ts +17 -0
  46. package/dist/types/core/Menu/index.d.ts +2 -0
  47. package/dist/types/core/MenuItem/MenuItem.d.ts +14 -0
  48. package/dist/types/core/MenuItem/index.d.ts +2 -0
  49. package/dist/types/index.d.ts +62 -58
  50. package/dist/vanguard-asset-analysis.json +1 -1
  51. package/dist/vanguard.css +1 -1
  52. package/dist-wordpress/vanguard.css +1 -1
  53. package/package.json +1 -1
@@ -1,7 +1,2 @@
1
- import { getDefaultExportFromCjs as r } from "./index-_commonjsHelpers.js";
2
- import { __require as o } from "./index-axios.js";
3
- var t = o();
4
- const a = /* @__PURE__ */ r(t);
5
- export {
6
- a as default
7
- };
1
+ import { __require as r } from "./index-dist5.js";
2
+ r();
@@ -1,4 +1,4 @@
1
- var e = {};
1
+ var o = {};
2
2
  export {
3
- e as __exports
3
+ o as __exports
4
4
  };
@@ -1,4 +1,6 @@
1
- var o = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-isWeekend.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- o as __exports
5
+ m as default
4
6
  };
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isWeekend.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var t = {};
4
2
  export {
5
- m as default
3
+ t as __exports
6
4
  };
@@ -1,4 +1,6 @@
1
- var t = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-isEqual.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- t as __exports
5
+ m as default
4
6
  };
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isEqual.js";
2
+ import * as r from "./index-isValid2.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isValid2.js";
2
+ import * as r from "./index-parse3.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-parse3.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var s = {};
4
2
  export {
5
- m as default
3
+ s as __exports
6
4
  };
@@ -1,4 +1,4 @@
1
- var s = {};
1
+ var e = {};
2
2
  export {
3
- s as __exports
3
+ e as __exports
4
4
  };
@@ -1,4 +1,5 @@
1
- var r = {};
1
+ import { __require as r } from "./index-dist4.js";
2
+ var i = r();
2
3
  export {
3
- r as __exports
4
+ i as d
4
5
  };
@@ -1,4 +1,4 @@
1
- import { __exports as t } from "./index-_virtual76.js";
1
+ import { __exports as t } from "./index-_virtual75.js";
2
2
  import { __require as s } from "./index-prop-types.js";
3
3
  var a;
4
4
  function f() {
@@ -1,4 +1,4 @@
1
- import { __exports as t } from "./index-_virtual9.js";
1
+ import { __exports as t } from "./index-_virtual12.js";
2
2
  import { __require as c } from "./index-normalizeText.js";
3
3
  import { __require as i } from "./index-impl.js";
4
4
  var a;
@@ -1,5 +1,5 @@
1
1
  import { PublicWidgetData as D } from "./index-public-widgets-data.store.js";
2
- import H from "./index-_virtual19.js";
2
+ import H from "./index-_virtual18.js";
3
3
  import { BaseStore as T } from "./index-base.store.js";
4
4
  import { parseParams as l } from "./index-parse-params.js";
5
5
  import { stores as q } from "./index-stores.js";
@@ -1,7 +1,7 @@
1
1
  import Ce from "./index-extends.js";
2
2
  import * as p from "react";
3
3
  import it from "./index-useId2.js";
4
- import ce from "./index-useControlled2.js";
4
+ import ce from "./index-useControlled.js";
5
5
  import st from "./index-usePreviousProps.js";
6
6
  import Z from "./index-useEventCallback2.js";
7
7
  import lt from "./index-setRef.js";
@@ -1,4 +1,28 @@
1
- import e from "./index-useControlled2.js";
1
+ import * as e from "react";
2
+ function f({
3
+ controlled: t,
4
+ default: n,
5
+ name: r,
6
+ state: i = "value"
7
+ }) {
8
+ const {
9
+ current: o
10
+ } = e.useRef(t !== void 0), [l, c] = e.useState(n), a = o ? t : l;
11
+ if (process.env.NODE_ENV !== "production") {
12
+ e.useEffect(() => {
13
+ }, [i, r, t]);
14
+ const {
15
+ current: s
16
+ } = e.useRef(n);
17
+ e.useEffect(() => {
18
+ !o && Object.is(s, n);
19
+ }, [JSON.stringify(n)]);
20
+ }
21
+ const u = e.useCallback((s) => {
22
+ o || c(s);
23
+ }, []);
24
+ return [a, u];
25
+ }
2
26
  export {
3
- e as default
27
+ f as default
4
28
  };
@@ -1,28 +1,4 @@
1
- import * as e from "react";
2
- function f({
3
- controlled: t,
4
- default: n,
5
- name: r,
6
- state: i = "value"
7
- }) {
8
- const {
9
- current: o
10
- } = e.useRef(t !== void 0), [l, c] = e.useState(n), a = o ? t : l;
11
- if (process.env.NODE_ENV !== "production") {
12
- e.useEffect(() => {
13
- }, [i, r, t]);
14
- const {
15
- current: s
16
- } = e.useRef(n);
17
- e.useEffect(() => {
18
- !o && Object.is(s, n);
19
- }, [JSON.stringify(n)]);
20
- }
21
- const u = e.useCallback((s) => {
22
- o || c(s);
23
- }, []);
24
- return [a, u];
25
- }
1
+ import e from "./index-useControlled.js";
26
2
  export {
27
- f as default
3
+ e as default
28
4
  };
@@ -1,7 +1,7 @@
1
1
  import M from "./index-extends.js";
2
2
  import * as g from "react";
3
3
  import Re from "./index-areArraysEqual.js";
4
- import $e from "./index-useControlled2.js";
4
+ import $e from "./index-useControlled.js";
5
5
  import R from "./index-clamp2.js";
6
6
  import Fe from "./index-useIsFocusVisible2.js";
7
7
  import fe from "./index-useForkRef.js";
@@ -1,6 +1,6 @@
1
1
  import * as c from "react";
2
2
  import { arrayIncludes as b } from "./index-utils10.js";
3
- import h from "./index-useControlled2.js";
3
+ import h from "./index-useControlled.js";
4
4
  function S({
5
5
  onChange: r,
6
6
  onViewChange: l,
@@ -4,8 +4,8 @@ import Rt from "./index-extends.js";
4
4
  import Y from "./index-assertThisInitialized.js";
5
5
  import V from "./index-inheritsLoose.js";
6
6
  import Yd from "./index-tuple.js";
7
- import J from "./index-_virtual11.js";
8
- import po from "./index-_virtual12.js";
7
+ import J from "./index-_virtual10.js";
8
+ import po from "./index-_virtual11.js";
9
9
  import ys from "./index-browser-index.js";
10
10
  import Jd from "./index-construct.js";
11
11
  import Zd from "./index-inherits.js";