@yahoo/uds-v5-wip 1.40.0 → 1.41.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/dist/config/dist/Props.d.ts +5 -0
- package/dist/config/dist/component-config.d.ts +14 -0
- package/dist/config/dist/component-refs.d.ts +13 -0
- package/dist/config/dist/component-resolution.d.ts +1 -1
- package/dist/config/dist/consts/defaultColors.d.ts +2 -1
- package/dist/config/dist/createConfig.d.ts +13 -1
- package/dist/config/dist/createConfig.js +1 -1
- package/dist/config/dist/defineComponent.d.ts +7 -0
- package/dist/config/dist/defineStyleProp.d.ts +20 -1
- package/dist/config/dist/defineStyleProp.js +27 -13
- package/dist/config/dist/index.d.ts +1 -1
- package/dist/config/dist/index.js +1 -1
- package/dist/config/dist/refs.js +65 -0
- package/dist/config/dist/resolveStyleProp.d.ts +7 -0
- package/dist/config/dist/resolveStyleProp.js +3 -12
- package/dist/config/dist/serialize.d.ts +2 -1
- package/dist/config/dist/types/css-values.d.ts +2 -1
- package/dist/config/dist/types.d.ts +2 -1
- package/dist/core/dist/color-opacity-map.d.ts +1 -2
- package/dist/core/dist/compositeStyles.d.ts +1 -2
- package/dist/core/dist/configurable-prop-helpers.d.ts +1 -2
- package/dist/core/dist/createComponent.d.ts +1 -2
- package/dist/core/dist/createComponentExample.d.ts +1 -2
- package/dist/core/dist/createProvider.d.ts +1 -2
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +1 -2
- package/dist/core/dist/getComponentStyles.d.ts +1 -2
- package/dist/core/dist/getStyles.d.ts +1 -2
- package/dist/core/dist/modifier-mappings.d.ts +1 -2
- package/dist/core/dist/resolveMotionState.d.ts +1 -2
- package/dist/core/dist/style-prop-data.d.ts +1 -2
- package/dist/core/dist/transformPreset.d.ts +1 -2
- package/dist/core/dist/withDefaultStyleProps.d.ts +1 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StyleProp } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/style-prop-data.d.ts
|
|
4
|
-
//#region src/style-prop-data.d.ts
|
|
5
4
|
interface PropMapping {
|
|
6
5
|
/** Class name prefix for runtime class generation. 'no-prefix' means value IS the class. */
|
|
7
6
|
classPrefix: string;
|
|
@@ -28,6 +27,6 @@ interface PropMapping {
|
|
|
28
27
|
}
|
|
29
28
|
/** Exclude className — it's passed through, not mapped to a utility class */
|
|
30
29
|
type MappedStyleProp = Exclude<StyleProp, 'className'>;
|
|
31
|
-
declare const propMappings: Record<MappedStyleProp, PropMapping>;
|
|
30
|
+
declare const propMappings: Record<MappedStyleProp, PropMapping>;
|
|
32
31
|
//#endregion
|
|
33
32
|
export { PropMapping, propMappings };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MotionPreset } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/transformPreset.d.ts
|
|
4
|
-
//#region src/transformPreset.d.ts
|
|
5
4
|
interface TransformedMotionProps {
|
|
6
5
|
initial?: Record<string, unknown>;
|
|
7
6
|
animate?: Record<string, unknown>;
|
|
@@ -13,6 +12,6 @@ interface TransformedMotionProps {
|
|
|
13
12
|
/**
|
|
14
13
|
* Convert a JS-runtime MotionPreset to a motion/react-compatible props object.
|
|
15
14
|
*/
|
|
16
|
-
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
15
|
+
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { TransformedMotionProps, transformPreset };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BorderRadius, GridSpan, GridStartEnd, GridTemplate, StyleAndModifierProps } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/withDefaultStyleProps.d.ts
|
|
4
|
-
//#region src/withDefaultStyleProps.d.ts
|
|
5
4
|
interface StackDefaultsInput extends StyleAndModifierProps {
|
|
6
5
|
gap?: StyleAndModifierProps['gap'];
|
|
7
6
|
}
|
|
@@ -39,6 +38,6 @@ declare const withDefaultStyleProps: {
|
|
|
39
38
|
shape?: BorderRadius;
|
|
40
39
|
}) => StyleAndModifierProps;
|
|
41
40
|
Svg: (props: SvgDefaultsInput) => StyleAndModifierProps;
|
|
42
|
-
};
|
|
41
|
+
};
|
|
43
42
|
//#endregion
|
|
44
43
|
export { withDefaultStyleProps };
|