@mirohq/design-system-input 0.1.8 → 0.1.9
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/main.js +144 -190
- package/dist/main.js.map +1 -1
- package/dist/module.js +144 -190
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +12 -6
- package/package.json +10 -9
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import react__default, { ComponentPropsWithRef,
|
|
2
|
+
import react__default, { ComponentPropsWithRef, InputHTMLAttributes, ReactNode, HTMLProps } from 'react';
|
|
3
3
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
4
|
+
import { CSS } from '@mirohq/design-system-stitches';
|
|
4
5
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
5
6
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
6
7
|
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
|
|
@@ -4819,10 +4820,15 @@ declare const StyledBaseInput: react.ForwardRefExoticComponent<Omit<Omit<_mirohq
|
|
|
4819
4820
|
}, {}>;
|
|
4820
4821
|
declare type StyledBaseInputProps = ComponentPropsWithRef<typeof StyledBaseInput>;
|
|
4821
4822
|
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4823
|
+
declare const baseInputAllowedEvents: readonly ["onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onPointerEnter", "onPointerEnterCapture", "onPointerLeave", "onPointerLeaveCapture", "onPointerMove", "onPointerMoveCapture", "onPointerOut", "onPointerOutCapture", "onPointerOver", "onPointerOverCapture", "onTouchMove", "onTouchMoveCapture"];
|
|
4824
|
+
declare type BaseInputAllowedEventsKeys = typeof baseInputAllowedEvents[number];
|
|
4825
|
+
declare type BaseInputEventProps = Pick<InputHTMLAttributes<HTMLInputElement>, BaseInputAllowedEventsKeys>;
|
|
4826
|
+
declare type BaseInputProps = InputProviderProps & BaseInputEventProps & Pick<InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'placeholder'> & {
|
|
4827
|
+
size?: StyledBaseInputProps['size'];
|
|
4828
|
+
children?: ReactNode;
|
|
4829
|
+
className?: string;
|
|
4830
|
+
css?: CSS;
|
|
4831
|
+
};
|
|
4826
4832
|
|
|
4827
4833
|
declare type Value = HTMLProps<'input'>['value'];
|
|
4828
4834
|
interface InputSharedProps extends InputProviderProps, Omit<InputProps$1, 'size'> {
|
|
@@ -4870,7 +4876,7 @@ interface Partials$2 {
|
|
|
4870
4876
|
IconSlot: typeof IconSlot;
|
|
4871
4877
|
}
|
|
4872
4878
|
|
|
4873
|
-
interface InputPasswordProps extends Omit<InputSharedProps, 'type'
|
|
4879
|
+
interface InputPasswordProps extends Omit<InputSharedProps, 'type'> {
|
|
4874
4880
|
/**
|
|
4875
4881
|
* A boolean for the default password state (visible or masked).
|
|
4876
4882
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-input",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,20 +27,21 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@react-aria/interactions": "^3.13.0",
|
|
30
|
+
"@react-aria/utils": "^3.13.0",
|
|
30
31
|
"@react-types/shared": "^3.16.0",
|
|
31
|
-
"@mirohq/design-system-base-icon": "^0.1.22",
|
|
32
|
-
"@mirohq/design-system-base-form": "^0.2.0",
|
|
33
|
-
"@mirohq/design-system-base-input": "^0.0.3",
|
|
34
|
-
"@mirohq/design-system-icon-button": "^2.1.9",
|
|
35
32
|
"@mirohq/design-system-base-button": "^0.4.37",
|
|
36
|
-
"@mirohq/design-system-
|
|
33
|
+
"@mirohq/design-system-base-form": "^0.2.1",
|
|
34
|
+
"@mirohq/design-system-base-icon": "^0.1.22",
|
|
35
|
+
"@mirohq/design-system-base-input": "^0.0.4",
|
|
36
|
+
"@mirohq/design-system-icon-button": "^2.1.10",
|
|
37
|
+
"@mirohq/design-system-icons": "^0.39.1",
|
|
37
38
|
"@mirohq/design-system-stitches": "^2.6.1",
|
|
38
39
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
39
|
-
"@mirohq/design-system-styles": "^1.
|
|
40
|
+
"@mirohq/design-system-styles": "^1.2.0",
|
|
41
|
+
"@mirohq/design-system-tooltip": "^3.3.6",
|
|
40
42
|
"@mirohq/design-system-use-aria-disabled": "^0.1.0",
|
|
41
43
|
"@mirohq/design-system-use-layout-effect": "^0.2.1",
|
|
42
|
-
"@mirohq/design-system-utils": "^0.15.0"
|
|
43
|
-
"@mirohq/design-system-tooltip": "^3.3.5"
|
|
44
|
+
"@mirohq/design-system-utils": "^0.15.0"
|
|
44
45
|
},
|
|
45
46
|
"scripts": {
|
|
46
47
|
"build": "rollup -c ../../../rollup.config.js",
|