@depict-ai/react-ui 0.0.57 → 0.0.59
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/index.d.ts +1 -1
- package/dist/main.js +2 -6
- package/dist/module.js +2 -6
- package/dist-server/index.d.ts +1 -1
- package/dist-server/main.js +1 -1
- package/dist-server/module.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ interface UseSearchModalReturn {
|
|
|
392
392
|
* @returns {JSX.Element}
|
|
393
393
|
*/
|
|
394
394
|
export function useDepictSearchModal(params: UseSearchModalParams): UseSearchModalReturn;
|
|
395
|
-
export const version = "0.0.
|
|
395
|
+
export const version = "0.0.59";
|
|
396
396
|
/**
|
|
397
397
|
* Helper function to navigate to a new page depending on the navigation library used.
|
|
398
398
|
*/
|
package/dist/main.js
CHANGED
|
@@ -245,9 +245,6 @@ function $24b00503eef73528$export$9fac37a9c21c2f3b(props) {
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
|
|
248
|
-
// PoC maybe-component
|
|
249
|
-
// Idea is to always give a nice "modal input in header" look with no more config than adding this component to the page header to where it can absolute-size
|
|
250
|
-
// and cover the entire height of the header. Then we know where to put the modal input top and bottom, and the left and right we just center.
|
|
251
248
|
|
|
252
249
|
const $d96434e62e08087d$export$3f4580d6398c5027 = /*#__PURE__*/ (0, $4GYXz$react.forwardRef)((_, ref)=>{
|
|
253
250
|
return /*#__PURE__*/ (0, $4GYXz$react.createElement)("div", {
|
|
@@ -425,7 +422,7 @@ const $7c8b440edc188ad5$export$89c6019e4baa40b1 = ({ width: width , height: heig
|
|
|
425
422
|
|
|
426
423
|
|
|
427
424
|
const $ef7db890e488d4f4$export$d69d8daa20eae175 = (createOpenModalParams)=>{
|
|
428
|
-
const { globalState: globalState , location: location , alignerRef: alignerRef
|
|
425
|
+
const { globalState: globalState , location: location , alignerRef: alignerRef } = createOpenModalParams;
|
|
429
426
|
const openModal = ()=>{
|
|
430
427
|
const headerAligner = alignerRef?.current;
|
|
431
428
|
if (!globalState.search) throw new Error("No active search in the app!");
|
|
@@ -475,7 +472,6 @@ const $ef7db890e488d4f4$export$d69d8daa20eae175 = (createOpenModalParams)=>{
|
|
|
475
472
|
function $3647cad61d03b89c$export$cc1e9aaf280afdcb(params) {
|
|
476
473
|
const open = (0, $ef7db890e488d4f4$export$d69d8daa20eae175)({
|
|
477
474
|
globalState: $0b7cd4fb39fc3502$export$8e769ad4338a911e,
|
|
478
|
-
document: document,
|
|
479
475
|
...params
|
|
480
476
|
});
|
|
481
477
|
return {
|
|
@@ -487,7 +483,7 @@ function $3647cad61d03b89c$export$cc1e9aaf280afdcb(params) {
|
|
|
487
483
|
|
|
488
484
|
|
|
489
485
|
|
|
490
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
486
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.59";
|
|
491
487
|
|
|
492
488
|
|
|
493
489
|
|
package/dist/module.js
CHANGED
|
@@ -227,9 +227,6 @@ function $5376eb2a386cd90d$export$9fac37a9c21c2f3b(props) {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
|
|
230
|
-
// PoC maybe-component
|
|
231
|
-
// Idea is to always give a nice "modal input in header" look with no more config than adding this component to the page header to where it can absolute-size
|
|
232
|
-
// and cover the entire height of the header. Then we know where to put the modal input top and bottom, and the left and right we just center.
|
|
233
230
|
|
|
234
231
|
const $4db0e2f013fc5124$export$3f4580d6398c5027 = /*#__PURE__*/ (0, $TZSbU$forwardRef)((_, ref)=>{
|
|
235
232
|
return /*#__PURE__*/ (0, $TZSbU$createElement)("div", {
|
|
@@ -407,7 +404,7 @@ const $cbd250061abf11cb$export$89c6019e4baa40b1 = ({ width: width , height: heig
|
|
|
407
404
|
|
|
408
405
|
|
|
409
406
|
const $5e26376d86621891$export$d69d8daa20eae175 = (createOpenModalParams)=>{
|
|
410
|
-
const { globalState: globalState , location: location , alignerRef: alignerRef
|
|
407
|
+
const { globalState: globalState , location: location , alignerRef: alignerRef } = createOpenModalParams;
|
|
411
408
|
const openModal = ()=>{
|
|
412
409
|
const headerAligner = alignerRef?.current;
|
|
413
410
|
if (!globalState.search) throw new Error("No active search in the app!");
|
|
@@ -457,7 +454,6 @@ const $5e26376d86621891$export$d69d8daa20eae175 = (createOpenModalParams)=>{
|
|
|
457
454
|
function $cfa72c75e6cf6901$export$cc1e9aaf280afdcb(params) {
|
|
458
455
|
const open = (0, $5e26376d86621891$export$d69d8daa20eae175)({
|
|
459
456
|
globalState: $42858f023ef23dab$export$8e769ad4338a911e,
|
|
460
|
-
document: document,
|
|
461
457
|
...params
|
|
462
458
|
});
|
|
463
459
|
return {
|
|
@@ -469,7 +465,7 @@ function $cfa72c75e6cf6901$export$cc1e9aaf280afdcb(params) {
|
|
|
469
465
|
|
|
470
466
|
|
|
471
467
|
|
|
472
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.
|
|
468
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.59";
|
|
473
469
|
|
|
474
470
|
|
|
475
471
|
|
package/dist-server/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ type OpenModal = () => void;
|
|
|
2
2
|
interface UseSearchModalReturn {
|
|
3
3
|
open: OpenModal;
|
|
4
4
|
}
|
|
5
|
-
export const version = "0.0.
|
|
5
|
+
export const version = "0.0.59";
|
|
6
6
|
export function DepictProvider(props: any): any;
|
|
7
7
|
export function DepictSearchField(): any;
|
|
8
8
|
export function DepictSearchPage(): any;
|
package/dist-server/main.js
CHANGED
|
@@ -19,7 +19,7 @@ $parcel$export(module.exports, "useDepictSearchModal", () => $41e7e5d85b5e0d49$e
|
|
|
19
19
|
$parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
22
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.59";
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
|
package/dist-server/module.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/react-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"/locales"
|
|
91
91
|
],
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@depict-ai/ui": "^0.0.
|
|
94
|
-
"@depict-ai/utilishared": "^0.0.
|
|
93
|
+
"@depict-ai/ui": "^0.0.36",
|
|
94
|
+
"@depict-ai/utilishared": "^0.0.34",
|
|
95
95
|
"solid-js": "^1.6.2"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@babel/preset-typescript": "latest",
|
|
105
105
|
"@babel/runtime": "latest",
|
|
106
106
|
"@babel/runtime-corejs3": "latest",
|
|
107
|
-
"@depict-ai/plp-styling": "^0.0.
|
|
107
|
+
"@depict-ai/plp-styling": "^0.0.5",
|
|
108
108
|
"@jest/globals": "^29.3.1",
|
|
109
109
|
"@parcel/babel-preset-env": "latest",
|
|
110
110
|
"@parcel/resolver-default": "^2.8.0",
|