@wordpress/primitives 4.45.0 → 4.45.1-next.v.202605131032.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.
- package/build-types/block-quotation/index.d.ts +1 -1
- package/build-types/block-quotation/index.d.ts.map +1 -1
- package/build-types/horizontal-rule/index.d.ts +1 -1
- package/build-types/horizontal-rule/index.d.ts.map +1 -1
- package/build-types/index.d.ts +4 -4
- package/build-types/index.d.ts.map +1 -1
- package/build-types/svg/index.d.ts +65 -14
- package/build-types/svg/index.d.ts.map +1 -1
- package/build-types/view/index.d.ts +1 -1
- package/build-types/view/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const BlockQuotation
|
|
1
|
+
export declare const BlockQuotation = "blockquote";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/block-quotation/index.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/block-quotation/index.js"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,eAAe,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const HorizontalRule
|
|
1
|
+
export declare const HorizontalRule = "hr";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/horizontal-rule/index.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/horizontal-rule/index.js"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,OAAO,CAAC"}
|
package/build-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './svg';
|
|
2
|
+
export * from './horizontal-rule';
|
|
3
|
+
export * from './block-quotation';
|
|
4
|
+
export * from './view';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC"}
|
|
@@ -1,17 +1,68 @@
|
|
|
1
|
-
export function Circle(props: React.ComponentPropsWithoutRef<"circle">): React.JSX.Element;
|
|
2
|
-
export function G(props: React.ComponentPropsWithoutRef<"g">): React.JSX.Element;
|
|
3
|
-
export function Line(props: React.ComponentPropsWithoutRef<"line">): React.JSX.Element;
|
|
4
|
-
export function Path(props: React.ComponentPropsWithoutRef<"path">): React.JSX.Element;
|
|
5
|
-
export function Polygon(props: React.ComponentPropsWithoutRef<"polygon">): React.JSX.Element;
|
|
6
|
-
export function Rect(props: React.ComponentPropsWithoutRef<"rect">): React.JSX.Element;
|
|
7
|
-
export function Defs(props: React.ComponentPropsWithoutRef<"defs">): React.JSX.Element;
|
|
8
|
-
export function RadialGradient(props: React.ComponentPropsWithoutRef<"radialGradient">): React.JSX.Element;
|
|
9
|
-
export function LinearGradient(props: React.ComponentPropsWithoutRef<"linearGradient">): React.JSX.Element;
|
|
10
|
-
export function Stop(props: React.ComponentPropsWithoutRef<"stop">): React.JSX.Element;
|
|
11
|
-
export const SVG: import("react").ForwardRefExoticComponent<{
|
|
12
|
-
isPressed?: boolean;
|
|
13
|
-
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
1
|
export type SVGProps = {
|
|
15
2
|
isPressed?: boolean;
|
|
16
|
-
} & React.ComponentPropsWithoutRef<
|
|
3
|
+
} & React.ComponentPropsWithoutRef<'svg'>;
|
|
4
|
+
/** @typedef {{isPressed?: boolean} & React.ComponentPropsWithoutRef<'svg'>} SVGProps */
|
|
5
|
+
/**
|
|
6
|
+
* @param {React.ComponentPropsWithoutRef<'circle'>} props
|
|
7
|
+
*
|
|
8
|
+
* @return {React.JSX.Element} Circle component
|
|
9
|
+
*/
|
|
10
|
+
export declare const Circle: (props: React.ComponentPropsWithoutRef<'circle'>) => React.JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* @param {React.ComponentPropsWithoutRef<'g'>} props
|
|
13
|
+
*
|
|
14
|
+
* @return {React.JSX.Element} G component
|
|
15
|
+
*/
|
|
16
|
+
export declare const G: (props: React.ComponentPropsWithoutRef<'g'>) => React.JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* @param {React.ComponentPropsWithoutRef<'line'>} props
|
|
19
|
+
*
|
|
20
|
+
* @return {React.JSX.Element} Path component
|
|
21
|
+
*/
|
|
22
|
+
export declare const Line: (props: React.ComponentPropsWithoutRef<'line'>) => React.JSX.Element;
|
|
23
|
+
/**
|
|
24
|
+
* @param {React.ComponentPropsWithoutRef<'path'>} props
|
|
25
|
+
*
|
|
26
|
+
* @return {React.JSX.Element} Path component
|
|
27
|
+
*/
|
|
28
|
+
export declare const Path: (props: React.ComponentPropsWithoutRef<'path'>) => React.JSX.Element;
|
|
29
|
+
/**
|
|
30
|
+
* @param {React.ComponentPropsWithoutRef<'polygon'>} props
|
|
31
|
+
*
|
|
32
|
+
* @return {React.JSX.Element} Polygon component
|
|
33
|
+
*/
|
|
34
|
+
export declare const Polygon: (props: React.ComponentPropsWithoutRef<'polygon'>) => React.JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* @param {React.ComponentPropsWithoutRef<'rect'>} props
|
|
37
|
+
*
|
|
38
|
+
* @return {React.JSX.Element} Rect component
|
|
39
|
+
*/
|
|
40
|
+
export declare const Rect: (props: React.ComponentPropsWithoutRef<'rect'>) => React.JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* @param {React.ComponentPropsWithoutRef<'defs'>} props
|
|
43
|
+
*
|
|
44
|
+
* @return {React.JSX.Element} Defs component
|
|
45
|
+
*/
|
|
46
|
+
export declare const Defs: (props: React.ComponentPropsWithoutRef<'defs'>) => React.JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* @param {React.ComponentPropsWithoutRef<'radialGradient'>} props
|
|
49
|
+
*
|
|
50
|
+
* @return {React.JSX.Element} RadialGradient component
|
|
51
|
+
*/
|
|
52
|
+
export declare const RadialGradient: (props: React.ComponentPropsWithoutRef<'radialGradient'>) => React.JSX.Element;
|
|
53
|
+
/**
|
|
54
|
+
* @param {React.ComponentPropsWithoutRef<'linearGradient'>} props
|
|
55
|
+
*
|
|
56
|
+
* @return {React.JSX.Element} LinearGradient component
|
|
57
|
+
*/
|
|
58
|
+
export declare const LinearGradient: (props: React.ComponentPropsWithoutRef<'linearGradient'>) => React.JSX.Element;
|
|
59
|
+
/**
|
|
60
|
+
* @param {React.ComponentPropsWithoutRef<'stop'>} props
|
|
61
|
+
*
|
|
62
|
+
* @return {React.JSX.Element} Stop component
|
|
63
|
+
*/
|
|
64
|
+
export declare const Stop: (props: React.ComponentPropsWithoutRef<'stop'>) => React.JSX.Element;
|
|
65
|
+
export declare const SVG: import("react").ForwardRefExoticComponent<{
|
|
66
|
+
isPressed?: boolean;
|
|
67
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
68
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/svg/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/svg/index.js"],"names":[],"mappings":"AAUI,YAAyE,QAAQ,GAAvE;IAAC,SAAS,CAAC,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C,OAGmB,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,IAAI,UAJN,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,KAErC,KAAK,CAAC,GAAG,CAAC,OAEyC,CAAC;AAEhE,eAAO,MAAM,GAAG;gBA1EW,OAAO;wGA+FjC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const View
|
|
1
|
+
export declare const View = "div";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/view/index.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/view/index.js"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/primitives",
|
|
3
|
-
"version": "4.45.0",
|
|
3
|
+
"version": "4.45.1-next.v.202605131032.0+f6d6e7149",
|
|
4
4
|
"description": "WordPress cross-platform primitives.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"src/**/*.scss"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@wordpress/element": "^6.45.0",
|
|
50
|
+
"@wordpress/element": "^6.45.1-next.v.202605131032.0+f6d6e7149",
|
|
51
51
|
"clsx": "^2.1.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "0e198c7ac7ca634e73ded9220ce048c0302174dd"
|
|
60
60
|
}
|