@tamagui/toggle-group 3.0.0-beta.1342.1 → 3.0.0-beta.1349.1
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/cjs/context.cjs +1 -1
- package/dist/cjs/context.native.cjs +1 -1
- package/dist/cjs/context.native.js +1 -1
- package/dist/cjs/context.native.js.map +1 -1
- package/dist/esm/context.mjs +1 -1
- package/dist/esm/context.mjs.map +1 -1
- package/dist/esm/context.native.js +1 -1
- package/dist/esm/context.native.js.map +1 -1
- package/dist/jsx/context.mjs +1 -1
- package/dist/jsx/context.mjs.map +1 -1
- package/dist/jsx/context.native.cjs +1 -1
- package/dist/jsx/context.native.js +1 -1
- package/dist/jsx/context.native.js.map +1 -1
- package/package.json +15 -15
- package/src/context.tsx +2 -2
- package/types/context.d.ts +2 -2
- package/types/context.d.ts.map +1 -1
package/dist/cjs/context.cjs
CHANGED
|
@@ -26,7 +26,7 @@ __export(context_exports, {
|
|
|
26
26
|
module.exports = __toCommonJS(context_exports);
|
|
27
27
|
var import_web = require("@tamagui/web");
|
|
28
28
|
const context = (0, import_web.createStyledContext)({
|
|
29
|
-
color:
|
|
29
|
+
color: void 0,
|
|
30
30
|
active: false
|
|
31
31
|
});
|
|
32
32
|
const useToggleGroupItem = () => {
|
|
@@ -28,7 +28,7 @@ __export(context_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(context_exports);
|
|
29
29
|
var import_web = require("@tamagui/web");
|
|
30
30
|
var context = (0, import_web.createStyledContext)({
|
|
31
|
-
color:
|
|
31
|
+
color: void 0,
|
|
32
32
|
active: false
|
|
33
33
|
});
|
|
34
34
|
var useToggleGroupItem = function() {
|
|
@@ -28,7 +28,7 @@ __export(context_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(context_exports);
|
|
29
29
|
var import_web = require("@tamagui/web");
|
|
30
30
|
var context = (0, import_web.createStyledContext)({
|
|
31
|
-
color:
|
|
31
|
+
color: void 0,
|
|
32
32
|
active: false
|
|
33
33
|
});
|
|
34
34
|
var useToggleGroupItem = function() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.native.js","names":[],"sources":["cjs/context.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar context_exports = {};\n__export(context_exports, {\n context: () => context,\n useToggleGroupItem: () => useToggleGroupItem\n});\nmodule.exports = __toCommonJS(context_exports);\nvar import_web = require(\"@tamagui/web\");\nvar context = (0, import_web.createStyledContext)({\n color:
|
|
1
|
+
{"version":3,"file":"context.native.js","names":[],"sources":["cjs/context.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar context_exports = {};\n__export(context_exports, {\n context: () => context,\n useToggleGroupItem: () => useToggleGroupItem\n});\nmodule.exports = __toCommonJS(context_exports);\nvar import_web = require(\"@tamagui/web\");\nvar context = (0, import_web.createStyledContext)({\n color: void 0,\n active: false\n});\nvar useToggleGroupItem = function() {\n return context.useStyledContext();\n};\n//# sourceMappingURL=context.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB;CACxB,eAAe;CACf,0BAA0B;AAC5B,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,WAAW,GAAG,WAAW,oBAAmB,CAAE;CAChD,OAAO,KAAK;CACZ,QAAQ;AACV,CAAC;AACD,IAAI,qBAAqB,WAAW;CAClC,OAAO,QAAQ,iBAAiB;AAClC"}
|
package/dist/esm/context.mjs
CHANGED
package/dist/esm/context.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":[],"sources":["esm/context.js"],"sourcesContent":["import { createStyledContext } from \"@tamagui/web\";\nconst context = createStyledContext({\n color:
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["esm/context.js"],"sourcesContent":["import { createStyledContext } from \"@tamagui/web\";\nconst context = createStyledContext({\n color: void 0,\n active: false\n});\nconst useToggleGroupItem = () => {\n return context.useStyledContext();\n};\nexport {\n context,\n useToggleGroupItem\n};\n//# sourceMappingURL=context.js.map\n"],"mappings":";;;AACA,MAAM,UAAU,oBAAoB;CAClC,OAAO,KAAK;CACZ,QAAQ;AACV,CAAC;AACD,MAAM,2BAA2B;CAC/B,OAAO,QAAQ,iBAAiB;AAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.native.js","names":[],"sources":["esm/context.native.js"],"sourcesContent":["import { createStyledContext } from \"@tamagui/web\";\nvar context = createStyledContext({\n color:
|
|
1
|
+
{"version":3,"file":"context.native.js","names":[],"sources":["esm/context.native.js"],"sourcesContent":["import { createStyledContext } from \"@tamagui/web\";\nvar context = createStyledContext({\n color: void 0,\n active: false\n});\nvar useToggleGroupItem = function() {\n return context.useStyledContext();\n};\nexport {\n context,\n useToggleGroupItem\n};\n//# sourceMappingURL=context.js.map\n"],"mappings":";;;AACA,IAAI,UAAU,oBAAoB;CAChC,OAAO,KAAK;CACZ,QAAQ;AACV,CAAC;AACD,IAAI,qBAAqB,WAAW;CAClC,OAAO,QAAQ,iBAAiB;AAClC"}
|
package/dist/jsx/context.mjs
CHANGED
package/dist/jsx/context.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":[],"sources":["jsx/context.js"],"sourcesContent":["import { createStyledContext } from \"@tamagui/web\";\nconst context = createStyledContext({\n color:
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["jsx/context.js"],"sourcesContent":["import { createStyledContext } from \"@tamagui/web\";\nconst context = createStyledContext({\n color: void 0,\n active: false\n});\nconst useToggleGroupItem = () => {\n return context.useStyledContext();\n};\nexport {\n context,\n useToggleGroupItem\n};\n//# sourceMappingURL=context.js.map\n"],"mappings":";;;AACA,MAAM,UAAU,oBAAoB;CAClC,OAAO,KAAK;CACZ,QAAQ;AACV,CAAC;AACD,MAAM,2BAA2B;CAC/B,OAAO,QAAQ,iBAAiB;AAClC"}
|
|
@@ -28,7 +28,7 @@ __export(context_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(context_exports);
|
|
29
29
|
var import_web = require("@tamagui/web");
|
|
30
30
|
var context = (0, import_web.createStyledContext)({
|
|
31
|
-
color:
|
|
31
|
+
color: void 0,
|
|
32
32
|
active: false
|
|
33
33
|
});
|
|
34
34
|
var useToggleGroupItem = function() {
|
|
@@ -28,7 +28,7 @@ __export(context_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(context_exports);
|
|
29
29
|
var import_web = require("@tamagui/web");
|
|
30
30
|
var context = (0, import_web.createStyledContext)({
|
|
31
|
-
color:
|
|
31
|
+
color: void 0,
|
|
32
32
|
active: false
|
|
33
33
|
});
|
|
34
34
|
var useToggleGroupItem = function() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.native.js","names":[],"sources":["jsx/context.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar context_exports = {};\n__export(context_exports, {\n context: () => context,\n useToggleGroupItem: () => useToggleGroupItem\n});\nmodule.exports = __toCommonJS(context_exports);\nvar import_web = require(\"@tamagui/web\");\nvar context = (0, import_web.createStyledContext)({\n color:
|
|
1
|
+
{"version":3,"file":"context.native.js","names":[],"sources":["jsx/context.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar context_exports = {};\n__export(context_exports, {\n context: () => context,\n useToggleGroupItem: () => useToggleGroupItem\n});\nmodule.exports = __toCommonJS(context_exports);\nvar import_web = require(\"@tamagui/web\");\nvar context = (0, import_web.createStyledContext)({\n color: void 0,\n active: false\n});\nvar useToggleGroupItem = function() {\n return context.useStyledContext();\n};\n//# sourceMappingURL=context.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB;CACxB,eAAe;CACf,0BAA0B;AAC5B,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,WAAW,GAAG,WAAW,oBAAmB,CAAE;CAChD,OAAO,KAAK;CACZ,QAAQ;AACV,CAAC;AACD,IAAI,qBAAqB,WAAW;CAClC,OAAO,QAAQ,iBAAiB;AAClC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/toggle-group",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.1349.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
"clean:build": "tamagui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/compose-refs": "3.0.0-beta.
|
|
39
|
-
"@tamagui/constants": "3.0.0-beta.
|
|
40
|
-
"@tamagui/create-context": "3.0.0-beta.
|
|
41
|
-
"@tamagui/focusable": "3.0.0-beta.
|
|
42
|
-
"@tamagui/font-size": "3.0.0-beta.
|
|
43
|
-
"@tamagui/get-token": "3.0.0-beta.
|
|
44
|
-
"@tamagui/helpers": "3.0.0-beta.
|
|
45
|
-
"@tamagui/helpers-tamagui": "3.0.0-beta.
|
|
46
|
-
"@tamagui/roving-focus": "3.0.0-beta.
|
|
47
|
-
"@tamagui/stacks": "3.0.0-beta.
|
|
48
|
-
"@tamagui/use-controllable-state": "3.0.0-beta.
|
|
49
|
-
"@tamagui/use-direction": "3.0.0-beta.
|
|
50
|
-
"@tamagui/web": "3.0.0-beta.
|
|
38
|
+
"@tamagui/compose-refs": "3.0.0-beta.1349.1",
|
|
39
|
+
"@tamagui/constants": "3.0.0-beta.1349.1",
|
|
40
|
+
"@tamagui/create-context": "3.0.0-beta.1349.1",
|
|
41
|
+
"@tamagui/focusable": "3.0.0-beta.1349.1",
|
|
42
|
+
"@tamagui/font-size": "3.0.0-beta.1349.1",
|
|
43
|
+
"@tamagui/get-token": "3.0.0-beta.1349.1",
|
|
44
|
+
"@tamagui/helpers": "3.0.0-beta.1349.1",
|
|
45
|
+
"@tamagui/helpers-tamagui": "3.0.0-beta.1349.1",
|
|
46
|
+
"@tamagui/roving-focus": "3.0.0-beta.1349.1",
|
|
47
|
+
"@tamagui/stacks": "3.0.0-beta.1349.1",
|
|
48
|
+
"@tamagui/use-controllable-state": "3.0.0-beta.1349.1",
|
|
49
|
+
"@tamagui/use-direction": "3.0.0-beta.1349.1",
|
|
50
|
+
"@tamagui/web": "3.0.0-beta.1349.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@tamagui/build": "3.0.0-beta.
|
|
53
|
+
"@tamagui/build": "3.0.0-beta.1349.1",
|
|
54
54
|
"react": "19.2.3"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
package/src/context.tsx
CHANGED
package/types/context.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const context: import("@tamagui/web").StyledContext<{
|
|
2
|
-
color
|
|
2
|
+
color?: string;
|
|
3
3
|
active: boolean;
|
|
4
4
|
}, "active" | "color">;
|
|
5
5
|
export declare const useToggleGroupItem: () => {
|
|
6
|
-
color
|
|
6
|
+
color?: string;
|
|
7
7
|
active: boolean;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=context.d.ts.map
|
package/types/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;YAAiC,MAAM;YAAU,OAAO;sBAG1E,CAAA;AAEF,eAAO,MAAM,kBAAkB;YALsB,MAAM;YAAU,OAAO;CAO3E,CAAA"}
|