@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.
- package/LICENSE +1 -1
- package/README.md +121 -52
- package/dist/hooks/index.d.ts +1 -10
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +2 -538
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/types.d.ts +0 -53
- package/dist/hooks/types.d.ts.map +1 -1
- package/dist/hooks/use-global-event.d.ts +0 -2
- package/dist/hooks/use-global-event.d.ts.map +1 -1
- package/dist/index.js +138 -742
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.js +3 -3
- package/dist/kernel/index.js.map +1 -1
- package/dist/modules/ambient/index.js.map +1 -1
- package/dist/modules/background/index.js +5 -5
- package/dist/modules/background/index.js.map +1 -1
- package/dist/modules/context-menu/index.js +4 -4
- package/dist/modules/context-menu/index.js.map +1 -1
- package/dist/modules/controls/index.js +3 -3
- package/dist/modules/controls/index.js.map +1 -1
- package/dist/modules/dock/cards.d.ts +1 -1
- package/dist/modules/dock/hooks.d.ts +1 -1
- package/dist/modules/dock/index.js +3 -3
- package/dist/modules/dock/index.js.map +1 -1
- package/dist/modules/index.js +34 -115
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/loading/index.js +3 -3
- package/dist/modules/loading/index.js.map +1 -1
- package/dist/modules/media/index.js.map +1 -1
- package/dist/modules/modal/index.js +11 -95
- package/dist/modules/modal/index.js.map +1 -1
- package/dist/modules/notification/index.js +7 -5
- package/dist/modules/notification/index.js.map +1 -1
- package/dist/provider.js.map +1 -1
- package/dist/utils/dom.d.ts +0 -2
- package/dist/utils/dom.d.ts.map +1 -1
- package/dist/utils/index.d.ts +5 -6
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +19 -84
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/number.d.ts +0 -1
- package/dist/utils/number.d.ts.map +1 -1
- package/dist/utils/object.d.ts +0 -2
- package/dist/utils/object.d.ts.map +1 -1
- package/dist/utils/string.d.ts +0 -3
- package/dist/utils/string.d.ts.map +1 -1
- package/dist/utils/timing.d.ts +0 -1
- package/dist/utils/timing.d.ts.map +1 -1
- package/docs/README.md +124 -0
- package/docs/architecture-and-rules.md +129 -0
- package/docs/core-engine.md +196 -0
- package/docs/custom-modules.md +267 -0
- package/docs/getting-started.md +199 -0
- package/docs/modules/README.md +176 -0
- package/docs/modules/ambient.md +150 -0
- package/docs/modules/background.md +195 -0
- package/docs/modules/context-menu.md +248 -0
- package/docs/modules/controls.md +159 -0
- package/docs/modules/dock.md +734 -0
- package/docs/modules/error-boundary.md +160 -0
- package/docs/modules/kernel.md +266 -0
- package/docs/modules/loading.md +157 -0
- package/docs/modules/media.md +196 -0
- package/docs/modules/modal.md +229 -0
- package/docs/modules/notification.md +161 -0
- package/docs/modules/result.md +135 -0
- package/docs/testing.md +160 -0
- package/docs/theming.md +185 -0
- package/package.json +3 -1
- 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);
|