@etsoo/shared 1.1.27 → 1.1.28

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -26,6 +26,7 @@ Etsoo implmented Color
26
26
  |static getColors|Get HEX or RGB colors|
27
27
  |static getEColors|Get EColors|
28
28
  |static parse|Parse HTML color to EColor|
29
+ |Methods||
29
30
  |clone|Clone color with adjustments|
30
31
  |getContrastRatio|Get contrast ratio, a value between 0 and 1|
31
32
  |getDeltaValue|Get Delta value (perceptible by human eyes)|
@@ -63,7 +64,7 @@ ETSOO Extended abstract history class
63
64
  |length|States length|
64
65
  |state|Current state|
65
66
  |states|States|
66
-
67
+ |Methods||
67
68
  |back|Back to the previous state|
68
69
  |clear|Clear all states but keep event listeners|
69
70
  |forward|Forward to the next state|
@@ -104,7 +105,7 @@ Data type definitions and type safe functions
104
105
  |StringRecord|String key, unknown value Record|
105
106
  |VAlign|Vertical align|
106
107
  |VAlignEnum|Vertical align enum|
107
-
108
+ |Methods||
108
109
  |convert|Convert value to target type|
109
110
  |convertByType|Convert by type name like 'string'|
110
111
  |convertSimple|Convert value to target enum type|
@@ -132,7 +133,7 @@ Dates related utilities
132
133
  |DayFormat|YYYY-MM-DD|
133
134
  |MinuteFormat|YYYY-MM-DD hh:mm|
134
135
  |SecondFormat|YYYY-MM-DD hh:mm:ss|
135
-
136
+ |Methods||
136
137
  |getDays|Get month's days|
137
138
  |forma|Format dates|
138
139
  |jsonParser|JSON parser|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/shared",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "description": "TypeScript shared utilities and functions",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",