@os-design/website 1.0.310 → 1.0.312

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.
@@ -1,6 +1,7 @@
1
1
  import { type ImageProps } from '@os-design/core';
2
2
  import { type WithSize } from '@os-design/styles';
3
- type JsxSectionProps = Omit<JSX.IntrinsicElements['section'], 'ref'>;
3
+ import React from 'react';
4
+ type JsxSectionProps = Omit<React.JSX.IntrinsicElements['section'], 'ref'>;
4
5
  export interface SectionProps extends JsxSectionProps, WithSize {
5
6
  /**
6
7
  * The URL of the background image.
@@ -26,6 +27,6 @@ export interface SectionProps extends JsxSectionProps, WithSize {
26
27
  /**
27
28
  * The base section for the content.
28
29
  */
29
- declare const Section: import("react").ForwardRefExoticComponent<SectionProps & import("react").RefAttributes<HTMLElement>>;
30
+ declare const Section: React.ForwardRefExoticComponent<SectionProps & React.RefAttributes<HTMLElement>>;
30
31
  export default Section;
31
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Section/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAK9D,KAAK,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,CAAC;AACrE,MAAM,WAAW,YAAa,SAAQ,eAAe,EAAE,QAAQ;IAC7D;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuED;;GAEG;AACH,QAAA,MAAM,OAAO,sGA2CZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Section/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,KAAK,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,CAAC;AAC3E,MAAM,WAAW,YAAa,SAAQ,eAAe,EAAE,QAAQ;IAC7D;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuED;;GAEG;AACH,QAAA,MAAM,OAAO,kFA2CZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -5,7 +5,7 @@ import { m } from '@os-design/media';
5
5
  import { sizeStyles } from '@os-design/styles';
6
6
  import { clr, ThemeOverrider, useTheme } from '@os-design/theming';
7
7
  import { omitEmotionProps } from '@os-design/utils';
8
- import { forwardRef } from 'react';
8
+ import React, { forwardRef } from 'react';
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  const BG_IMAGE_CLASS_NAME = 'section-bg-image';
11
11
  const hasBgStyles = p => p.hasBg && css`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-design/website",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/os-design.git",
6
6
  "type": "module",
@@ -23,28 +23,28 @@
23
23
  "build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx --out-dir dist",
24
24
  "build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --declarationDir dist",
25
25
  "build": "yarn clean && npm-run-all 'build:*'",
26
- "ncu": "ncu -u '/^(?!(react|@types/react|react-dom|@types/react-dom)$).*$/'"
26
+ "ncu": "ncu -u"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@os-design/core": "^1.0.303",
33
- "@os-design/media": "^1.0.34",
34
- "@os-design/styles": "^1.0.70",
35
- "@os-design/theming": "^1.0.65",
36
- "@os-design/utils": "^1.0.95"
32
+ "@os-design/core": "^1.0.305",
33
+ "@os-design/media": "^1.0.35",
34
+ "@os-design/styles": "^1.0.71",
35
+ "@os-design/theming": "^1.0.66",
36
+ "@os-design/utils": "^1.0.96"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@emotion/react": ">=11",
40
40
  "@emotion/styled": ">=11",
41
- "@os-design/icons": "^1.0.73"
41
+ "@os-design/icons": "^1.0.74"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@emotion/react": ">=11",
45
45
  "@emotion/styled": ">=11",
46
- "react": "18",
47
- "react-dom": "18"
46
+ "react": "19",
47
+ "react-dom": "19"
48
48
  },
49
- "gitHead": "0ef5d7b8bcfefd958d3a51f5181cd6de2ef5ae27"
49
+ "gitHead": "f333f60e39273574d2227cf0ee70b0c8897b2dde"
50
50
  }
@@ -5,9 +5,9 @@ import { m } from '@os-design/media';
5
5
  import { sizeStyles, type WithSize } from '@os-design/styles';
6
6
  import { clr, ThemeOverrider, useTheme } from '@os-design/theming';
7
7
  import { omitEmotionProps } from '@os-design/utils';
8
- import { forwardRef } from 'react';
8
+ import React, { forwardRef } from 'react';
9
9
 
10
- type JsxSectionProps = Omit<JSX.IntrinsicElements['section'], 'ref'>;
10
+ type JsxSectionProps = Omit<React.JSX.IntrinsicElements['section'], 'ref'>;
11
11
  export interface SectionProps extends JsxSectionProps, WithSize {
12
12
  /**
13
13
  * The URL of the background image.