@octanejs/styled-components 0.1.50 → 0.1.52

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/styled-components",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -42,7 +42,7 @@
42
42
  "stylis": "^4.4.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "octane": "^0.8.0"
45
+ "octane": "^0.9.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsrx/react": "^0.3.7",
@@ -52,7 +52,7 @@
52
52
  "react-dom": "19.2.7",
53
53
  "styled-components": "6.4.3",
54
54
  "vitest": "^4.1.10",
55
- "octane": "0.8.0"
55
+ "octane": "0.9.1"
56
56
  },
57
57
  "scripts": {
58
58
  "test": "vitest run"
package/src/index.ts CHANGED
@@ -12,7 +12,6 @@ import {
12
12
  IStyleSheetContext,
13
13
  IStyleSheetManager,
14
14
  IStylisContext,
15
- mainSheet,
16
15
  StyleSheetConsumer,
17
16
  StyleSheetContext,
18
17
  StyleSheetManager,
package/src/types.ts CHANGED
@@ -203,7 +203,7 @@ export type PolymorphicCallProps<BaseProps extends BaseObject> = FastOmit<
203
203
  ref?: any;
204
204
  } & { [key: string]: any };
205
205
 
206
- export interface PolymorphicComponent<R extends Runtime, BaseProps extends BaseObject> {
206
+ export interface PolymorphicComponent<_R extends Runtime, BaseProps extends BaseObject> {
207
207
  (props: PolymorphicCallProps<WidenUntypedProps<BaseProps>>, scope?: any): unknown;
208
208
  displayName?: string | undefined;
209
209
  }
@@ -265,7 +265,7 @@ export default function createStylisInstance(
265
265
  let _selector: string;
266
266
  let _selectorRegexp: RegExp | undefined;
267
267
 
268
- const selfReferenceReplacer = (match: string, offset: number, string: string) => {
268
+ const selfReferenceReplacer = (match: string, _offset: number, string: string) => {
269
269
  if (
270
270
  /**
271
271
  * We only want to refer to the static class directly if the selector is part of a