@plasmicapp/react-web 0.2.256 → 0.2.258
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/all.d.ts +21 -0
- package/package.json +4 -4
package/dist/all.d.ts
CHANGED
|
@@ -11376,6 +11376,13 @@ interface CodeComponentMeta<P> {
|
|
|
11376
11376
|
* Defaults to "flex".
|
|
11377
11377
|
*/
|
|
11378
11378
|
defaultDisplay?: string;
|
|
11379
|
+
/**
|
|
11380
|
+
* When true, when you click for the first time anywhere in the component including its slots, the component itself is
|
|
11381
|
+
* selected, making it easier to select the component instead of slot contents. So for instance, setting this on a
|
|
11382
|
+
* Button ensures that clicking on the Button’s text will still select the Button and not the text element in its
|
|
11383
|
+
* slot. Clicking again will deep-select the slot content.
|
|
11384
|
+
*/
|
|
11385
|
+
trapsFocus?: boolean;
|
|
11379
11386
|
}
|
|
11380
11387
|
interface FunctionParam<P> {
|
|
11381
11388
|
name: string;
|
|
@@ -11753,6 +11760,20 @@ interface RichSlotType<P> {
|
|
|
11753
11760
|
*/
|
|
11754
11761
|
unstable__isMainContentSlot?: boolean;
|
|
11755
11762
|
defaultValue?: PlasmicElement | PlasmicElement[];
|
|
11763
|
+
/**
|
|
11764
|
+
* When true, when you click for the first time in this slot and the component was not selected, the component itself
|
|
11765
|
+
* is selected, making it easier to select the component instead of slot contents. So for
|
|
11766
|
+
* instance, setting this on a Button slot ensures that clicking on the Button’s text will still select the Button and not
|
|
11767
|
+
* the text element in its slot. Clicking again will deep-select the slot content. Similar in this regard to trapsFocus on components.
|
|
11768
|
+
*
|
|
11769
|
+
* Furthermore, the component further shows the props of whatever is in the slot on
|
|
11770
|
+
* the parent component for the user's convenience. Handy for various “wrapper" components, form fields, and so on.
|
|
11771
|
+
*/
|
|
11772
|
+
mergeWithParent?: ContextDependentConfig<P, boolean>;
|
|
11773
|
+
/**
|
|
11774
|
+
* A function that returns true to hide the merged props conditionally.
|
|
11775
|
+
*/
|
|
11776
|
+
hiddenMergedProps?: ContextDependentConfig<P, boolean>;
|
|
11756
11777
|
}
|
|
11757
11778
|
type SlotType<P> = "slot" | RichSlotType<P>;
|
|
11758
11779
|
interface RichImageUrlType<P> extends PropTypeBaseDefault<P, string> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.258",
|
|
4
4
|
"description": "plasmic library for rendering in the presentational style",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"prettier": {},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@plasmicapp/auth-react": "0.0.7",
|
|
92
|
-
"@plasmicapp/data-sources": "0.1.
|
|
92
|
+
"@plasmicapp/data-sources": "0.1.115",
|
|
93
93
|
"@plasmicapp/data-sources-context": "0.1.11",
|
|
94
|
-
"@plasmicapp/host": "1.0.
|
|
94
|
+
"@plasmicapp/host": "1.0.165",
|
|
95
95
|
"@plasmicapp/prepass": "1.0.3",
|
|
96
96
|
"@plasmicapp/query": "0.1.68",
|
|
97
97
|
"@react-aria/checkbox": "^3.5.0",
|
|
@@ -165,5 +165,5 @@
|
|
|
165
165
|
"react": ">=16.8.0",
|
|
166
166
|
"react-dom": ">=16.8.0"
|
|
167
167
|
},
|
|
168
|
-
"gitHead": "
|
|
168
|
+
"gitHead": "7fcbeeb029e7a41aaa58fa554034e21886517bbe"
|
|
169
169
|
}
|