praxis-kit 6.1.1 → 6.2.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/{chunk-OGQ7QKKP.js → chunk-4YVNOMUS.js} +511 -508
- package/dist/contract/index.d.ts +7 -1
- package/dist/lit/index.d.ts +5 -0
- package/dist/lit/index.js +263 -260
- package/dist/preact/index.d.ts +5 -0
- package/dist/preact/index.js +332 -329
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +1 -1
- package/dist/react/legacy.d.ts +2 -2
- package/dist/react/legacy.js +1 -1
- package/dist/{react-options-CjiWrT4q.d.ts → react-options-DQTX4YS_.d.ts} +5 -0
- package/dist/solid/index.d.ts +5 -0
- package/dist/solid/index.js +315 -312
- package/dist/svelte/index.d.ts +5 -0
- package/dist/svelte/index.js +263 -260
- package/dist/vue/index.d.ts +5 -0
- package/dist/vue/index.js +314 -311
- package/dist/web/index.d.ts +5 -0
- package/dist/web/index.js +263 -260
- package/package.json +2 -2
package/dist/react/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnknownProps, E as ElementType, a as EmptyRecord, V as VariantMap, R as RecipeMap, A as AnyClassPluginFactory, b as ReactFactoryOptions, P as PolymorphicComponent, c as PolymorphicGenerics, d as ExtractPluginProps } from '../react-options-
|
|
2
|
-
export { e as AnyFactoryOptions, f as ElementRef, F as FactoryOptions, g as PolymorphicProps, h as PolymorphicWithAsChild, i as PolymorphicWithRender, j as RenderCallbackProps, S as Slottable, k as SlottableProps, m as composeRefs, l as defineContractComponent, m as mergeRefs } from '../react-options-
|
|
1
|
+
import { U as UnknownProps, E as ElementType, a as EmptyRecord, V as VariantMap, R as RecipeMap, A as AnyClassPluginFactory, b as ReactFactoryOptions, P as PolymorphicComponent, c as PolymorphicGenerics, d as ExtractPluginProps } from '../react-options-DQTX4YS_.js';
|
|
2
|
+
export { e as AnyFactoryOptions, f as ElementRef, F as FactoryOptions, g as PolymorphicProps, h as PolymorphicWithAsChild, i as PolymorphicWithRender, j as RenderCallbackProps, S as Slottable, k as SlottableProps, m as composeRefs, l as defineContractComponent, m as mergeRefs } from '../react-options-DQTX4YS_.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactElement, Ref } from 'react';
|
|
5
5
|
import 'type-fest';
|
package/dist/react/index.js
CHANGED
package/dist/react/legacy.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ElementType, U as UnknownProps, a as EmptyRecord, V as VariantMap, R as RecipeMap, A as AnyClassPluginFactory, b as ReactFactoryOptions, P as PolymorphicComponent, c as PolymorphicGenerics, d as ExtractPluginProps } from '../react-options-
|
|
2
|
-
export { e as AnyFactoryOptions, f as ElementRef, F as FactoryOptions, g as PolymorphicProps, h as PolymorphicWithAsChild, i as PolymorphicWithRender, j as RenderCallbackProps, S as Slottable, k as SlottableProps, l as defineContractComponent, m as mergeRefs } from '../react-options-
|
|
1
|
+
import { E as ElementType, U as UnknownProps, a as EmptyRecord, V as VariantMap, R as RecipeMap, A as AnyClassPluginFactory, b as ReactFactoryOptions, P as PolymorphicComponent, c as PolymorphicGenerics, d as ExtractPluginProps } from '../react-options-DQTX4YS_.js';
|
|
2
|
+
export { e as AnyFactoryOptions, f as ElementRef, F as FactoryOptions, g as PolymorphicProps, h as PolymorphicWithAsChild, i as PolymorphicWithRender, j as RenderCallbackProps, S as Slottable, k as SlottableProps, l as defineContractComponent, m as mergeRefs } from '../react-options-DQTX4YS_.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import 'type-fest';
|
|
5
5
|
import '../_shared/diagnostics.js';
|
package/dist/react/legacy.js
CHANGED
|
@@ -288,6 +288,11 @@ type FactoryOptions<TDefault extends ElementType = ElementType, Props extends An
|
|
|
288
288
|
readonly normalize?: NormalizeFn<NoInfer<Props>>;
|
|
289
289
|
readonly styling?: StylingOptions<V, TPreset, TPlugin>;
|
|
290
290
|
readonly enforcement?: EnforcementOptions<TAllowed>;
|
|
291
|
+
/**
|
|
292
|
+
* Adapter-resolved diagnostics default, spread in by `resolveAdapterCommonOptions`. Not meant to
|
|
293
|
+
* be set directly by component authors — use `enforcement.diagnostics` to override per component.
|
|
294
|
+
*/
|
|
295
|
+
readonly diagnostics?: Diagnostics;
|
|
291
296
|
};
|
|
292
297
|
|
|
293
298
|
type MetadataMap = AnyRecord;
|
package/dist/solid/index.d.ts
CHANGED
|
@@ -287,6 +287,11 @@ type FactoryOptions<TDefault extends ElementType = ElementType, Props extends An
|
|
|
287
287
|
readonly normalize?: NormalizeFn<NoInfer<Props>>;
|
|
288
288
|
readonly styling?: StylingOptions<V, TPreset, TPlugin>;
|
|
289
289
|
readonly enforcement?: EnforcementOptions<TAllowed>;
|
|
290
|
+
/**
|
|
291
|
+
* Adapter-resolved diagnostics default, spread in by `resolveAdapterCommonOptions`. Not meant to
|
|
292
|
+
* be set directly by component authors — use `enforcement.diagnostics` to override per component.
|
|
293
|
+
*/
|
|
294
|
+
readonly diagnostics?: Diagnostics;
|
|
290
295
|
};
|
|
291
296
|
|
|
292
297
|
declare function defineContractComponent<O extends FactoryOptions>(options: O): <R>(factory: (options: O) => R) => R;
|