@itcase/types-ui 1.1.86 → 1.1.90
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.
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const easingProps: readonly ["ease", "linear", "easeIn", "easeOut", "easeInSine", "easeOutSine", "easeInOutSine", "easeInQuad", "easeOutQuad", "easeInOutQuad", "easeInCubic", "easeOutCubic", "easeInOutCubic", "easeInQuart", "easeOutQuart", "easeInOutQuart", "easeInQuint", "easeOutQuint", "easeInOutQuint", "easeInExpo", "easeOutExpo", "easeInOutExpo", "easeInCirc", "easeOutCirc", "easeInOutCirc", "easeInBack", "easeOutBack", "easeInOutBack", "easeInElastic", "easeOutElastic", "easeInOutElastic", "easeInBounce", "easeOutBounce", "easeInOutBounce"];
|
|
2
|
+
type EasingProps = (typeof easingProps)[number];
|
|
3
|
+
export { easingProps };
|
|
4
|
+
export type { EasingProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './easing';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
type AppearanceSlice<Props, Keys extends keyof Props> = Partial<Pick<Props, Keys>>;
|
|
2
2
|
type AppearanceRecord<AppearanceKey extends PropertyKey, Props, Keys extends keyof Props> = Record<AppearanceKey, AppearanceSlice<Props, Keys>>;
|
|
3
3
|
type AppearancePartialRecord<AppearanceKey extends PropertyKey, Props, Keys extends keyof Props> = Partial<Record<AppearanceKey, AppearanceSlice<Props, Keys>>>;
|
|
4
|
-
|
|
4
|
+
/** Allows `condition && value` — React omits `false` / `null` props. */
|
|
5
|
+
type ConditionalProp<T> = false | T | null;
|
|
6
|
+
export type { AppearancePartialRecord, AppearanceRecord, AppearanceSlice, ConditionalProp, };
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/types-ui",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.90",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"access": "public",
|
|
32
32
|
"registry": "https://registry.npmjs.org/"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "dd4fbede076f661a9337a567a12429cacfc36b91"
|
|
35
35
|
}
|