@modernpoacher/cogs 1.0.188 → 1.0.190

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/eslint.config.mjs CHANGED
@@ -68,7 +68,7 @@ export default [
68
68
  },
69
69
  /**
70
70
  * Storybook config
71
- */
71
+ */ // @ts-ignore
72
72
  ...storybookPlugin.configs['flat/recommended'],
73
73
  /**
74
74
  * Standard config
package/index.d.mts CHANGED
@@ -7,11 +7,6 @@ declare global {
7
7
  checked?: boolean
8
8
  ) => void
9
9
 
10
- export interface FieldErrorType {
11
- text: string
12
- href: string
13
- }
14
-
15
10
  export namespace Super {
16
11
  export namespace Cogs {
17
12
  export interface CogProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/cogs",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
4
4
  "description": "Cogs",
5
5
  "keywords": [
6
6
  "Cogs",
@@ -43,7 +43,8 @@
43
43
  "test": "npm run test:mocha && npm run test:jest",
44
44
  "test:jest": "cross-env NODE_ENV=test jest",
45
45
  "test:mocha": "cross-env NODE_ENV=test mocha test --recursive",
46
- "transform": "cross-env DEBUG=@modernpoacher/cogs* .storybook/transform.sh"
46
+ "transform": "cross-env DEBUG=@modernpoacher/cogs* .storybook/transform.sh",
47
+ "type-check": "tsc --noEmit"
47
48
  },
48
49
  "dependencies": {
49
50
  "classnames": "^2.5.1",
@@ -57,11 +58,11 @@
57
58
  "@babel/register": "^7.28.3",
58
59
  "@modernpoacher/design-system": "2.0.17",
59
60
  "@sequencemedia/eslint-config-standard": "^0.2.97",
60
- "@sequencemedia/eslint-config-typescript": "^0.1.167",
61
- "@storybook/addon-docs": "^10.0.1",
62
- "@storybook/addon-links": "^10.0.1",
61
+ "@sequencemedia/eslint-config-typescript": "^0.1.168",
62
+ "@storybook/addon-docs": "^10.0.2",
63
+ "@storybook/addon-links": "^10.0.2",
63
64
  "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
64
- "@storybook/react-webpack5": "^10.0.1",
65
+ "@storybook/react-webpack5": "^10.0.2",
65
66
  "@testing-library/jest-dom": "^6.9.1",
66
67
  "@testing-library/react": "^16.3.0",
67
68
  "@types/babel__register": "^7.17.3",
@@ -80,7 +81,7 @@
80
81
  "cross-env": "^10.1.0",
81
82
  "eslint": "^9.38.0",
82
83
  "eslint-plugin-react": "^7.37.5",
83
- "eslint-plugin-storybook": "^10.0.1",
84
+ "eslint-plugin-storybook": "^10.0.2",
84
85
  "globals": "^16.4.0",
85
86
  "husky": "^9.1.7",
86
87
  "jest": "^30.2.0",
@@ -98,12 +99,12 @@
98
99
  "prop-types": "^15.8.1",
99
100
  "react": "^19.2.0",
100
101
  "react-component-instance": "^0.0.120",
101
- "react-component-snapshot": "^0.0.160",
102
+ "react-component-snapshot": "^0.0.161",
102
103
  "react-dom": "^19.2.0",
103
104
  "remove-files-webpack-plugin": "^1.5.0",
104
105
  "sass": "^1.93.2",
105
106
  "sass-loader": "^16.0.6",
106
- "storybook": "^10.0.1",
107
+ "storybook": "^10.0.2",
107
108
  "stylelint": "^16.25.0",
108
109
  "stylelint-config-recommended-scss": "^16.0.2",
109
110
  "stylelint-scss": "^6.12.1",
@@ -36,7 +36,6 @@ export default class Radio extends CheckCog {
36
36
  }
37
37
 
38
38
  /**
39
- * @param {string} name
40
39
  * @param {string | string[]} [value]
41
40
  * @param {boolean} [checked]
42
41
  */
@@ -49,7 +48,6 @@ export default class Radio extends CheckCog {
49
48
  }
50
49
 
51
50
  /**
52
- * @param {string} name
53
51
  * @param {string | string[]} [value]
54
52
  * @param {boolean} [checked]
55
53
  */
@@ -46,9 +46,6 @@ import type {
46
46
  TextareaProps
47
47
  } from '#cogs/cogs/textarea'
48
48
 
49
- export type ErrorDefinitionType = CogsTypes.ErrorDefinitionType
50
- export type FieldErrorType = CogsTypes.FieldErrorType
51
-
52
49
  export { default as CheckboxCog } from '#cogs/cogs/checkbox'
53
50
  export { default as EmailCog } from '#cogs/cogs/email'
54
51
  export { default as NumberCog } from '#cogs/cogs/number'
@@ -46,9 +46,6 @@ import type {
46
46
  TextareaProps
47
47
  } from '#cogs/cogs/textarea'
48
48
 
49
- export type ErrorDefinitionType = CogsTypes.ErrorDefinitionType
50
- export type FieldErrorType = CogsTypes.FieldErrorType
51
-
52
49
  export { default as CheckboxCog } from '#cogs/cogs/checkbox'
53
50
  export { default as EmailCog } from '#cogs/cogs/email'
54
51
  export { default as NumberCog } from '#cogs/cogs/number'