@octanejs/shadcn 0.0.17 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/shadcn",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -153,14 +153,14 @@
153
153
  "class-variance-authority": "0.7.1",
154
154
  "clsx": "^2.1.1",
155
155
  "tailwind-merge": "3.6.0",
156
- "@octanejs/aria": "0.0.26",
157
- "@octanejs/base-ui": "0.1.30",
158
- "@octanejs/radix": "0.1.31",
159
- "@octanejs/lucide": "0.1.27",
160
- "@octanejs/sonner": "0.1.27"
156
+ "@octanejs/aria": "0.0.28",
157
+ "@octanejs/base-ui": "0.1.32",
158
+ "@octanejs/lucide": "0.1.29",
159
+ "@octanejs/radix": "0.1.33",
160
+ "@octanejs/sonner": "0.1.29"
161
161
  },
162
162
  "peerDependencies": {
163
- "octane": "0.1.32"
163
+ "octane": "0.1.34"
164
164
  },
165
165
  "devDependencies": {
166
166
  "@tsrx/react": "^0.2.56",
@@ -170,7 +170,7 @@
170
170
  "react": "^19.2.7",
171
171
  "react-dom": "^19.2.7",
172
172
  "vitest": "^4.1.10",
173
- "octane": "0.1.32"
173
+ "octane": "0.1.34"
174
174
  },
175
175
  "scripts": {
176
176
  "test": "vitest run",
@@ -9,7 +9,7 @@
9
9
  // than transcribed from upstream's Base UI source. Nothing in it keys off a primitive-emitted
10
10
  // attribute, so it is a lower-risk case than `separator` — but verify before treating as ported.
11
11
  //
12
- // OCTANE DIVERGENCE: per-keystroke handling is the native `onInput` event; native `change`
12
+ // Octane divergence (shadcn-native-input-events): per-keystroke handling is the native `onInput` event; native `change`
13
13
  // keeps its commit-on-blur meaning.
14
14
  import { Input as InputPrimitive } from '@octanejs/base-ui/input';
15
15
 
@@ -4,7 +4,7 @@
4
4
  // from upstream's `bases/base-ui/ui/native-select.tsx`, which was not available at port time.
5
5
  // Diff the class strings against the upstream source before treating this as ported.
6
6
  //
7
- // OCTANE DIVERGENCE: upstream's IconPlaceholder resolves to lucide via @octanejs/lucide.
7
+ // Octane divergence (shadcn-icon-resolution): upstream's IconPlaceholder resolves to lucide via @octanejs/lucide.
8
8
  // Events are native: a `<select>`'s `change` keeps its platform commit meaning, so consumer
9
9
  // `onChange` handlers are passed through unrenamed.
10
10
  import { ChevronDownIcon } from '@octanejs/lucide';
@@ -4,7 +4,7 @@
4
4
  // from upstream's `bases/base-ui/ui/spinner.tsx`, which was not available at port time.
5
5
  // Diff the class strings against the upstream source before treating this as ported.
6
6
  //
7
- // OCTANE DIVERGENCE: upstream's IconPlaceholder (the CLI-resolved iconLibrary axis) is
7
+ // Octane divergence (shadcn-icon-resolution): upstream's IconPlaceholder (the CLI-resolved iconLibrary axis) is
8
8
  // resolved at port time to the default library, lucide, via @octanejs/lucide. Other icon
9
9
  // libraries are a registry-emit concern.
10
10
  //
@@ -5,7 +5,7 @@
5
5
  // UNVERIFIED PROVENANCE: class string taken from this package's React Aria base rather than
6
6
  // transcribed from upstream's Base UI source.
7
7
  //
8
- // OCTANE DIVERGENCE: per-keystroke handling is the native `onInput` event, not a synthetic
8
+ // Octane divergence (shadcn-native-input-events): per-keystroke handling is the native `onInput` event, not a synthetic
9
9
  // `onChange`; native `change` keeps its commit-on-blur meaning.
10
10
  import { cn } from '../../../lib/utils';
11
11
  import type { HostProps } from '../../../lib/types';
@@ -43,7 +43,7 @@ export const buttonVariants = cva(
43
43
  export interface ButtonProps extends HostProps<'button'> {
44
44
  variant?: VariantProps<typeof buttonVariants>['variant'];
45
45
  size?: VariantProps<typeof buttonVariants>['size'];
46
- // OCTANE DIVERGENCE: asChild composes element descriptors (createElement),
46
+ // Octane divergence (shadcn-aschild-descriptors): asChild composes element descriptors (createElement),
47
47
  // not opaque compiled .tsrx children — the documented radix Slot contract.
48
48
  asChild?: boolean;
49
49
  }
@@ -1,5 +1,5 @@
1
1
  // Default-Tailwind (package canonical) input — user-supplied flavor, class string verbatim.
2
- // OCTANE DIVERGENCE: per-keystroke handling is the native onInput event.
2
+ // Octane divergence (shadcn-native-input-events): per-keystroke handling is the native onInput event.
3
3
  import { cn } from '../../../lib/utils';
4
4
  import type { HostProps } from '../../../lib/types';
5
5
 
@@ -56,7 +56,7 @@ export interface ItemProps extends Record<string, unknown> {
56
56
  className?: string;
57
57
  variant?: VariantProps<typeof itemVariants>['variant'];
58
58
  size?: VariantProps<typeof itemVariants>['size'];
59
- // OCTANE DIVERGENCE: asChild composes element descriptors (createElement),
59
+ // Octane divergence (shadcn-aschild-descriptors): asChild composes element descriptors (createElement),
60
60
  // not opaque compiled .tsrx children — the documented radix Slot contract.
61
61
  asChild?: boolean;
62
62
  }
@@ -3,7 +3,7 @@
3
3
  // dropped — octane has no RSC axis). IconPlaceholder resolves to lucide (see
4
4
  // spinner.tsrx).
5
5
  //
6
- // OCTANE DIVERGENCE: upstream reads the theme from next-themes' useTheme()
6
+ // Octane divergence (shadcn-sonner-theme): upstream reads the theme from next-themes' useTheme()
7
7
  // (Next.js-specific); here `theme` is an ordinary prop with upstream's
8
8
  // 'system' default — pass your app's theme source explicitly. The icon
9
9
  // descriptors are composed with createElement (they travel through a props
@@ -1,7 +1,7 @@
1
1
  // Ported from shadcn-ui/ui@4baadbc6517070ae8f8feb2c97037adc2b305544
2
2
  // apps/v4/registry/bases/radix/ui/spinner.tsx.
3
3
  //
4
- // OCTANE DIVERGENCE: upstream's IconPlaceholder (the CLI-resolved iconLibrary
4
+ // Octane divergence (shadcn-icon-resolution): upstream's IconPlaceholder (the CLI-resolved iconLibrary
5
5
  // axis) is resolved at port time to the default library, lucide, via
6
6
  // @octanejs/lucide. Other icon libraries are a registry-emit concern.
7
7
  import { Loader2Icon } from '@octanejs/lucide';
@@ -1,7 +1,7 @@
1
1
  // Ported from shadcn-ui/ui@4baadbc6517070ae8f8feb2c97037adc2b305544
2
2
  // apps/v4/registry/bases/radix/ui/textarea.tsx.
3
3
  //
4
- // OCTANE DIVERGENCE: per-keystroke handling is the native `onInput` event, not
4
+ // Octane divergence (shadcn-native-input-events): per-keystroke handling is the native `onInput` event, not
5
5
  // a synthetic `onChange`; native `change` keeps its commit-on-blur meaning.
6
6
  import { cn } from '../../../lib/utils';
7
7
  import type { HostProps } from '../../../lib/types';
@@ -3,7 +3,7 @@
3
3
  // prop still receives its render values). Class strings are the package's
4
4
  // shipped utilities-inlined flavor, matching the Radix base.
5
5
  //
6
- // OCTANE DIVERGENCE: per-keystroke handling is the native `onInput` event;
6
+ // Octane divergence (shadcn-native-input-events): per-keystroke handling is the native `onInput` event;
7
7
  // native `change` keeps its commit-on-blur meaning.
8
8
  import { composeRenderProps, Input as InputPrimitive } from '@octanejs/aria/components';
9
9
  import type { InputProps as InputPrimitiveProps } from '@octanejs/aria/components';
@@ -2,7 +2,7 @@
2
2
  // no RAC primitive — so this matches the Radix base apart from its own class
3
3
  // string.
4
4
  //
5
- // OCTANE DIVERGENCE: upstream's IconPlaceholder (the CLI-resolved iconLibrary
5
+ // Octane divergence (shadcn-icon-resolution): upstream's IconPlaceholder (the CLI-resolved iconLibrary
6
6
  // axis) is resolved at port time to the default library, lucide, via
7
7
  // @octanejs/lucide. Other icon libraries are a registry-emit concern.
8
8
  //
@@ -2,7 +2,7 @@
2
2
  // (RAC TextArea, className through composeRenderProps). Class strings are the
3
3
  // package's shipped utilities-inlined flavor, matching the Radix base.
4
4
  //
5
- // OCTANE DIVERGENCE: per-keystroke handling is the native `onInput` event, not
5
+ // Octane divergence (shadcn-native-input-events): per-keystroke handling is the native `onInput` event, not
6
6
  // a synthetic `onChange`; native `change` keeps its commit-on-blur meaning.
7
7
  import { composeRenderProps, TextArea as TextareaPrimitive } from '@octanejs/aria/components';
8
8
  import type { TextAreaProps as TextareaPrimitiveProps } from '@octanejs/aria/components';