@qasa/qds-ui 0.10.0-next.1 → 0.10.0-next.10
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/cjs/index.js +1322 -1328
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/checkbox/checkbox.d.ts +70 -0
- package/dist/cjs/types/components/checkbox/index.d.ts +1 -0
- package/dist/cjs/types/components/display-text/display-text.d.ts +29 -0
- package/dist/cjs/types/components/display-text/index.d.ts +1 -0
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-content.d.ts +67 -0
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-divider.d.ts +4 -0
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-item.d.ts +28 -0
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +5 -0
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu.d.ts +29 -0
- package/dist/cjs/types/components/dropdown-menu/index.d.ts +1 -0
- package/dist/cjs/types/components/heading/heading.d.ts +1 -445
- package/dist/cjs/types/components/index.d.ts +4 -1
- package/dist/cjs/types/components/radio-group/radio-card.d.ts +5 -2
- package/dist/cjs/types/components/radio-group/radio-group-label.d.ts +2 -2
- package/dist/cjs/types/components/radio-group/radio-group.d.ts +1 -1
- package/dist/cjs/types/components/switch/index.d.ts +1 -0
- package/dist/cjs/types/components/switch/switch.d.ts +35 -0
- package/dist/cjs/types/components/toast/index.d.ts +1 -0
- package/dist/cjs/types/components/toast/toast-provider.d.ts +4 -0
- package/dist/cjs/types/components/toast/toast-store.d.ts +44 -0
- package/dist/cjs/types/components/toast/toast-styles.d.ts +410 -0
- package/dist/cjs/types/components/toast/toast.d.ts +13 -0
- package/dist/cjs/types/styles/common-styles.d.ts +1 -1
- package/dist/cjs/types/utils/html-attributes.d.ts +1 -0
- package/dist/esm/index.js +1323 -1328
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/checkbox/checkbox.d.ts +70 -0
- package/dist/esm/types/components/checkbox/index.d.ts +1 -0
- package/dist/esm/types/components/display-text/display-text.d.ts +29 -0
- package/dist/esm/types/components/display-text/index.d.ts +1 -0
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-content.d.ts +67 -0
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-divider.d.ts +4 -0
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-item.d.ts +28 -0
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +5 -0
- package/dist/esm/types/components/dropdown-menu/dropdown-menu.d.ts +29 -0
- package/dist/esm/types/components/dropdown-menu/index.d.ts +1 -0
- package/dist/esm/types/components/heading/heading.d.ts +1 -445
- package/dist/esm/types/components/index.d.ts +4 -1
- package/dist/esm/types/components/radio-group/radio-card.d.ts +5 -2
- package/dist/esm/types/components/radio-group/radio-group-label.d.ts +2 -2
- package/dist/esm/types/components/radio-group/radio-group.d.ts +1 -1
- package/dist/esm/types/components/switch/index.d.ts +1 -0
- package/dist/esm/types/components/switch/switch.d.ts +35 -0
- package/dist/esm/types/components/toast/index.d.ts +1 -0
- package/dist/esm/types/components/toast/toast-provider.d.ts +4 -0
- package/dist/esm/types/components/toast/toast-store.d.ts +44 -0
- package/dist/esm/types/components/toast/toast-styles.d.ts +410 -0
- package/dist/esm/types/components/toast/toast.d.ts +13 -0
- package/dist/esm/types/styles/common-styles.d.ts +1 -1
- package/dist/esm/types/utils/html-attributes.d.ts +1 -0
- package/dist/index.d.ts +323 -541
- package/package.json +11 -4
- package/dist/cjs/types/components/image/image.d.ts +0 -16
- package/dist/cjs/types/components/image/index.d.ts +0 -1
- package/dist/esm/types/components/image/image.d.ts +0 -16
- package/dist/esm/types/components/image/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qasa/qds-ui",
|
|
3
|
-
"version": "0.10.0-next.
|
|
3
|
+
"version": "0.10.0-next.10",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"@storybook/testing-library": "^0.2.2",
|
|
53
53
|
"@testing-library/jest-dom": "^5.16.5",
|
|
54
54
|
"@testing-library/react": "^13.4.0",
|
|
55
|
+
"@testing-library/user-event": "^14.5.2",
|
|
55
56
|
"@types/jest-axe": "^3.5.5",
|
|
56
57
|
"@types/node": "^16.0.0",
|
|
57
58
|
"@types/react": "^18.0.21",
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"eslint-plugin-import": "^2.26.0",
|
|
70
71
|
"eslint-plugin-prettier": "^4.2.1",
|
|
71
72
|
"eslint-plugin-testing-library": "^5.7.0",
|
|
73
|
+
"framer-motion": "^11.0.3",
|
|
72
74
|
"husky": "^8.0.1",
|
|
73
75
|
"jest": "^29.1.1",
|
|
74
76
|
"jest-axe": "^6.0.0",
|
|
@@ -96,13 +98,18 @@
|
|
|
96
98
|
"peerDependencies": {
|
|
97
99
|
"@emotion/react": ">= 11.0.0",
|
|
98
100
|
"@emotion/styled": ">= 11.0.0",
|
|
99
|
-
"
|
|
100
|
-
"react
|
|
101
|
+
"framer-motion": ">=11.0.3",
|
|
102
|
+
"react": ">=18.2.0",
|
|
103
|
+
"react-dom": ">=18.2.0"
|
|
101
104
|
},
|
|
102
105
|
"engines": {
|
|
103
106
|
"node": ">=14"
|
|
104
107
|
},
|
|
105
108
|
"dependencies": {
|
|
106
|
-
"@radix-ui/react-
|
|
109
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
|
110
|
+
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
111
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
|
112
|
+
"@radix-ui/react-switch": "^1.0.3",
|
|
113
|
+
"@radix-ui/react-toast": "^1.1.5"
|
|
107
114
|
}
|
|
108
115
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Theme } from '../../theme';
|
|
3
|
-
import type { HTMLQdsProps } from '../../types';
|
|
4
|
-
interface ImageOptions {
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
width: string | number;
|
|
8
|
-
height: string | number;
|
|
9
|
-
loading?: 'eager' | 'lazy';
|
|
10
|
-
borderRadius?: keyof Theme['radii'];
|
|
11
|
-
}
|
|
12
|
-
declare type OmittedProps = 'width' | 'height';
|
|
13
|
-
export interface ImageProps extends Omit<HTMLQdsProps<'img'>, OmittedProps>, ImageOptions {
|
|
14
|
-
}
|
|
15
|
-
export declare function Image({ src, loading, width, height, borderRadius, ...restProps }: ImageProps): JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './image';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Theme } from '../../theme';
|
|
3
|
-
import type { HTMLQdsProps } from '../../types';
|
|
4
|
-
interface ImageOptions {
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
width: string | number;
|
|
8
|
-
height: string | number;
|
|
9
|
-
loading?: 'eager' | 'lazy';
|
|
10
|
-
borderRadius?: keyof Theme['radii'];
|
|
11
|
-
}
|
|
12
|
-
declare type OmittedProps = 'width' | 'height';
|
|
13
|
-
export interface ImageProps extends Omit<HTMLQdsProps<'img'>, OmittedProps>, ImageOptions {
|
|
14
|
-
}
|
|
15
|
-
export declare function Image({ src, loading, width, height, borderRadius, ...restProps }: ImageProps): JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './image';
|