@expo/html-elements 58.0.0 → 58.0.2

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
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 58.0.2 — 2026-09-21
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 58.0.1 — 2026-09-14
18
+
19
+ ### 💡 Others
20
+
21
+ - Upgrade React Native to 0.88.0-rc.0 ([#49910](https://github.com/expo/expo/pull/49910) by [@gabrieldonadel](https://github.com/gabrieldonadel))
22
+
13
23
  ## 58.0.0 — 2026-09-10
14
24
 
15
25
  ### 🐛 Bug fixes
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare function createSafeStyledView<TView extends React.ComponentType<any>>(View: TView): ({ style, ...props }: any) => import("react/jsx-runtime").JSX.Element;
2
+ export declare function createSafeStyledView<TView extends React.ComponentType<any>>(View: TView): ({ style, ...props }: any) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { LinkProps } from './Text.types';
2
- export declare function A({ href, target, download, rel, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function A({ href, target, download, rel, ...props }: LinkProps): import("react").JSX.Element;
@@ -3,5 +3,5 @@ import type { TextProps } from '../primitives/Text';
3
3
  import type { ViewProps } from '../primitives/View';
4
4
  export declare const UL: ComponentType<ViewProps>;
5
5
  type LIProps = TextProps | ViewProps;
6
- export declare function LI(props: PropsWithChildren<LIProps>): import("react/jsx-runtime").JSX.Element;
6
+ export declare function LI(props: PropsWithChildren<LIProps>): import("react").JSX.Element;
7
7
  export {};
@@ -1,2 +1,2 @@
1
1
  import type { ViewProps } from '../primitives/View';
2
- export declare function HR(props: ViewProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function HR(props: ViewProps): import("react").JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import type { TableTextProps } from '../primitives/Table';
2
2
  import type { TextProps } from '../primitives/Text';
3
3
  import type { ViewProps } from '../primitives/View';
4
- export declare function Table(props: ViewProps): import("react/jsx-runtime").JSX.Element;
5
- export declare function THead(props: ViewProps): import("react/jsx-runtime").JSX.Element;
6
- export declare function TBody(props: ViewProps): import("react/jsx-runtime").JSX.Element;
7
- export declare function TFoot(props: ViewProps): import("react/jsx-runtime").JSX.Element;
8
- export declare function TH(props: TableTextProps): import("react/jsx-runtime").JSX.Element;
9
- export declare function TR(props: ViewProps): import("react/jsx-runtime").JSX.Element;
10
- export declare function TD(props: TableTextProps): import("react/jsx-runtime").JSX.Element;
11
- export declare function Caption(props: TextProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function Table(props: ViewProps): import("react").JSX.Element;
5
+ export declare function THead(props: ViewProps): import("react").JSX.Element;
6
+ export declare function TBody(props: ViewProps): import("react").JSX.Element;
7
+ export declare function TFoot(props: ViewProps): import("react").JSX.Element;
8
+ export declare function TH(props: TableTextProps): import("react").JSX.Element;
9
+ export declare function TR(props: ViewProps): import("react").JSX.Element;
10
+ export declare function TD(props: TableTextProps): import("react").JSX.Element;
11
+ export declare function Caption(props: TextProps): import("react").JSX.Element;
@@ -1,18 +1,18 @@
1
1
  import type { TextProps } from '../primitives/Text';
2
2
  import type { ViewProps } from '../primitives/View';
3
3
  import type { BlockQuoteProps, QuoteProps, TimeProps } from './Text.types';
4
- export declare function P({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
5
- export declare function B({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
6
- export declare function S({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
7
- export declare function I({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
8
- export declare function Q({ children, cite, style, ...props }: QuoteProps): import("react/jsx-runtime").JSX.Element;
9
- export declare function BlockQuote({ style, cite, ...props }: BlockQuoteProps): import("react/jsx-runtime").JSX.Element;
10
- export declare function BR({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
11
- export declare function Mark({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
12
- export declare function Code({ style, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function P({ style, ...props }: TextProps): import("react").JSX.Element;
5
+ export declare function B({ style, ...props }: TextProps): import("react").JSX.Element;
6
+ export declare function S({ style, ...props }: TextProps): import("react").JSX.Element;
7
+ export declare function I({ style, ...props }: TextProps): import("react").JSX.Element;
8
+ export declare function Q({ children, cite, style, ...props }: QuoteProps): import("react").JSX.Element;
9
+ export declare function BlockQuote({ style, cite, ...props }: BlockQuoteProps): import("react").JSX.Element;
10
+ export declare function BR({ style, ...props }: TextProps): import("react").JSX.Element;
11
+ export declare function Mark({ style, ...props }: TextProps): import("react").JSX.Element;
12
+ export declare function Code({ style, ...props }: TextProps): import("react").JSX.Element;
13
13
  type PreProps = TextProps | ViewProps;
14
- export declare function Pre(props: PreProps): import("react/jsx-runtime").JSX.Element;
15
- export declare function Time({ dateTime, ...props }: TimeProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function Pre(props: PreProps): import("react").JSX.Element;
15
+ export declare function Time({ dateTime, ...props }: TimeProps): import("react").JSX.Element;
16
16
  export declare const Strong: typeof B;
17
17
  export declare const Del: typeof S;
18
18
  export declare const EM: typeof I;
@@ -34,11 +34,11 @@ export interface WebViewStyle {
34
34
  /** @platform web */
35
35
  backgroundOrigin?: 'border-box' | 'content-box' | 'padding-box';
36
36
  /** @platform web */
37
- backgroundPosition?: string;
37
+ backgroundPosition?: NativeViewStyle['backgroundPosition'] | string;
38
38
  /** @platform web */
39
- backgroundRepeat?: string;
39
+ backgroundRepeat?: NativeViewStyle['backgroundRepeat'] | string;
40
40
  /** @platform web */
41
- backgroundSize?: string;
41
+ backgroundSize?: NativeViewStyle['backgroundSize'] | string;
42
42
  /** @platform web */
43
43
  boxShadow?: string | readonly BoxShadowValue[];
44
44
  /** @platform web */
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  /** Extend a view with a `children` filter that asserts more helpful warnings/errors. */
3
- export declare function createDevView<TView extends React.ComponentType<any>>(View: TView): ({ children, ...props }: any) => import("react/jsx-runtime").JSX.Element;
3
+ export declare function createDevView<TView extends React.ComponentType<any>>(View: TView): ({ children, ...props }: any) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/html-elements",
3
- "version": "58.0.0",
3
+ "version": "58.0.2",
4
4
  "description": "Universal semantic HTML React components for iOS, Android, web, and desktop",
5
5
  "keywords": [
6
6
  "expo",
@@ -47,7 +47,7 @@
47
47
  "@testing-library/jest-dom": "^6.6.3",
48
48
  "@testing-library/react": "^16.3.0",
49
49
  "@testing-library/react-native": "^13.3.0",
50
- "@types/react": "~19.2.2",
50
+ "@types/react": "~19.3.0",
51
51
  "expo-module-scripts": "56.0.3"
52
52
  },
53
53
  "peerDependencies": {
@@ -85,7 +85,7 @@
85
85
  }
86
86
  ]
87
87
  },
88
- "gitHead": "c543a7181fc32e14f42d89550087b80ac5c490f2",
88
+ "gitHead": "ebb1fd7569c9c9e172cb9abd73dfede027c1d674",
89
89
  "scripts": {
90
90
  "build": "expo-build src",
91
91
  "clean": "expo-module clean",
@@ -48,11 +48,11 @@ export interface WebViewStyle {
48
48
  /** @platform web */
49
49
  backgroundOrigin?: 'border-box' | 'content-box' | 'padding-box';
50
50
  /** @platform web */
51
- backgroundPosition?: string;
51
+ backgroundPosition?: NativeViewStyle['backgroundPosition'] | string;
52
52
  /** @platform web */
53
- backgroundRepeat?: string;
53
+ backgroundRepeat?: NativeViewStyle['backgroundRepeat'] | string;
54
54
  /** @platform web */
55
- backgroundSize?: string;
55
+ backgroundSize?: NativeViewStyle['backgroundSize'] | string;
56
56
  /** @platform web */
57
57
  boxShadow?: string | readonly BoxShadowValue[];
58
58
  /** @platform web */
package/.npmignore DELETED
@@ -1,3 +0,0 @@
1
- babel.config.js
2
- /.expo/
3
- /oxlint.config.mjs
package/.tsbuildinfo DELETED
@@ -1 +0,0 @@
1
- {"version":"6.0.3"}
@@ -1,24 +0,0 @@
1
- $ expo-build src
2
- src/Elements.tsx
3
- src/css/createSafeStyledView.native.tsx
4
- src/css/createSafeStyledView.tsx
5
- src/css/filterStyles.ts
6
- src/css/units.ts
7
- src/elements/Anchor.tsx
8
- src/elements/Headings.tsx
9
- src/elements/Layout.tsx
10
- src/elements/Lists.tsx
11
- src/elements/Rules.tsx
12
- src/elements/Rules.web.tsx
13
- src/elements/Table.tsx
14
- src/elements/Table.web.tsx
15
- src/elements/Text.tsx
16
- src/elements/Text.types.ts
17
- src/primitives/Image.tsx
18
- src/primitives/RNWView.tsx
19
- src/primitives/Table.tsx
20
- src/primitives/Text.tsx
21
- src/primitives/View.tsx
22
- src/primitives/createDevView.tsx
23
- src/ts-declarations/process.d.ts
24
- src/ts-declarations/react-native-web.d.ts
@@ -1 +0,0 @@
1
- $ expo-module depscheck
@@ -1,22 +0,0 @@
1
- $ pnpm test:babel && pnpm test:src
2
- $ jest --config babel/jest.config.js
3
- node:internal/modules/cjs/loader:1404
4
- throw err;
5
- ^
6
-
7
- Error: Cannot find module '/Users/alanhughes/Work/expo/node_modules/.pnpm/jest@29.7.0_@types+node@22.19.15_ts-node@10.9.2_@swc+core@1.15.18_@types+node@22.19.15_typescript@6.0.3_/node_modules/jest/bin/jest.js'
8
-  at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
9
-  at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
10
-  at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
11
-  at Function._load (node:internal/modules/cjs/loader:1211:37)
12
-  at TracingChannel.traceSync (node:diagnostics_channel:322:14)
13
-  at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
14
-  at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
15
-  at node:internal/main/run_main_module:36:49 {
16
- code: 'MODULE_NOT_FOUND',
17
- requireStack: []
18
- }
19
-
20
- Node.js v22.17.0
21
- [ELIFECYCLE] Command failed with exit code 1.
22
- [ELIFECYCLE] Test failed. See above for more details.
@@ -1 +0,0 @@
1
- $ tsc -p tsconfig.json
@@ -1,8 +0,0 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- ...require('expo-module-scripts/jest-preset-cli'),
5
- rootDir: path.resolve(__dirname),
6
- displayName: require('../package').name,
7
- roots: ['.'],
8
- };
package/jest-setup.js DELETED
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom';
package/tsconfig.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "expo-module-scripts/tsconfig.base",
3
- "compilerOptions": {
4
- "rootDir": "./src",
5
- "noEmit": true,
6
- "emitDeclarationOnly": true
7
- },
8
- "include": ["./src"]
9
- }