@qasa/qds-ui 0.6.0 → 0.7.1
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/button/button-styles.d.ts +114 -0
- package/dist/cjs/types/components/heading/heading.d.ts +58 -10
- package/dist/cjs/types/components/icon/create-icon.d.ts +57 -0
- package/dist/cjs/types/components/icon-button/icon-button-styles.d.ts +114 -0
- package/dist/cjs/types/components/label/label.d.ts +57 -0
- package/dist/cjs/types/components/loading-dots/loading-dots.d.ts +57 -0
- package/dist/cjs/types/components/paragraph/paragraph.d.ts +57 -0
- package/dist/cjs/types/hooks/use-breakpoint.d.ts +4 -6
- package/dist/cjs/types/styles/common-styles.d.ts +57 -0
- package/dist/cjs/types/theme/foundations/index.d.ts +57 -0
- package/dist/cjs/types/theme/foundations/radius.d.ts +1 -0
- package/dist/cjs/types/theme/foundations/typography.d.ts +56 -0
- package/dist/cjs/types/theme/theme-tools.d.ts +57 -0
- package/dist/cjs/types/theme/theme.d.ts +57 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/button/button-styles.d.ts +114 -0
- package/dist/esm/types/components/heading/heading.d.ts +58 -10
- package/dist/esm/types/components/icon/create-icon.d.ts +57 -0
- package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +114 -0
- package/dist/esm/types/components/label/label.d.ts +57 -0
- package/dist/esm/types/components/loading-dots/loading-dots.d.ts +57 -0
- package/dist/esm/types/components/paragraph/paragraph.d.ts +57 -0
- package/dist/esm/types/hooks/use-breakpoint.d.ts +4 -6
- package/dist/esm/types/styles/common-styles.d.ts +57 -0
- package/dist/esm/types/theme/foundations/index.d.ts +57 -0
- package/dist/esm/types/theme/foundations/radius.d.ts +1 -0
- package/dist/esm/types/theme/foundations/typography.d.ts +56 -0
- package/dist/esm/types/theme/theme-tools.d.ts +57 -0
- package/dist/esm/types/theme/theme.d.ts +57 -0
- package/dist/index.d.ts +689 -16
- package/package.json +14 -13
- package/dist/cjs/types/utils/test-utils.d.ts +0 -14
- package/dist/esm/types/utils/test-utils.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qasa/qds-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
],
|
|
15
15
|
"types": "dist/index.d.ts",
|
|
16
16
|
"scripts": {
|
|
17
|
-
"dev": "
|
|
17
|
+
"dev": "storybook dev -p 1337",
|
|
18
18
|
"prebuild": "rimraf dist",
|
|
19
19
|
"build": "rollup --config rollup.config.js",
|
|
20
|
-
"build:storybook": "build
|
|
20
|
+
"build:storybook": "storybook build",
|
|
21
21
|
"clean": "rimraf dist",
|
|
22
22
|
"test": "jest",
|
|
23
23
|
"test:watch": "jest --watch --onlyChanged",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"@babel/preset-env": "^7.19.3",
|
|
36
36
|
"@babel/preset-react": "^7.18.6",
|
|
37
37
|
"@babel/preset-typescript": "^7.18.6",
|
|
38
|
-
"@changesets/cli": "^2.26.0",
|
|
39
38
|
"@changesets/changelog-github": "^0.4.8",
|
|
39
|
+
"@changesets/cli": "^2.26.0",
|
|
40
40
|
"@emotion/react": "^11.10.4",
|
|
41
41
|
"@emotion/styled": "^11.10.4",
|
|
42
42
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
43
43
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
44
44
|
"@rollup/plugin-typescript": "8.3.3",
|
|
45
|
-
"@storybook/addon-a11y": "^
|
|
46
|
-
"@storybook/addon-actions": "^
|
|
47
|
-
"@storybook/addon-essentials": "^
|
|
48
|
-
"@storybook/addon-interactions": "^
|
|
49
|
-
"@storybook/addon-links": "^
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/react": "^
|
|
52
|
-
"@storybook/testing-library": "^0.
|
|
45
|
+
"@storybook/addon-a11y": "^7.4.6",
|
|
46
|
+
"@storybook/addon-actions": "^7.4.6",
|
|
47
|
+
"@storybook/addon-essentials": "^7.4.6",
|
|
48
|
+
"@storybook/addon-interactions": "^7.4.6",
|
|
49
|
+
"@storybook/addon-links": "^7.4.6",
|
|
50
|
+
"@storybook/react": "^7.4.6",
|
|
51
|
+
"@storybook/react-webpack5": "^7.4.6",
|
|
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
55
|
"@types/jest-axe": "^3.5.5",
|
|
@@ -88,7 +88,8 @@
|
|
|
88
88
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
89
89
|
"rollup-plugin-size": "^0.2.2",
|
|
90
90
|
"rollup-plugin-terser": "^7.0.2",
|
|
91
|
-
"storybook
|
|
91
|
+
"storybook": "^7.4.6",
|
|
92
|
+
"storybook-dark-mode": "^3.0.1",
|
|
92
93
|
"typescript": "^4.8.4"
|
|
93
94
|
},
|
|
94
95
|
"peerDependencies": {
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { RenderOptions } from '@testing-library/react';
|
|
2
|
-
import type { ReactElement } from 'react';
|
|
3
|
-
import type { JestAxeConfigureOptions } from 'jest-axe';
|
|
4
|
-
declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions, 'queries'>) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
5
|
-
export * from '@testing-library/react';
|
|
6
|
-
export { customRender as render };
|
|
7
|
-
/**
|
|
8
|
-
* Test accessibility of a component using [jest-axe](https://github.com/nickcolley/jest-axe).
|
|
9
|
-
*
|
|
10
|
-
* **Warning:**
|
|
11
|
-
* Passing the test does not guarantee what you build is fully accessible.
|
|
12
|
-
* This is just to to detect some common issues.
|
|
13
|
-
*/
|
|
14
|
-
export declare function testA11y(container: HTMLElement, options?: JestAxeConfigureOptions): Promise<void>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { RenderOptions } from '@testing-library/react';
|
|
2
|
-
import type { ReactElement } from 'react';
|
|
3
|
-
import type { JestAxeConfigureOptions } from 'jest-axe';
|
|
4
|
-
declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions, 'queries'>) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
5
|
-
export * from '@testing-library/react';
|
|
6
|
-
export { customRender as render };
|
|
7
|
-
/**
|
|
8
|
-
* Test accessibility of a component using [jest-axe](https://github.com/nickcolley/jest-axe).
|
|
9
|
-
*
|
|
10
|
-
* **Warning:**
|
|
11
|
-
* Passing the test does not guarantee what you build is fully accessible.
|
|
12
|
-
* This is just to to detect some common issues.
|
|
13
|
-
*/
|
|
14
|
-
export declare function testA11y(container: HTMLElement, options?: JestAxeConfigureOptions): Promise<void>;
|