@expo/html-elements 58.0.1 → 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 +4 -0
- package/build/css/createSafeStyledView.native.d.ts +1 -1
- package/build/elements/Anchor.d.ts +1 -1
- package/build/elements/Lists.d.ts +1 -1
- package/build/elements/Rules.d.ts +1 -1
- package/build/elements/Table.d.ts +8 -8
- package/build/elements/Text.d.ts +11 -11
- package/build/primitives/createDevView.d.ts +1 -1
- package/package.json +3 -3
- package/.npmignore +0 -3
- package/.tsbuildinfo +0 -1
- package/.turbo/turbo-build.log +0 -24
- package/babel/jest.config.js +0 -8
- package/jest-setup.js +0 -1
- package/tsconfig.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -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) =>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
5
|
-
export declare function THead(props: ViewProps): import("react
|
|
6
|
-
export declare function TBody(props: ViewProps): import("react
|
|
7
|
-
export declare function TFoot(props: ViewProps): import("react
|
|
8
|
-
export declare function TH(props: TableTextProps): import("react
|
|
9
|
-
export declare function TR(props: ViewProps): import("react
|
|
10
|
-
export declare function TD(props: TableTextProps): import("react
|
|
11
|
-
export declare function Caption(props: TextProps): import("react
|
|
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;
|
package/build/elements/Text.d.ts
CHANGED
|
@@ -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
|
|
5
|
-
export declare function B({ style, ...props }: TextProps): import("react
|
|
6
|
-
export declare function S({ style, ...props }: TextProps): import("react
|
|
7
|
-
export declare function I({ style, ...props }: TextProps): import("react
|
|
8
|
-
export declare function Q({ children, cite, style, ...props }: QuoteProps): import("react
|
|
9
|
-
export declare function BlockQuote({ style, cite, ...props }: BlockQuoteProps): import("react
|
|
10
|
-
export declare function BR({ style, ...props }: TextProps): import("react
|
|
11
|
-
export declare function Mark({ style, ...props }: TextProps): import("react
|
|
12
|
-
export declare function Code({ style, ...props }: TextProps): import("react
|
|
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
|
|
15
|
-
export declare function Time({ dateTime, ...props }: TimeProps): import("react
|
|
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;
|
|
@@ -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) =>
|
|
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.
|
|
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.
|
|
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": "
|
|
88
|
+
"gitHead": "ebb1fd7569c9c9e172cb9abd73dfede027c1d674",
|
|
89
89
|
"scripts": {
|
|
90
90
|
"build": "expo-build src",
|
|
91
91
|
"clean": "expo-module clean",
|
package/.npmignore
DELETED
package/.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"6.0.3"}
|
package/.turbo/turbo-build.log
DELETED
|
@@ -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
|
package/babel/jest.config.js
DELETED
package/jest-setup.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|