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/bundle-analysis.html +1 -1
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +4 -4
- package/package.json +60 -60
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,
|
|
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.
|
|
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?:
|
|
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.
|
|
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.
|
|
72
|
-
"@radix-ui/react-avatar": "^1.1.
|
|
73
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
74
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
75
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
76
|
-
"@radix-ui/react-label": "^2.1.
|
|
77
|
-
"@radix-ui/react-popover": "^1.1.
|
|
78
|
-
"@radix-ui/react-progress": "^1.1.
|
|
79
|
-
"@radix-ui/react-radio-group": "^1.3.
|
|
80
|
-
"@radix-ui/react-select": "^2.2.
|
|
81
|
-
"@radix-ui/react-slider": "^1.3.
|
|
82
|
-
"@radix-ui/react-switch": "^1.2.
|
|
83
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
84
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
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.
|
|
87
|
+
"react-easy-crop": "^5.5.7",
|
|
87
88
|
"react-select": "^5.10.2"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
|
-
"@babel/core": "^7.
|
|
91
|
-
"@babel/preset-env": "^7.
|
|
92
|
-
"@babel/preset-react": "^7.
|
|
93
|
-
"@babel/preset-typescript": "^7.
|
|
94
|
-
"@
|
|
95
|
-
"@rollup/plugin-commonjs": "^
|
|
96
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
97
|
-
"@rollup/plugin-terser": "^0.
|
|
98
|
-
"@rollup/plugin-typescript": "^12.
|
|
99
|
-
"@storybook/addon-a11y": "^
|
|
100
|
-
"@storybook/addon-docs": "^
|
|
101
|
-
"@storybook/addon-links": "^
|
|
102
|
-
"@storybook/addon-styling-webpack": "^
|
|
103
|
-
"@storybook/addon-webpack5-compiler-babel": "^
|
|
104
|
-
"@storybook/cli": "^
|
|
105
|
-
"@storybook/preset-react-webpack": "^
|
|
106
|
-
"@storybook/react-webpack5": "^
|
|
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.
|
|
110
|
-
"@testing-library/react": "^16.3.
|
|
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": "^
|
|
114
|
-
"@types/react-dom": "^
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
116
|
-
"@typescript-eslint/parser": "^8.
|
|
117
|
-
"babel-loader": "^10.
|
|
118
|
-
"chromatic": "^
|
|
119
|
-
"css-loader": "^7.1.
|
|
120
|
-
"eslint": "^
|
|
121
|
-
"eslint-plugin-prettier": "^5.5.
|
|
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": "^
|
|
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
|
|
128
|
-
"jest-environment-jsdom": "^
|
|
129
|
-
"lint-staged": "^16.
|
|
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.
|
|
132
|
+
"prettier": "^3.8.1",
|
|
132
133
|
"pretty-quick": "^4.2.2",
|
|
133
|
-
"react": "^
|
|
134
|
+
"react": "^19.2.4",
|
|
134
135
|
"react-docgen-typescript": "^2.4.0",
|
|
135
|
-
"react-dom": "^
|
|
136
|
+
"react-dom": "^19.2.4",
|
|
136
137
|
"resize-observer-polyfill": "^1.5.1",
|
|
137
|
-
"rollup": "^4.
|
|
138
|
-
"rollup-plugin-dts": "^6.
|
|
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.
|
|
142
|
-
"storybook": "^
|
|
143
|
-
"
|
|
144
|
-
"stylelint": "^
|
|
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.
|
|
149
|
+
"typescript": "^5.9.3"
|
|
150
150
|
},
|
|
151
151
|
"optionalDependencies": {
|
|
152
|
-
"@rollup/rollup-linux-x64-gnu": "^4.
|
|
152
|
+
"@rollup/rollup-linux-x64-gnu": "^4.60.0"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
155
155
|
"react": "^18.2.0",
|