@akinon/next 1.126.0 → 1.126.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.126.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8d9e44ef: ZERO-4365: Remove brand `@theme/*` alias imports from library packages
8
+
9
+ `pz-virtual-try-on/src/components/barcode-scanner.tsx` was importing `LoaderSpinner` from `@theme/components`, which only resolves inside the brand's own `src/` scope (Next.js tsconfig paths -> webpack alias). Plugin source compiled via `transpilePackages` cannot see this alias, so any brand using the plugin (since 1.117.0) fails to build with `Module not found: Can't resolve '@theme/components'`. The `LoaderSpinner` was a redundant second spinner on top of an existing Tailwind `animate-spin` div — removed entirely. The `settings.customRenderers.renderLoadingSpinner` override path is unchanged.
10
+
11
+ `akinon-next/components/select.tsx` was using `import { SelectProps } from '@theme/components/types'` (value import). Changed to `import type` so the brand-side type dependency is erased at compile time and never reaches webpack module resolution.
12
+
3
13
  ## 1.126.0
4
14
 
5
15
  ## 1.125.2
@@ -1,5 +1,5 @@
1
1
  import { forwardRef } from 'react';
2
- import { SelectProps } from '@theme/components/types';
2
+ import type { SelectProps } from '@theme/components/types';
3
3
  import clsx from 'clsx';
4
4
  import { Icon } from './icon';
5
5
  import { twMerge } from 'tailwind-merge';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/next",
3
3
  "description": "Core package for Project Zero Next",
4
- "version": "1.126.0",
4
+ "version": "1.126.1",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -35,7 +35,7 @@
35
35
  "set-cookie-parser": "2.6.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@akinon/eslint-plugin-projectzero": "1.126.0",
38
+ "@akinon/eslint-plugin-projectzero": "1.126.1",
39
39
  "@babel/core": "7.26.10",
40
40
  "@babel/preset-env": "7.26.9",
41
41
  "@babel/preset-typescript": "7.27.0",