@entry-ui/utilities 0.1.0 → 0.2.0

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.
@@ -0,0 +1,2 @@
1
+ var t=r=>{let{prefix:a,messages:s}=r,e=s.join(" ");console.warn(`${a} ${e}`);};export{t as a};//# sourceMappingURL=chunk-6L6DIP5N.js.map
2
+ //# sourceMappingURL=chunk-6L6DIP5N.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/warn/warn.ts"],"names":["warn","params","prefix","messages","message"],"mappings":"AAeO,IAAMA,CAAAA,CAAQC,GAAuB,CAC1C,GAAM,CAAE,MAAA,CAAAC,CAAAA,CAAQ,QAAA,CAAAC,CAAS,CAAA,CAAIF,CAAAA,CAEvBG,EAAUD,CAAAA,CAAS,IAAA,CAAK,GAAG,CAAA,CAEjC,OAAA,CAAQ,IAAA,CAAK,GAAGD,CAAM,CAAA,CAAA,EAAIE,CAAO,CAAA,CAAE,EACrC","file":"chunk-6L6DIP5N.js","sourcesContent":["import type { WarnParams } from './warn.types';\n\n/**\n * Logs a formatted warning message to the console.\n *\n * This function is a wrapper around `console.warn` that joins multiple\n * message segments into a single string and prepends the specified prefix\n * for clear identification in the console output.\n *\n * @example\n * ```ts\n * warn({ prefix: \"[Validator]\", messages: [\"The property\", \"color\", \"is deprecated.\"] });\n * // Console outputs: \"[Validator] The property color is deprecated.\"\n * ```\n */\nexport const warn = (params: WarnParams) => {\n const { prefix, messages } = params;\n\n const message = messages.join(' ');\n\n console.warn(`${prefix} ${message}`);\n};\n"]}
@@ -0,0 +1,2 @@
1
+ var p=r=>{let{prefix:o,messages:e}=r,s=e.join(" ");console.error(`${o} ${s}`);};export{p as a};//# sourceMappingURL=chunk-GG6DRWSS.js.map
2
+ //# sourceMappingURL=chunk-GG6DRWSS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/error/error.ts"],"names":["error","params","prefix","messages","message"],"mappings":"AAcO,IAAMA,CAAAA,CAASC,GAAwB,CAC5C,GAAM,CAAE,MAAA,CAAAC,CAAAA,CAAQ,QAAA,CAAAC,CAAS,CAAA,CAAIF,CAAAA,CAEvBG,EAAUD,CAAAA,CAAS,IAAA,CAAK,GAAG,CAAA,CAEjC,OAAA,CAAQ,KAAA,CAAM,GAAGD,CAAM,CAAA,CAAA,EAAIE,CAAO,CAAA,CAAE,EACtC","file":"chunk-GG6DRWSS.js","sourcesContent":["import type { ErrorParams } from './error.types';\n\n/**\n * Logs a formatted error message to the console with a specific prefix.\n *\n * This utility helps maintain consistent error reporting by joining multiple\n * message segments and tagging them with a clear origin identifier.\n *\n * @example\n * ```ts\n * error({ prefix: \"[Parser]\", messages: [\"Failed to\", \"process\", \"the style string.\"] });\n * // Console outputs: [Parser] Failed to process the style string.\n * ```\n */\nexport const error = (params: ErrorParams) => {\n const { prefix, messages } = params;\n\n const message = messages.join(' ');\n\n console.error(`${prefix} ${message}`);\n};\n"]}
@@ -0,0 +1,2 @@
1
+ var u=f=>f.length===0?{}:f.reduce((l,n)=>{if(!n)return l;let c;if(typeof n=="string"){c={};let s=[],r="",i=0;for(let t=0;t<n.length;t++){let e=n[t];e==="("?(i++,r+=e):e===")"?(i--,r+=e):e===";"&&i===0?(r.trim()&&s.push(r.trim()),r=""):r+=e;}r.trim()&&s.push(r.trim());for(let t of s){let e=t.indexOf(":");if(e===-1)continue;let o=t.slice(0,e).trim(),p=t.slice(e+1).trim();o&&p&&(c[o]=p);}}else c=n;for(let[s,r]of Object.entries(c)){if(s.startsWith("--")){l[s]=r;continue}let i;if(s.startsWith("-")){let t=s.slice(1);if(t.startsWith("ms-")){let e=t.slice(3);i="ms"+e.charAt(0).toUpperCase()+e.slice(1).replace(/-([a-z])/g,(o,p)=>p.toUpperCase());}else i=t.charAt(0).toUpperCase()+t.slice(1).replace(/-([a-z])/g,(e,o)=>o.toUpperCase());}else i=s.replace(/-([a-z])/g,(t,e)=>e.toUpperCase());l[i]=r;}return l},{});export{u as a};//# sourceMappingURL=chunk-JLS3437A.js.map
2
+ //# sourceMappingURL=chunk-JLS3437A.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/merge-styles/merge-styles.ts"],"names":["mergeStyles","styles","acc","style","styleObject","declarations","currentDeclaration","parenDepth","i","char","declaration","colonIndex","property","value","key","normalizedKey","withoutPrefix","rest","_","letter"],"mappings":"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","file":"chunk-JLS3437A.js","sourcesContent":["import type { PossibleStyle } from './merge-styles.types';\n\n/**\n * Merges multiple style values into a single, unified style object.\n *\n * This function consolidates a variety of style formats (inline strings, object records,\n * or undefined) into a single object. It ensures that all property keys are normalized\n * to camelCase or PascalCase where appropriate (e.g., handling vendor prefixes like\n * `-webkit-` as `Webkit` and `-ms-` as `ms`), while preserving CSS custom properties.\n *\n * The parser intelligently handles complex string values like `calc()` or `url()` to\n * ensure semicolons within them do not break the merging process. Following the CSS\n * cascade principle, styles appearing later in the array will override matching\n * properties from earlier ones.\n *\n * @example\n * ```ts\n * mergeStyles([\"color: red; margin-top: 10px;\"\", { marginTop: \"20px\", \"--spacing-unit\": \"20px\" }]);\n * // Returns: { color: \"red\", marginTop: \"20px\", \"--spacing-unit\": \"20px\" }\n * ```\n */\nexport const mergeStyles = (styles: PossibleStyle[]) => {\n // Short-circuit if no styles are provided to avoid unnecessary processing.\n if (styles.length === 0) return {};\n\n return styles.reduce<Record<string, string | number | undefined>>((acc, style) => {\n // Skip nullish values (`null`, `undefined`) which are common in conditional styling.\n if (!style) return acc;\n\n let styleObject: Record<string, string | number | undefined>;\n\n // Case 1: Handle inline style strings (e.g., `\"color: red; margin-top: 10px\"`).\n if (typeof style === 'string') {\n styleObject = {};\n const declarations: string[] = [];\n let currentDeclaration = '';\n let parenDepth = 0;\n\n // Manual tokenizer that splits declarations by semicolon while respecting\n // parentheses. This ensures that semicolons inside `calc()`, `url()`, or\n // data URIs do not break the parsing logic.\n for (let i = 0; i < style.length; i++) {\n const char = style[i];\n\n if (char === '(') {\n parenDepth++;\n currentDeclaration += char;\n } else if (char === ')') {\n parenDepth--;\n currentDeclaration += char;\n } else if (char === ';' && parenDepth === 0) {\n // Found a valid declaration boundary.\n if (currentDeclaration.trim()) {\n declarations.push(currentDeclaration.trim());\n }\n currentDeclaration = '';\n } else {\n currentDeclaration += char;\n }\n }\n\n // Capture the remaining part if the string doesn't end with a semicolon.\n if (currentDeclaration.trim()) {\n declarations.push(currentDeclaration.trim());\n }\n\n // Convert `\"property: value\"` pairs into object entries.\n for (const declaration of declarations) {\n const colonIndex = declaration.indexOf(':');\n if (colonIndex === -1) continue; // Skip malformed declarations.\n\n const property = declaration.slice(0, colonIndex).trim();\n const value = declaration.slice(colonIndex + 1).trim();\n\n if (property && value) {\n styleObject[property] = value;\n }\n }\n } else {\n // Case 2: Style is already an object, use it directly for normalization.\n styleObject = style;\n }\n\n // Normalization Loop:\n // Converts kebab-case keys and vendor prefixes into JS-friendly camelCase/PascalCase.\n for (const [key, value] of Object.entries(styleObject)) {\n // CSS Custom Properties (Variables) should remain in kebab-case.\n if (key.startsWith('--')) {\n acc[key] = value;\n continue;\n }\n\n let normalizedKey: string;\n\n if (key.startsWith('-')) {\n const withoutPrefix = key.slice(1);\n\n // Special handling for Internet Explorer prefix.\n // In JS style objects, `\"-ms-property\"` becomes `\"msProperty\"` (lowercase 'm').\n if (withoutPrefix.startsWith('ms-')) {\n const rest = withoutPrefix.slice(3);\n normalizedKey =\n 'ms' +\n rest.charAt(0).toUpperCase() +\n rest.slice(1).replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());\n } else {\n // Standard vendor prefixes (e.g., `-webkit-`, `-moz-`, `-o-`).\n // These are normalized to PascalCase (e.g., `\"WebkitTransform\"`).\n normalizedKey =\n withoutPrefix.charAt(0).toUpperCase() +\n withoutPrefix.slice(1).replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());\n }\n } else {\n // Standard CSS properties: convert `\"background-color\"` to `\"backgroundColor\"`.\n normalizedKey = key.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());\n }\n\n // Later styles in the array will overwrite earlier ones.\n acc[normalizedKey] = value;\n }\n\n return acc;\n }, {});\n};\n"]}
@@ -0,0 +1,2 @@
1
+ var i=a=>{let{prefix:r,messages:e}=a,o=e.join(" ");throw new Error(`${r} ${o}`)};export{i as a};//# sourceMappingURL=chunk-O4WYO5SA.js.map
2
+ //# sourceMappingURL=chunk-O4WYO5SA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/fail/fail.ts"],"names":["fail","params","prefix","messages","message"],"mappings":"AAeO,IAAMA,CAAAA,CAAQC,CAAAA,EAAuB,CAC1C,GAAM,CAAE,OAAAC,CAAAA,CAAQ,QAAA,CAAAC,CAAS,CAAA,CAAIF,CAAAA,CAEvBG,CAAAA,CAAUD,EAAS,IAAA,CAAK,GAAG,CAAA,CAEjC,MAAM,IAAI,KAAA,CAAM,GAAGD,CAAM,CAAA,CAAA,EAAIE,CAAO,CAAA,CAAE,CACxC","file":"chunk-O4WYO5SA.js","sourcesContent":["import type { FailParams } from './fail.types';\n\n/**\n * Throws a formatted error message with a specific prefix to immediately terminate execution.\n *\n * This utility ensures consistent error handling by joining multiple message\n * segments and prepending a clear origin identifier. It is used to immediately\n * terminate the execution flow when a critical issue occurs.\n *\n * @example\n * ```ts\n * fail({ prefix: \"[Core]\", messages: [\"Critical\", \"failure\", \"detected.\"] });\n * // Throws: Error: [Core] Critical failure detected.\n * ```\n */\nexport const fail = (params: FailParams) => {\n const { prefix, messages } = params;\n\n const message = messages.join(' ');\n\n throw new Error(`${prefix} ${message}`);\n};\n"]}
@@ -0,0 +1,28 @@
1
+ interface ErrorParams {
2
+ /**
3
+ * A string that identifies the origin or category of the error.
4
+ * Prepended to the logged error message to provide context about where the issue occurred.
5
+ */
6
+ prefix: string;
7
+ /**
8
+ * An array of message segments that will be joined with a space.
9
+ * Useful for constructing a detailed error description from multiple parts.
10
+ */
11
+ messages: string[];
12
+ }
13
+
14
+ /**
15
+ * Logs a formatted error message to the console with a specific prefix.
16
+ *
17
+ * This utility helps maintain consistent error reporting by joining multiple
18
+ * message segments and tagging them with a clear origin identifier.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * error({ prefix: "[Parser]", messages: ["Failed to", "process", "the style string."] });
23
+ * // Console outputs: [Parser] Failed to process the style string.
24
+ * ```
25
+ */
26
+ declare const error: (params: ErrorParams) => void;
27
+
28
+ export { type ErrorParams, error };
@@ -0,0 +1,2 @@
1
+ export{a as error}from'../chunk-GG6DRWSS.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,29 @@
1
+ interface FailParams {
2
+ /**
3
+ * A string that identifies the origin or category of the failure.
4
+ * This prefix is prepended to the thrown error message to help pinpoint the source of the exception.
5
+ */
6
+ prefix: string;
7
+ /**
8
+ * An array of message segments that will be joined by a single space.
9
+ * Allows for dynamic construction of a comprehensive error message from multiple strings.
10
+ */
11
+ messages: string[];
12
+ }
13
+
14
+ /**
15
+ * Throws a formatted error message with a specific prefix to immediately terminate execution.
16
+ *
17
+ * This utility ensures consistent error handling by joining multiple message
18
+ * segments and prepending a clear origin identifier. It is used to immediately
19
+ * terminate the execution flow when a critical issue occurs.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * fail({ prefix: "[Core]", messages: ["Critical", "failure", "detected."] });
24
+ * // Throws: Error: [Core] Critical failure detected.
25
+ * ```
26
+ */
27
+ declare const fail: (params: FailParams) => never;
28
+
29
+ export { type FailParams, fail };
@@ -0,0 +1,2 @@
1
+ export{a as fail}from'../chunk-O4WYO5SA.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
-
2
- export { }
1
+ export { ErrorParams, error } from './error/index.js';
2
+ export { FailParams, fail } from './fail/index.js';
3
+ export { PossibleStyle, mergeStyles } from './merge-styles/index.js';
4
+ export { WarnParams, warn } from './warn/index.js';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- //# sourceMappingURL=index.js.map
1
+ export{a as error}from'./chunk-GG6DRWSS.js';export{a as fail}from'./chunk-O4WYO5SA.js';export{a as warn}from'./chunk-6L6DIP5N.js';export{a as mergeStyles}from'./chunk-JLS3437A.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Represents the accepted formats for style declarations.
3
+ *
4
+ * This type allows for flexibility in how styles are defined, supporting:
5
+ *
6
+ * - `string`: Standard inline CSS strings (e.g., `"color: red; padding: 10px"`).
7
+ * - `Record<string, string | number | undefined>`: A structured object of CSS declarations.
8
+ * Supports camelCase, kebab-case, and CSS custom properties (e.g., `{ color: 'red', "margin-top": 10, "--spacing-unit": "20px" }`).
9
+ * - `undefined`: Useful for conditional styling where a style might not be present.
10
+ */
11
+ type PossibleStyle = string | Record<string, string | number | undefined> | undefined;
12
+
13
+ /**
14
+ * Merges multiple style values into a single, unified style object.
15
+ *
16
+ * This function consolidates a variety of style formats (inline strings, object records,
17
+ * or undefined) into a single object. It ensures that all property keys are normalized
18
+ * to camelCase or PascalCase where appropriate (e.g., handling vendor prefixes like
19
+ * `-webkit-` as `Webkit` and `-ms-` as `ms`), while preserving CSS custom properties.
20
+ *
21
+ * The parser intelligently handles complex string values like `calc()` or `url()` to
22
+ * ensure semicolons within them do not break the merging process. Following the CSS
23
+ * cascade principle, styles appearing later in the array will override matching
24
+ * properties from earlier ones.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * mergeStyles(["color: red; margin-top: 10px;"", { marginTop: "20px", "--spacing-unit": "20px" }]);
29
+ * // Returns: { color: "red", marginTop: "20px", "--spacing-unit": "20px" }
30
+ * ```
31
+ */
32
+ declare const mergeStyles: (styles: PossibleStyle[]) => Record<string, string | number | undefined>;
33
+
34
+ export { type PossibleStyle, mergeStyles };
@@ -0,0 +1,2 @@
1
+ export{a as mergeStyles}from'../chunk-JLS3437A.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,29 @@
1
+ interface WarnParams {
2
+ /**
3
+ * A string that identifies the origin or category of the warning.
4
+ * Usually displayed at the beginning of the log message for easier filtering.
5
+ */
6
+ prefix: string;
7
+ /**
8
+ * An array of message segments that will be joined together into a single string.
9
+ * Allows for clean passing of multiple log parts.
10
+ */
11
+ messages: string[];
12
+ }
13
+
14
+ /**
15
+ * Logs a formatted warning message to the console.
16
+ *
17
+ * This function is a wrapper around `console.warn` that joins multiple
18
+ * message segments into a single string and prepends the specified prefix
19
+ * for clear identification in the console output.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * warn({ prefix: "[Validator]", messages: ["The property", "color", "is deprecated."] });
24
+ * // Console outputs: "[Validator] The property color is deprecated."
25
+ * ```
26
+ */
27
+ declare const warn: (params: WarnParams) => void;
28
+
29
+ export { type WarnParams, warn };
@@ -0,0 +1,2 @@
1
+ export{a as warn}from'../chunk-6L6DIP5N.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entry-ui/utilities",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/ZAHON/entry-ui/tree/main/packages/utilities#readme",
@@ -25,7 +25,7 @@
25
25
  "sideEffects": false,
26
26
  "repository": {
27
27
  "type": "git",
28
- "url": "https://github.com/ZAHON/entry-ui",
28
+ "url": "git+https://github.com/ZAHON/entry-ui.git",
29
29
  "directory": "packages/utilities"
30
30
  },
31
31
  "bugs": {
@@ -44,9 +44,6 @@
44
44
  "test:watch": "vitest",
45
45
  "typecheck": "tsc --noEmit"
46
46
  },
47
- "dependencies": {
48
- "style-to-object": "^1.0.14"
49
- },
50
47
  "devDependencies": {
51
48
  "@entry-ui/eslint": "workspace:*",
52
49
  "@entry-ui/prettier": "workspace:*",