@cntrl-site/sdk-nextjs 1.8.33 → 1.8.35-alpha.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.
Binary file
Binary file
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Article = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
+ // @ts-nocheck
8
9
  const react_1 = require("react");
9
10
  const style_1 = __importDefault(require("styled-jsx/style"));
10
11
  const Section_1 = require("./Section/Section");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk-nextjs",
3
- "version": "1.8.33",
3
+ "version": "1.8.35-alpha.0",
4
4
  "description": "SDK for Next.js",
5
5
  "author": "arsen@momdesign.nyc",
6
6
  "license": "MIT",
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { FC, useEffect, useId, useMemo, useRef, useState } from 'react';
2
3
  import JSXStyle from 'styled-jsx/style';
3
4
  import { Article as TArticle } from '@cntrl-site/sdk';
@@ -1,4 +1,4 @@
1
- import { createContext } from 'react';
1
+ import { createContext, Context } from 'react';
2
2
  import { ArticleRectObserver } from '../utils/ArticleRectManager/ArticleRectObserver';
3
3
 
4
- export const ArticleRectContext = createContext<ArticleRectObserver | null>(null);
4
+ export const ArticleRectContext: Context<ArticleRectObserver | null> = createContext<ArticleRectObserver | null>(null);