@yak/react 10.0.0-rc.1 → 10.0.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/rsbuild/index.ts CHANGED
@@ -60,7 +60,7 @@ export function pluginYak(yakOptions: YakConfigOptions = {}): RsbuildPlugin {
60
60
  use: [
61
61
  {
62
62
  loader: rspackLoaderPath,
63
- options: { yakOptions, yakPluginOptions },
63
+ options: { yakOptions, yakPluginOptions, cssUrlsFromRoot: true },
64
64
  },
65
65
  ],
66
66
  },
@@ -8,14 +8,14 @@ export interface YakTheme {}
8
8
 
9
9
  /**
10
10
  * The yak theme context
11
- * @see https://github.com/DigitecGalaxus/next-yak/blob/main/packages/yak-react/runtime/context/README.md
11
+ * @see https://github.com/galaxuslabs/yak/blob/main/packages/yak-react/runtime/context/README.md
12
12
  */
13
13
  const YakContext = createContext<YakTheme>({});
14
14
 
15
15
  /**
16
16
  * Returns the current yak theme context
17
17
  *
18
- * @see https://github.com/DigitecGalaxus/next-yak/blob/main/packages/yak-react/runtime/context/README.md
18
+ * @see https://github.com/galaxuslabs/yak/blob/main/packages/yak-react/runtime/context/README.md
19
19
  */
20
20
  export const useTheme = (): YakTheme => {
21
21
  const context = use(YakContext);
@@ -25,7 +25,7 @@ export const useTheme = (): YakTheme => {
25
25
  /**
26
26
  * Yak theme context provider
27
27
  *
28
- * @see https://github.com/DigitecGalaxus/next-yak/blob/main/packages/yak-react/runtime/context/README.md
28
+ * @see https://github.com/galaxuslabs/yak/blob/main/packages/yak-react/runtime/context/README.md
29
29
  */
30
30
  export const YakThemeProvider = ({
31
31
  children,
@@ -81,7 +81,7 @@ export function allowYakGlobalCss(webpackConfig: WebpackConfig) {
81
81
  console.warn(
82
82
  "@yak/react: could not find the next.js global-CSS rules. " +
83
83
  "Please report this issue with your Next.js version at " +
84
- "https://github.com/DigitecGalaxus/next-yak/issues/new",
84
+ "https://github.com/galaxuslabs/yak/issues/new",
85
85
  );
86
86
  return;
87
87
  }