@uniformdev/context-react 19.199.0 → 19.199.1-alpha.10
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.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +5 -6
package/dist/index.d.mts
CHANGED
|
@@ -166,12 +166,14 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
166
166
|
suppressContentEditableWarning?: boolean | undefined;
|
|
167
167
|
suppressHydrationWarning?: boolean | undefined;
|
|
168
168
|
accessKey?: string | undefined;
|
|
169
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
169
170
|
autoFocus?: boolean | undefined;
|
|
170
171
|
className?: string | undefined;
|
|
171
172
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
172
173
|
contextMenu?: string | undefined;
|
|
173
174
|
dir?: string | undefined;
|
|
174
175
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
176
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
175
177
|
hidden?: boolean | undefined;
|
|
176
178
|
id?: string | undefined;
|
|
177
179
|
lang?: string | undefined;
|
|
@@ -195,7 +197,6 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
195
197
|
rev?: string | undefined;
|
|
196
198
|
typeof?: string | undefined;
|
|
197
199
|
vocab?: string | undefined;
|
|
198
|
-
autoCapitalize?: string | undefined;
|
|
199
200
|
autoCorrect?: string | undefined;
|
|
200
201
|
autoSave?: string | undefined;
|
|
201
202
|
color?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -166,12 +166,14 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
166
166
|
suppressContentEditableWarning?: boolean | undefined;
|
|
167
167
|
suppressHydrationWarning?: boolean | undefined;
|
|
168
168
|
accessKey?: string | undefined;
|
|
169
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
169
170
|
autoFocus?: boolean | undefined;
|
|
170
171
|
className?: string | undefined;
|
|
171
172
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
172
173
|
contextMenu?: string | undefined;
|
|
173
174
|
dir?: string | undefined;
|
|
174
175
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
176
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
175
177
|
hidden?: boolean | undefined;
|
|
176
178
|
id?: string | undefined;
|
|
177
179
|
lang?: string | undefined;
|
|
@@ -195,7 +197,6 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
195
197
|
rev?: string | undefined;
|
|
196
198
|
typeof?: string | undefined;
|
|
197
199
|
vocab?: string | undefined;
|
|
198
|
-
autoCapitalize?: string | undefined;
|
|
199
200
|
autoCorrect?: string | undefined;
|
|
200
201
|
autoSave?: string | undefined;
|
|
201
202
|
color?: string | undefined;
|
package/dist/index.esm.js
CHANGED
|
@@ -365,7 +365,7 @@ var TrackFragment = ({ behavior, children }) => {
|
|
|
365
365
|
|
|
366
366
|
// src/components/UniformContext.tsx
|
|
367
367
|
import { SERVER_STATE_ID } from "@uniformdev/context";
|
|
368
|
-
import
|
|
368
|
+
import { parse } from "cookie";
|
|
369
369
|
import React8, { useEffect as useEffect5 } from "react";
|
|
370
370
|
var UniformContext = ({
|
|
371
371
|
context,
|
|
@@ -380,7 +380,7 @@ var UniformContext = ({
|
|
|
380
380
|
}
|
|
381
381
|
context.update({
|
|
382
382
|
url: new URL(window.location.href),
|
|
383
|
-
cookies:
|
|
383
|
+
cookies: parse(document.cookie)
|
|
384
384
|
});
|
|
385
385
|
});
|
|
386
386
|
const showTransferState = includeTransferState === "always" || includeTransferState === "server-only" && isServer;
|
package/dist/index.js
CHANGED
|
@@ -407,7 +407,7 @@ var TrackFragment = ({ behavior, children }) => {
|
|
|
407
407
|
|
|
408
408
|
// src/components/UniformContext.tsx
|
|
409
409
|
var import_context4 = require("@uniformdev/context");
|
|
410
|
-
var import_cookie =
|
|
410
|
+
var import_cookie = require("cookie");
|
|
411
411
|
var import_react16 = __toESM(require("react"));
|
|
412
412
|
var UniformContext = ({
|
|
413
413
|
context,
|
|
@@ -422,7 +422,7 @@ var UniformContext = ({
|
|
|
422
422
|
}
|
|
423
423
|
context.update({
|
|
424
424
|
url: new URL(window.location.href),
|
|
425
|
-
cookies: import_cookie.
|
|
425
|
+
cookies: (0, import_cookie.parse)(document.cookie)
|
|
426
426
|
});
|
|
427
427
|
});
|
|
428
428
|
const showTransferState = includeTransferState === "always" || includeTransferState === "server-only" && isServer;
|
package/dist/index.mjs
CHANGED
|
@@ -365,7 +365,7 @@ var TrackFragment = ({ behavior, children }) => {
|
|
|
365
365
|
|
|
366
366
|
// src/components/UniformContext.tsx
|
|
367
367
|
import { SERVER_STATE_ID } from "@uniformdev/context";
|
|
368
|
-
import
|
|
368
|
+
import { parse } from "cookie";
|
|
369
369
|
import React8, { useEffect as useEffect5 } from "react";
|
|
370
370
|
var UniformContext = ({
|
|
371
371
|
context,
|
|
@@ -380,7 +380,7 @@ var UniformContext = ({
|
|
|
380
380
|
}
|
|
381
381
|
context.update({
|
|
382
382
|
url: new URL(window.location.href),
|
|
383
|
-
cookies:
|
|
383
|
+
cookies: parse(document.cookie)
|
|
384
384
|
});
|
|
385
385
|
});
|
|
386
386
|
const showTransferState = includeTransferState === "always" || includeTransferState === "server-only" && isServer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-react",
|
|
3
|
-
"version": "19.199.
|
|
3
|
+
"version": "19.199.1-alpha.10+7f62130189",
|
|
4
4
|
"description": "Uniform Context React integration package",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,14 +25,13 @@
|
|
|
25
25
|
"document": "api-extractor run --local"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/
|
|
29
|
-
"@types/react": "18.3.3",
|
|
28
|
+
"@types/react": "18.3.11",
|
|
30
29
|
"react": "18.3.1",
|
|
31
30
|
"react-dom": "18.3.1"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
34
|
-
"@uniformdev/context": "19.199.
|
|
35
|
-
"cookie": "0.
|
|
33
|
+
"@uniformdev/context": "19.199.1-alpha.10+7f62130189",
|
|
34
|
+
"cookie": "1.0.1",
|
|
36
35
|
"dequal": "2.0.3"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
@@ -45,5 +44,5 @@
|
|
|
45
44
|
"publishConfig": {
|
|
46
45
|
"access": "public"
|
|
47
46
|
},
|
|
48
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "7f62130189d43f7ecaaed0a41c929e5c166860d2"
|
|
49
48
|
}
|