@mirohq/design-system-input 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +118 -0
  2. package/package.json +8 -8
package/dist/types.d.ts CHANGED
@@ -3,6 +3,7 @@ import react__default, { ComponentPropsWithRef, DOMAttributes, HTMLProps } from
3
3
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
4
4
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
5
5
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
+ import * as _stitches_react from '@stitches/react';
6
7
  import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
7
8
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
8
9
  import * as packages_components_internal_base_button_src_base_button from 'packages/components/internal/base-button/src/base-button';
@@ -494,6 +495,19 @@ declare const StyledIconSlot: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_
494
495
  readonly [$$PropertyValue]: "width";
495
496
  };
496
497
  };
498
+ _hover: (css: _stitches_react.CSS<{
499
+ media: {};
500
+ theme: {};
501
+ themeMap: {};
502
+ utils: {};
503
+ }>) => {
504
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
505
+ media: {};
506
+ theme: {};
507
+ themeMap: {};
508
+ utils: {};
509
+ }>;
510
+ };
497
511
  }>>>, "disabled"> & _stitches_react_types_styled_component.TransformProps<{
498
512
  disabled?: boolean | "true" | undefined;
499
513
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {
@@ -988,6 +1002,19 @@ declare const IconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<Omit<
988
1002
  readonly [$$PropertyValue]: "width";
989
1003
  };
990
1004
  };
1005
+ _hover: (css: _stitches_react.CSS<{
1006
+ media: {};
1007
+ theme: {};
1008
+ themeMap: {};
1009
+ utils: {};
1010
+ }>) => {
1011
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1012
+ media: {};
1013
+ theme: {};
1014
+ themeMap: {};
1015
+ utils: {};
1016
+ }>;
1017
+ };
991
1018
  }>>>, "disabled"> & _stitches_react_types_styled_component.TransformProps<{
992
1019
  disabled?: boolean | "true" | undefined;
993
1020
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
@@ -1477,6 +1504,19 @@ declare const StyledActionButton: react.ForwardRefExoticComponent<Omit<Omit<_mir
1477
1504
  readonly [$$PropertyValue]: "width";
1478
1505
  };
1479
1506
  };
1507
+ _hover: (css: _stitches_react.CSS<{
1508
+ media: {};
1509
+ theme: {};
1510
+ themeMap: {};
1511
+ utils: {};
1512
+ }>) => {
1513
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1514
+ media: {};
1515
+ theme: {};
1516
+ themeMap: {};
1517
+ utils: {};
1518
+ }>;
1519
+ };
1480
1520
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
1481
1521
  'border-widths': {
1482
1522
  readonly none: 0;
@@ -1962,6 +2002,19 @@ declare const StyledActionButton: react.ForwardRefExoticComponent<Omit<Omit<_mir
1962
2002
  readonly [$$PropertyValue]: "width";
1963
2003
  };
1964
2004
  };
2005
+ _hover: (css: _stitches_react.CSS<{
2006
+ media: {};
2007
+ theme: {};
2008
+ themeMap: {};
2009
+ utils: {};
2010
+ }>) => {
2011
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
2012
+ media: {};
2013
+ theme: {};
2014
+ themeMap: {};
2015
+ utils: {};
2016
+ }>;
2017
+ };
1965
2018
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
1966
2019
  href: string;
1967
2020
  }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
@@ -2449,6 +2502,19 @@ declare const StyledActionButton: react.ForwardRefExoticComponent<Omit<Omit<_mir
2449
2502
  readonly [$$PropertyValue]: "width";
2450
2503
  };
2451
2504
  };
2505
+ _hover: (css: _stitches_react.CSS<{
2506
+ media: {};
2507
+ theme: {};
2508
+ themeMap: {};
2509
+ utils: {};
2510
+ }>) => {
2511
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
2512
+ media: {};
2513
+ theme: {};
2514
+ themeMap: {};
2515
+ utils: {};
2516
+ }>;
2517
+ };
2452
2518
  }>>>, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
2453
2519
  readOnlyAppearance?: boolean | "true" | undefined;
2454
2520
  disableAppearance?: boolean | "true" | undefined;
@@ -2937,6 +3003,19 @@ declare const StyledActionButton: react.ForwardRefExoticComponent<Omit<Omit<_mir
2937
3003
  readonly [$$PropertyValue]: "width";
2938
3004
  };
2939
3005
  };
3006
+ _hover: (css: _stitches_react.CSS<{
3007
+ media: {};
3008
+ theme: {};
3009
+ themeMap: {};
3010
+ utils: {};
3011
+ }>) => {
3012
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
3013
+ media: {};
3014
+ theme: {};
3015
+ themeMap: {};
3016
+ utils: {};
3017
+ }>;
3018
+ };
2940
3019
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
2941
3020
  'border-widths': {
2942
3021
  readonly none: 0;
@@ -3422,6 +3501,19 @@ declare const StyledActionButton: react.ForwardRefExoticComponent<Omit<Omit<_mir
3422
3501
  readonly [$$PropertyValue]: "width";
3423
3502
  };
3424
3503
  };
3504
+ _hover: (css: _stitches_react.CSS<{
3505
+ media: {};
3506
+ theme: {};
3507
+ themeMap: {};
3508
+ utils: {};
3509
+ }>) => {
3510
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
3511
+ media: {};
3512
+ theme: {};
3513
+ themeMap: {};
3514
+ utils: {};
3515
+ }>;
3516
+ };
3425
3517
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
3426
3518
  href: string;
3427
3519
  }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
@@ -3920,6 +4012,19 @@ declare const StyledInput: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
3920
4012
  readonly [$$PropertyValue]: "width";
3921
4013
  };
3922
4014
  };
4015
+ _hover: (css: _stitches_react.CSS<{
4016
+ media: {};
4017
+ theme: {};
4018
+ themeMap: {};
4019
+ utils: {};
4020
+ }>) => {
4021
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
4022
+ media: {};
4023
+ theme: {};
4024
+ themeMap: {};
4025
+ utils: {};
4026
+ }>;
4027
+ };
3923
4028
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLInputElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"input">>, {}, {}>;
3924
4029
  declare type StyledInputProps = ComponentPropsWithRef<typeof StyledInput>;
3925
4030
 
@@ -4411,6 +4516,19 @@ declare const StyledBaseInput: react.ForwardRefExoticComponent<Omit<Omit<_mirohq
4411
4516
  readonly [$$PropertyValue]: "width";
4412
4517
  };
4413
4518
  };
4519
+ _hover: (css: _stitches_react.CSS<{
4520
+ media: {};
4521
+ theme: {};
4522
+ themeMap: {};
4523
+ utils: {};
4524
+ }>) => {
4525
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
4526
+ media: {};
4527
+ theme: {};
4528
+ themeMap: {};
4529
+ utils: {};
4530
+ }>;
4531
+ };
4414
4532
  }>>>, "size" | "disabled" | "readOnly" | "ariaDisabled" | "valid" | "hovered" | "focused"> & _stitches_react_types_styled_component.TransformProps<{
4415
4533
  size?: "large" | "x-large" | undefined;
4416
4534
  hovered?: boolean | "false" | "true" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-input",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -29,13 +29,13 @@
29
29
  "@react-aria/interactions": "^3.13.0",
30
30
  "@react-aria/utils": "^3.13.0",
31
31
  "@react-types/shared": "^3.16.0",
32
- "@mirohq/design-system-base-button": "^0.4.28",
33
- "@mirohq/design-system-base-icon": "^0.1.17",
34
- "@mirohq/design-system-icon-button": "^1.3.22",
35
- "@mirohq/design-system-base-input": "^0.0.1",
36
- "@mirohq/design-system-icons": "^0.32.4",
37
- "@mirohq/design-system-styles": "^1.1.16",
38
- "@mirohq/design-system-tooltip": "^3.2.34"
32
+ "@mirohq/design-system-base-button": "^0.4.29",
33
+ "@mirohq/design-system-base-icon": "^0.1.18",
34
+ "@mirohq/design-system-icon-button": "^1.3.23",
35
+ "@mirohq/design-system-icons": "^0.32.5",
36
+ "@mirohq/design-system-styles": "^1.1.17",
37
+ "@mirohq/design-system-tooltip": "^3.2.35",
38
+ "@mirohq/design-system-base-input": "^0.0.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "rollup -c ../../../rollup.config.js",