@almadar/ui 2.1.10 → 2.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.
- package/dist/{chunk-7NEWMNNU.js → chunk-3JGAROCW.js} +2 -0
- package/dist/{chunk-6OACETQB.js → chunk-42WRQA7T.js} +2 -2
- package/dist/{chunk-XDCOHA5C.js → chunk-CC3UOKHI.js} +228 -260
- package/dist/{chunk-BTXQJGFB.js → chunk-DKQN5FVU.js} +1 -1
- package/dist/{chunk-JLEMVREZ.js → chunk-GOZKH7QW.js} +6 -3
- package/dist/chunk-TSETXL2E.js +103 -0
- package/dist/components/index.d.ts +68 -32
- package/dist/components/index.js +139 -144
- package/dist/components/organisms/game/three/index.d.ts +7 -1
- package/dist/context/index.d.ts +2 -2
- package/dist/context/index.js +3 -3
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +4 -3
- package/dist/locales/index.js +1 -102
- package/dist/providers/index.js +6 -5
- package/dist/renderer/index.js +0 -1
- package/dist/{useUISlots-D0mttBSP.d.ts → useUISlots-BBjNvQtb.d.ts} +1 -1
- package/package.json +6 -2
package/dist/locales/index.js
CHANGED
|
@@ -1,107 +1,6 @@
|
|
|
1
|
+
import { en_default } from '../chunk-TSETXL2E.js';
|
|
1
2
|
import '../chunk-PKBMQBKP.js';
|
|
2
3
|
|
|
3
|
-
// locales/en.json
|
|
4
|
-
var en_default = {
|
|
5
|
-
$meta: { locale: "en", direction: "ltr" },
|
|
6
|
-
"common.save": "Save",
|
|
7
|
-
"common.cancel": "Cancel",
|
|
8
|
-
"common.delete": "Delete",
|
|
9
|
-
"common.close": "Close",
|
|
10
|
-
"common.confirm": "Are you sure?",
|
|
11
|
-
"common.create": "Create",
|
|
12
|
-
"common.edit": "Edit",
|
|
13
|
-
"common.view": "View",
|
|
14
|
-
"common.add": "Add",
|
|
15
|
-
"common.remove": "Remove",
|
|
16
|
-
"common.search": "Search...",
|
|
17
|
-
"common.filter": "Filter",
|
|
18
|
-
"common.actions": "Actions",
|
|
19
|
-
"common.yes": "Yes",
|
|
20
|
-
"common.no": "No",
|
|
21
|
-
"common.ok": "OK",
|
|
22
|
-
"common.done": "Done",
|
|
23
|
-
"common.apply": "Apply",
|
|
24
|
-
"common.reset": "Reset",
|
|
25
|
-
"common.refresh": "Refresh",
|
|
26
|
-
"common.export": "Export",
|
|
27
|
-
"common.import": "Import",
|
|
28
|
-
"common.copy": "Copy",
|
|
29
|
-
"common.settings": "Settings",
|
|
30
|
-
"nav.previous": "Previous",
|
|
31
|
-
"nav.next": "Next",
|
|
32
|
-
"nav.back": "Back",
|
|
33
|
-
"nav.home": "Home",
|
|
34
|
-
"form.submit": "Submit",
|
|
35
|
-
"form.saving": "Saving...",
|
|
36
|
-
"form.required": "This field is required",
|
|
37
|
-
"form.invalidEmail": "Enter a valid email address",
|
|
38
|
-
"form.selectPlaceholder": "Select {{label}}...",
|
|
39
|
-
"form.searchPlaceholder": "Search {{entity}}...",
|
|
40
|
-
"table.empty.title": "No items found",
|
|
41
|
-
"table.empty.description": "No items to display.",
|
|
42
|
-
"table.search.placeholder": "Search...",
|
|
43
|
-
"table.pagination.showing": "Showing {{start}} to {{end}} of {{total}} results",
|
|
44
|
-
"table.pagination.page": "Page {{page}} of {{totalPages}}",
|
|
45
|
-
"table.bulk.selected": "{{count}} selected",
|
|
46
|
-
"table.loading": "Loading...",
|
|
47
|
-
"status.loading": "Loading...",
|
|
48
|
-
"status.scheduled": "Scheduled",
|
|
49
|
-
"status.inProgress": "In Progress",
|
|
50
|
-
"status.completed": "Completed",
|
|
51
|
-
"status.cancelled": "Cancelled",
|
|
52
|
-
"status.pending": "Pending",
|
|
53
|
-
"status.active": "Active",
|
|
54
|
-
"status.inactive": "Inactive",
|
|
55
|
-
"status.draft": "Draft",
|
|
56
|
-
"status.archived": "Archived",
|
|
57
|
-
"error.generic": "Something went wrong",
|
|
58
|
-
"error.retry": "Try again",
|
|
59
|
-
"error.notFound": "Not found",
|
|
60
|
-
"error.loadFailed": "Failed to load: {{message}}",
|
|
61
|
-
"error.configMissing": "Configuration not found for: {{id}}",
|
|
62
|
-
"common.loading": "Loading...",
|
|
63
|
-
"common.saveChanges": "Save Changes",
|
|
64
|
-
"common.retry": "Retry",
|
|
65
|
-
"common.open": "Open",
|
|
66
|
-
"common.back": "Back",
|
|
67
|
-
"empty.noItems": "No items",
|
|
68
|
-
"empty.noData": "No data available",
|
|
69
|
-
"empty.noItemsYet": "No items yet",
|
|
70
|
-
"empty.noItemsAdded": "No items added yet",
|
|
71
|
-
"empty.noOptionsFound": "No options found",
|
|
72
|
-
"list.addItemPlaceholder": "Add new item...",
|
|
73
|
-
"error.occurred": "An error occurred",
|
|
74
|
-
"error.failedToLoad": "Failed to load data",
|
|
75
|
-
"wizard.back": "Back",
|
|
76
|
-
"wizard.next": "Next",
|
|
77
|
-
"wizard.complete": "Complete",
|
|
78
|
-
"wizard.stepOf": "Step {{current}} of {{total}}",
|
|
79
|
-
"pagination.previous": "Previous",
|
|
80
|
-
"pagination.next": "Next",
|
|
81
|
-
"pagination.total": "Total:",
|
|
82
|
-
"pagination.show": "Show:",
|
|
83
|
-
"pagination.goTo": "Go to:",
|
|
84
|
-
"pagination.go": "Go",
|
|
85
|
-
"auth.signIn": "Sign in",
|
|
86
|
-
"auth.signOut": "Sign out",
|
|
87
|
-
"dialog.confirm": "Confirm",
|
|
88
|
-
"dialog.cancel": "Cancel",
|
|
89
|
-
"dialog.loading": "Loading...",
|
|
90
|
-
"dialog.delete.title": "Delete {{item}}?",
|
|
91
|
-
"dialog.delete.message": "This action cannot be undone.",
|
|
92
|
-
"trait.availableActions": "Available Actions",
|
|
93
|
-
"trait.transitions": "Transitions",
|
|
94
|
-
"trait.availableNow": "Available now",
|
|
95
|
-
"book.startReading": "Start Reading",
|
|
96
|
-
"book.tableOfContents": "Table of Contents",
|
|
97
|
-
"book.partNumber": "Part {{number}}",
|
|
98
|
-
"book.print": "Print",
|
|
99
|
-
"book.previousPage": "Previous page",
|
|
100
|
-
"book.nextPage": "Next page",
|
|
101
|
-
"quiz.showAnswer": "Show answer",
|
|
102
|
-
"quiz.hideAnswer": "Hide answer"
|
|
103
|
-
};
|
|
104
|
-
|
|
105
4
|
// locales/ar.json
|
|
106
5
|
var ar_default = {
|
|
107
6
|
$meta: { locale: "ar", direction: "rtl" },
|
package/dist/providers/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { SuspenseConfigProvider } from '../chunk-
|
|
2
|
-
import { ThemeProvider } from '../chunk-
|
|
3
|
-
import { SelectionProvider, EntityDataProvider } from '../chunk-
|
|
4
|
-
export { SelectionContext, SelectionProvider, useSelection, useSelectionOptional } from '../chunk-
|
|
1
|
+
import { SuspenseConfigProvider } from '../chunk-CC3UOKHI.js';
|
|
2
|
+
import { ThemeProvider } from '../chunk-DKQN5FVU.js';
|
|
3
|
+
import { SelectionProvider, EntityDataProvider } from '../chunk-GOZKH7QW.js';
|
|
4
|
+
export { SelectionContext, SelectionProvider, useSelection, useSelectionOptional } from '../chunk-GOZKH7QW.js';
|
|
5
5
|
import { useEventBus, EventBusProvider } from '../chunk-YXZM3WCF.js';
|
|
6
6
|
export { EventBusContext, EventBusProvider } from '../chunk-YXZM3WCF.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3JGAROCW.js';
|
|
8
8
|
import { recordTransition, registerCheck, bindEventBus, bindTraitStateGetter } from '../chunk-45CTDYBT.js';
|
|
9
9
|
import '../chunk-KKCVDUK7.js';
|
|
10
|
+
import '../chunk-TSETXL2E.js';
|
|
10
11
|
import { useOfflineExecutor } from '../chunk-PL7MD6GF.js';
|
|
11
12
|
import '../chunk-PKBMQBKP.js';
|
|
12
13
|
import { createContext, useState, useCallback, useMemo, useContext, useRef, useEffect } from 'react';
|
package/dist/renderer/index.js
CHANGED
|
@@ -604,7 +604,6 @@ function initializePatterns() {
|
|
|
604
604
|
console.log("[PatternResolver] Extracted patterns count:", Object.keys(patternRegistry2).length);
|
|
605
605
|
initializePatternResolver({
|
|
606
606
|
componentMapping: componentMapping2,
|
|
607
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
608
607
|
patternRegistry: patternRegistry2
|
|
609
608
|
});
|
|
610
609
|
console.log(`[PatternResolver] Initialized with ${Object.keys(componentMapping2).length} component mappings and ${Object.keys(patternRegistry2).length} pattern definitions`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Valid UI slot names
|
|
3
3
|
*/
|
|
4
|
-
type UISlot = 'main' | 'sidebar' | 'modal' | 'drawer' | 'overlay' | 'center' | 'toast' | 'hud-top' | 'hud-bottom' | 'floating';
|
|
4
|
+
type UISlot = 'main' | 'sidebar' | 'modal' | 'drawer' | 'overlay' | 'center' | 'toast' | 'hud-top' | 'hud-bottom' | 'hud-left' | 'hud-right' | 'floating';
|
|
5
5
|
/**
|
|
6
6
|
* Animation types for slot transitions
|
|
7
7
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "React UI components, hooks, and providers for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/components/index.js",
|
|
@@ -123,7 +123,11 @@
|
|
|
123
123
|
"@storybook/addon-docs": "^10.2.6",
|
|
124
124
|
"@types/react-syntax-highlighter": "^15.5.0",
|
|
125
125
|
"katex": "^0.16.0",
|
|
126
|
-
"@types/node": "^22.0.0"
|
|
126
|
+
"@types/node": "^22.0.0",
|
|
127
|
+
"eslint": "10.0.0",
|
|
128
|
+
"@typescript-eslint/parser": "8.56.0",
|
|
129
|
+
"@almadar/eslint-plugin": ">=2.3.0",
|
|
130
|
+
"eslint-plugin-react-compiler": "19.1.0-rc.2"
|
|
127
131
|
},
|
|
128
132
|
"repository": {
|
|
129
133
|
"type": "git",
|