@rpcbase/ui 0.233.0 → 0.234.0
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/index167.js +3 -3
- package/dist/index172.js +3 -3
- package/dist/index175.js +1 -1
- package/dist/index176.js +4 -4
- package/dist/index182.js +1 -1
- package/dist/index184.js +12 -12
- package/dist/index185.js +1 -1
- package/dist/index187.js +5 -5
- package/dist/index189.js +6 -6
- package/dist/index190.js +5 -5
- package/dist/index193.js +3 -3
- package/dist/index194.js +5 -5
- package/dist/index198.js +57 -36
- package/dist/index198.js.map +1 -1
- package/dist/index199.js.map +1 -1
- package/dist/index262.js +2 -2
- package/dist/index274.js +1 -1
- package/dist/index278.js +20 -20
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +24 -62
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +16 -6
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +20 -12
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +64 -48
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +7 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +11 -29
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +49 -15
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +4 -6
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +28 -20
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +15 -50
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +5 -25
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +21 -41
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +50 -38
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +26 -45
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +40 -19
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +38 -69
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +45 -18
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +20 -11
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +69 -26
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +16 -12
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +10 -17
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +26 -35
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +12 -261
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +15 -275
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +36 -68
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +256 -93
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +270 -75
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +68 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +96 -26
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +83 -16
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +4 -35
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +28 -15
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +16 -3
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +35 -27
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +16 -28
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +4 -4
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +23 -75
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -266
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +4 -12
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +79 -11
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +267 -23
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +11 -16
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +10 -125
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +24 -4
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +16 -40
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +121 -61
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +6 -14
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +40 -7
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +65 -5
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +14 -4
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +7 -10
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +5 -7
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +3 -133
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +9 -398
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +7 -52
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +133 -11
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +399 -11
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +51 -18
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +11 -28
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +11 -16
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +1 -1
- package/dist/index346.js +2 -2
- package/dist/index347.js +122 -5
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +31 -121
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +72 -31
- package/dist/index349.js.map +1 -1
- package/dist/index350.js +139 -70
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +35 -116
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +44 -56
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +14 -49
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +6 -15
- package/dist/index354.js.map +1 -1
- package/dist/index368.js +1 -1
- package/dist/index371.js +2 -2
- package/dist/index372.js +3 -3
- package/dist/index374.js +3 -3
- package/dist/index375.js +1 -1
- package/dist/index376.js +3 -3
- package/dist/index378.js +2 -2
- package/dist/index380.js +1 -1
- package/dist/index381.js +2 -2
- package/dist/index384.js +2 -2
- package/dist/index386.js +1 -1
- package/dist/index407.js +1 -1
- package/dist/index417.js +1 -1
- package/dist/index418.js +1 -1
- package/dist/index421.js +1 -1
- package/dist/index422.js +1 -1
- package/dist/index427.js +2 -2
- package/dist/index429.js +2 -2
- package/dist/index44.js +1 -1
- package/dist/index45.js +2 -2
- package/dist/index49.js +28 -28
- package/dist/index50.js +21 -21
- package/dist/index51.js +1 -1
- package/dist/index52.js +8 -8
- package/dist/index53.js +2 -2
- package/dist/index55.js +17 -17
- package/dist/index56.js +4 -4
- package/dist/index57.js +3 -3
- package/dist/index58.js +7 -7
- package/dist/index59.js +4 -4
- package/dist/index60.js +12 -12
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -2
- package/dist/index70.js +1 -1
- package/dist/index71.js +1 -1
- package/dist/index74.js +6 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +8 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +5 -5
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +2 -8
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -6
- package/dist/index78.js.map +1 -1
- package/package.json +1 -1
package/dist/index352.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index352.js","sources":["../../../node_modules/@base-ui/react/esm/utils/popups/
|
|
1
|
+
{"version":3,"file":"index352.js","sources":["../../../node_modules/@base-ui/react/esm/utils/popups/store.js"],"sourcesContent":["import { createSelector } from '@base-ui/utils/store';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { getEmptyRootContext } from \"../../floating-ui-react/utils/getEmptyRootContext.js\";\n\n/**\n * State common to all popup stores.\n */\n\nexport function createInitialPopupStoreState() {\n return {\n open: false,\n openProp: undefined,\n mounted: false,\n transitionStatus: undefined,\n floatingRootContext: getEmptyRootContext(),\n preventUnmountingOnClose: false,\n payload: undefined,\n activeTriggerId: null,\n activeTriggerElement: null,\n triggerIdProp: undefined,\n popupElement: null,\n positionerElement: null,\n activeTriggerProps: EMPTY_OBJECT,\n inactiveTriggerProps: EMPTY_OBJECT,\n popupProps: EMPTY_OBJECT\n };\n}\nconst activeTriggerIdSelector = createSelector(state => state.triggerIdProp ?? state.activeTriggerId);\nexport const popupStoreSelectors = {\n open: createSelector(state => state.openProp ?? state.open),\n mounted: createSelector(state => state.mounted),\n transitionStatus: createSelector(state => state.transitionStatus),\n floatingRootContext: createSelector(state => state.floatingRootContext),\n preventUnmountingOnClose: createSelector(state => state.preventUnmountingOnClose),\n payload: createSelector(state => state.payload),\n activeTriggerId: activeTriggerIdSelector,\n activeTriggerElement: createSelector(state => state.mounted ? state.activeTriggerElement : null),\n /**\n * Whether the trigger with the given ID was used to open the popup.\n */\n isTriggerActive: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId),\n /**\n * Whether the popup is open and was activated by a trigger with the given ID.\n */\n isOpenedByTrigger: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId && state.open),\n /**\n * Whether the popup is mounted and was activated by a trigger with the given ID.\n */\n isMountedByTrigger: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId && state.mounted),\n triggerProps: createSelector((state, isActive) => isActive ? state.activeTriggerProps : state.inactiveTriggerProps),\n popupProps: createSelector(state => state.popupProps),\n popupElement: createSelector(state => state.popupElement),\n positionerElement: createSelector(state => state.positionerElement)\n};"],"names":["createInitialPopupStoreState","getEmptyRootContext","EMPTY_OBJECT","activeTriggerIdSelector","createSelector","state","popupStoreSelectors","triggerId","isActive"],"mappings":";;;AAQO,SAASA,IAA+B;AAC7C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS;AAAA,IACT,kBAAkB;AAAA,IAClB,qBAAqBC,EAAmB;AAAA,IACxC,0BAA0B;AAAA,IAC1B,SAAS;AAAA,IACT,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,eAAe;AAAA,IACf,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,oBAAoBC;AAAA,IACpB,sBAAsBA;AAAA,IACtB,YAAYA;AAAA,EAChB;AACA;AACA,MAAMC,IAA0BC,EAAe,CAAAC,MAASA,EAAM,iBAAiBA,EAAM,eAAe,GACvFC,IAAsB;AAAA,EACjC,MAAMF,EAAe,CAAAC,MAASA,EAAM,YAAYA,EAAM,IAAI;AAAA,EAC1D,SAASD,EAAe,CAAAC,MAASA,EAAM,OAAO;AAAA,EAC9C,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,gBAAgB;AAAA,EAChE,qBAAqBD,EAAe,CAAAC,MAASA,EAAM,mBAAmB;AAAA,EACtE,0BAA0BD,EAAe,CAAAC,MAASA,EAAM,wBAAwB;AAAA,EAChF,SAASD,EAAe,CAAAC,MAASA,EAAM,OAAO;AAAA,EAC9C,iBAAiBF;AAAA,EACjB,sBAAsBC,EAAe,CAAAC,MAASA,EAAM,UAAUA,EAAM,uBAAuB,IAAI;AAAA;AAAA;AAAA;AAAA,EAI/F,iBAAiBD,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,CAAS;AAAA;AAAA;AAAA;AAAA,EAI7H,mBAAmBH,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,KAAaF,EAAM,IAAI;AAAA;AAAA;AAAA;AAAA,EAI7I,oBAAoBD,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,KAAaF,EAAM,OAAO;AAAA,EACjJ,cAAcD,EAAe,CAACC,GAAOG,MAAaA,IAAWH,EAAM,qBAAqBA,EAAM,oBAAoB;AAAA,EAClH,YAAYD,EAAe,CAAAC,MAASA,EAAM,UAAU;AAAA,EACpD,cAAcD,EAAe,CAAAC,MAASA,EAAM,YAAY;AAAA,EACxD,mBAAmBD,EAAe,CAAAC,MAASA,EAAM,iBAAiB;AACpE;","x_google_ignoreList":[0]}
|
package/dist/index353.js
CHANGED
|
@@ -1,53 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
activeTriggerElement: null,
|
|
15
|
-
triggerIdProp: void 0,
|
|
16
|
-
popupElement: null,
|
|
17
|
-
positionerElement: null,
|
|
18
|
-
activeTriggerProps: r,
|
|
19
|
-
inactiveTriggerProps: r,
|
|
20
|
-
popupProps: r
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
const t = n((e) => e.triggerIdProp ?? e.activeTriggerId), a = {
|
|
24
|
-
open: n((e) => e.openProp ?? e.open),
|
|
25
|
-
mounted: n((e) => e.mounted),
|
|
26
|
-
transitionStatus: n((e) => e.transitionStatus),
|
|
27
|
-
floatingRootContext: n((e) => e.floatingRootContext),
|
|
28
|
-
preventUnmountingOnClose: n((e) => e.preventUnmountingOnClose),
|
|
29
|
-
payload: n((e) => e.payload),
|
|
30
|
-
activeTriggerId: t,
|
|
31
|
-
activeTriggerElement: n((e) => e.mounted ? e.activeTriggerElement : null),
|
|
32
|
-
/**
|
|
33
|
-
* Whether the trigger with the given ID was used to open the popup.
|
|
34
|
-
*/
|
|
35
|
-
isTriggerActive: n((e, o) => o !== void 0 && t(e) === o),
|
|
36
|
-
/**
|
|
37
|
-
* Whether the popup is open and was activated by a trigger with the given ID.
|
|
38
|
-
*/
|
|
39
|
-
isOpenedByTrigger: n((e, o) => o !== void 0 && t(e) === o && e.open),
|
|
40
|
-
/**
|
|
41
|
-
* Whether the popup is mounted and was activated by a trigger with the given ID.
|
|
42
|
-
*/
|
|
43
|
-
isMountedByTrigger: n((e, o) => o !== void 0 && t(e) === o && e.mounted),
|
|
44
|
-
triggerProps: n((e, o) => o ? e.activeTriggerProps : e.inactiveTriggerProps),
|
|
45
|
-
popupProps: n((e) => e.popupProps),
|
|
46
|
-
popupElement: n((e) => e.popupElement),
|
|
47
|
-
positionerElement: n((e) => e.positionerElement)
|
|
1
|
+
import t from "./index191.js";
|
|
2
|
+
const p = (r, s, n, c, f, i, ...o) => {
|
|
3
|
+
if (o.length > 0)
|
|
4
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : t(1));
|
|
5
|
+
let e;
|
|
6
|
+
if (r)
|
|
7
|
+
e = r;
|
|
8
|
+
else
|
|
9
|
+
throw (
|
|
10
|
+
/* minify-error-disabled */
|
|
11
|
+
new Error("Missing arguments")
|
|
12
|
+
);
|
|
13
|
+
return e;
|
|
48
14
|
};
|
|
49
15
|
export {
|
|
50
|
-
|
|
51
|
-
a as popupStoreSelectors
|
|
16
|
+
p as createSelector
|
|
52
17
|
};
|
|
53
18
|
//# sourceMappingURL=index353.js.map
|
package/dist/index353.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index353.js","sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index353.js","sources":["../../../node_modules/@base-ui/utils/esm/store/createSelector.js"],"sourcesContent":["import _formatErrorMessage from \"../formatErrorMessage.js\";\n/**\n * The NoOptionalParams type is a utility type that checks if a function has optional or default parameters.\n * If the function has optional or default parameters, it returns a string literal type with an error message.\n * Otherwise, it returns the original function type.\n *\n * This is used to enforce that the combiner function passed to createSelector does not have optional or default parameters,\n * as memoization relies on the Function.length property, which does not account for optional or default parameters.\n */\n\n/**\n * Creates a selector function that can be used to derive values from the store's state.\n *\n * The combiner function can have up to three additional parameters, but it **cannot have optional or default parameters**.\n *\n * This function accepts up to six functions and combines them into a single selector function.\n * The resulting selector will take the state from the combined selectors and any additional parameters required by the combiner.\n *\n * The return type of the resulting selector is determined by the return type of the combiner function.\n *\n * @example\n * const selector = createSelector(\n * (state) => state.disabled\n * );\n *\n * @example\n * const selector = createSelector(\n * (state) => state.disabled,\n * (state) => state.open,\n * (disabled, open) => ({ disabled, open })\n * );\n */\n/* eslint-disable id-denylist */\nexport const createSelector = (a, b, c, d, e, f, ...other) => {\n if (other.length > 0) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Unsupported number of selectors' : _formatErrorMessage(1));\n }\n let selector;\n if (a && b && c && d && e && f) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n const vd = d(state, a1, a2, a3);\n const ve = e(state, a1, a2, a3);\n return f(va, vb, vc, vd, ve, a1, a2, a3);\n };\n } else if (a && b && c && d && e) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n const vd = d(state, a1, a2, a3);\n return e(va, vb, vc, vd, a1, a2, a3);\n };\n } else if (a && b && c && d) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n return d(va, vb, vc, a1, a2, a3);\n };\n } else if (a && b && c) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n return c(va, vb, a1, a2, a3);\n };\n } else if (a && b) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n return b(va, a1, a2, a3);\n };\n } else if (a) {\n selector = a;\n } else {\n throw /* minify-error-disabled */new Error('Missing arguments');\n }\n return selector;\n};\n/* eslint-enable id-denylist */"],"names":["createSelector","a","b","c","d","e","f","other","_formatErrorMessage","selector"],"mappings":";AAiCY,MAACA,IAAiB,CAACC,GAAGC,GAAGC,GAAGC,GAAGC,GAAGC,MAAMC,MAAU;AAC5D,MAAIA,EAAM,SAAS;AACjB,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,oCAAoCC,EAAoB,CAAC,CAAC;AAEpH,MAAIC;AAoCG,MAAIR;AACT,IAAAQ,IAAWR;AAAA;AAEX;AAAA;AAAA,MAAiC,IAAI,MAAM,mBAAmB;AAAA;AAEhE,SAAOQ;AACT;","x_google_ignoreList":[0]}
|
package/dist/index354.js
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
import t from "
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
if (r)
|
|
7
|
-
e = r;
|
|
8
|
-
else
|
|
9
|
-
throw (
|
|
10
|
-
/* minify-error-disabled */
|
|
11
|
-
new Error("Missing arguments")
|
|
12
|
-
);
|
|
13
|
-
return e;
|
|
14
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const e = parseInt(t.version, 10);
|
|
3
|
+
function o(r) {
|
|
4
|
+
return e >= r;
|
|
5
|
+
}
|
|
15
6
|
export {
|
|
16
|
-
|
|
7
|
+
o as isReactVersionAtLeast
|
|
17
8
|
};
|
|
18
9
|
//# sourceMappingURL=index354.js.map
|
package/dist/index354.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index354.js","sources":["../../../node_modules/@base-ui/utils/esm/
|
|
1
|
+
{"version":3,"file":"index354.js","sources":["../../../node_modules/@base-ui/utils/esm/reactVersion.js"],"sourcesContent":["import * as React from 'react';\nconst majorVersion = parseInt(React.version, 10);\nexport function isReactVersionAtLeast(reactVersionToCheck) {\n return majorVersion >= reactVersionToCheck;\n}"],"names":["majorVersion","React","isReactVersionAtLeast","reactVersionToCheck"],"mappings":";AACA,MAAMA,IAAe,SAASC,EAAM,SAAS,EAAE;AACxC,SAASC,EAAsBC,GAAqB;AACzD,SAAOH,KAAgBG;AACzB;","x_google_ignoreList":[0]}
|
package/dist/index368.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { evaluate as W, getPaddingObject as Y, getAlignmentAxis as k, getAlignment as q, getAxisLength as B, clamp as C } from "./
|
|
1
|
+
import { evaluate as W, getPaddingObject as Y, getAlignmentAxis as k, getAlignment as q, getAxisLength as B, clamp as C } from "./index324.js";
|
|
2
2
|
const F = (s) => ({
|
|
3
3
|
name: "arrow",
|
|
4
4
|
options: s,
|
package/dist/index371.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { flip as H, size as I, computePosition as J, offset as K, hide as N, shift as Q, limitShift as T } from "./
|
|
2
|
-
import { autoUpdate as ae, platform as me } from "./
|
|
1
|
+
import { flip as H, size as I, computePosition as J, offset as K, hide as N, shift as Q, limitShift as T } from "./index335.js";
|
|
2
|
+
import { autoUpdate as ae, platform as me } from "./index335.js";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import { useLayoutEffect as X } from "react";
|
|
5
5
|
import * as Y from "react-dom";
|
package/dist/index372.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import { useFloating as P } from "./index371.js";
|
|
3
|
-
import { isElement as s } from "./
|
|
4
|
-
import { useIsoLayoutEffect as F } from "./
|
|
3
|
+
import { isElement as s } from "./index334.js";
|
|
4
|
+
import { useIsoLayoutEffect as F } from "./index286.js";
|
|
5
5
|
import { useFloatingTree as V } from "./index382.js";
|
|
6
|
-
import { useFloatingRootContext as v } from "./
|
|
6
|
+
import { useFloatingRootContext as v } from "./index303.js";
|
|
7
7
|
function $(c = {}) {
|
|
8
8
|
const {
|
|
9
9
|
nodeId: i,
|
package/dist/index374.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
import { useIsoLayoutEffect as u } from "./
|
|
3
|
-
import { isSafari as i } from "./
|
|
4
|
-
import { visuallyHidden as f } from "./
|
|
2
|
+
import { useIsoLayoutEffect as u } from "./index286.js";
|
|
3
|
+
import { isSafari as i } from "./index326.js";
|
|
4
|
+
import { visuallyHidden as f } from "./index281.js";
|
|
5
5
|
import { j as n } from "./index30.js";
|
|
6
6
|
const d = /* @__PURE__ */ r.forwardRef(function(t, s) {
|
|
7
7
|
const [o, e] = r.useState();
|
package/dist/index375.js
CHANGED
package/dist/index376.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./
|
|
2
|
-
import { ownerDocument as c } from "./
|
|
3
|
-
import { contains as f, activeElement as I } from "./
|
|
1
|
+
import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./index334.js";
|
|
2
|
+
import { ownerDocument as c } from "./index309.js";
|
|
3
|
+
import { contains as f, activeElement as I } from "./index316.js";
|
|
4
4
|
import { isElementVisible as C } from "./index378.js";
|
|
5
5
|
const N = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';
|
|
6
6
|
function R(t) {
|
package/dist/index378.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { floor as _ } from "./
|
|
2
|
-
import { getComputedStyle as K } from "./
|
|
1
|
+
import { floor as _ } from "./index324.js";
|
|
2
|
+
import { getComputedStyle as K } from "./index334.js";
|
|
3
3
|
import { stopEvent as b } from "./index375.js";
|
|
4
4
|
import { ARROW_UP as Q, ARROW_DOWN as X, ARROW_LEFT as z, ARROW_RIGHT as B } from "./index385.js";
|
|
5
5
|
function W(t, r, o) {
|
package/dist/index380.js
CHANGED
package/dist/index381.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isShadowRoot as O, getNodeName as y } from "./
|
|
2
|
-
import { ownerDocument as U } from "./
|
|
1
|
+
import { isShadowRoot as O, getNodeName as y } from "./index334.js";
|
|
2
|
+
import { ownerDocument as U } from "./index309.js";
|
|
3
3
|
const k = {
|
|
4
4
|
inert: /* @__PURE__ */ new WeakMap(),
|
|
5
5
|
"aria-hidden": /* @__PURE__ */ new WeakMap()
|
package/dist/index384.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createEventEmitter as a } from "./index406.js";
|
|
2
|
-
import { ReactStore as m } from "./
|
|
2
|
+
import { ReactStore as m } from "./index350.js";
|
|
3
3
|
import { isClickLikeEvent as f } from "./index375.js";
|
|
4
|
-
import { createSelector as o } from "./
|
|
4
|
+
import { createSelector as o } from "./index353.js";
|
|
5
5
|
const l = {
|
|
6
6
|
open: o((t) => t.open),
|
|
7
7
|
transitionStatus: o((t) => t.transitionStatus),
|
package/dist/index386.js
CHANGED
package/dist/index407.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { evaluate as P, getSide as E, getSideAxis as S, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as Q, getAlignmentSides as Z, getAlignment as j, min as X, max as L, getAlignmentAxis as ee, getPaddingObject as te, rectToClientRect as Y, sides as ne, getAxisLength as ie, clamp as $, getOppositeAxis as U } from "./
|
|
1
|
+
import { evaluate as P, getSide as E, getSideAxis as S, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as Q, getAlignmentSides as Z, getAlignment as j, min as X, max as L, getAlignmentAxis as ee, getPaddingObject as te, rectToClientRect as Y, sides as ne, getAxisLength as ie, clamp as $, getOppositeAxis as U } from "./index324.js";
|
|
2
2
|
function z(t, e, d) {
|
|
3
3
|
let {
|
|
4
4
|
reference: i,
|
package/dist/index417.js
CHANGED
package/dist/index418.js
CHANGED
package/dist/index421.js
CHANGED
package/dist/index422.js
CHANGED
package/dist/index427.js
CHANGED
package/dist/index429.js
CHANGED
package/dist/index44.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCountryList as E } from "./
|
|
1
|
+
import { getCountryList as E } from "./index74.js";
|
|
2
2
|
import { getCountryCallingCode as s } from "./index48.js";
|
|
3
3
|
const f = "US", u = E(), c = /* @__PURE__ */ new Map(), m = "__default_locale__", _ = Array.from(new Set(u.map((e) => s(e)))).sort((e, t) => t.length - e.length);
|
|
4
4
|
_.reduce((e, t) => Math.max(e, t.length), 0);
|
package/dist/index45.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AsYouType as u } from "./
|
|
2
|
-
import { validatePhoneNumberLength as a } from "./
|
|
1
|
+
import { AsYouType as u } from "./index75.js";
|
|
2
|
+
import { validatePhoneNumberLength as a } from "./index76.js";
|
|
3
3
|
function l(t) {
|
|
4
4
|
return t.replace(/\D/g, "");
|
|
5
5
|
}
|
package/dist/index49.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { visuallyHiddenInput as Ze, visuallyHidden as et } from "./
|
|
3
|
-
import { useMergedRefs as tt } from "./
|
|
4
|
-
import { useRefWithInit as ot } from "./
|
|
2
|
+
import { visuallyHiddenInput as Ze, visuallyHidden as et } from "./index281.js";
|
|
3
|
+
import { useMergedRefs as tt } from "./index282.js";
|
|
4
|
+
import { useRefWithInit as ot } from "./index283.js";
|
|
5
5
|
import { useOnFirstRender as nt } from "./index188.js";
|
|
6
|
-
import { usePreviousValue as rt } from "./
|
|
7
|
-
import { useControlled as le } from "./
|
|
8
|
-
import { useIsoLayoutEffect as x } from "./
|
|
9
|
-
import { useStableCallback as b } from "./
|
|
10
|
-
import { useValueAsRef as st } from "./
|
|
11
|
-
import { EMPTY_ARRAY as ie, EMPTY_OBJECT as lt } from "./
|
|
12
|
-
import { SelectRootContext as it, SelectFloatingContext as at } from "./
|
|
13
|
-
import { useFieldRootContext as ut } from "./
|
|
14
|
-
import { useRegisterFieldControl as ct } from "./
|
|
15
|
-
import { useLabelableId as dt } from "./
|
|
16
|
-
import { useTransitionStatus as ft } from "./
|
|
17
|
-
import { selectors as A } from "./
|
|
6
|
+
import { usePreviousValue as rt } from "./index284.js";
|
|
7
|
+
import { useControlled as le } from "./index285.js";
|
|
8
|
+
import { useIsoLayoutEffect as x } from "./index286.js";
|
|
9
|
+
import { useStableCallback as b } from "./index287.js";
|
|
10
|
+
import { useValueAsRef as st } from "./index288.js";
|
|
11
|
+
import { EMPTY_ARRAY as ie, EMPTY_OBJECT as lt } from "./index289.js";
|
|
12
|
+
import { SelectRootContext as it, SelectFloatingContext as at } from "./index290.js";
|
|
13
|
+
import { useFieldRootContext as ut } from "./index291.js";
|
|
14
|
+
import { useRegisterFieldControl as ct } from "./index292.js";
|
|
15
|
+
import { useLabelableId as dt } from "./index293.js";
|
|
16
|
+
import { useTransitionStatus as ft } from "./index294.js";
|
|
17
|
+
import { selectors as A } from "./index295.js";
|
|
18
18
|
import { createChangeEventDetails as ae } from "./index175.js";
|
|
19
19
|
import { useOpenChangeComplete as mt } from "./index182.js";
|
|
20
|
-
import { useFormContext as pt } from "./
|
|
21
|
-
import { stringifyAsValue as y, stringifyAsLabel as gt } from "./
|
|
22
|
-
import { defaultItemEquality as ht, findItemIndex as ue } from "./
|
|
23
|
-
import { useValueChanged as Rt } from "./
|
|
24
|
-
import { useOpenInteractionType as vt } from "./
|
|
25
|
-
import { getMaxScrollOffset as It, normalizeScrollOffset as bt } from "./
|
|
20
|
+
import { useFormContext as pt } from "./index296.js";
|
|
21
|
+
import { stringifyAsValue as y, stringifyAsLabel as gt } from "./index297.js";
|
|
22
|
+
import { defaultItemEquality as ht, findItemIndex as ue } from "./index298.js";
|
|
23
|
+
import { useValueChanged as Rt } from "./index299.js";
|
|
24
|
+
import { useOpenInteractionType as vt } from "./index300.js";
|
|
25
|
+
import { getMaxScrollOffset as It, normalizeScrollOffset as bt } from "./index301.js";
|
|
26
26
|
import { j as M } from "./index30.js";
|
|
27
|
-
import { useStore as w } from "./
|
|
28
|
-
import { useFloatingRootContext as yt } from "./
|
|
27
|
+
import { useStore as w } from "./index302.js";
|
|
28
|
+
import { useFloatingRootContext as yt } from "./index303.js";
|
|
29
29
|
import { useClick as Ct } from "./index194.js";
|
|
30
|
-
import { useDismiss as Vt } from "./
|
|
31
|
-
import { useListNavigation as xt } from "./
|
|
32
|
-
import { useTypeahead as At } from "./
|
|
30
|
+
import { useDismiss as Vt } from "./index304.js";
|
|
31
|
+
import { useListNavigation as xt } from "./index305.js";
|
|
32
|
+
import { useTypeahead as At } from "./index306.js";
|
|
33
33
|
import { useInteractions as Mt } from "./index195.js";
|
|
34
|
-
import { mergeProps as wt } from "./
|
|
35
|
-
import { Store as Pt } from "./
|
|
34
|
+
import { mergeProps as wt } from "./index307.js";
|
|
35
|
+
import { Store as Pt } from "./index308.js";
|
|
36
36
|
import { none as St, focusOut as Et, outsidePress as Tt } from "./index177.js";
|
|
37
37
|
function ho(ce) {
|
|
38
38
|
const {
|
package/dist/index50.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as b from "react";
|
|
2
|
-
import { rectToClientRect as Qt } from "./
|
|
3
|
-
import { addEventListener as te } from "./
|
|
4
|
-
import { isWebKit as ee } from "./
|
|
5
|
-
import { useStableCallback as oe } from "./
|
|
6
|
-
import { ownerDocument as xt } from "./
|
|
7
|
-
import { useIsoLayoutEffect as ot } from "./
|
|
8
|
-
import { useAnimationFrame as ne } from "./
|
|
9
|
-
import { useSelectRootContext as re, useSelectFloatingContext as ie } from "./
|
|
2
|
+
import { rectToClientRect as Qt } from "./index324.js";
|
|
3
|
+
import { addEventListener as te } from "./index325.js";
|
|
4
|
+
import { isWebKit as ee } from "./index326.js";
|
|
5
|
+
import { useStableCallback as oe } from "./index287.js";
|
|
6
|
+
import { ownerDocument as xt } from "./index309.js";
|
|
7
|
+
import { useIsoLayoutEffect as ot } from "./index286.js";
|
|
8
|
+
import { useAnimationFrame as ne } from "./index327.js";
|
|
9
|
+
import { useSelectRootContext as re, useSelectFloatingContext as ie } from "./index290.js";
|
|
10
10
|
import { popupStateMapping as se } from "./index173.js";
|
|
11
|
-
import { useSelectPositionerContext as le } from "./
|
|
12
|
-
import { styleDisableScrollbar as St } from "./
|
|
11
|
+
import { useSelectPositionerContext as le } from "./index320.js";
|
|
12
|
+
import { styleDisableScrollbar as St } from "./index328.js";
|
|
13
13
|
import { transitionStatusMapping as ce } from "./index174.js";
|
|
14
14
|
import { useOpenChangeComplete as ae } from "./index182.js";
|
|
15
15
|
import { useRenderElement as pe } from "./index172.js";
|
|
16
|
-
import { selectors as T } from "./
|
|
17
|
-
import { clearStyles as Tt, LIST_FUNCTIONAL_STYLES as me } from "./
|
|
16
|
+
import { selectors as T } from "./index295.js";
|
|
17
|
+
import { clearStyles as Tt, LIST_FUNCTIONAL_STYLES as me } from "./index321.js";
|
|
18
18
|
import { createChangeEventDetails as ue } from "./index175.js";
|
|
19
|
-
import { useToolbarRootContext as ge } from "./
|
|
19
|
+
import { useToolbarRootContext as ge } from "./index329.js";
|
|
20
20
|
import { COMPOSITE_KEYS as fe } from "./index183.js";
|
|
21
|
-
import { getDisabledMountTransitionStyles as he } from "./
|
|
22
|
-
import { clamp as U } from "./
|
|
23
|
-
import { SCROLL_EDGE_TOLERANCE_PX as M, getMaxScrollOffset as de } from "./
|
|
24
|
-
import { useCSPContext as ye } from "./
|
|
25
|
-
import { useDirection as xe } from "./
|
|
21
|
+
import { getDisabledMountTransitionStyles as he } from "./index330.js";
|
|
22
|
+
import { clamp as U } from "./index331.js";
|
|
23
|
+
import { SCROLL_EDGE_TOLERANCE_PX as M, getMaxScrollOffset as de } from "./index301.js";
|
|
24
|
+
import { useCSPContext as ye } from "./index332.js";
|
|
25
|
+
import { useDirection as xe } from "./index333.js";
|
|
26
26
|
import { j as Rt } from "./index30.js";
|
|
27
|
-
import { useStore as R } from "./
|
|
28
|
-
import { getWindow as Ct } from "./
|
|
27
|
+
import { useStore as R } from "./index302.js";
|
|
28
|
+
import { getWindow as Ct } from "./index334.js";
|
|
29
29
|
import { FloatingFocusManager as Se } from "./index184.js";
|
|
30
|
-
import { platform as Te } from "./
|
|
30
|
+
import { platform as Te } from "./index335.js";
|
|
31
31
|
import { windowResize as Re } from "./index177.js";
|
|
32
32
|
const Ce = {
|
|
33
33
|
...se,
|
package/dist/index51.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
import { SelectGroupContext as c } from "./
|
|
2
|
+
import { SelectGroupContext as c } from "./index338.js";
|
|
3
3
|
import { useRenderElement as p } from "./index172.js";
|
|
4
4
|
import { j as m } from "./index30.js";
|
|
5
5
|
const u = /* @__PURE__ */ r.forwardRef(function(t, s) {
|
package/dist/index52.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { useIsoLayoutEffect as b } from "./
|
|
3
|
-
import { useValueAsRef as H } from "./
|
|
4
|
-
import { useSelectRootContext as J } from "./
|
|
5
|
-
import { useCompositeListItem as Q, IndexGuessBehavior as X } from "./
|
|
2
|
+
import { useIsoLayoutEffect as b } from "./index286.js";
|
|
3
|
+
import { useValueAsRef as H } from "./index288.js";
|
|
4
|
+
import { useSelectRootContext as J } from "./index290.js";
|
|
5
|
+
import { useCompositeListItem as Q, IndexGuessBehavior as X } from "./index336.js";
|
|
6
6
|
import { useRenderElement as Y } from "./index172.js";
|
|
7
|
-
import { SelectItemContext as Z } from "./
|
|
8
|
-
import { selectors as R } from "./
|
|
7
|
+
import { SelectItemContext as Z } from "./index337.js";
|
|
8
|
+
import { selectors as R } from "./index295.js";
|
|
9
9
|
import { createChangeEventDetails as h } from "./index175.js";
|
|
10
|
-
import { compareItemEquality as $, removeItem as ee } from "./
|
|
10
|
+
import { compareItemEquality as $, removeItem as ee } from "./index298.js";
|
|
11
11
|
import { j as te } from "./index30.js";
|
|
12
|
-
import { useStore as y } from "./
|
|
12
|
+
import { useStore as y } from "./index302.js";
|
|
13
13
|
import { useButton as re } from "./index176.js";
|
|
14
14
|
import { itemPress as S } from "./index177.js";
|
|
15
15
|
const oe = /* @__PURE__ */ u.memo(/* @__PURE__ */ u.forwardRef(function(w, k) {
|
package/dist/index53.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import { useIsoLayoutEffect as n } from "./
|
|
2
|
+
import { useIsoLayoutEffect as n } from "./index286.js";
|
|
3
3
|
import { useBaseUiId as p } from "./index178.js";
|
|
4
|
-
import { useSelectGroupContext as c } from "./
|
|
4
|
+
import { useSelectGroupContext as c } from "./index338.js";
|
|
5
5
|
import { useRenderElement as i } from "./index172.js";
|
|
6
6
|
const a = /* @__PURE__ */ m.forwardRef(function(o, r) {
|
|
7
7
|
const {
|
package/dist/index55.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import { ownerDocument as ie } from "./
|
|
3
|
-
import { useTimeout as f } from "./
|
|
4
|
-
import { useStableCallback as ae } from "./
|
|
5
|
-
import { useMergedRefs as ce } from "./
|
|
6
|
-
import { useValueAsRef as ue } from "./
|
|
7
|
-
import { useSelectRootContext as de } from "./
|
|
8
|
-
import { useFieldRootContext as me } from "./
|
|
9
|
-
import { useLabelableContext as fe } from "./
|
|
2
|
+
import { ownerDocument as ie } from "./index309.js";
|
|
3
|
+
import { useTimeout as f } from "./index310.js";
|
|
4
|
+
import { useStableCallback as ae } from "./index287.js";
|
|
5
|
+
import { useMergedRefs as ce } from "./index282.js";
|
|
6
|
+
import { useValueAsRef as ue } from "./index288.js";
|
|
7
|
+
import { useSelectRootContext as de } from "./index290.js";
|
|
8
|
+
import { useFieldRootContext as me } from "./index291.js";
|
|
9
|
+
import { useLabelableContext as fe } from "./index311.js";
|
|
10
10
|
import { pressableTriggerOpenStateMapping as pe } from "./index173.js";
|
|
11
|
-
import { fieldValidityMapping as ge } from "./
|
|
11
|
+
import { fieldValidityMapping as ge } from "./index312.js";
|
|
12
12
|
import { useRenderElement as be } from "./index172.js";
|
|
13
|
-
import { selectors as t } from "./
|
|
14
|
-
import { getPseudoElementBounds as Ee } from "./
|
|
13
|
+
import { selectors as t } from "./index295.js";
|
|
14
|
+
import { getPseudoElementBounds as Ee } from "./index313.js";
|
|
15
15
|
import { createChangeEventDetails as N } from "./index175.js";
|
|
16
|
-
import { useLabelableId as Me } from "./
|
|
17
|
-
import { resolveAriaLabelledBy as Le } from "./
|
|
18
|
-
import { useStore as o } from "./
|
|
16
|
+
import { useLabelableId as Me } from "./index293.js";
|
|
17
|
+
import { resolveAriaLabelledBy as Le } from "./index314.js";
|
|
18
|
+
import { useStore as o } from "./index302.js";
|
|
19
19
|
import { useButton as Se } from "./index176.js";
|
|
20
|
-
import { getFloatingFocusElement as he } from "./
|
|
21
|
-
import { mergeProps as De } from "./
|
|
22
|
-
import { contains as L } from "./
|
|
20
|
+
import { getFloatingFocusElement as he } from "./index315.js";
|
|
21
|
+
import { mergeProps as De } from "./index307.js";
|
|
22
|
+
import { contains as L } from "./index316.js";
|
|
23
23
|
import { none as Ue, cancelOpen as Ie } from "./index177.js";
|
|
24
24
|
const p = 2, Te = 400, P = 200, Re = {
|
|
25
25
|
...pe,
|
package/dist/index56.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as b from "react";
|
|
2
2
|
import { useRenderElement as v } from "./index172.js";
|
|
3
|
-
import { useSelectRootContext as L } from "./
|
|
4
|
-
import { resolveMultipleLabels as N, resolveSelectedLabel as V } from "./
|
|
5
|
-
import { selectors as s } from "./
|
|
6
|
-
import { useStore as r } from "./
|
|
3
|
+
import { useSelectRootContext as L } from "./index290.js";
|
|
4
|
+
import { resolveMultipleLabels as N, resolveSelectedLabel as V } from "./index297.js";
|
|
5
|
+
import { selectors as s } from "./index295.js";
|
|
6
|
+
import { useStore as r } from "./index302.js";
|
|
7
7
|
const y = {
|
|
8
8
|
value: () => null
|
|
9
9
|
}, R = /* @__PURE__ */ b.forwardRef(function(c, m) {
|
package/dist/index57.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
2
|
import { useRenderElement as p } from "./index172.js";
|
|
3
|
-
import { useSelectRootContext as c } from "./
|
|
3
|
+
import { useSelectRootContext as c } from "./index290.js";
|
|
4
4
|
import { triggerOpenStateMapping as i } from "./index173.js";
|
|
5
|
-
import { selectors as m } from "./
|
|
6
|
-
import { useStore as a } from "./
|
|
5
|
+
import { selectors as m } from "./index295.js";
|
|
6
|
+
import { useStore as a } from "./index302.js";
|
|
7
7
|
const l = /* @__PURE__ */ s.forwardRef(function(e, t) {
|
|
8
8
|
const {
|
|
9
9
|
className: d,
|