@octanejs/radix 0.1.60 → 0.1.61

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.
@@ -100,7 +100,6 @@ const [createSelectContext, createSelectScope] = (0, import_context.createContex
100
100
  const usePopperScope = (0, import_Popper.createPopperScope)();
101
101
  const [SelectProviderImpl, useSelectContext] = createSelectContext(SELECT_NAME);
102
102
  const [SelectNativeOptionsProvider, useSelectNativeOptionsContext] = createSelectContext(SELECT_NAME);
103
- const PROVIDER_NAME = "SelectProvider";
104
103
  function Provider(props) {
105
104
  const slot = (0, import_internal.S)("Select.Provider");
106
105
  const {
@@ -422,7 +421,6 @@ function ContentFragment(props) {
422
421
  }
423
422
  const CONTENT_MARGIN = 10;
424
423
  const [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME);
425
- const CONTENT_IMPL_NAME = "SelectContentImpl";
426
424
  function ContentImpl(props) {
427
425
  const slot = (0, import_internal.S)("Select.ContentImpl");
428
426
  const {
@@ -682,7 +680,6 @@ function ContentImpl(props) {
682
680
  })
683
681
  });
684
682
  }
685
- const ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition";
686
683
  function ItemAlignedPosition(props) {
687
684
  const slot = (0, import_internal.S)("Select.ItemAlignedPosition");
688
685
  const { __scopeSelect, onPlaced, ref: forwardedRef, ...popperProps } = props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/radix",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "aria-hidden": "^1.2.6",
50
- "@octanejs/floating-ui": "0.1.60"
50
+ "@octanejs/floating-ui": "0.1.61"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "octane": "^0.9.0"
@@ -59,7 +59,7 @@
59
59
  "react": "19.2.7",
60
60
  "react-dom": "19.2.7",
61
61
  "vitest": "^4.1.10",
62
- "octane": "0.9.0"
62
+ "octane": "0.9.1"
63
63
  },
64
64
  "scripts": {
65
65
  "build:cjs": "node ../../scripts/build-package-commonjs.mjs",
package/src/Select.ts CHANGED
@@ -129,8 +129,6 @@ const [SelectNativeOptionsProvider, useSelectNativeOptionsContext] =
129
129
  * SelectProvider
130
130
  * -----------------------------------------------------------------------------------------------*/
131
131
 
132
- const PROVIDER_NAME = 'SelectProvider';
133
-
134
132
  export function Provider(props: any): any {
135
133
  const slot = S('Select.Provider');
136
134
  const {
@@ -571,8 +569,6 @@ interface SelectContentContextValue {
571
569
  const [SelectContentProvider, useSelectContentContext] =
572
570
  createSelectContext<SelectContentContextValue>(CONTENT_NAME);
573
571
 
574
- const CONTENT_IMPL_NAME = 'SelectContentImpl';
575
-
576
572
  function ContentImpl(props: any): any {
577
573
  const slot = S('Select.ContentImpl');
578
574
  const {
@@ -885,8 +881,6 @@ function ContentImpl(props: any): any {
885
881
  * SelectItemAlignedPosition
886
882
  * -----------------------------------------------------------------------------------------------*/
887
883
 
888
- const ITEM_ALIGNED_POSITION_NAME = 'SelectItemAlignedPosition';
889
-
890
884
  function ItemAlignedPosition(props: any): any {
891
885
  const slot = S('Select.ItemAlignedPosition');
892
886
  const { __scopeSelect, onPlaced, ref: forwardedRef, ...popperProps } = props;
package/src/Slider.ts CHANGED
@@ -21,8 +21,6 @@ import { usePrevious } from './use-previous';
21
21
  import { useSize } from './use-size';
22
22
  import { useControllableState } from './useControllableState';
23
23
 
24
- type Direction = 'ltr' | 'rtl';
25
-
26
24
  const PAGE_KEYS = ['PageUp', 'PageDown'];
27
25
  const ARROW_KEYS = ['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'];
28
26