@omerdlw/base-framework 1.0.0 → 1.0.1

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 (71) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +121 -52
  3. package/dist/hooks/index.d.ts +1 -10
  4. package/dist/hooks/index.d.ts.map +1 -1
  5. package/dist/hooks/index.js +2 -538
  6. package/dist/hooks/index.js.map +1 -1
  7. package/dist/hooks/types.d.ts +0 -53
  8. package/dist/hooks/types.d.ts.map +1 -1
  9. package/dist/hooks/use-global-event.d.ts +0 -2
  10. package/dist/hooks/use-global-event.d.ts.map +1 -1
  11. package/dist/index.js +138 -742
  12. package/dist/index.js.map +1 -1
  13. package/dist/kernel/index.js +3 -3
  14. package/dist/kernel/index.js.map +1 -1
  15. package/dist/modules/ambient/index.js.map +1 -1
  16. package/dist/modules/background/index.js +5 -5
  17. package/dist/modules/background/index.js.map +1 -1
  18. package/dist/modules/context-menu/index.js +4 -4
  19. package/dist/modules/context-menu/index.js.map +1 -1
  20. package/dist/modules/controls/index.js +3 -3
  21. package/dist/modules/controls/index.js.map +1 -1
  22. package/dist/modules/dock/cards.d.ts +1 -1
  23. package/dist/modules/dock/hooks.d.ts +1 -1
  24. package/dist/modules/dock/index.js +3 -3
  25. package/dist/modules/dock/index.js.map +1 -1
  26. package/dist/modules/index.js +34 -115
  27. package/dist/modules/index.js.map +1 -1
  28. package/dist/modules/loading/index.js +3 -3
  29. package/dist/modules/loading/index.js.map +1 -1
  30. package/dist/modules/media/index.js.map +1 -1
  31. package/dist/modules/modal/index.js +11 -95
  32. package/dist/modules/modal/index.js.map +1 -1
  33. package/dist/modules/notification/index.js +7 -5
  34. package/dist/modules/notification/index.js.map +1 -1
  35. package/dist/provider.js.map +1 -1
  36. package/dist/utils/dom.d.ts +0 -2
  37. package/dist/utils/dom.d.ts.map +1 -1
  38. package/dist/utils/index.d.ts +5 -6
  39. package/dist/utils/index.d.ts.map +1 -1
  40. package/dist/utils/index.js +19 -84
  41. package/dist/utils/index.js.map +1 -1
  42. package/dist/utils/number.d.ts +0 -1
  43. package/dist/utils/number.d.ts.map +1 -1
  44. package/dist/utils/object.d.ts +0 -2
  45. package/dist/utils/object.d.ts.map +1 -1
  46. package/dist/utils/string.d.ts +0 -3
  47. package/dist/utils/string.d.ts.map +1 -1
  48. package/dist/utils/timing.d.ts +0 -1
  49. package/dist/utils/timing.d.ts.map +1 -1
  50. package/docs/README.md +124 -0
  51. package/docs/architecture-and-rules.md +129 -0
  52. package/docs/core-engine.md +196 -0
  53. package/docs/custom-modules.md +267 -0
  54. package/docs/getting-started.md +199 -0
  55. package/docs/modules/README.md +176 -0
  56. package/docs/modules/ambient.md +150 -0
  57. package/docs/modules/background.md +195 -0
  58. package/docs/modules/context-menu.md +248 -0
  59. package/docs/modules/controls.md +159 -0
  60. package/docs/modules/dock.md +734 -0
  61. package/docs/modules/error-boundary.md +160 -0
  62. package/docs/modules/kernel.md +266 -0
  63. package/docs/modules/loading.md +157 -0
  64. package/docs/modules/media.md +196 -0
  65. package/docs/modules/modal.md +229 -0
  66. package/docs/modules/notification.md +161 -0
  67. package/docs/modules/result.md +135 -0
  68. package/docs/testing.md +160 -0
  69. package/docs/theming.md +185 -0
  70. package/package.json +3 -1
  71. package/templates/AGENTS.md +165 -0
@@ -129,7 +129,6 @@ export declare function useDockCardItemModel({ ref, activeItem, onContentHeightC
129
129
  fill?: import("csstype").Property.Fill | undefined;
130
130
  background?: import("csstype").Property.Background<string | number> | undefined;
131
131
  resize?: import("csstype").Property.Resize | undefined;
132
- clear?: import("csstype").Property.Clear | undefined;
133
132
  clipPath?: import("csstype").Property.ClipPath | undefined;
134
133
  marker?: import("csstype").Property.Marker | undefined;
135
134
  mask?: import("csstype").Property.Mask<string | number> | undefined;
@@ -160,6 +159,7 @@ export declare function useDockCardItemModel({ ref, activeItem, onContentHeightC
160
159
  y?: import("csstype").Property.Y<string | number> | undefined;
161
160
  caret?: import("csstype").Property.Caret | undefined;
162
161
  zoom?: import("csstype").Property.Zoom | undefined;
162
+ clear?: import("csstype").Property.Clear | undefined;
163
163
  border?: import("csstype").Property.Border<string | number> | undefined;
164
164
  padding?: import("csstype").Property.Padding<string | number> | undefined;
165
165
  accentColor?: import("csstype").Property.AccentColor | undefined;
@@ -83,7 +83,6 @@ export declare function getDockItemCardProps({ cardScale, cardStyle, expanded, h
83
83
  fill?: import("csstype").Property.Fill | undefined;
84
84
  background?: import("csstype").Property.Background<string | number> | undefined;
85
85
  resize?: import("csstype").Property.Resize | undefined;
86
- clear?: import("csstype").Property.Clear | undefined;
87
86
  clipPath?: import("csstype").Property.ClipPath | undefined;
88
87
  marker?: import("csstype").Property.Marker | undefined;
89
88
  mask?: import("csstype").Property.Mask<string | number> | undefined;
@@ -114,6 +113,7 @@ export declare function getDockItemCardProps({ cardScale, cardStyle, expanded, h
114
113
  y?: import("csstype").Property.Y<string | number> | undefined;
115
114
  caret?: import("csstype").Property.Caret | undefined;
116
115
  zoom?: import("csstype").Property.Zoom | undefined;
116
+ clear?: import("csstype").Property.Clear | undefined;
117
117
  border?: import("csstype").Property.Border<string | number> | undefined;
118
118
  padding?: import("csstype").Property.Padding<string | number> | undefined;
119
119
  accentColor?: import("csstype").Property.AccentColor | undefined;
@@ -14,6 +14,9 @@ function cn(...inputs) {
14
14
  return twMerge(clsx(inputs));
15
15
  }
16
16
 
17
+ // src/utils/dom.ts
18
+ var isBrowser = typeof window !== "undefined";
19
+
17
20
  // src/utils/string.ts
18
21
  function trimToNull(value) {
19
22
  if (value === null || value === void 0) return null;
@@ -34,9 +37,6 @@ function isImageIconSource(icon) {
34
37
  return typeof icon === "string" && (icon.startsWith("http://") || icon.startsWith("https://") || icon.startsWith("/") || icon.startsWith("data:image/"));
35
38
  }
36
39
 
37
- // src/utils/dom.ts
38
- var isBrowser = typeof window !== "undefined";
39
-
40
40
  // src/utils/number.ts
41
41
  function clamp(value, min, max) {
42
42
  const num = Number(value);