@yamada-ui/react 2.2.11-dev-20261013153714 → 2.2.11-dev-20261020115515
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.
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
//#region src/components/chart/polar-chart.style.d.ts
|
|
5
|
-
export declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "
|
|
5
|
+
export declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "labelList" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector", CSSPropObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "labelList" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "labelList" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "labelList" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>>;
|
|
6
6
|
export type PolarChartStyle = typeof polarChartStyle;
|
|
7
7
|
//#endregion
|
|
8
8
|
//# sourceMappingURL=polar-chart.style.d.ts.map
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Dict, Merge } from "../../utils/index.js";
|
|
2
|
-
import { ComponentArgs, DOMElement,
|
|
2
|
+
import { ComponentArgs, DOMElement, StyledProps, WithoutAs } from "../../core/components/index.type.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { MotionProps, ResolvedValues, TargetAndTransition, Transition } from "motion/react";
|
|
6
6
|
//#region src/components/motion/index.type.d.ts
|
|
7
|
-
type
|
|
8
|
-
type
|
|
7
|
+
type OverrideProps<Y extends object, M extends object> = M & Omit<Y, "as" | keyof M>;
|
|
8
|
+
type ComponentConditionalProps<Y extends DOMElement, M extends DOMElement, D extends object = {}> = Y extends M ? OverrideProps<React.ComponentProps<Y>, D> : OverrideProps<React.ComponentProps<M>, D>;
|
|
9
|
+
type ComponentProps<Y extends DOMElement, M extends DOMElement, D extends object = {}> = ComponentConditionalProps<Y, M, Omit<D, "as" | "ref">> & {
|
|
9
10
|
as?: M;
|
|
10
11
|
};
|
|
11
12
|
export interface MotionComponent<Y extends DOMElement, D extends object = {}> extends ComponentArgs {
|
|
@@ -25,8 +25,9 @@ export interface StyledProps extends CSSProps {
|
|
|
25
25
|
export type WithoutAs<Y extends object> = Omit<Y, "as">;
|
|
26
26
|
export type WithoutRef<Y extends object> = Omit<Y, "ref">;
|
|
27
27
|
export type OmitProps<Y extends object = {}, M extends object = {}> = Omit<Y, "as" | keyof M> & WithoutAs<M>;
|
|
28
|
-
type
|
|
29
|
-
type
|
|
28
|
+
type OverrideProps<Y extends object, M extends object> = M & Omit<Y, "as" | keyof M>;
|
|
29
|
+
type ComponentConditionalProps<Y extends As, M extends As, D extends object = {}> = Y extends M ? OverrideProps<React.ComponentProps<Y>, D> : OverrideProps<React.ComponentProps<M>, D>;
|
|
30
|
+
type ComponentProps<Y extends As, M extends As, D extends object = {}> = ComponentConditionalProps<Y, M, Omit<D, "as" | "ref">> & {
|
|
30
31
|
as?: M;
|
|
31
32
|
};
|
|
32
33
|
export interface ComponentArgs extends Pick<React.FunctionComponent, "displayName" | "propTypes"> {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.2.11-dev-
|
|
4
|
+
"version": "2.2.11-dev-20261020115515",
|
|
5
5
|
"description": "React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"yamada",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@emotion/utils": "^1.4.2",
|
|
127
127
|
"@floating-ui/react-dom": "^2.1.9",
|
|
128
128
|
"@tanstack/react-table": "^8.21.3",
|
|
129
|
-
"@yamada-ui/utils": "2.1.8-dev-
|
|
129
|
+
"@yamada-ui/utils": "2.1.8-dev-20261020115515",
|
|
130
130
|
"copy-to-clipboard": "3.3.3",
|
|
131
131
|
"csstype": "^3.2.3",
|
|
132
132
|
"dayjs": "^1.11.23",
|