shinkansen-cogs 1.8.8 → 1.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-cogs",
3
- "version": "1.8.8",
3
+ "version": "1.8.10",
4
4
  "description": "Shinkansen Cogs",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "ISC",
22
22
  "engines": {
23
- "node": ">=23.0.0"
23
+ "node": ">=22.11.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -53,9 +53,9 @@
53
53
  "@babel/preset-env": "^7.26.9",
54
54
  "@babel/preset-react": "^7.26.3",
55
55
  "@babel/register": "^7.25.9",
56
- "@modernpoacher/design-system": "1.1.29",
57
- "@sequencemedia/eslint-config-standard": "^0.2.34",
58
- "@sequencemedia/eslint-config-typescript": "^0.1.47",
56
+ "@modernpoacher/design-system": "1.1.30",
57
+ "@sequencemedia/eslint-config-standard": "^0.2.35",
58
+ "@sequencemedia/eslint-config-typescript": "^0.1.49",
59
59
  "@storybook/addon-actions": "7.6.20",
60
60
  "@storybook/addon-essentials": "7.6.20",
61
61
  "@storybook/addon-links": "7.6.20",
@@ -1,17 +1,11 @@
1
- declare module '#cogs/common' {
2
- export function DEFAULT_HANDLE_CHANGE (
3
- name: string,
4
- value?: string | string[],
5
- checked?: boolean
6
- ): void
1
+ export function DEFAULT_HANDLE_CHANGE (
2
+ name: string,
3
+ value?: string | string[],
4
+ checked?: boolean
5
+ ): void
7
6
 
8
- export function DEFAULT_HANDLE_CLICK (
9
- name: string,
10
- value?: string | string[],
11
- checked?: boolean
12
- ): void
13
- }
14
-
15
- declare module 'shinkansen-cogs/common' {
16
- export * from '#cogs/common'
17
- }
7
+ export function DEFAULT_HANDLE_CLICK (
8
+ name: string,
9
+ value?: string | string[],
10
+ checked?: boolean
11
+ ): void
package/src/index.d.mts CHANGED
@@ -1,17 +1,11 @@
1
- declare module '#cogs' {
2
- export type ErrorDefinitionType = CogsTypes.ErrorDefinitionType
3
- export type FieldErrorType = CogsTypes.FieldErrorType
1
+ export type ErrorDefinitionType = CogsTypes.ErrorDefinitionType
2
+ export type FieldErrorType = CogsTypes.FieldErrorType
4
3
 
5
- export { default as CheckboxCog } from '#cogs/cogs/checkbox'
6
- export { default as EmailCog } from '#cogs/cogs/email'
7
- export { default as NumberCog } from '#cogs/cogs/number'
8
- export { default as PasswordCog } from '#cogs/cogs/password'
9
- export { default as RadioCog } from '#cogs/cogs/radio'
10
- export { default as SelectCog } from '#cogs/cogs/select'
11
- export { default as TextCog } from '#cogs/cogs/text'
12
- export { default as TextareaCog } from '#cogs/cogs/textarea'
13
- }
14
-
15
- declare module 'shinkansen-cogs' {
16
- export * from '#cogs'
17
- }
4
+ export { default as CheckboxCog } from '#cogs/cogs/checkbox'
5
+ export { default as EmailCog } from '#cogs/cogs/email'
6
+ export { default as NumberCog } from '#cogs/cogs/number'
7
+ export { default as PasswordCog } from '#cogs/cogs/password'
8
+ export { default as RadioCog } from '#cogs/cogs/radio'
9
+ export { default as SelectCog } from '#cogs/cogs/select'
10
+ export { default as TextCog } from '#cogs/cogs/text'
11
+ export { default as TextareaCog } from '#cogs/cogs/textarea'
@@ -1,12 +1,5 @@
1
- declare module '#cogs/transformers/error-message' {
2
- export type ErrorDefinitionType = CogsTypes.ErrorDefinitionType
1
+ export type ErrorDefinitionType = CogsTypes.ErrorDefinitionType
3
2
 
4
- export type FieldErrorType = CogsTypes.FieldErrorType
3
+ export type FieldErrorType = CogsTypes.FieldErrorType
5
4
 
6
- export default function transform (error: CogsTypes.ErrorDefinitionType): CogsTypes.FieldErrorType
7
- }
8
-
9
- declare module 'shinkansen-cogs/transformers/error-message' {
10
- export { default } from '#cogs/transformers/error-message'
11
- export * from '#cogs/transformers/error-message'
12
- }
5
+ export default function transform (error: CogsTypes.ErrorDefinitionType): CogsTypes.FieldErrorType