quix-ui 1.1.2 → 1.1.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.
- package/dist/index.js +1360 -40
- package/dist/quix-ui.cjs.js +52 -0
- package/dist/quix-ui.es.js +612 -0
- package/dist/{src → types}/components/Buttons/Buttons.d.ts +1 -1
- package/dist/{src → types}/components/Buttons/Buttons.stories.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/{src → types}/view/Layout.stories.d.ts +1 -1
- package/dist/{src → types}/view/ViewContainer.d.ts +1 -1
- package/package.json +21 -10
- package/dist/eslint.config.d.mts +0 -2
- package/dist/index.d.ts +0 -48
- package/dist/index.js.map +0 -1
- package/dist/node_modules/@eslint/config-helpers/dist/esm/types.d.ts +0 -23
- package/dist/src/index.d.ts +0 -2
- /package/dist/{src → types}/components/Buttons/types.d.ts +0 -0
- /package/dist/{src → types}/utils/utils.d.ts +0 -0
- /package/dist/{src → types}/view/types.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonsProps } from "./types
|
|
1
|
+
import { ButtonsProps } from "./types";
|
|
2
2
|
export default function Buttons(props: ButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ViewProps } from "./types
|
|
1
|
+
import { ViewProps } from "./types";
|
|
2
2
|
export default function ViewContainer(props: ViewProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quix-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "This is a react component library.",
|
|
5
|
-
"main": "dist/cjs/index.js",
|
|
6
|
-
"module": "dist/esm/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
5
|
"type": "module",
|
|
6
|
+
"main": "dist/index.cjs.js",
|
|
7
|
+
"module": "dist/index.es.js",
|
|
8
|
+
"types": "dist/types/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.es.js",
|
|
12
|
+
"require": "./dist/index.cjs.js",
|
|
13
|
+
"types": "./dist/types/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
9
16
|
"files": [
|
|
17
|
+
|
|
10
18
|
"dist"
|
|
11
19
|
],
|
|
12
20
|
"scripts": {
|
|
13
|
-
"build": "
|
|
14
|
-
"
|
|
21
|
+
"build": "vite build",
|
|
22
|
+
"rollup": "rollup -c",
|
|
15
23
|
"test": "jest --watchAll --verbose",
|
|
16
24
|
"storybook": "storybook dev -p 6006",
|
|
17
25
|
"build-storybook": "storybook build",
|
|
@@ -48,6 +56,7 @@
|
|
|
48
56
|
]
|
|
49
57
|
},
|
|
50
58
|
"devDependencies": {
|
|
59
|
+
"@babel/core": "^7.28.6",
|
|
51
60
|
"@babel/preset-env": "^7.28.6",
|
|
52
61
|
"@babel/preset-react": "^7.28.5",
|
|
53
62
|
"@babel/preset-typescript": "^7.28.5",
|
|
@@ -56,7 +65,6 @@
|
|
|
56
65
|
"@figma/plugin-typings": "^1.122.0",
|
|
57
66
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
58
67
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
59
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
60
68
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
61
69
|
"@storybook/addon-docs": "^10.1.11",
|
|
62
70
|
"@storybook/react-vite": "^10.1.11",
|
|
@@ -64,7 +72,9 @@
|
|
|
64
72
|
"@testing-library/react": "^16.3.1",
|
|
65
73
|
"@types/jest": "^30.0.0",
|
|
66
74
|
"@types/react": "^19.2.8",
|
|
75
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
67
76
|
"axios": "^1.13.2",
|
|
77
|
+
"babel-loader": "^10.0.0",
|
|
68
78
|
"eslint": "^9.39.2",
|
|
69
79
|
"globals": "^17.0.0",
|
|
70
80
|
"husky": "^9.1.7",
|
|
@@ -75,8 +85,8 @@
|
|
|
75
85
|
"react-dom": "^18.3.1",
|
|
76
86
|
"rimraf": "^6.1.2",
|
|
77
87
|
"rollup": "^4.55.1",
|
|
78
|
-
"rollup-plugin-
|
|
79
|
-
"rollup-plugin-
|
|
88
|
+
"rollup-plugin-babel": "^4.4.0",
|
|
89
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
80
90
|
"rollup-plugin-postcss": "^4.0.2",
|
|
81
91
|
"storybook": "^10.1.11",
|
|
82
92
|
"styled-components": "^6.3.6",
|
|
@@ -85,7 +95,8 @@
|
|
|
85
95
|
"typescript-eslint": "^8.53.0"
|
|
86
96
|
},
|
|
87
97
|
"peerDependencies": {
|
|
88
|
-
"react": "
|
|
98
|
+
"react": "^18.3.1",
|
|
99
|
+
"react-dom": "^18.3.1"
|
|
89
100
|
},
|
|
90
101
|
"dependencies": {
|
|
91
102
|
"fs": "^0.0.1-security"
|
package/dist/eslint.config.d.mts
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface ViewProps {
|
|
4
|
-
display?: "block" | "flex" | "inline-block" | "inline-flex";
|
|
5
|
-
isScrollable?: boolean;
|
|
6
|
-
direction?: "row" | "column" | "row-reverse" | "column-reverse";
|
|
7
|
-
alignItems?: "stretch" | "center" | "flex-start";
|
|
8
|
-
justifyContent?: "flex-start" | "center" | "space-between";
|
|
9
|
-
width?: number;
|
|
10
|
-
height?: number;
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
paddingX?: number;
|
|
13
|
-
paddingY?: number;
|
|
14
|
-
textColor?: string;
|
|
15
|
-
children?: React.ReactNode | string;
|
|
16
|
-
rounded?: {
|
|
17
|
-
topLeft?: number;
|
|
18
|
-
topRight?: number;
|
|
19
|
-
bottomLeft?: number;
|
|
20
|
-
bottomRight?: number;
|
|
21
|
-
} | number;
|
|
22
|
-
className?: string;
|
|
23
|
-
onClick?: () => void;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare function ViewContainer(props: ViewProps): react_jsx_runtime.JSX.Element;
|
|
27
|
-
|
|
28
|
-
interface ButtonsProps {
|
|
29
|
-
onClick: () => void;
|
|
30
|
-
width?: number;
|
|
31
|
-
height?: number;
|
|
32
|
-
label?: string;
|
|
33
|
-
paddingX?: number;
|
|
34
|
-
paddingY?: number;
|
|
35
|
-
backgroundColor?: string;
|
|
36
|
-
textColor?: string;
|
|
37
|
-
rounded?: {
|
|
38
|
-
topLeft?: number;
|
|
39
|
-
topRight?: number;
|
|
40
|
-
bottomLeft?: number;
|
|
41
|
-
bottomRight?: number;
|
|
42
|
-
} | number;
|
|
43
|
-
className?: string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
declare function Buttons(props: ButtonsProps): react_jsx_runtime.JSX.Element;
|
|
47
|
-
|
|
48
|
-
export { Buttons, ViewContainer };
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/view/ViewContainer.tsx","../../src/components/Buttons/Buttons.tsx"],"sourcesContent":[null,null],"names":["_jsx"],"mappings":";;AAEc,SAAU,aAAa,CAAC,KAAgB,EAAA;AAClD,IAAA,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK;AACjK,IAAA,OAAOA,aAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE;YACrC,OAAO,EAAE,OAAO,IAAI,OAAO;YAC3B,SAAS,EAAE,YAAY,GAAG,QAAQ,GAAG,QAAQ;YAC7C,aAAa,EAAE,SAAS,IAAI,KAAK;YACjC,UA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A,EAAA,CAAI,GAAG,MAAM;YACpC,MAAM,EAAE,MAAM,GAAG,CAAA,EAAG,MAAM,CAAA,EAAA,CAAI,GAAG,MAAM;YACvC,aAAa,EAAE,QAAQ,IAAI,CAAC;YAC5B,YAAY,EAAE,QAAQ,IAAI,CAAC;YAC3B,eAAe,EAAE,eAAe,IAAI,aAAa;YACjD,KAAK,EAAE,SAAS,IAAI,SAAS;AAC7B,YAAA,mBAAmB,EAAE,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,CAAC;AAClF,YAAA,oBAAoB,EAAE,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,EAAE,QAAQ,IAAI,CAAC;AACpF,YAAA,sBAAsB,EAAE,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,EAAE,UAAU,IAAI,CAAC;AACxF,YAAA,uBAAuB,EAAE,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,EAAE,WAAW,IAAI,CAAC;AAC1F,YAAA,MAAM,EAAE,SAAS;AACpB,SAAA,EAAE,OAAO,EAAE,OAAO,EAAA,QAAA,EACd,KAAK,GACD;AACb;;;;"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Types for this package.
|
|
3
|
-
*/
|
|
4
|
-
import type { ConfigObject } from "@eslint/core";
|
|
5
|
-
/**
|
|
6
|
-
* Infinite array type.
|
|
7
|
-
*/
|
|
8
|
-
export type InfiniteArray<T> = T | InfiniteArray<T>[];
|
|
9
|
-
/**
|
|
10
|
-
* The type of array element in the `extends` property after flattening.
|
|
11
|
-
*/
|
|
12
|
-
export type SimpleExtendsElement = string | ConfigObject;
|
|
13
|
-
/**
|
|
14
|
-
* The type of array element in the `extends` property before flattening.
|
|
15
|
-
*/
|
|
16
|
-
export type ExtendsElement = SimpleExtendsElement | InfiniteArray<ConfigObject>;
|
|
17
|
-
/**
|
|
18
|
-
* Config with extends. Valid only inside of `defineConfig()`.
|
|
19
|
-
*/
|
|
20
|
-
export interface ConfigWithExtends extends ConfigObject {
|
|
21
|
-
extends?: ExtendsElement[];
|
|
22
|
-
}
|
|
23
|
-
export type ConfigWithExtendsArray = InfiniteArray<ConfigWithExtends>[];
|
package/dist/src/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|