@zydon/common 2.3.78 → 2.3.80
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/dist/{chunk-HL5DXU2J.js → chunk-2GKU4A6U.js} +2 -2
- package/dist/{chunk-SWZLKKXM.js → chunk-34V3H4WY.js} +1 -1
- package/dist/{chunk-MK3VIGNS.js → chunk-3ZWJQJRF.js} +1 -1
- package/dist/{chunk-ATN7DCPH.js → chunk-5LZ3OFQU.js} +3 -3
- package/dist/{chunk-7HJ7HQNS.js → chunk-BYRQXDON.js} +3 -3
- package/dist/{chunk-OGSHYKHM.js → chunk-CNCT3DPL.js} +1 -1
- package/dist/{chunk-O6KL2FPT.js → chunk-OTNGRURZ.js} +2 -2
- package/dist/{chunk-RTP7PRVW.js → chunk-POPOWKA6.js} +1 -1
- package/dist/{chunk-ORBGA6LS.js → chunk-QMX3352S.js} +1 -1
- package/dist/{chunk-6NPT2Z7O.js → chunk-ROKOCDET.js} +1 -1
- package/dist/{chunk-JEPJ56KI.js → chunk-SDIZ2I4L.js} +1 -1
- package/dist/{chunk-RZMIZ6VQ.js → chunk-U5W2XQOC.js} +1 -1
- package/dist/{chunk-OFUFEULD.js → chunk-WBILCVTW.js} +2 -2
- package/dist/{chunk-XRBDHF7Q.js → chunk-XPIJBARU.js} +1 -1
- package/dist/components/ActionButton/index.js +3 -3
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/BuilderLayout/index.js +3 -3
- package/dist/components/BuilderSidebar/index.js +2 -2
- package/dist/components/Common/index.js +2 -2
- package/dist/components/DragButton/index.js +3 -3
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/Error/index.js +2 -2
- package/dist/components/ExpandableGroup/index.js +2 -2
- package/dist/components/FrameSkeleton/index.js +3 -3
- package/dist/components/HelpButton/index.js +3 -3
- package/dist/components/Icon/index.js +2 -2
- package/dist/components/IconButton/index.js +2 -2
- package/dist/components/ImageCropModal/index.js +4 -4
- package/dist/components/Incrementer/index.js +3 -3
- package/dist/components/MenuItem/index.js +2 -2
- package/dist/components/Modal/index.js +3 -3
- package/dist/components/MoreMenu/index.js +2 -2
- package/dist/components/PasswordRules/index.js +2 -2
- package/dist/components/PopoverSelect/index.js +2 -2
- package/dist/components/SearchInput/index.js +3 -3
- package/dist/components/SelectableCards/index.js +4 -4
- package/dist/components/SeoPreview/index.js +2 -2
- package/dist/components/Steps/index.js +2 -2
- package/dist/components/StyledTab/index.js +2 -2
- package/dist/components/SwapList/index.js +3 -3
- package/dist/components/WebhookCard/index.js +2 -2
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/form/Address/index.js +4 -4
- package/dist/components/form/Autocomplete/index.js +4 -4
- package/dist/components/form/Incrementer/index.js +3 -3
- package/dist/components/form/Password/index.js +2 -2
- package/dist/components/form/SelectableCards/index.js +4 -4
- package/dist/components/form/UploadAvatarWithCrop/index.js +5 -5
- package/dist/components/form/UploadWithCrop/index.js +6 -6
- package/dist/components/form/Webhook/index.js +5 -5
- package/dist/components/lightbox/index.js +2 -2
- package/dist/components/upload/index.js +7 -7
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/with-settings/index.d.ts +1 -1
- package/dist/types/icon.d.ts +1 -0
- package/dist/types/icon.js +1 -1
- package/dist/{types-1b2e3959.d.ts → types-dd2ed906.d.ts} +1 -1
- package/dist/utils/dnd.d.ts +7 -1
- package/dist/utils/dnd.js +3 -3
- package/package.json +1 -1
package/dist/utils/dnd.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { Active, Over } from '@dnd-kit/core';
|
|
2
2
|
export * from '@dnd-kit/core';
|
|
3
|
+
export * from '@dnd-kit/accessibility';
|
|
3
4
|
export * from '@dnd-kit/modifiers';
|
|
4
5
|
export * from '@dnd-kit/sortable';
|
|
5
6
|
export * from '@dnd-kit/utilities';
|
|
7
|
+
|
|
8
|
+
declare const getData: <T>(data: Active | Over | undefined, propName: string) => T | undefined;
|
|
9
|
+
declare const getIndex: (data: Active | Over | undefined) => number;
|
|
10
|
+
|
|
11
|
+
export { getData, getIndex };
|
package/dist/utils/dnd.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { x as CSS, r as add, b as canUseDOM, y as findFirstFocusableNode, w as getEventCoordinates, i as getOwnerDocument, e as getWindow, t as hasViewportRelativeCoordinates, f as isDocument, g as isHTMLElement, u as isKeyboardEvent, d as isNode, h as isSVGElement, v as isTouchEvent, c as isWindow, s as subtract, a as useCombinedRefs, k as useEvent, l as useInterval, j as useIsomorphicLayoutEffect, m as useLatestValue, n as useLazyMemo, o as useNodeRef, p as usePrevious, q as useUniqueId } from '../chunk-2P4CXK3O.js';
|
|
2
|
-
import
|
|
2
|
+
import i, { useState, useCallback } from 'react';
|
|
3
3
|
export * from '@dnd-kit/core';
|
|
4
4
|
export * from '@dnd-kit/modifiers';
|
|
5
5
|
export * from '@dnd-kit/sortable';
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var c={display:"none"};function q(e){let{id:n,value:t}=e;return i.createElement("div",{id:n,style:c},t)}function z(e){let{id:n,announcement:t,ariaLiveType:r="assertive"}=e,o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return i.createElement("div",{id:n,style:o,role:"status","aria-live":r,"aria-atomic":!0},t)}function B(){let[e,n]=useState("");return {announce:useCallback(r=>{r!=null&&n(r);},[]),announcement:e}}var u=(e,n)=>{if(e?.data?.current)return e.data.current[n]},G=e=>u(e,"index")||0;
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { q as HiddenText, z as LiveRegion, u as getData, G as getIndex, B as useAnnouncement };
|