radix-ui 1.1.0 → 1.1.1-rc.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.
- package/dist/index.d.mts +0 -17
- package/dist/index.d.ts +0 -17
- package/dist/internal.d.mts +9 -2
- package/dist/internal.d.ts +9 -2
- package/dist/internal.js +4 -1
- package/dist/internal.js.map +3 -3
- package/dist/internal.mjs +4 -1
- package/dist/internal.mjs.map +2 -2
- package/package.json +3 -2
- package/src/internal.ts +10 -1
package/dist/index.d.mts
CHANGED
|
@@ -64,20 +64,3 @@ import * as reactTooltip from '@radix-ui/react-tooltip';
|
|
|
64
64
|
export { reactTooltip as Tooltip };
|
|
65
65
|
import * as reactVisuallyHidden from '@radix-ui/react-visually-hidden';
|
|
66
66
|
export { reactVisuallyHidden as VisuallyHidden };
|
|
67
|
-
import '@radix-ui/react-arrow';
|
|
68
|
-
import '@radix-ui/react-collection';
|
|
69
|
-
import '@radix-ui/react-compose-refs';
|
|
70
|
-
import '@radix-ui/react-context';
|
|
71
|
-
import '@radix-ui/react-dismissable-layer';
|
|
72
|
-
import '@radix-ui/react-focus-guards';
|
|
73
|
-
import '@radix-ui/react-focus-scope';
|
|
74
|
-
import '@radix-ui/react-menu';
|
|
75
|
-
import '@radix-ui/react-popper';
|
|
76
|
-
import '@radix-ui/react-presence';
|
|
77
|
-
import '@radix-ui/react-primitive';
|
|
78
|
-
import '@radix-ui/react-roving-focus';
|
|
79
|
-
import '@radix-ui/react-use-callback-ref';
|
|
80
|
-
import '@radix-ui/react-use-controllable-state';
|
|
81
|
-
import '@radix-ui/react-use-escape-keydown';
|
|
82
|
-
import '@radix-ui/react-use-layout-effect';
|
|
83
|
-
import '@radix-ui/react-use-size';
|
package/dist/index.d.ts
CHANGED
|
@@ -64,20 +64,3 @@ import * as reactTooltip from '@radix-ui/react-tooltip';
|
|
|
64
64
|
export { reactTooltip as Tooltip };
|
|
65
65
|
import * as reactVisuallyHidden from '@radix-ui/react-visually-hidden';
|
|
66
66
|
export { reactVisuallyHidden as VisuallyHidden };
|
|
67
|
-
import '@radix-ui/react-arrow';
|
|
68
|
-
import '@radix-ui/react-collection';
|
|
69
|
-
import '@radix-ui/react-compose-refs';
|
|
70
|
-
import '@radix-ui/react-context';
|
|
71
|
-
import '@radix-ui/react-dismissable-layer';
|
|
72
|
-
import '@radix-ui/react-focus-guards';
|
|
73
|
-
import '@radix-ui/react-focus-scope';
|
|
74
|
-
import '@radix-ui/react-menu';
|
|
75
|
-
import '@radix-ui/react-popper';
|
|
76
|
-
import '@radix-ui/react-presence';
|
|
77
|
-
import '@radix-ui/react-primitive';
|
|
78
|
-
import '@radix-ui/react-roving-focus';
|
|
79
|
-
import '@radix-ui/react-use-callback-ref';
|
|
80
|
-
import '@radix-ui/react-use-controllable-state';
|
|
81
|
-
import '@radix-ui/react-use-escape-keydown';
|
|
82
|
-
import '@radix-ui/react-use-layout-effect';
|
|
83
|
-
import '@radix-ui/react-use-size';
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Primitive as Primitive$1, dispatchDiscreteCustomEvent } from '@radix-ui/react-primitive';
|
|
2
|
+
export { PrimitivePropsWithRef } from '@radix-ui/react-primitive';
|
|
1
3
|
import * as reactArrow from '@radix-ui/react-arrow';
|
|
2
4
|
export { reactArrow as ArrowPrimitive };
|
|
3
5
|
import * as reactCollection from '@radix-ui/react-collection';
|
|
@@ -17,8 +19,6 @@ import * as reactPopper from '@radix-ui/react-popper';
|
|
|
17
19
|
export { reactPopper as Popper };
|
|
18
20
|
import * as reactPresence from '@radix-ui/react-presence';
|
|
19
21
|
export { reactPresence as Presence };
|
|
20
|
-
import * as reactPrimitive from '@radix-ui/react-primitive';
|
|
21
|
-
export { reactPrimitive as Primitive };
|
|
22
22
|
import * as reactRovingFocus from '@radix-ui/react-roving-focus';
|
|
23
23
|
export { reactRovingFocus as RovingFocus };
|
|
24
24
|
export { useCallbackRef } from '@radix-ui/react-use-callback-ref';
|
|
@@ -26,3 +26,10 @@ export { useControllableState } from '@radix-ui/react-use-controllable-state';
|
|
|
26
26
|
export { useEscapeKeydown } from '@radix-ui/react-use-escape-keydown';
|
|
27
27
|
export { useLayoutEffect } from '@radix-ui/react-use-layout-effect';
|
|
28
28
|
export { useSize } from '@radix-ui/react-use-size';
|
|
29
|
+
|
|
30
|
+
declare const Primitive: typeof Primitive$1 & {
|
|
31
|
+
Root: typeof Primitive$1;
|
|
32
|
+
dispatchDiscreteCustomEvent: typeof dispatchDiscreteCustomEvent;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { Primitive };
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Primitive as Primitive$1, dispatchDiscreteCustomEvent } from '@radix-ui/react-primitive';
|
|
2
|
+
export { PrimitivePropsWithRef } from '@radix-ui/react-primitive';
|
|
1
3
|
import * as reactArrow from '@radix-ui/react-arrow';
|
|
2
4
|
export { reactArrow as ArrowPrimitive };
|
|
3
5
|
import * as reactCollection from '@radix-ui/react-collection';
|
|
@@ -17,8 +19,6 @@ import * as reactPopper from '@radix-ui/react-popper';
|
|
|
17
19
|
export { reactPopper as Popper };
|
|
18
20
|
import * as reactPresence from '@radix-ui/react-presence';
|
|
19
21
|
export { reactPresence as Presence };
|
|
20
|
-
import * as reactPrimitive from '@radix-ui/react-primitive';
|
|
21
|
-
export { reactPrimitive as Primitive };
|
|
22
22
|
import * as reactRovingFocus from '@radix-ui/react-roving-focus';
|
|
23
23
|
export { reactRovingFocus as RovingFocus };
|
|
24
24
|
export { useCallbackRef } from '@radix-ui/react-use-callback-ref';
|
|
@@ -26,3 +26,10 @@ export { useControllableState } from '@radix-ui/react-use-controllable-state';
|
|
|
26
26
|
export { useEscapeKeydown } from '@radix-ui/react-use-escape-keydown';
|
|
27
27
|
export { useLayoutEffect } from '@radix-ui/react-use-layout-effect';
|
|
28
28
|
export { useSize } from '@radix-ui/react-use-size';
|
|
29
|
+
|
|
30
|
+
declare const Primitive: typeof Primitive$1 & {
|
|
31
|
+
Root: typeof Primitive$1;
|
|
32
|
+
dispatchDiscreteCustomEvent: typeof dispatchDiscreteCustomEvent;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { Primitive };
|
package/dist/internal.js
CHANGED
|
@@ -50,6 +50,7 @@ __export(internal_exports, {
|
|
|
50
50
|
useSize: () => import_react_use_size.useSize
|
|
51
51
|
});
|
|
52
52
|
module.exports = __toCommonJS(internal_exports);
|
|
53
|
+
var import_react_primitive = require("@radix-ui/react-primitive");
|
|
53
54
|
var ArrowPrimitive = __toESM(require("@radix-ui/react-arrow"));
|
|
54
55
|
var Collection = __toESM(require("@radix-ui/react-collection"));
|
|
55
56
|
var import_react_compose_refs = require("@radix-ui/react-compose-refs");
|
|
@@ -60,11 +61,13 @@ var FocusScope = __toESM(require("@radix-ui/react-focus-scope"));
|
|
|
60
61
|
var Menu = __toESM(require("@radix-ui/react-menu"));
|
|
61
62
|
var Popper = __toESM(require("@radix-ui/react-popper"));
|
|
62
63
|
var Presence = __toESM(require("@radix-ui/react-presence"));
|
|
63
|
-
var Primitive = __toESM(require("@radix-ui/react-primitive"));
|
|
64
64
|
var RovingFocus = __toESM(require("@radix-ui/react-roving-focus"));
|
|
65
65
|
var import_react_use_callback_ref = require("@radix-ui/react-use-callback-ref");
|
|
66
66
|
var import_react_use_controllable_state = require("@radix-ui/react-use-controllable-state");
|
|
67
67
|
var import_react_use_escape_keydown = require("@radix-ui/react-use-escape-keydown");
|
|
68
68
|
var import_react_use_layout_effect = require("@radix-ui/react-use-layout-effect");
|
|
69
69
|
var import_react_use_size = require("@radix-ui/react-use-size");
|
|
70
|
+
var Primitive = import_react_primitive.Primitive;
|
|
71
|
+
Primitive.dispatchDiscreteCustomEvent = import_react_primitive.dispatchDiscreteCustomEvent;
|
|
72
|
+
Primitive.Root = import_react_primitive.Primitive;
|
|
70
73
|
//# sourceMappingURL=internal.js.map
|
package/dist/internal.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/internal.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAgC;AAChC,iBAA4B;AAC5B,gCAA6C;AAC7C,cAAyB;AACzB,uBAAkC;AAClC,kBAA6B;AAC7B,iBAA4B;AAC5B,WAAsB;AACtB,aAAwB;AACxB,eAA0B;
|
|
6
|
-
"names": []
|
|
4
|
+
"sourcesContent": ["import { Primitive as BasePrimitive, dispatchDiscreteCustomEvent } from '@radix-ui/react-primitive';\nexport * as ArrowPrimitive from '@radix-ui/react-arrow';\nexport * as Collection from '@radix-ui/react-collection';\nexport { composeRefs, useComposedRefs } from '@radix-ui/react-compose-refs';\nexport * as Context from '@radix-ui/react-context';\nexport * as DismissableLayer from '@radix-ui/react-dismissable-layer';\nexport * as FocusGuards from '@radix-ui/react-focus-guards';\nexport * as FocusScope from '@radix-ui/react-focus-scope';\nexport * as Menu from '@radix-ui/react-menu';\nexport * as Popper from '@radix-ui/react-popper';\nexport * as Presence from '@radix-ui/react-presence';\nexport type { PrimitivePropsWithRef } from '@radix-ui/react-primitive';\nexport * as RovingFocus from '@radix-ui/react-roving-focus';\nexport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\nexport { useControllableState } from '@radix-ui/react-use-controllable-state';\nexport { useEscapeKeydown } from '@radix-ui/react-use-escape-keydown';\nexport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\nexport { useSize } from '@radix-ui/react-use-size';\n\nconst Primitive = BasePrimitive as typeof BasePrimitive & {\n Root: typeof BasePrimitive;\n dispatchDiscreteCustomEvent: typeof dispatchDiscreteCustomEvent;\n};\nPrimitive.dispatchDiscreteCustomEvent = dispatchDiscreteCustomEvent;\nPrimitive.Root = BasePrimitive;\nexport { Primitive };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAwE;AACxE,qBAAgC;AAChC,iBAA4B;AAC5B,gCAA6C;AAC7C,cAAyB;AACzB,uBAAkC;AAClC,kBAA6B;AAC7B,iBAA4B;AAC5B,WAAsB;AACtB,aAAwB;AACxB,eAA0B;AAE1B,kBAA6B;AAC7B,oCAA+B;AAC/B,0CAAqC;AACrC,sCAAiC;AACjC,qCAAgC;AAChC,4BAAwB;AAExB,IAAM,YAAY,uBAAAA;AAIlB,UAAU,8BAA8B;AACxC,UAAU,OAAO,uBAAAA;",
|
|
6
|
+
"names": ["BasePrimitive"]
|
|
7
7
|
}
|
package/dist/internal.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// packages/react/radix-ui/src/internal.ts
|
|
2
|
+
import { Primitive as BasePrimitive, dispatchDiscreteCustomEvent } from "@radix-ui/react-primitive";
|
|
2
3
|
import * as ArrowPrimitive from "@radix-ui/react-arrow";
|
|
3
4
|
import * as Collection from "@radix-ui/react-collection";
|
|
4
5
|
import { composeRefs, useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
@@ -9,13 +10,15 @@ import * as FocusScope from "@radix-ui/react-focus-scope";
|
|
|
9
10
|
import * as Menu from "@radix-ui/react-menu";
|
|
10
11
|
import * as Popper from "@radix-ui/react-popper";
|
|
11
12
|
import * as Presence from "@radix-ui/react-presence";
|
|
12
|
-
import * as Primitive from "@radix-ui/react-primitive";
|
|
13
13
|
import * as RovingFocus from "@radix-ui/react-roving-focus";
|
|
14
14
|
import { useCallbackRef } from "@radix-ui/react-use-callback-ref";
|
|
15
15
|
import { useControllableState } from "@radix-ui/react-use-controllable-state";
|
|
16
16
|
import { useEscapeKeydown } from "@radix-ui/react-use-escape-keydown";
|
|
17
17
|
import { useLayoutEffect } from "@radix-ui/react-use-layout-effect";
|
|
18
18
|
import { useSize } from "@radix-ui/react-use-size";
|
|
19
|
+
var Primitive = BasePrimitive;
|
|
20
|
+
Primitive.dispatchDiscreteCustomEvent = dispatchDiscreteCustomEvent;
|
|
21
|
+
Primitive.Root = BasePrimitive;
|
|
19
22
|
export {
|
|
20
23
|
ArrowPrimitive,
|
|
21
24
|
Collection,
|
package/dist/internal.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/internal.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";AAAA,YAAY,oBAAoB;AAChC,YAAY,gBAAgB;AAC5B,SAAS,aAAa,uBAAuB;AAC7C,YAAY,aAAa;AACzB,YAAY,sBAAsB;AAClC,YAAY,iBAAiB;AAC7B,YAAY,gBAAgB;AAC5B,YAAY,UAAU;AACtB,YAAY,YAAY;AACxB,YAAY,cAAc;
|
|
4
|
+
"sourcesContent": ["import { Primitive as BasePrimitive, dispatchDiscreteCustomEvent } from '@radix-ui/react-primitive';\nexport * as ArrowPrimitive from '@radix-ui/react-arrow';\nexport * as Collection from '@radix-ui/react-collection';\nexport { composeRefs, useComposedRefs } from '@radix-ui/react-compose-refs';\nexport * as Context from '@radix-ui/react-context';\nexport * as DismissableLayer from '@radix-ui/react-dismissable-layer';\nexport * as FocusGuards from '@radix-ui/react-focus-guards';\nexport * as FocusScope from '@radix-ui/react-focus-scope';\nexport * as Menu from '@radix-ui/react-menu';\nexport * as Popper from '@radix-ui/react-popper';\nexport * as Presence from '@radix-ui/react-presence';\nexport type { PrimitivePropsWithRef } from '@radix-ui/react-primitive';\nexport * as RovingFocus from '@radix-ui/react-roving-focus';\nexport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\nexport { useControllableState } from '@radix-ui/react-use-controllable-state';\nexport { useEscapeKeydown } from '@radix-ui/react-use-escape-keydown';\nexport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\nexport { useSize } from '@radix-ui/react-use-size';\n\nconst Primitive = BasePrimitive as typeof BasePrimitive & {\n Root: typeof BasePrimitive;\n dispatchDiscreteCustomEvent: typeof dispatchDiscreteCustomEvent;\n};\nPrimitive.dispatchDiscreteCustomEvent = dispatchDiscreteCustomEvent;\nPrimitive.Root = BasePrimitive;\nexport { Primitive };\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,aAAa,eAAe,mCAAmC;AACxE,YAAY,oBAAoB;AAChC,YAAY,gBAAgB;AAC5B,SAAS,aAAa,uBAAuB;AAC7C,YAAY,aAAa;AACzB,YAAY,sBAAsB;AAClC,YAAY,iBAAiB;AAC7B,YAAY,gBAAgB;AAC5B,YAAY,UAAU;AACtB,YAAY,YAAY;AACxB,YAAY,cAAc;AAE1B,YAAY,iBAAiB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,4BAA4B;AACrC,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,eAAe;AAExB,IAAM,YAAY;AAIlB,UAAU,8BAA8B;AACxC,UAAU,OAAO;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "radix-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -119,5 +119,6 @@
|
|
|
119
119
|
},
|
|
120
120
|
"bugs": {
|
|
121
121
|
"url": "https://github.com/radix-ui/primitives/issues"
|
|
122
|
-
}
|
|
122
|
+
},
|
|
123
|
+
"stableVersion": "1.1.0"
|
|
123
124
|
}
|
package/src/internal.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Primitive as BasePrimitive, dispatchDiscreteCustomEvent } from '@radix-ui/react-primitive';
|
|
1
2
|
export * as ArrowPrimitive from '@radix-ui/react-arrow';
|
|
2
3
|
export * as Collection from '@radix-ui/react-collection';
|
|
3
4
|
export { composeRefs, useComposedRefs } from '@radix-ui/react-compose-refs';
|
|
@@ -8,10 +9,18 @@ export * as FocusScope from '@radix-ui/react-focus-scope';
|
|
|
8
9
|
export * as Menu from '@radix-ui/react-menu';
|
|
9
10
|
export * as Popper from '@radix-ui/react-popper';
|
|
10
11
|
export * as Presence from '@radix-ui/react-presence';
|
|
11
|
-
export
|
|
12
|
+
export type { PrimitivePropsWithRef } from '@radix-ui/react-primitive';
|
|
12
13
|
export * as RovingFocus from '@radix-ui/react-roving-focus';
|
|
13
14
|
export { useCallbackRef } from '@radix-ui/react-use-callback-ref';
|
|
14
15
|
export { useControllableState } from '@radix-ui/react-use-controllable-state';
|
|
15
16
|
export { useEscapeKeydown } from '@radix-ui/react-use-escape-keydown';
|
|
16
17
|
export { useLayoutEffect } from '@radix-ui/react-use-layout-effect';
|
|
17
18
|
export { useSize } from '@radix-ui/react-use-size';
|
|
19
|
+
|
|
20
|
+
const Primitive = BasePrimitive as typeof BasePrimitive & {
|
|
21
|
+
Root: typeof BasePrimitive;
|
|
22
|
+
dispatchDiscreteCustomEvent: typeof dispatchDiscreteCustomEvent;
|
|
23
|
+
};
|
|
24
|
+
Primitive.dispatchDiscreteCustomEvent = dispatchDiscreteCustomEvent;
|
|
25
|
+
Primitive.Root = BasePrimitive;
|
|
26
|
+
export { Primitive };
|