@lumx/react 3.20.1-alpha.27 → 3.20.1-alpha.28
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.
- package/_internal/{Button-2b55a913.js → Button-5a87fee9.js} +5 -5
- package/_internal/{Button-2b55a913.js.map → Button-5a87fee9.js.map} +1 -1
- package/_internal/{ButtonRoot-823f3e9c.js → ButtonRoot-bf682215.js} +2 -2
- package/_internal/{ButtonRoot-823f3e9c.js.map → ButtonRoot-bf682215.js.map} +1 -1
- package/_internal/{Chip-e1e85810.js → Chip-8d0aae06.js} +2 -2
- package/_internal/{Chip-e1e85810.js.map → Chip-8d0aae06.js.map} +1 -1
- package/_internal/{IconButton-be160cb0.js → IconButton-351389b0.js} +5 -5
- package/_internal/{IconButton-be160cb0.js.map → IconButton-351389b0.js.map} +1 -1
- package/_internal/{ImageCaption-fcf5720c.js → ImageCaption-4109b433.js} +4 -4
- package/_internal/{ImageCaption-fcf5720c.js.map → ImageCaption-4109b433.js.map} +1 -1
- package/_internal/{List-dbf4297f.js → List-b7882a99.js} +241 -215
- package/_internal/{List-dbf4297f.js.map → List-b7882a99.js.map} +1 -1
- package/_internal/{PopoverDialog-193a0918.js → PopoverDialog-2e7b9ed5.js} +10 -10
- package/_internal/{PopoverDialog-193a0918.js.map → PopoverDialog-2e7b9ed5.js.map} +1 -1
- package/_internal/{Slides-2d267d8c.js → Slides-83646e84.js} +3 -3
- package/_internal/{Slides-2d267d8c.js.map → Slides-83646e84.js.map} +1 -1
- package/_internal/{Thumbnail-0872250e.js → Thumbnail-741501a5.js} +3 -3
- package/_internal/{Thumbnail-0872250e.js.map → Thumbnail-741501a5.js.map} +1 -1
- package/_internal/components/{alert-dialog-a6ed922b.js → alert-dialog-5df4f133.js} +6 -6
- package/_internal/components/{alert-dialog-a6ed922b.js.map → alert-dialog-5df4f133.js.map} +1 -1
- package/_internal/components/{autocomplete-c97b7698.js → autocomplete-824c779e.js} +7 -7
- package/_internal/components/{autocomplete-c97b7698.js.map → autocomplete-824c779e.js.map} +1 -1
- package/_internal/components/{avatar-d2214a61.js → avatar-69b66f01.js} +3 -3
- package/_internal/components/{avatar-d2214a61.js.map → avatar-69b66f01.js.map} +1 -1
- package/_internal/components/{badge-8390e590.js → badge-63cd3b1c.js} +2 -2
- package/_internal/components/{badge-8390e590.js.map → badge-63cd3b1c.js.map} +1 -1
- package/_internal/components/{button-b05f8f0c.js → button-eebd4e00.js} +4 -4
- package/_internal/components/{button-b05f8f0c.js.map → button-eebd4e00.js.map} +1 -1
- package/_internal/components/{checkbox-346834f8.js → checkbox-54943a02.js} +5 -5
- package/_internal/components/{checkbox-346834f8.js.map → checkbox-54943a02.js.map} +1 -1
- package/_internal/components/{chip-e3a6330f.js → chip-9ad6b318.js} +3 -3
- package/_internal/components/{chip-e3a6330f.js.map → chip-9ad6b318.js.map} +1 -1
- package/_internal/components/{comment-block-b1acc69f.js → comment-block-55a4ab3c.js} +4 -4
- package/_internal/components/{comment-block-b1acc69f.js.map → comment-block-55a4ab3c.js.map} +1 -1
- package/_internal/components/date-picker-a824a3ae.js +2 -0
- package/_internal/components/date-picker-a824a3ae.js.map +1 -0
- package/_internal/components/{dialog-785646aa.js → dialog-5e6320b8.js} +4 -4
- package/_internal/components/{dialog-785646aa.js.map → dialog-5e6320b8.js.map} +1 -1
- package/_internal/components/{divider-116af6b9.js → divider-bdf11ba3.js} +2 -2
- package/_internal/components/{divider-116af6b9.js.map → divider-bdf11ba3.js.map} +1 -1
- package/_internal/components/{drag-handle-6b073866.js → drag-handle-45912fd3.js} +3 -3
- package/_internal/components/{drag-handle-6b073866.js.map → drag-handle-45912fd3.js.map} +1 -1
- package/_internal/components/{dropdown-c0c0cfe8.js → dropdown-0216211d.js} +5 -5
- package/_internal/components/{dropdown-c0c0cfe8.js.map → dropdown-0216211d.js.map} +1 -1
- package/_internal/components/{expansion-panel-1de1d1ff.js → expansion-panel-3ce73c6b.js} +4 -4
- package/_internal/components/{expansion-panel-1de1d1ff.js.map → expansion-panel-3ce73c6b.js.map} +1 -1
- package/_internal/components/{flag-7c9d3abf.js → flag-1b177f78.js} +4 -4
- package/_internal/components/{flag-7c9d3abf.js.map → flag-1b177f78.js.map} +1 -1
- package/_internal/components/{flex-box-10423fa5.js → flex-box-93b97715.js} +2 -2
- package/_internal/components/{flex-box-10423fa5.js.map → flex-box-93b97715.js.map} +1 -1
- package/_internal/components/{generic-block-b79f163a.js → generic-block-925f7c5b.js} +3 -3
- package/_internal/components/{generic-block-b79f163a.js.map → generic-block-925f7c5b.js.map} +1 -1
- package/_internal/components/{grid-6f1b5a41.js → grid-95fd1493.js} +2 -2
- package/_internal/components/{grid-6f1b5a41.js.map → grid-95fd1493.js.map} +1 -1
- package/_internal/components/{grid-column-ee504283.js → grid-column-43f28cfb.js} +2 -2
- package/_internal/components/{grid-column-ee504283.js.map → grid-column-43f28cfb.js.map} +1 -1
- package/_internal/components/{heading-d4c66a34.js → heading-45d6e78e.js} +3 -3
- package/_internal/components/{heading-d4c66a34.js.map → heading-45d6e78e.js.map} +1 -1
- package/_internal/components/icon-79195151.js +2 -0
- package/_internal/components/icon-79195151.js.map +1 -0
- package/_internal/components/{image-block-762eb669.js → image-block-aba6d2db.js} +4 -4
- package/_internal/components/{image-block-762eb669.js.map → image-block-aba6d2db.js.map} +1 -1
- package/_internal/components/{image-lightbox-10fef304.js → image-lightbox-8b8e77c2.js} +8 -8
- package/_internal/components/{image-lightbox-10fef304.js.map → image-lightbox-8b8e77c2.js.map} +1 -1
- package/_internal/components/{inline-list-e6f19a98.js → inline-list-dfb9fd34.js} +2 -2
- package/_internal/components/{inline-list-e6f19a98.js.map → inline-list-dfb9fd34.js.map} +1 -1
- package/_internal/components/{input-helper-64153099.js → input-helper-c8a0078b.js} +2 -2
- package/_internal/components/{input-helper-64153099.js.map → input-helper-c8a0078b.js.map} +1 -1
- package/_internal/components/{input-label-2feb0bb0.js → input-label-9711398b.js} +2 -2
- package/_internal/components/{input-label-2feb0bb0.js.map → input-label-9711398b.js.map} +1 -1
- package/_internal/components/{lightbox-dcc9a7a0.js → lightbox-894abe64.js} +4 -4
- package/_internal/components/{lightbox-dcc9a7a0.js.map → lightbox-894abe64.js.map} +1 -1
- package/_internal/components/{link-f9421eab.js → link-e70e64ed.js} +4 -4
- package/_internal/components/{link-f9421eab.js.map → link-e70e64ed.js.map} +1 -1
- package/_internal/components/{link-preview-5c7e3878.js → link-preview-e56f3570.js} +4 -4
- package/_internal/components/{link-preview-5c7e3878.js.map → link-preview-e56f3570.js.map} +1 -1
- package/_internal/components/{list-f29e54b7.js → list-59b7ce56.js} +3 -3
- package/_internal/components/{list-f29e54b7.js.map → list-59b7ce56.js.map} +1 -1
- package/_internal/components/{message-aa3e3f76.js → message-a255dfd3.js} +4 -4
- package/_internal/components/{message-aa3e3f76.js.map → message-a255dfd3.js.map} +1 -1
- package/_internal/components/{mosaic-b4b35fa7.js → mosaic-192f2270.js} +4 -4
- package/_internal/components/mosaic-192f2270.js.map +1 -0
- package/_internal/components/{navigation-8357dbe6.js → navigation-dfe8aac0.js} +7 -7
- package/_internal/components/{navigation-8357dbe6.js.map → navigation-dfe8aac0.js.map} +1 -1
- package/_internal/components/{notification-ec4cf95f.js → notification-10f289b5.js} +4 -4
- package/_internal/components/{notification-ec4cf95f.js.map → notification-10f289b5.js.map} +1 -1
- package/_internal/components/popover-6c7f745b.js +3 -0
- package/_internal/components/popover-6c7f745b.js.map +1 -0
- package/_internal/components/{post-block-bb3d3cbf.js → post-block-f7dcc6e9.js} +4 -4
- package/_internal/components/{post-block-bb3d3cbf.js.map → post-block-f7dcc6e9.js.map} +1 -1
- package/_internal/components/{progress-f39c3fa2.js → progress-7a05fb0c.js} +2 -2
- package/_internal/components/{progress-f39c3fa2.js.map → progress-7a05fb0c.js.map} +1 -1
- package/_internal/components/{progress-tracker-997931ac.js → progress-tracker-48876add.js} +5 -5
- package/_internal/components/{progress-tracker-997931ac.js.map → progress-tracker-48876add.js.map} +1 -1
- package/_internal/components/{radio-button-559a4863.js → radio-button-07cf45e9.js} +4 -4
- package/_internal/components/{radio-button-559a4863.js.map → radio-button-07cf45e9.js.map} +1 -1
- package/_internal/components/{select-8295a416.js → select-8b54a444.js} +9 -9
- package/_internal/components/{select-8295a416.js.map → select-8b54a444.js.map} +1 -1
- package/_internal/components/{side-navigation-40ee8bda.js → side-navigation-7eeed3b4.js} +4 -4
- package/_internal/components/{side-navigation-40ee8bda.js.map → side-navigation-7eeed3b4.js.map} +1 -1
- package/_internal/components/{skeleton-c66516ee.js → skeleton-a4e84085.js} +2 -2
- package/_internal/components/{skeleton-c66516ee.js.map → skeleton-a4e84085.js.map} +1 -1
- package/_internal/components/{slider-efbfbc45.js → slider-5d64b470.js} +4 -4
- package/_internal/components/{slider-efbfbc45.js.map → slider-5d64b470.js.map} +1 -1
- package/_internal/components/{slideshow-c5faf531.js → slideshow-bce65cf6.js} +4 -4
- package/_internal/components/{slideshow-c5faf531.js.map → slideshow-bce65cf6.js.map} +1 -1
- package/_internal/components/{switch-a26a5a72.js → switch-7ae55d89.js} +4 -4
- package/_internal/components/{switch-a26a5a72.js.map → switch-7ae55d89.js.map} +1 -1
- package/_internal/components/{table-c43ec4a5.js → table-5bdf4aec.js} +3 -3
- package/_internal/components/{table-c43ec4a5.js.map → table-5bdf4aec.js.map} +1 -1
- package/_internal/components/{tabs-4037fe57.js → tabs-2ad54592.js} +4 -4
- package/_internal/components/{tabs-4037fe57.js.map → tabs-2ad54592.js.map} +1 -1
- package/_internal/components/text-09c81111.js +2 -0
- package/_internal/components/text-09c81111.js.map +1 -0
- package/_internal/components/{text-field-82adaeb4.js → text-field-3e1030f0.js} +6 -6
- package/_internal/components/{text-field-82adaeb4.js.map → text-field-3e1030f0.js.map} +1 -1
- package/_internal/components/{thumbnail-f1784929.js → thumbnail-1c5828b9.js} +2 -2
- package/_internal/components/{thumbnail-f1784929.js.map → thumbnail-1c5828b9.js.map} +1 -1
- package/_internal/components/{toolbar-a43533a2.js → toolbar-0d14efb7.js} +2 -2
- package/_internal/components/{toolbar-a43533a2.js.map → toolbar-0d14efb7.js.map} +1 -1
- package/_internal/components/{tooltip-aa48ddda.js → tooltip-31181a24.js} +3 -3
- package/_internal/components/{tooltip-aa48ddda.js.map → tooltip-31181a24.js.map} +1 -1
- package/_internal/components/{uploader-7bc3adaa.js → uploader-845b2412.js} +3 -3
- package/_internal/components/{uploader-7bc3adaa.js.map → uploader-845b2412.js.map} +1 -1
- package/_internal/components/{user-block-fc03f01a.js → user-block-91c30797.js} +4 -4
- package/_internal/components/{user-block-fc03f01a.js.map → user-block-91c30797.js.map} +1 -1
- package/_internal/{constants-b9e57936.js → constants-9b714e31.js} +145 -133
- package/_internal/{constants-b9e57936.js.map → constants-9b714e31.js.map} +1 -1
- package/_internal/forwardRef-d0e90329.js +82 -0
- package/_internal/{forwardRef-15f62847.js.map → forwardRef-d0e90329.js.map} +1 -1
- package/_internal/{index-8e7fecb5.js → index-68e1b0af.js} +4 -4
- package/_internal/{index-8e7fecb5.js.map → index-68e1b0af.js.map} +1 -1
- package/_internal/{index-192f8ada.js → index-745f94ee.js} +2 -2
- package/_internal/{index-192f8ada.js.map → index-745f94ee.js.map} +1 -1
- package/_internal/{index-b06353f2.js → index-ab520e78.js} +3 -3
- package/_internal/{index-b06353f2.js.map → index-ab520e78.js.map} +1 -1
- package/_internal/{wrapChildrenIconWithSpaces-f1e91251.js → wrapChildrenIconWithSpaces-e6038f72.js} +2 -2
- package/_internal/{wrapChildrenIconWithSpaces-f1e91251.js.map → wrapChildrenIconWithSpaces-e6038f72.js.map} +1 -1
- package/index.js +61 -61
- package/package.json +7 -13
- package/_internal/components/date-picker-582c4925.js +0 -2
- package/_internal/components/date-picker-582c4925.js.map +0 -1
- package/_internal/components/icon-7c79ab42.js +0 -2
- package/_internal/components/icon-7c79ab42.js.map +0 -1
- package/_internal/components/mosaic-b4b35fa7.js.map +0 -1
- package/_internal/components/popover-a674dd8d.js +0 -3
- package/_internal/components/popover-a674dd8d.js.map +0 -1
- package/_internal/components/text-851c62f8.js +0 -2
- package/_internal/components/text-851c62f8.js.map +0 -1
- package/_internal/forwardRef-15f62847.js +0 -70
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { g as getDefaultExportFromCjs } from './forwardRef-d0e90329.js';
|
|
2
3
|
import { I as IS_BROWSER } from './constants-d0e3f49e.js';
|
|
3
4
|
|
|
4
5
|
var top = 'top';
|
|
@@ -1859,138 +1860,149 @@ var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document
|
|
|
1859
1860
|
|
|
1860
1861
|
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
1861
1862
|
|
|
1862
|
-
var
|
|
1863
|
-
var
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
if (
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1863
|
+
var reactFastCompare;
|
|
1864
|
+
var hasRequiredReactFastCompare;
|
|
1865
|
+
|
|
1866
|
+
function requireReactFastCompare () {
|
|
1867
|
+
if (hasRequiredReactFastCompare) return reactFastCompare;
|
|
1868
|
+
hasRequiredReactFastCompare = 1;
|
|
1869
|
+
var hasElementType = typeof Element !== 'undefined';
|
|
1870
|
+
var hasMap = typeof Map === 'function';
|
|
1871
|
+
var hasSet = typeof Set === 'function';
|
|
1872
|
+
var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
1873
|
+
|
|
1874
|
+
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
1875
|
+
|
|
1876
|
+
function equal(a, b) {
|
|
1877
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
1878
|
+
if (a === b) return true;
|
|
1879
|
+
|
|
1880
|
+
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
1881
|
+
if (a.constructor !== b.constructor) return false;
|
|
1882
|
+
|
|
1883
|
+
var length, i, keys;
|
|
1884
|
+
if (Array.isArray(a)) {
|
|
1885
|
+
length = a.length;
|
|
1886
|
+
if (length != b.length) return false;
|
|
1887
|
+
for (i = length; i-- !== 0;)
|
|
1888
|
+
if (!equal(a[i], b[i])) return false;
|
|
1889
|
+
return true;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
// START: Modifications:
|
|
1893
|
+
// 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
|
|
1894
|
+
// to co-exist with es5.
|
|
1895
|
+
// 2. Replace `for of` with es5 compliant iteration using `for`.
|
|
1896
|
+
// Basically, take:
|
|
1897
|
+
//
|
|
1898
|
+
// ```js
|
|
1899
|
+
// for (i of a.entries())
|
|
1900
|
+
// if (!b.has(i[0])) return false;
|
|
1901
|
+
// ```
|
|
1902
|
+
//
|
|
1903
|
+
// ... and convert to:
|
|
1904
|
+
//
|
|
1905
|
+
// ```js
|
|
1906
|
+
// it = a.entries();
|
|
1907
|
+
// while (!(i = it.next()).done)
|
|
1908
|
+
// if (!b.has(i.value[0])) return false;
|
|
1909
|
+
// ```
|
|
1910
|
+
//
|
|
1911
|
+
// **Note**: `i` access switches to `i.value`.
|
|
1912
|
+
var it;
|
|
1913
|
+
if (hasMap && (a instanceof Map) && (b instanceof Map)) {
|
|
1914
|
+
if (a.size !== b.size) return false;
|
|
1915
|
+
it = a.entries();
|
|
1916
|
+
while (!(i = it.next()).done)
|
|
1917
|
+
if (!b.has(i.value[0])) return false;
|
|
1918
|
+
it = a.entries();
|
|
1919
|
+
while (!(i = it.next()).done)
|
|
1920
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
1921
|
+
return true;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
if (hasSet && (a instanceof Set) && (b instanceof Set)) {
|
|
1925
|
+
if (a.size !== b.size) return false;
|
|
1926
|
+
it = a.entries();
|
|
1927
|
+
while (!(i = it.next()).done)
|
|
1928
|
+
if (!b.has(i.value[0])) return false;
|
|
1929
|
+
return true;
|
|
1930
|
+
}
|
|
1931
|
+
// END: Modifications
|
|
1932
|
+
|
|
1933
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
1934
|
+
length = a.length;
|
|
1935
|
+
if (length != b.length) return false;
|
|
1936
|
+
for (i = length; i-- !== 0;)
|
|
1937
|
+
if (a[i] !== b[i]) return false;
|
|
1938
|
+
return true;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
1942
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
1943
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
1944
|
+
|
|
1945
|
+
keys = Object.keys(a);
|
|
1946
|
+
length = keys.length;
|
|
1947
|
+
if (length !== Object.keys(b).length) return false;
|
|
1948
|
+
|
|
1949
|
+
for (i = length; i-- !== 0;)
|
|
1950
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
1951
|
+
// END: fast-deep-equal
|
|
1952
|
+
|
|
1953
|
+
// START: react-fast-compare
|
|
1954
|
+
// custom handling for DOM elements
|
|
1955
|
+
if (hasElementType && a instanceof Element) return false;
|
|
1956
|
+
|
|
1957
|
+
// custom handling for React/Preact
|
|
1958
|
+
for (i = length; i-- !== 0;) {
|
|
1959
|
+
if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
|
|
1960
|
+
// React-specific: avoid traversing React elements' _owner
|
|
1961
|
+
// Preact-specific: avoid traversing Preact elements' __v and __o
|
|
1962
|
+
// __v = $_original / $_vnode
|
|
1963
|
+
// __o = $_owner
|
|
1964
|
+
// These properties contain circular references and are not needed when
|
|
1965
|
+
// comparing the actual elements (and not their owners)
|
|
1966
|
+
// .$$typeof and ._store on just reasonable markers of elements
|
|
1967
|
+
|
|
1968
|
+
continue;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
// all other properties should be traversed as usual
|
|
1972
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
1973
|
+
}
|
|
1974
|
+
// END: react-fast-compare
|
|
1975
|
+
|
|
1976
|
+
// START: fast-deep-equal
|
|
1977
|
+
return true;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
return a !== a && b !== b;
|
|
1981
|
+
}
|
|
1982
|
+
// end fast-deep-equal
|
|
1983
|
+
|
|
1984
|
+
reactFastCompare = function isEqual(a, b) {
|
|
1985
|
+
try {
|
|
1986
|
+
return equal(a, b);
|
|
1987
|
+
} catch (error) {
|
|
1988
|
+
if (((error.message || '').match(/stack|recursion/i))) {
|
|
1989
|
+
// warn on circular references, don't crash
|
|
1990
|
+
// browsers give this different errors name and messages:
|
|
1991
|
+
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
1992
|
+
// firefox: "InternalError", too much recursion"
|
|
1993
|
+
// edge: "Error", "Out of stack space"
|
|
1994
|
+
console.warn('react-fast-compare cannot handle circular refs');
|
|
1995
|
+
return false;
|
|
1996
|
+
}
|
|
1997
|
+
// some other error. we should definitely know about these
|
|
1998
|
+
throw error;
|
|
1999
|
+
}
|
|
2000
|
+
};
|
|
2001
|
+
return reactFastCompare;
|
|
1974
2002
|
}
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
var
|
|
1978
|
-
try {
|
|
1979
|
-
return equal(a, b);
|
|
1980
|
-
} catch (error) {
|
|
1981
|
-
if (((error.message || '').match(/stack|recursion/i))) {
|
|
1982
|
-
// warn on circular references, don't crash
|
|
1983
|
-
// browsers give this different errors name and messages:
|
|
1984
|
-
// chrome/safari: "RangeError", "Maximum call stack size exceeded"
|
|
1985
|
-
// firefox: "InternalError", too much recursion"
|
|
1986
|
-
// edge: "Error", "Out of stack space"
|
|
1987
|
-
console.warn('react-fast-compare cannot handle circular refs');
|
|
1988
|
-
return false;
|
|
1989
|
-
}
|
|
1990
|
-
// some other error. we should definitely know about these
|
|
1991
|
-
throw error;
|
|
1992
|
-
}
|
|
1993
|
-
};
|
|
2003
|
+
|
|
2004
|
+
var reactFastCompareExports = requireReactFastCompare();
|
|
2005
|
+
var isEqual = /*@__PURE__*/getDefaultExportFromCjs(reactFastCompareExports);
|
|
1994
2006
|
|
|
1995
2007
|
var EMPTY_MODIFIERS = [];
|
|
1996
2008
|
var usePopper$1 = function usePopper(referenceElement, popperElement, options) {
|
|
@@ -2050,7 +2062,7 @@ var usePopper$1 = function usePopper(referenceElement, popperElement, options) {
|
|
|
2050
2062
|
}])
|
|
2051
2063
|
};
|
|
2052
2064
|
|
|
2053
|
-
if (
|
|
2065
|
+
if (isEqual(prevOptions.current, newOptions)) {
|
|
2054
2066
|
return prevOptions.current || newOptions;
|
|
2055
2067
|
} else {
|
|
2056
2068
|
prevOptions.current = newOptions;
|
|
@@ -2152,4 +2164,4 @@ const ARROW_SIZE = 14;
|
|
|
2152
2164
|
const POPOVER_ZINDEX = 9999;
|
|
2153
2165
|
|
|
2154
2166
|
export { ARROW_SIZE as A, FitAnchorWidth as F, Placement as P, POPOVER_ZINDEX as a, detectOverflow as d, usePopper as u };
|
|
2155
|
-
//# sourceMappingURL=constants-
|
|
2167
|
+
//# sourceMappingURL=constants-9b714e31.js.map
|