@depict-ai/portal-components 0.0.6 → 0.0.8
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 +3 -3
- package/dist/module.js +3 -3
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SearchFilter } from "@depict-ai/types/api/SearchResponse";
|
|
2
2
|
import { Locale } from "@depict-ai/react-ui/locales";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
export const version = "0.0.
|
|
4
|
+
export const version = "0.0.8";
|
|
5
5
|
export function ReactSelectedFilters(react_props: {
|
|
6
6
|
availableFilters: SearchFilter[] | undefined;
|
|
7
7
|
hidden?: boolean;
|
package/dist/main.js
CHANGED
|
@@ -15,7 +15,7 @@ $parcel$export(module.exports, "ReactFilterBody", () => $d1927de554e8e7c1$export
|
|
|
15
15
|
$parcel$export(module.exports, "ExpandingSection", () => $2214dc111b9e2866$export$4ea53cd12ff17334);
|
|
16
16
|
$parcel$export(module.exports, "version", () => $0a017be3a74fcc94$export$83d89fbfd8236492);
|
|
17
17
|
/*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
|
|
18
|
-
const $0a017be3a74fcc94$export$83d89fbfd8236492 = "0.0.
|
|
18
|
+
const $0a017be3a74fcc94$export$83d89fbfd8236492 = "0.0.8";
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ const $0a017be3a74fcc94$export$83d89fbfd8236492 = "0.0.6";
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
function $d38f1fd3cc4cd6b2$export$f6e64e17bd69eeef({ solid_component: solid_component
|
|
26
|
+
function $d38f1fd3cc4cd6b2$export$f6e64e17bd69eeef({ solid_component: solid_component, props: props, wrapper_type: wrapper_type = "div", wrapper_style: wrapper_style = {}, className: className }) {
|
|
27
27
|
const wrapper_element_ref = (0, $7jsgb$react.useRef)();
|
|
28
28
|
const [[store, write_store]] = (0, $7jsgb$react.useState)(()=>(0, $7jsgb$solidjsstore.createStore)(props));
|
|
29
29
|
// Update store when props change
|
|
@@ -156,7 +156,7 @@ function $d1927de554e8e7c1$export$d929db7fb6179159(react_props) {
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
function $2214dc111b9e2866$export$4ea53cd12ff17334({ summary: summary_children
|
|
159
|
+
function $2214dc111b9e2866$export$4ea53cd12ff17334({ summary: summary_children, children: children, className: className, ...other_react_props }) {
|
|
160
160
|
let [summary, set_summary] = (0, $7jsgb$react.useState)();
|
|
161
161
|
if (!summary) {
|
|
162
162
|
summary = document.createElement("summary");
|
package/dist/module.js
CHANGED
|
@@ -7,7 +7,7 @@ import {createStore as $2MCgq$createStore, reconcile as $2MCgq$reconcile} from "
|
|
|
7
7
|
import {createPortal as $2MCgq$createPortal} from "react-dom";
|
|
8
8
|
|
|
9
9
|
/*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
|
|
10
|
-
const $91c11b750e80ede3$export$83d89fbfd8236492 = "0.0.
|
|
10
|
+
const $91c11b750e80ede3$export$83d89fbfd8236492 = "0.0.8";
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ const $91c11b750e80ede3$export$83d89fbfd8236492 = "0.0.6";
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
function $0fe03f2fcd2418f8$export$f6e64e17bd69eeef({ solid_component: solid_component
|
|
18
|
+
function $0fe03f2fcd2418f8$export$f6e64e17bd69eeef({ solid_component: solid_component, props: props, wrapper_type: wrapper_type = "div", wrapper_style: wrapper_style = {}, className: className }) {
|
|
19
19
|
const wrapper_element_ref = (0, $2MCgq$useRef)();
|
|
20
20
|
const [[store, write_store]] = (0, $2MCgq$useState)(()=>(0, $2MCgq$createStore)(props));
|
|
21
21
|
// Update store when props change
|
|
@@ -148,7 +148,7 @@ function $74910c55affb3673$export$d929db7fb6179159(react_props) {
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
function $c79c5cb5e9424dd7$export$4ea53cd12ff17334({ summary: summary_children
|
|
151
|
+
function $c79c5cb5e9424dd7$export$4ea53cd12ff17334({ summary: summary_children, children: children, className: className, ...other_react_props }) {
|
|
152
152
|
let [summary, set_summary] = (0, $2MCgq$useState)();
|
|
153
153
|
if (!summary) {
|
|
154
154
|
summary = document.createElement("summary");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/portal-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -76,14 +76,6 @@
|
|
|
76
76
|
"/dist",
|
|
77
77
|
"README.md"
|
|
78
78
|
],
|
|
79
|
-
"dependencies": {
|
|
80
|
-
"@depict-ai/plp-styling": "^1.0.28",
|
|
81
|
-
"@depict-ai/react-ui": "^1.4.1",
|
|
82
|
-
"@depict-ai/types": "^1.0.31",
|
|
83
|
-
"@depict-ai/ui": "^1.4.1",
|
|
84
|
-
"@depict-ai/utilishared": "^1.0.27",
|
|
85
|
-
"solid-js": "^1.7.3"
|
|
86
|
-
},
|
|
87
79
|
"peerDependencies": {
|
|
88
80
|
"react": ">= 16.14.0",
|
|
89
81
|
"react-dom": ">= 16.14.0",
|
|
@@ -102,9 +94,17 @@
|
|
|
102
94
|
"@types/react": "^18.0.26",
|
|
103
95
|
"@types/react-dom": "^18.0.10",
|
|
104
96
|
"babel-preset-solid": "latest",
|
|
105
|
-
"parcel": "latest",
|
|
106
97
|
"react": "^18.2.0",
|
|
107
98
|
"react-dom": "^18.2.0",
|
|
108
99
|
"ts-jest": "^29.0.5"
|
|
100
|
+
},
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@depict-ai/plp-styling": "^1.0.29",
|
|
103
|
+
"@depict-ai/react-ui": "^1.5.2",
|
|
104
|
+
"@depict-ai/types": "^1.0.32",
|
|
105
|
+
"@depict-ai/ui": "^1.4.3",
|
|
106
|
+
"@depict-ai/utilishared": "^1.0.28",
|
|
107
|
+
"parcel": "latest",
|
|
108
|
+
"solid-js": "^1.7.3"
|
|
109
109
|
}
|
|
110
110
|
}
|