chop-logic-components 1.0.4 → 1.0.5
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/README.md +5 -2
- package/dist/components/containers/form/Form.styled.d.ts +0 -1
- package/dist/components/containers/form/types.d.ts +4 -1
- package/dist/components/containers/grid/Grid.styled.d.ts +0 -1
- package/dist/components/containers/grid/types.d.ts +3 -6
- package/dist/components/containers/tabs/types.d.ts +3 -2
- package/dist/components/inputs/_common/error-message/ErrorMessage.styled.d.ts +0 -1
- package/dist/components/inputs/_common/input-inner-button/InputInnerButton.styled.d.ts +0 -1
- package/dist/components/inputs/_common/label/Label.styled.d.ts +0 -1
- package/dist/components/inputs/button/types.d.ts +3 -2
- package/dist/components/inputs/checkbox/Checkbox.styled.d.ts +0 -1
- package/dist/components/inputs/checkbox/controller.d.ts +0 -1
- package/dist/components/inputs/checkbox/types.d.ts +5 -4
- package/dist/components/inputs/multi-select/MultiSelect.styled.d.ts +0 -1
- package/dist/components/inputs/multi-select/types.d.ts +3 -3
- package/dist/components/inputs/numeric/NumericInput.styled.d.ts +0 -1
- package/dist/components/inputs/numeric/types.d.ts +11 -5
- package/dist/components/inputs/select/Select.styled.d.ts +0 -1
- package/dist/components/inputs/select/types.d.ts +4 -4
- package/dist/components/inputs/text/TextInput.styled.d.ts +0 -1
- package/dist/components/inputs/text/types.d.ts +11 -2
- package/dist/components/modals/alert/Alert.styled.d.ts +0 -1
- package/dist/components/modals/alert/types.d.ts +2 -2
- package/dist/components/modals/dialog/Dialog.styled.d.ts +0 -1
- package/dist/components/modals/dialog/types.d.ts +2 -1
- package/dist/components/modals/tooltip/Tooltip.styled.d.ts +0 -1
- package/dist/components/modals/tooltip/controller.d.ts +0 -1
- package/dist/components/modals/tooltip/types.d.ts +2 -1
- package/dist/constants/style-variables.d.ts +2 -2
- package/dist/favicon.ico +0 -0
- package/dist/hooks/use-modal-focus-trap/index.d.ts +0 -1
- package/dist/hooks/use-tooltip-position/index.d.ts +0 -1
- package/dist/index.cjs.js +92 -92
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3026 -3050
- package/dist/index.es.js.map +1 -1
- package/dist/logo.png +0 -0
- package/dist/utils/__tests__/get-initial-color-mode.test.d.ts +1 -0
- package/dist/utils/get-initial-color-mode.d.ts +1 -0
- package/dist/utils/types.d.ts +13 -0
- package/package.json +13 -13
package/dist/logo.png
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getInitialColorMode(): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type CommonComponentProps = {
|
|
2
|
+
id?: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
tabIndex?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
};
|
|
8
|
+
export type CommonInputProps = CommonComponentProps & {
|
|
9
|
+
label: string;
|
|
10
|
+
name: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/SavouryGin/chop-logic-components.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.5",
|
|
8
8
|
"description": "React UI components library for Chop Logic project",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"main": "dist/index.cjs.js",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"lint-staged": {
|
|
28
28
|
"*.{ts,tsx}": [
|
|
29
|
-
"npm run lint"
|
|
30
|
-
"npm run test:ci"
|
|
29
|
+
"npm run lint"
|
|
31
30
|
]
|
|
32
31
|
},
|
|
33
32
|
"keywords": [
|
|
@@ -43,16 +42,17 @@
|
|
|
43
42
|
},
|
|
44
43
|
"homepage": "https://savourygin.github.io/chop-logic-components",
|
|
45
44
|
"devDependencies": {
|
|
46
|
-
"@chromatic-com/storybook": "^
|
|
45
|
+
"@chromatic-com/storybook": "^3.1.0",
|
|
47
46
|
"@commitlint/cli": "^19.3.0",
|
|
48
47
|
"@commitlint/config-conventional": "^19.2.2",
|
|
49
|
-
"@storybook/addon-essentials": "^8.3.
|
|
50
|
-
"@storybook/addon-interactions": "^8.3.
|
|
51
|
-
"@storybook/addon-links": "^8.3.
|
|
52
|
-
"@storybook/
|
|
53
|
-
"@storybook/
|
|
54
|
-
"@storybook/react
|
|
55
|
-
"@storybook/
|
|
48
|
+
"@storybook/addon-essentials": "^8.3.6",
|
|
49
|
+
"@storybook/addon-interactions": "^8.3.6",
|
|
50
|
+
"@storybook/addon-links": "^8.3.6",
|
|
51
|
+
"@storybook/addon-mdx-gfm": "^8.3.6",
|
|
52
|
+
"@storybook/blocks": "^8.3.6",
|
|
53
|
+
"@storybook/react": "^8.3.6",
|
|
54
|
+
"@storybook/react-vite": "^8.3.6",
|
|
55
|
+
"@storybook/test": "^8.3.6",
|
|
56
56
|
"@testing-library/jest-dom": "^6.4.2",
|
|
57
57
|
"@testing-library/react": "^15.0.6",
|
|
58
58
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"eslint-plugin-react": "^7.34.1",
|
|
67
67
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
68
68
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
69
|
-
"eslint-plugin-storybook": "^0.
|
|
69
|
+
"eslint-plugin-storybook": "^0.10.1",
|
|
70
70
|
"husky": "^8.0.0",
|
|
71
71
|
"husky-init": "^8.0.0",
|
|
72
72
|
"jsdom": "^24.0.0",
|
|
73
73
|
"lint-staged": "^15.2.2",
|
|
74
74
|
"prettier": "^3.2.5",
|
|
75
|
-
"storybook": "^8.3.
|
|
75
|
+
"storybook": "^8.3.6",
|
|
76
76
|
"styled-components": "^6.1.12",
|
|
77
77
|
"typescript": "^5.4.5",
|
|
78
78
|
"vite": "^5.2.10",
|