demio-ui 5.1.23 → 5.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/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { MouseEventHandler, FC, ReactNode, CSSProperties, SetStateAction, DragEvent, ReactEventHandler, MouseEvent, PropsWithChildren } from 'react';
2
+ import React__default, { MouseEventHandler, FC, ReactNode, CSSProperties, SetStateAction, DragEvent, MouseEvent, PropsWithChildren } from 'react';
3
3
  import { CheckedState } from '@radix-ui/react-checkbox';
4
4
  import { Point, Area } from 'react-easy-crop';
5
5
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
@@ -103,7 +103,7 @@ type Props$e = {
103
103
  onCheckedChange?: (checked: CheckedState) => void;
104
104
  value?: string;
105
105
  };
106
- declare const Checkbox: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$e & React__default.RefAttributes<HTMLDivElement>>>;
106
+ declare const Checkbox: React__default.NamedExoticComponent<Props$e & React__default.RefAttributes<HTMLDivElement>>;
107
107
 
108
108
  type InputProps = {
109
109
  autoComplete?: 'off' | 'on';
@@ -198,7 +198,7 @@ declare const DropdownMenuPortal: React__default.FC<DropdownMenuPrimitive.Dropdo
198
198
  type Props$c = {
199
199
  children: ReactNode;
200
200
  className?: string;
201
- onSelect?: ReactEventHandler<HTMLDivElement>;
201
+ onSelect?: DropdownMenuPrimitive.DropdownMenuItemProps['onSelect'];
202
202
  isWarning?: boolean;
203
203
  isLabel?: boolean;
204
204
  disabled?: boolean;
@@ -512,7 +512,7 @@ type Props = {
512
512
  /**
513
513
  * Accessibility [Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/tooltip#keyboard-interactions)
514
514
  **/
515
- declare function Tooltip({ align, alignOffset, children, className, collisionBoundary, container, content, defaultOpen, delayDuration, isCustomTrigger, isPortal, isTriggerAsChild, open, onOpenChange, side, sideOffset, skipDelayDuration, ...props }: Props): string | number | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
515
+ declare function Tooltip({ align, alignOffset, children, className, collisionBoundary, container, content, defaultOpen, delayDuration, isCustomTrigger, isPortal, isTriggerAsChild, open, onOpenChange, side, sideOffset, skipDelayDuration, ...props }: Props): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
516
516
  /**
517
517
  * PopoverTooltip is a wrapper around Popover that provides a tooltip-like experience.
518
518
  **/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "5.1.23",
3
+ "version": "5.3.0",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,6 +46,7 @@
46
46
  "storybook": "storybook dev -p 6006",
47
47
  "stylelint": "stylelint './src/**/*.css'",
48
48
  "stylelint:fix": "stylelint './src/**/*.css' --fix",
49
+ "typecheck": "tsc --noEmit",
49
50
  "test": "jest --passWithNoTests",
50
51
  "test-watch": "jest --watchAll",
51
52
  "preversion": "npm run lint-all",
@@ -68,88 +69,87 @@
68
69
  ]
69
70
  },
70
71
  "dependencies": {
71
- "@radix-ui/react-alert-dialog": "^1.1.14",
72
- "@radix-ui/react-avatar": "^1.1.10",
73
- "@radix-ui/react-checkbox": "^1.3.2",
74
- "@radix-ui/react-dialog": "^1.1.14",
75
- "@radix-ui/react-dropdown-menu": "^2.1.15",
76
- "@radix-ui/react-label": "^2.1.7",
77
- "@radix-ui/react-popover": "^1.1.14",
78
- "@radix-ui/react-progress": "^1.1.7",
79
- "@radix-ui/react-radio-group": "^1.3.7",
80
- "@radix-ui/react-select": "^2.2.5",
81
- "@radix-ui/react-slider": "^1.3.5",
82
- "@radix-ui/react-switch": "^1.2.5",
83
- "@radix-ui/react-tabs": "^1.1.12",
84
- "@radix-ui/react-tooltip": "^1.2.7",
72
+ "@radix-ui/react-alert-dialog": "^1.1.15",
73
+ "@radix-ui/react-avatar": "^1.1.11",
74
+ "@radix-ui/react-checkbox": "^1.3.3",
75
+ "@radix-ui/react-dialog": "^1.1.15",
76
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
77
+ "@radix-ui/react-label": "^2.1.8",
78
+ "@radix-ui/react-popover": "^1.1.15",
79
+ "@radix-ui/react-progress": "^1.1.8",
80
+ "@radix-ui/react-radio-group": "^1.3.8",
81
+ "@radix-ui/react-select": "^2.2.6",
82
+ "@radix-ui/react-slider": "^1.3.6",
83
+ "@radix-ui/react-switch": "^1.2.6",
84
+ "@radix-ui/react-tabs": "^1.1.13",
85
+ "@radix-ui/react-tooltip": "^1.2.8",
85
86
  "classnames": "^2.5.1",
86
- "react-easy-crop": "^5.5.0",
87
+ "react-easy-crop": "^5.5.7",
87
88
  "react-select": "^5.10.2"
88
89
  },
89
90
  "devDependencies": {
90
- "@babel/core": "^7.28.0",
91
- "@babel/preset-env": "^7.28.0",
92
- "@babel/preset-react": "^7.27.1",
93
- "@babel/preset-typescript": "^7.27.1",
94
- "@chromatic-com/storybook": "^4.1.0",
95
- "@rollup/plugin-commonjs": "^28.0.6",
96
- "@rollup/plugin-node-resolve": "^16.0.1",
97
- "@rollup/plugin-terser": "^0.4.4",
98
- "@rollup/plugin-typescript": "^12.1.4",
99
- "@storybook/addon-a11y": "^9.1.0",
100
- "@storybook/addon-docs": "^9.1.0",
101
- "@storybook/addon-links": "^9.1.0",
102
- "@storybook/addon-styling-webpack": "^2.0.0",
103
- "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
104
- "@storybook/cli": "^9.1.0",
105
- "@storybook/preset-react-webpack": "^9.1.0",
106
- "@storybook/react-webpack5": "^9.1.0",
91
+ "@babel/core": "^7.29.0",
92
+ "@babel/preset-env": "^7.29.2",
93
+ "@babel/preset-react": "^7.28.5",
94
+ "@babel/preset-typescript": "^7.28.5",
95
+ "@eslint/js": "^10.0.1",
96
+ "@rollup/plugin-commonjs": "^29.0.2",
97
+ "@rollup/plugin-node-resolve": "^16.0.3",
98
+ "@rollup/plugin-terser": "^1.0.0",
99
+ "@rollup/plugin-typescript": "^12.3.0",
100
+ "@storybook/addon-a11y": "^10.3.3",
101
+ "@storybook/addon-docs": "^10.3.3",
102
+ "@storybook/addon-links": "^10.3.3",
103
+ "@storybook/addon-styling-webpack": "^3.0.1",
104
+ "@storybook/addon-webpack5-compiler-babel": "^4.0.0",
105
+ "@storybook/cli": "^10.3.3",
106
+ "@storybook/preset-react-webpack": "^10.3.3",
107
+ "@storybook/react-webpack5": "^10.3.3",
107
108
  "@svgr/rollup": "^8.1.0",
108
109
  "@svgr/webpack": "^8.1.0",
109
- "@testing-library/jest-dom": "^6.6.4",
110
- "@testing-library/react": "^16.3.0",
110
+ "@testing-library/jest-dom": "^6.9.1",
111
+ "@testing-library/react": "^16.3.2",
111
112
  "@testing-library/user-event": "^14.6.1",
112
113
  "@types/jest": "^30.0.0",
113
- "@types/react": "^18.3.23",
114
- "@types/react-dom": "^18.3.7",
115
- "@typescript-eslint/eslint-plugin": "^8.38.0",
116
- "@typescript-eslint/parser": "^8.38.0",
117
- "babel-loader": "^10.0.0",
118
- "chromatic": "^13.1.3",
119
- "css-loader": "^7.1.2",
120
- "eslint": "^9.32.0",
121
- "eslint-plugin-prettier": "^5.5.3",
114
+ "@types/react": "^19.2.14",
115
+ "@types/react-dom": "^19.2.3",
116
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
117
+ "@typescript-eslint/parser": "^8.57.2",
118
+ "babel-loader": "^10.1.1",
119
+ "chromatic": "^16.0.0",
120
+ "css-loader": "^7.1.4",
121
+ "eslint": "^10.1.0",
122
+ "eslint-plugin-prettier": "^5.5.5",
122
123
  "eslint-plugin-simple-import-sort": "^12.1.1",
123
- "eslint-plugin-storybook": "^9.1.17",
124
+ "eslint-plugin-storybook": "^10.3.3",
124
125
  "file-loader": "^6.2.0",
125
126
  "husky": "^9.1.7",
126
127
  "identity-obj-proxy": "^3.0.0",
127
- "jest": "^30.0.5",
128
- "jest-environment-jsdom": "^29.7.0",
129
- "lint-staged": "^16.1.2",
128
+ "jest": "^30.3.0",
129
+ "jest-environment-jsdom": "^30.3.0",
130
+ "lint-staged": "^16.4.0",
130
131
  "postcss-import": "^16.1.1",
131
- "prettier": "^3.6.2",
132
+ "prettier": "^3.8.1",
132
133
  "pretty-quick": "^4.2.2",
133
- "react": "^18.2.0",
134
+ "react": "^19.2.4",
134
135
  "react-docgen-typescript": "^2.4.0",
135
- "react-dom": "^18.2.0",
136
+ "react-dom": "^19.2.4",
136
137
  "resize-observer-polyfill": "^1.5.1",
137
- "rollup": "^4.46.2",
138
- "rollup-plugin-dts": "^6.2.1",
138
+ "rollup": "^4.60.0",
139
+ "rollup-plugin-dts": "^6.4.1",
139
140
  "rollup-plugin-peer-deps-external": "^2.2.4",
140
141
  "rollup-plugin-postcss": "^4.0.2",
141
- "rollup-plugin-visualizer": "^6.0.3",
142
- "storybook": "^9.1.17",
143
- "storybook-css-modules": "^1.0.8",
144
- "stylelint": "^16.23.0",
145
- "stylelint-config-standard": "^39.0.0",
142
+ "rollup-plugin-visualizer": "^6.0.11",
143
+ "storybook": "^10.3.3",
144
+ "stylelint": "^17.5.0",
145
+ "stylelint-config-standard": "^40.0.0",
146
146
  "ts-node": "^10.9.2",
147
147
  "tsconfig-paths-webpack-plugin": "^4.2.0",
148
148
  "tslib": "^2.8.1",
149
- "typescript": "^5.8.3"
149
+ "typescript": "^5.9.3"
150
150
  },
151
151
  "optionalDependencies": {
152
- "@rollup/rollup-linux-x64-gnu": "^4.46.2"
152
+ "@rollup/rollup-linux-x64-gnu": "^4.60.0"
153
153
  },
154
154
  "peerDependencies": {
155
155
  "react": "^18.2.0",