@geckou/ui-core 0.1.0 → 0.1.2

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.
@@ -1,4 +1,4 @@
1
- import type { InputBoxStyleForEachStatus, BorderStyle } from './types';
1
+ import type { InputBoxStyleForEachStatus, BorderStyle } from './types.js';
2
2
  export declare const COLOR: {
3
3
  white: string;
4
4
  black: string;
package/dist/date.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { DateObject, DateType, ValidationResult } from './types';
1
+ import type { DateObject, DateType, ValidationResult } from './types.js';
2
2
  /** 指定した年月の日数。month は 1 始まり */
3
3
  export declare function daysInMonth(year: number, month: number): number;
4
4
  /**
package/dist/date.js CHANGED
@@ -1,4 +1,4 @@
1
- import { MESSAGES } from './constants';
1
+ import { MESSAGES } from './constants.js';
2
2
  function pad(value) {
3
3
  return String(value).padStart(2, '0');
4
4
  }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './types';
2
- export * from './constants';
3
- export * from './validation';
4
- export * from './date';
5
- export * from './text';
6
- export * from './form-validation-store';
1
+ export * from './types.js';
2
+ export * from './constants.js';
3
+ export * from './validation.js';
4
+ export * from './date.js';
5
+ export * from './text.js';
6
+ export * from './form-validation-store.js';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from './types';
2
- export * from './constants';
3
- export * from './validation';
4
- export * from './date';
5
- export * from './text';
6
- export * from './form-validation-store';
1
+ export * from './types.js';
2
+ export * from './constants.js';
3
+ export * from './validation.js';
4
+ export * from './date.js';
5
+ export * from './text.js';
6
+ export * from './form-validation-store.js';
@@ -1,4 +1,4 @@
1
- import type { InputValue, Validates } from './types';
1
+ import type { InputValue, Validates } from './types.js';
2
2
  /**
3
3
  * 入力が空かどうか。
4
4
  *
@@ -1,4 +1,4 @@
1
- import { MESSAGES } from './constants';
1
+ import { MESSAGES } from './constants.js';
2
2
  /**
3
3
  * 入力が空かどうか。
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geckou/ui-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Framework-agnostic logic shared by @geckou/ui-vue and @geckou/ui-react",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,11 @@
13
13
  },
14
14
  "./package.json": "./package.json"
15
15
  },
16
- "files": ["dist", "README.md", "LICENSE"],
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
17
21
  "repository": {
18
22
  "type": "git",
19
23
  "url": "git+https://github.com/geckou/ui.git",
@@ -21,7 +25,9 @@
21
25
  },
22
26
  "author": "geckou-shogo <shogo.nojima@geckou.net>",
23
27
  "license": "MIT",
24
- "engines": { "node": ">=20.0.0" },
28
+ "engines": {
29
+ "node": ">=20.0.0"
30
+ },
25
31
  "publishConfig": {
26
32
  "registry": "https://registry.npmjs.org/",
27
33
  "access": "public"