@echojs-ecosystem/ui 0.1.0 → 0.3.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/index.d.ts +16 -16
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -25,22 +25,6 @@ export { Field, FieldContext, FieldProps, getFieldContext, mergeFieldControlProp
|
|
|
25
25
|
export { Checkbox, CheckboxProps, CheckboxSize, CheckboxVariantProps } from './checkbox.js';
|
|
26
26
|
export { B as ButtonProps, b as ButtonRadius, a as ButtonSize, c as ButtonVariant } from './button.types-B0SrEYRV.js';
|
|
27
27
|
|
|
28
|
-
type UiProviderOptions = Omit<UIProviderProps, "children">;
|
|
29
|
-
/** @deprecated Use {@link UiProviderOptions} */
|
|
30
|
-
type UiPluginOptions = UiProviderOptions;
|
|
31
|
-
/** Echo app provider that wraps the tree with {@link UIProvider}. */
|
|
32
|
-
type EchoUiProvider = {
|
|
33
|
-
name: "ui";
|
|
34
|
-
wrapRoot: (inner: () => Child) => () => Child;
|
|
35
|
-
};
|
|
36
|
-
/** @deprecated Use {@link EchoUiProvider} */
|
|
37
|
-
type UiPlugin = EchoUiProvider;
|
|
38
|
-
declare const createUiProvider: (options?: UiProviderOptions) => EchoUiProvider;
|
|
39
|
-
/** @deprecated Use {@link createUiProvider} */
|
|
40
|
-
declare const createUiPlugin: (options?: UiProviderOptions) => EchoUiProvider;
|
|
41
|
-
/** @deprecated Use {@link createUiProvider} */
|
|
42
|
-
declare const uiPlugin: (options?: UiProviderOptions) => EchoUiProvider;
|
|
43
|
-
|
|
44
28
|
/**
|
|
45
29
|
* Binds mask formatting to a native `<input>` (vanilla, hyperdom-friendly).
|
|
46
30
|
* Inspired by [use-mask-input](https://github.com/eduardoborges/use-mask-input) / Inputmask.
|
|
@@ -57,6 +41,22 @@ declare const parseMaskPattern: (pattern: string) => MaskToken[];
|
|
|
57
41
|
declare const MASK_PRESETS: Record<MaskPreset, string>;
|
|
58
42
|
declare const resolveMaskPattern: (mask: MaskPattern) => string;
|
|
59
43
|
|
|
44
|
+
type UiProviderOptions = Omit<UIProviderProps, "children">;
|
|
45
|
+
/** @deprecated Use {@link UiProviderOptions} */
|
|
46
|
+
type UiPluginOptions = UiProviderOptions;
|
|
47
|
+
/** Echo app provider that wraps the tree with {@link UIProvider}. */
|
|
48
|
+
type EchoUiProvider = {
|
|
49
|
+
name: "ui";
|
|
50
|
+
wrapRoot: (inner: () => Child) => () => Child;
|
|
51
|
+
};
|
|
52
|
+
/** @deprecated Use {@link EchoUiProvider} */
|
|
53
|
+
type UiPlugin = EchoUiProvider;
|
|
54
|
+
declare const createUiProvider: (options?: UiProviderOptions) => EchoUiProvider;
|
|
55
|
+
/** @deprecated Use {@link createUiProvider} */
|
|
56
|
+
declare const createUiPlugin: (options?: UiProviderOptions) => EchoUiProvider;
|
|
57
|
+
/** @deprecated Use {@link createUiProvider} */
|
|
58
|
+
declare const uiPlugin: (options?: UiProviderOptions) => EchoUiProvider;
|
|
59
|
+
|
|
60
60
|
declare const inputStyles: TVSlotResult<{
|
|
61
61
|
slots: {
|
|
62
62
|
wrapper: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@echojs-ecosystem/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -106,10 +106,10 @@
|
|
|
106
106
|
"storybook:build": "storybook build -o storybook-static"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@echojs-ecosystem/hyperdom": "
|
|
109
|
+
"@echojs-ecosystem/hyperdom": "0.3.0"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@echojs-ecosystem/oxc-config": "
|
|
112
|
+
"@echojs-ecosystem/oxc-config": "0.1.0",
|
|
113
113
|
"@storybook/addon-a11y": "^8.6.14",
|
|
114
114
|
"@storybook/addon-essentials": "^8.6.14",
|
|
115
115
|
"@storybook/addon-links": "^8.6.14",
|