@tamagui/demos 1.3.1 → 1.5.0

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.
Files changed (66) hide show
  1. package/dist/cjs/InputsDemo.js +44 -0
  2. package/dist/cjs/InputsDemo.js.map +7 -0
  3. package/dist/cjs/RadioGroupDemo.js +44 -0
  4. package/dist/cjs/RadioGroupDemo.js.map +7 -0
  5. package/dist/cjs/UpdateThemeDemo.js +1 -1
  6. package/dist/cjs/UpdateThemeDemo.js.map +1 -1
  7. package/dist/cjs/conf.js +2 -2
  8. package/dist/cjs/conf.js.map +3 -3
  9. package/dist/cjs/index.js +6 -0
  10. package/dist/cjs/index.js.map +2 -2
  11. package/dist/esm/InputsDemo.js +20 -0
  12. package/dist/esm/InputsDemo.js.map +7 -0
  13. package/dist/esm/InputsDemo.mjs +20 -0
  14. package/dist/esm/InputsDemo.mjs.map +7 -0
  15. package/dist/esm/RadioGroupDemo.js +20 -0
  16. package/dist/esm/RadioGroupDemo.js.map +7 -0
  17. package/dist/esm/RadioGroupDemo.mjs +20 -0
  18. package/dist/esm/RadioGroupDemo.mjs.map +7 -0
  19. package/dist/esm/UpdateThemeDemo.js +1 -1
  20. package/dist/esm/UpdateThemeDemo.js.map +1 -1
  21. package/dist/esm/UpdateThemeDemo.mjs +1 -1
  22. package/dist/esm/UpdateThemeDemo.mjs.map +1 -1
  23. package/dist/esm/conf.js +1 -1
  24. package/dist/esm/conf.js.map +1 -1
  25. package/dist/esm/conf.mjs +1 -1
  26. package/dist/esm/conf.mjs.map +1 -1
  27. package/dist/esm/index.js +4 -0
  28. package/dist/esm/index.js.map +2 -2
  29. package/dist/esm/index.mjs +4 -0
  30. package/dist/esm/index.mjs.map +2 -2
  31. package/dist/jsx/InputsDemo.js +19 -0
  32. package/dist/jsx/InputsDemo.js.map +7 -0
  33. package/dist/jsx/InputsDemo.mjs +19 -0
  34. package/dist/jsx/InputsDemo.mjs.map +7 -0
  35. package/dist/jsx/RadioGroupDemo.js +19 -0
  36. package/dist/jsx/RadioGroupDemo.js.map +7 -0
  37. package/dist/jsx/RadioGroupDemo.mjs +19 -0
  38. package/dist/jsx/RadioGroupDemo.mjs.map +7 -0
  39. package/dist/jsx/UpdateThemeDemo.js +1 -1
  40. package/dist/jsx/UpdateThemeDemo.js.map +1 -1
  41. package/dist/jsx/UpdateThemeDemo.mjs +1 -1
  42. package/dist/jsx/UpdateThemeDemo.mjs.map +1 -1
  43. package/dist/jsx/conf.js +1 -1
  44. package/dist/jsx/conf.js.map +1 -1
  45. package/dist/jsx/conf.mjs +1 -1
  46. package/dist/jsx/conf.mjs.map +1 -1
  47. package/dist/jsx/index.js +4 -0
  48. package/dist/jsx/index.js.map +2 -2
  49. package/dist/jsx/index.mjs +4 -0
  50. package/dist/jsx/index.mjs.map +2 -2
  51. package/package.json +17 -16
  52. package/src/InputsDemo.tsx +21 -0
  53. package/src/RadioGroupDemo.tsx +32 -0
  54. package/src/UpdateThemeDemo.tsx +2 -2
  55. package/src/conf.tsx +2 -2
  56. package/src/index.tsx +2 -0
  57. package/types/FormsDemo copy.d.ts +6 -0
  58. package/types/InputDemo.d.ts +3 -0
  59. package/types/InputsDemo.d.ts +3 -0
  60. package/types/InputsDemo.d.ts.map +1 -0
  61. package/types/RadioGroupDemo.d.ts +3 -0
  62. package/types/RadioGroupDemo.d.ts.map +1 -0
  63. package/types/conf.d.ts +2 -2
  64. package/types/conf.d.ts.map +1 -1
  65. package/types/index.d.ts +2 -0
  66. package/types/index.d.ts.map +1 -1
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var InputsDemo_exports = {};
20
+ __export(InputsDemo_exports, {
21
+ InputsDemo: () => InputsDemo
22
+ });
23
+ module.exports = __toCommonJS(InputsDemo_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_tamagui = require("tamagui");
26
+ function InputsDemo() {
27
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, { w: 200, mih: 250, overflow: "hidden", space: "$2", m: "$3", p: "$2", children: [
28
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InputDemo, { size: "$2" }),
29
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InputDemo, { size: "$3" }),
30
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InputDemo, { size: "$4" }),
31
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.TextArea, { mih: 140, placeholder: "Enter your details...", numberOfLines: 4 })
32
+ ] });
33
+ }
34
+ function InputDemo(props) {
35
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, { ai: "center", space: "$2", children: [
36
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Input, { f: 1, size: props.size, placeholder: `Size ${props.size}...` }),
37
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Button, { size: props.size, children: "Go" })
38
+ ] });
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ InputsDemo
43
+ });
44
+ //# sourceMappingURL=InputsDemo.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/InputsDemo.tsx"],
4
+ "sourcesContent": ["import { Button, Input, SizeTokens, TextArea, XStack, YStack } from 'tamagui'\n\nexport function InputsDemo() {\n return (\n <YStack w={200} mih={250} overflow=\"hidden\" space=\"$2\" m=\"$3\" p=\"$2\">\n <InputDemo size=\"$2\" />\n <InputDemo size=\"$3\" />\n <InputDemo size=\"$4\" />\n <TextArea mih={140} placeholder=\"Enter your details...\" numberOfLines={4} />\n </YStack>\n )\n}\n\nfunction InputDemo(props: { size: SizeTokens }) {\n return (\n <XStack ai=\"center\" space=\"$2\">\n <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />\n <Button size={props.size}>Go</Button>\n </XStack>\n )\n}"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAII;AAJJ,qBAAoE;AAE7D,SAAS,aAAa;AAC3B,SACE,6CAAC,yBAAO,GAAG,KAAK,KAAK,KAAK,UAAS,UAAS,OAAM,MAAK,GAAE,MAAK,GAAE,MAC9D;AAAA,gDAAC,aAAU,MAAK,MAAK;AAAA,IACrB,4CAAC,aAAU,MAAK,MAAK;AAAA,IACrB,4CAAC,aAAU,MAAK,MAAK;AAAA,IACrB,4CAAC,2BAAS,KAAK,KAAK,aAAY,yBAAwB,eAAe,GAAG;AAAA,KAC5E;AAEJ;AAEA,SAAS,UAAU,OAA6B;AAC9C,SACE,6CAAC,yBAAO,IAAG,UAAS,OAAM,MACxB;AAAA,gDAAC,wBAAM,GAAG,GAAG,MAAM,MAAM,MAAM,aAAa,QAAQ,MAAM,WAAW;AAAA,IACrE,4CAAC,yBAAO,MAAM,MAAM,MAAM,gBAAE;AAAA,KAC9B;AAEJ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var RadioGroupDemo_exports = {};
20
+ __export(RadioGroupDemo_exports, {
21
+ RadioGroupDemo: () => RadioGroupDemo
22
+ });
23
+ module.exports = __toCommonJS(RadioGroupDemo_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_tamagui = require("tamagui");
26
+ function RadioGroupDemo() {
27
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.RadioGroup, { name: "form", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, { w: 300, ai: "center", space: "$2", children: [
28
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupItemWithLabel, { size: "$3", value: "2", label: "Second value" }),
29
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupItemWithLabel, { size: "$4", value: "3", label: "Third value" }),
30
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupItemWithLabel, { size: "$5", value: "4", label: "Fourth value" })
31
+ ] }) });
32
+ }
33
+ function RadioGroupItemWithLabel(props) {
34
+ const id = `radiogroup-${props.value}`;
35
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, { w: 300, ai: "center", space: "$4", children: [
36
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.RadioGroup.Item, { value: props.value, id, size: props.size, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.RadioGroup.Indicator, {}) }),
37
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Label, { size: props.size, htmlFor: id, children: props.label })
38
+ ] });
39
+ }
40
+ // Annotate the CommonJS export names for ESM import in node:
41
+ 0 && (module.exports = {
42
+ RadioGroupDemo
43
+ });
44
+ //# sourceMappingURL=RadioGroupDemo.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/RadioGroupDemo.tsx"],
4
+ "sourcesContent": ["import { Label, RadioGroup, SizeTokens, ThemeableStack, XStack, YStack } from 'tamagui'\n\nexport function RadioGroupDemo() {\n return (\n <RadioGroup name=\"form\">\n <YStack w={300} ai=\"center\" space=\"$2\">\n <RadioGroupItemWithLabel size=\"$3\" value=\"2\" label=\"Second value\" />\n <RadioGroupItemWithLabel size=\"$4\" value=\"3\" label=\"Third value\" />\n <RadioGroupItemWithLabel size=\"$5\" value=\"4\" label=\"Fourth value\" />\n </YStack>\n </RadioGroup>\n )\n}\n\nfunction RadioGroupItemWithLabel(props: {\n size: SizeTokens\n value: string\n label: string\n}) {\n const id = `radiogroup-${props.value}`\n return (\n <XStack w={300} ai=\"center\" space=\"$4\">\n <RadioGroup.Item value={props.value} id={id} size={props.size}>\n <RadioGroup.Indicator />\n </RadioGroup.Item>\n\n <Label size={props.size} htmlFor={id}>\n {props.label}\n </Label>\n </XStack>\n )\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKM;AALN,qBAA8E;AAEvE,SAAS,iBAAiB;AAC/B,SACE,4CAAC,6BAAW,MAAK,QACf,uDAAC,yBAAO,GAAG,KAAK,IAAG,UAAS,OAAM,MAChC;AAAA,gDAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,gBAAe;AAAA,IAClE,4CAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,eAAc;AAAA,IACjE,4CAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,gBAAe;AAAA,KACpE,GACF;AAEJ;AAEA,SAAS,wBAAwB,OAI9B;AACD,QAAM,KAAK,cAAc,MAAM;AAC/B,SACE,6CAAC,yBAAO,GAAG,KAAK,IAAG,UAAS,OAAM,MAChC;AAAA,gDAAC,0BAAW,MAAX,EAAgB,OAAO,MAAM,OAAO,IAAQ,MAAM,MAAM,MACvD,sDAAC,0BAAW,WAAX,EAAqB,GACxB;AAAA,IAEA,4CAAC,wBAAM,MAAM,MAAM,MAAM,SAAS,IAC/B,gBAAM,OACT;AAAA,KACF;AAEJ;",
6
+ "names": []
7
+ }
@@ -32,7 +32,7 @@ __export(UpdateThemeDemo_exports, {
32
32
  });
33
33
  module.exports = __toCommonJS(UpdateThemeDemo_exports);
34
34
  var import_jsx_runtime = require("react/jsx-runtime");
35
- var Config = __toESM(require("@tamagui/config-base"), 1);
35
+ var Config = __toESM(require("@tamagui/config"), 1);
36
36
  var import_react = require("react");
37
37
  var import_tamagui = require("tamagui");
38
38
  const colors = Config.config.tokens.color;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/UpdateThemeDemo.tsx"],
4
- "sourcesContent": ["import * as Config from '@tamagui/config-base'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]],\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
4
+ "sourcesContent": ["import * as Config from '@tamagui/config'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]]\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiCI;AAjCJ,aAAwB;AACxB,mBAAgC;AAChC,qBAUO;AAEP,MAAM,SAAS,OAAO,OAAO,OAAO;AACpC,MAAM,YAAY,OAAO,KAAK,MAAM;AAE7B,SAAS,kBAAkB;AAChC,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAc;AACxC,QAAM,aAAS,+BAAe;AAE9B,gDAA0B,MAAM;AAC9B,iCAAS;AAAA,MACP,MAAM;AAAA,MACN,WAAW;AAAA,MACX,OAAO;AAAA,QACL,OAAO;AAAA,MACT;AAAA,IACF,CAAC;AACD,aAAS,QAAQ;AAAA,EACnB,GAAG,CAAC,CAAC;AAEL,SACE,6CAAC,yBAAO,IAAG,UAAS,OAAK,MACvB;AAAA,gDAAC,wBAAM,MAAM,SAAS,MACpB,sDAAC,yBAAO,cAAa,MAAK,MAAM,KAAK,iBAAgB,UAAS,GAChE;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,SAAS,MAAM;AACb,gBAAM,kBAAc;AAAA,YAClB,OAAO,UAAU,KAAK,MAAM,KAAK,OAAO,IAAI,UAAU,MAAM,CAAC,CAAC;AAAA,UAChE;AACA,0CAAY;AAAA,YACV,MAAM;AAAA,YACN,OAAO;AAAA,cACL,OAAO;AAAA,YACT;AAAA,UACF,CAAC;AACD,iBAAO;AAAA,QACT;AAAA,QACD;AAAA;AAAA,IAED;AAAA,KACF;AAEJ;",
6
6
  "names": []
7
7
  }
package/dist/cjs/conf.js CHANGED
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var conf_exports = {};
20
20
  __export(conf_exports, {
21
- config: () => import_config_base2.config
21
+ config: () => import_config2.config
22
22
  });
23
23
  module.exports = __toCommonJS(conf_exports);
24
- var import_config_base2 = require("@tamagui/config-base");
24
+ var import_config2 = require("@tamagui/config");
25
25
  // Annotate the CommonJS export names for ESM import in node:
26
26
  0 && (module.exports = {
27
27
  config
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/conf.tsx"],
4
- "sourcesContent": ["import { config } from '@tamagui/config-base'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config-base'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,IAAAA,sBAAuB;",
6
- "names": ["import_config_base"]
4
+ "sourcesContent": ["import { config } from '@tamagui/config'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,IAAAA,iBAAuB;",
6
+ "names": ["import_config"]
7
7
  }
package/dist/cjs/index.js CHANGED
@@ -37,12 +37,14 @@ __export(src_exports, {
37
37
  GroupDemo: () => import_GroupDemo.GroupDemo,
38
38
  HeadingsDemo: () => import_HeadingsDemo.HeadingsDemo,
39
39
  ImageDemo: () => import_ImageDemo.ImageDemo,
40
+ InputsDemo: () => import_InputsDemo.InputsDemo,
40
41
  LabelDemo: () => import_LabelDemo.LabelDemo,
41
42
  LinearGradientDemo: () => import_LinearGradientDemo.LinearGradientDemo,
42
43
  ListItemDemo: () => import_ListItemDemo.ListItemDemo,
43
44
  LucideIconsDemo: () => import_LucideIconsDemo.LucideIconsDemo,
44
45
  PopoverDemo: () => import_PopoverDemo.PopoverDemo,
45
46
  ProgressDemo: () => import_ProgressDemo.ProgressDemo,
47
+ RadioGroupDemo: () => import_RadioGroupDemo.RadioGroupDemo,
46
48
  ScrollViewDemo: () => import_ScrollViewDemo.ScrollViewDemo,
47
49
  SelectDemo: () => import_SelectDemo.SelectDemo,
48
50
  SeparatorDemo: () => import_SeparatorDemo.SeparatorDemo,
@@ -73,6 +75,7 @@ var import_AddThemeDemo = require("./AddThemeDemo");
73
75
  var import_UpdateThemeDemo = require("./UpdateThemeDemo");
74
76
  var import_FeatherIconsDemo = require("./FeatherIconsDemo");
75
77
  var import_FormsDemo = require("./FormsDemo");
78
+ var import_InputsDemo = require("./InputsDemo");
76
79
  var import_GroupDemo = require("./GroupDemo");
77
80
  var import_HeadingsDemo = require("./HeadingsDemo");
78
81
  var import_ImageDemo = require("./ImageDemo");
@@ -82,6 +85,7 @@ var import_ListItemDemo = require("./ListItemDemo");
82
85
  var import_LucideIconsDemo = require("./LucideIconsDemo");
83
86
  var import_PopoverDemo = require("./PopoverDemo");
84
87
  var import_ProgressDemo = require("./ProgressDemo");
88
+ var import_RadioGroupDemo = require("./RadioGroupDemo");
85
89
  var import_SelectDemo = require("./SelectDemo");
86
90
  var import_SeparatorDemo = require("./SeparatorDemo");
87
91
  var import_ShapesDemo = require("./ShapesDemo");
@@ -118,12 +122,14 @@ __reExport(src_exports, require("./useOnIntersecting"), module.exports);
118
122
  GroupDemo,
119
123
  HeadingsDemo,
120
124
  ImageDemo,
125
+ InputsDemo,
121
126
  LabelDemo,
122
127
  LinearGradientDemo,
123
128
  ListItemDemo,
124
129
  LucideIconsDemo,
125
130
  PopoverDemo,
126
131
  ProgressDemo,
132
+ RadioGroupDemo,
127
133
  ScrollViewDemo,
128
134
  SelectDemo,
129
135
  SeparatorDemo,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAgC;AAChC,4BAA+B;AAC/B,iCAAoC;AACpC,iCAAoC;AACpC,kCAAqC;AACrC,oCAAuC;AACvC,wBAA2B;AAC3B,wBAA2B;AAC3B,sBAAyB;AACzB,wBAA2B;AAC3B,0BAA6B;AAC7B,6BAAgC;AAChC,8BAAiC;AACjC,uBAA0B;AAC1B,uBAA0B;AAC1B,0BAA6B;AAC7B,uBAA0B;AAC1B,uBAA0B;AAC1B,gCAAmC;AACnC,0BAA6B;AAC7B,6BAAgC;AAChC,yBAA4B;AAC5B,0BAA6B;AAC7B,wBAA2B;AAC3B,2BAA8B;AAC9B,wBAA2B;AAC3B,4BAA+B;AAC/B,uBAA0B;AAC1B,wBAA2B;AAC3B,yBAA4B;AAC5B,wBAA2B;AAC3B,wBAA2B;AAC3B,0BAA6B;AAC7B,sBAAyB;AACzB,8BAAiC;AACjC,yBAA4B;AAC5B,wBAA2B;AAC3B,wBAA2B;AAC3B,wBAAc,gCAtCd;",
4
+ "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { InputsDemo } from './InputsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { RadioGroupDemo } from './RadioGroupDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAgC;AAChC,4BAA+B;AAC/B,iCAAoC;AACpC,iCAAoC;AACpC,kCAAqC;AACrC,oCAAuC;AACvC,wBAA2B;AAC3B,wBAA2B;AAC3B,sBAAyB;AACzB,wBAA2B;AAC3B,0BAA6B;AAC7B,6BAAgC;AAChC,8BAAiC;AACjC,uBAA0B;AAC1B,wBAA2B;AAC3B,uBAA0B;AAC1B,0BAA6B;AAC7B,uBAA0B;AAC1B,uBAA0B;AAC1B,gCAAmC;AACnC,0BAA6B;AAC7B,6BAAgC;AAChC,yBAA4B;AAC5B,0BAA6B;AAC7B,4BAA+B;AAC/B,wBAA2B;AAC3B,2BAA8B;AAC9B,wBAA2B;AAC3B,4BAA+B;AAC/B,uBAA0B;AAC1B,wBAA2B;AAC3B,yBAA4B;AAC5B,wBAA2B;AAC3B,wBAA2B;AAC3B,0BAA6B;AAC7B,sBAAyB;AACzB,8BAAiC;AACjC,yBAA4B;AAC5B,wBAA2B;AAC3B,wBAA2B;AAC3B,wBAAc,gCAxCd;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,20 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Button, Input, TextArea, XStack, YStack } from "tamagui";
3
+ function InputsDemo() {
4
+ return /* @__PURE__ */ jsxs(YStack, { w: 200, mih: 250, overflow: "hidden", space: "$2", m: "$3", p: "$2", children: [
5
+ /* @__PURE__ */ jsx(InputDemo, { size: "$2" }),
6
+ /* @__PURE__ */ jsx(InputDemo, { size: "$3" }),
7
+ /* @__PURE__ */ jsx(InputDemo, { size: "$4" }),
8
+ /* @__PURE__ */ jsx(TextArea, { mih: 140, placeholder: "Enter your details...", numberOfLines: 4 })
9
+ ] });
10
+ }
11
+ function InputDemo(props) {
12
+ return /* @__PURE__ */ jsxs(XStack, { ai: "center", space: "$2", children: [
13
+ /* @__PURE__ */ jsx(Input, { f: 1, size: props.size, placeholder: `Size ${props.size}...` }),
14
+ /* @__PURE__ */ jsx(Button, { size: props.size, children: "Go" })
15
+ ] });
16
+ }
17
+ export {
18
+ InputsDemo
19
+ };
20
+ //# sourceMappingURL=InputsDemo.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/InputsDemo.tsx"],
4
+ "sourcesContent": ["import { Button, Input, SizeTokens, TextArea, XStack, YStack } from 'tamagui'\n\nexport function InputsDemo() {\n return (\n <YStack w={200} mih={250} overflow=\"hidden\" space=\"$2\" m=\"$3\" p=\"$2\">\n <InputDemo size=\"$2\" />\n <InputDemo size=\"$3\" />\n <InputDemo size=\"$4\" />\n <TextArea mih={140} placeholder=\"Enter your details...\" numberOfLines={4} />\n </YStack>\n )\n}\n\nfunction InputDemo(props: { size: SizeTokens }) {\n return (\n <XStack ai=\"center\" space=\"$2\">\n <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />\n <Button size={props.size}>Go</Button>\n </XStack>\n )\n}"],
5
+ "mappings": "AAII,SACE,KADF;AAJJ,SAAS,QAAQ,OAAmB,UAAU,QAAQ,cAAc;AAE7D,SAAS,aAAa;AAC3B,SACE,qBAAC,UAAO,GAAG,KAAK,KAAK,KAAK,UAAS,UAAS,OAAM,MAAK,GAAE,MAAK,GAAE,MAC9D;AAAA,wBAAC,aAAU,MAAK,MAAK;AAAA,IACrB,oBAAC,aAAU,MAAK,MAAK;AAAA,IACrB,oBAAC,aAAU,MAAK,MAAK;AAAA,IACrB,oBAAC,YAAS,KAAK,KAAK,aAAY,yBAAwB,eAAe,GAAG;AAAA,KAC5E;AAEJ;AAEA,SAAS,UAAU,OAA6B;AAC9C,SACE,qBAAC,UAAO,IAAG,UAAS,OAAM,MACxB;AAAA,wBAAC,SAAM,GAAG,GAAG,MAAM,MAAM,MAAM,aAAa,QAAQ,MAAM,WAAW;AAAA,IACrE,oBAAC,UAAO,MAAM,MAAM,MAAM,gBAAE;AAAA,KAC9B;AAEJ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,20 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Button, Input, TextArea, XStack, YStack } from "tamagui";
3
+ function InputsDemo() {
4
+ return /* @__PURE__ */ jsxs(YStack, { w: 200, mih: 250, overflow: "hidden", space: "$2", m: "$3", p: "$2", children: [
5
+ /* @__PURE__ */ jsx(InputDemo, { size: "$2" }),
6
+ /* @__PURE__ */ jsx(InputDemo, { size: "$3" }),
7
+ /* @__PURE__ */ jsx(InputDemo, { size: "$4" }),
8
+ /* @__PURE__ */ jsx(TextArea, { mih: 140, placeholder: "Enter your details...", numberOfLines: 4 })
9
+ ] });
10
+ }
11
+ function InputDemo(props) {
12
+ return /* @__PURE__ */ jsxs(XStack, { ai: "center", space: "$2", children: [
13
+ /* @__PURE__ */ jsx(Input, { f: 1, size: props.size, placeholder: `Size ${props.size}...` }),
14
+ /* @__PURE__ */ jsx(Button, { size: props.size, children: "Go" })
15
+ ] });
16
+ }
17
+ export {
18
+ InputsDemo
19
+ };
20
+ //# sourceMappingURL=InputsDemo.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/InputsDemo.tsx"],
4
+ "sourcesContent": ["import { Button, Input, SizeTokens, TextArea, XStack, YStack } from 'tamagui'\n\nexport function InputsDemo() {\n return (\n <YStack w={200} mih={250} overflow=\"hidden\" space=\"$2\" m=\"$3\" p=\"$2\">\n <InputDemo size=\"$2\" />\n <InputDemo size=\"$3\" />\n <InputDemo size=\"$4\" />\n <TextArea mih={140} placeholder=\"Enter your details...\" numberOfLines={4} />\n </YStack>\n )\n}\n\nfunction InputDemo(props: { size: SizeTokens }) {\n return (\n <XStack ai=\"center\" space=\"$2\">\n <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />\n <Button size={props.size}>Go</Button>\n </XStack>\n )\n}"],
5
+ "mappings": "AAII,SACE,KADF;AAJJ,SAAS,QAAQ,OAAmB,UAAU,QAAQ,cAAc;AAE7D,SAAS,aAAa;AAC3B,SACE,qBAAC,UAAO,GAAG,KAAK,KAAK,KAAK,UAAS,UAAS,OAAM,MAAK,GAAE,MAAK,GAAE,MAC9D;AAAA,wBAAC,aAAU,MAAK,MAAK;AAAA,IACrB,oBAAC,aAAU,MAAK,MAAK;AAAA,IACrB,oBAAC,aAAU,MAAK,MAAK;AAAA,IACrB,oBAAC,YAAS,KAAK,KAAK,aAAY,yBAAwB,eAAe,GAAG;AAAA,KAC5E;AAEJ;AAEA,SAAS,UAAU,OAA6B;AAC9C,SACE,qBAAC,UAAO,IAAG,UAAS,OAAM,MACxB;AAAA,wBAAC,SAAM,GAAG,GAAG,MAAM,MAAM,MAAM,aAAa,QAAQ,MAAM,WAAW;AAAA,IACrE,oBAAC,UAAO,MAAM,MAAM,MAAM,gBAAE;AAAA,KAC9B;AAEJ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,20 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Label, RadioGroup, XStack, YStack } from "tamagui";
3
+ function RadioGroupDemo() {
4
+ return /* @__PURE__ */ jsx(RadioGroup, { name: "form", children: /* @__PURE__ */ jsxs(YStack, { w: 300, ai: "center", space: "$2", children: [
5
+ /* @__PURE__ */ jsx(RadioGroupItemWithLabel, { size: "$3", value: "2", label: "Second value" }),
6
+ /* @__PURE__ */ jsx(RadioGroupItemWithLabel, { size: "$4", value: "3", label: "Third value" }),
7
+ /* @__PURE__ */ jsx(RadioGroupItemWithLabel, { size: "$5", value: "4", label: "Fourth value" })
8
+ ] }) });
9
+ }
10
+ function RadioGroupItemWithLabel(props) {
11
+ const id = `radiogroup-${props.value}`;
12
+ return /* @__PURE__ */ jsxs(XStack, { w: 300, ai: "center", space: "$4", children: [
13
+ /* @__PURE__ */ jsx(RadioGroup.Item, { value: props.value, id, size: props.size, children: /* @__PURE__ */ jsx(RadioGroup.Indicator, {}) }),
14
+ /* @__PURE__ */ jsx(Label, { size: props.size, htmlFor: id, children: props.label })
15
+ ] });
16
+ }
17
+ export {
18
+ RadioGroupDemo
19
+ };
20
+ //# sourceMappingURL=RadioGroupDemo.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/RadioGroupDemo.tsx"],
4
+ "sourcesContent": ["import { Label, RadioGroup, SizeTokens, ThemeableStack, XStack, YStack } from 'tamagui'\n\nexport function RadioGroupDemo() {\n return (\n <RadioGroup name=\"form\">\n <YStack w={300} ai=\"center\" space=\"$2\">\n <RadioGroupItemWithLabel size=\"$3\" value=\"2\" label=\"Second value\" />\n <RadioGroupItemWithLabel size=\"$4\" value=\"3\" label=\"Third value\" />\n <RadioGroupItemWithLabel size=\"$5\" value=\"4\" label=\"Fourth value\" />\n </YStack>\n </RadioGroup>\n )\n}\n\nfunction RadioGroupItemWithLabel(props: {\n size: SizeTokens\n value: string\n label: string\n}) {\n const id = `radiogroup-${props.value}`\n return (\n <XStack w={300} ai=\"center\" space=\"$4\">\n <RadioGroup.Item value={props.value} id={id} size={props.size}>\n <RadioGroup.Indicator />\n </RadioGroup.Item>\n\n <Label size={props.size} htmlFor={id}>\n {props.label}\n </Label>\n </XStack>\n )\n}\n"],
5
+ "mappings": "AAKM,SACE,KADF;AALN,SAAS,OAAO,YAAwC,QAAQ,cAAc;AAEvE,SAAS,iBAAiB;AAC/B,SACE,oBAAC,cAAW,MAAK,QACf,+BAAC,UAAO,GAAG,KAAK,IAAG,UAAS,OAAM,MAChC;AAAA,wBAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,gBAAe;AAAA,IAClE,oBAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,eAAc;AAAA,IACjE,oBAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,gBAAe;AAAA,KACpE,GACF;AAEJ;AAEA,SAAS,wBAAwB,OAI9B;AACD,QAAM,KAAK,cAAc,MAAM;AAC/B,SACE,qBAAC,UAAO,GAAG,KAAK,IAAG,UAAS,OAAM,MAChC;AAAA,wBAAC,WAAW,MAAX,EAAgB,OAAO,MAAM,OAAO,IAAQ,MAAM,MAAM,MACvD,8BAAC,WAAW,WAAX,EAAqB,GACxB;AAAA,IAEA,oBAAC,SAAM,MAAM,MAAM,MAAM,SAAS,IAC/B,gBAAM,OACT;AAAA,KACF;AAEJ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,20 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Label, RadioGroup, XStack, YStack } from "tamagui";
3
+ function RadioGroupDemo() {
4
+ return /* @__PURE__ */ jsx(RadioGroup, { name: "form", children: /* @__PURE__ */ jsxs(YStack, { w: 300, ai: "center", space: "$2", children: [
5
+ /* @__PURE__ */ jsx(RadioGroupItemWithLabel, { size: "$3", value: "2", label: "Second value" }),
6
+ /* @__PURE__ */ jsx(RadioGroupItemWithLabel, { size: "$4", value: "3", label: "Third value" }),
7
+ /* @__PURE__ */ jsx(RadioGroupItemWithLabel, { size: "$5", value: "4", label: "Fourth value" })
8
+ ] }) });
9
+ }
10
+ function RadioGroupItemWithLabel(props) {
11
+ const id = `radiogroup-${props.value}`;
12
+ return /* @__PURE__ */ jsxs(XStack, { w: 300, ai: "center", space: "$4", children: [
13
+ /* @__PURE__ */ jsx(RadioGroup.Item, { value: props.value, id, size: props.size, children: /* @__PURE__ */ jsx(RadioGroup.Indicator, {}) }),
14
+ /* @__PURE__ */ jsx(Label, { size: props.size, htmlFor: id, children: props.label })
15
+ ] });
16
+ }
17
+ export {
18
+ RadioGroupDemo
19
+ };
20
+ //# sourceMappingURL=RadioGroupDemo.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/RadioGroupDemo.tsx"],
4
+ "sourcesContent": ["import { Label, RadioGroup, SizeTokens, ThemeableStack, XStack, YStack } from 'tamagui'\n\nexport function RadioGroupDemo() {\n return (\n <RadioGroup name=\"form\">\n <YStack w={300} ai=\"center\" space=\"$2\">\n <RadioGroupItemWithLabel size=\"$3\" value=\"2\" label=\"Second value\" />\n <RadioGroupItemWithLabel size=\"$4\" value=\"3\" label=\"Third value\" />\n <RadioGroupItemWithLabel size=\"$5\" value=\"4\" label=\"Fourth value\" />\n </YStack>\n </RadioGroup>\n )\n}\n\nfunction RadioGroupItemWithLabel(props: {\n size: SizeTokens\n value: string\n label: string\n}) {\n const id = `radiogroup-${props.value}`\n return (\n <XStack w={300} ai=\"center\" space=\"$4\">\n <RadioGroup.Item value={props.value} id={id} size={props.size}>\n <RadioGroup.Indicator />\n </RadioGroup.Item>\n\n <Label size={props.size} htmlFor={id}>\n {props.label}\n </Label>\n </XStack>\n )\n}\n"],
5
+ "mappings": "AAKM,SACE,KADF;AALN,SAAS,OAAO,YAAwC,QAAQ,cAAc;AAEvE,SAAS,iBAAiB;AAC/B,SACE,oBAAC,cAAW,MAAK,QACf,+BAAC,UAAO,GAAG,KAAK,IAAG,UAAS,OAAM,MAChC;AAAA,wBAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,gBAAe;AAAA,IAClE,oBAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,eAAc;AAAA,IACjE,oBAAC,2BAAwB,MAAK,MAAK,OAAM,KAAI,OAAM,gBAAe;AAAA,KACpE,GACF;AAEJ;AAEA,SAAS,wBAAwB,OAI9B;AACD,QAAM,KAAK,cAAc,MAAM;AAC/B,SACE,qBAAC,UAAO,GAAG,KAAK,IAAG,UAAS,OAAM,MAChC;AAAA,wBAAC,WAAW,MAAX,EAAgB,OAAO,MAAM,OAAO,IAAQ,MAAM,MAAM,MACvD,8BAAC,WAAW,WAAX,EAAqB,GACxB;AAAA,IAEA,oBAAC,SAAM,MAAM,MAAM,MAAM,SAAS,IAC/B,gBAAM,OACT;AAAA,KACF;AAEJ;",
6
+ "names": []
7
+ }
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import * as Config from "@tamagui/config-base";
2
+ import * as Config from "@tamagui/config";
3
3
  import { useState } from "react";
4
4
  import {
5
5
  Button,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/UpdateThemeDemo.tsx"],
4
- "sourcesContent": ["import * as Config from '@tamagui/config-base'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]],\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
4
+ "sourcesContent": ["import * as Config from '@tamagui/config'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]]\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
5
5
  "mappings": "AAiCI,SAEI,KAFJ;AAjCJ,YAAY,YAAY;AACxB,SAAgB,gBAAgB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,MAAM,SAAS,OAAO,OAAO,OAAO;AACpC,MAAM,YAAY,OAAO,KAAK,MAAM;AAE7B,SAAS,kBAAkB;AAChC,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAc;AACxC,QAAM,SAAS,eAAe;AAE9B,4BAA0B,MAAM;AAC9B,aAAS;AAAA,MACP,MAAM;AAAA,MACN,WAAW;AAAA,MACX,OAAO;AAAA,QACL,OAAO;AAAA,MACT;AAAA,IACF,CAAC;AACD,aAAS,QAAQ;AAAA,EACnB,GAAG,CAAC,CAAC;AAEL,SACE,qBAAC,UAAO,IAAG,UAAS,OAAK,MACvB;AAAA,wBAAC,SAAM,MAAM,SAAS,MACpB,8BAAC,UAAO,cAAa,MAAK,MAAM,KAAK,iBAAgB,UAAS,GAChE;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,SAAS,MAAM;AACb,gBAAM,cAAc;AAAA,YAClB,OAAO,UAAU,KAAK,MAAM,KAAK,OAAO,IAAI,UAAU,MAAM,CAAC,CAAC;AAAA,UAChE;AACA,sBAAY;AAAA,YACV,MAAM;AAAA,YACN,OAAO;AAAA,cACL,OAAO;AAAA,YACT;AAAA,UACF,CAAC;AACD,iBAAO;AAAA,QACT;AAAA,QACD;AAAA;AAAA,IAED;AAAA,KACF;AAEJ;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import * as Config from "@tamagui/config-base";
2
+ import * as Config from "@tamagui/config";
3
3
  import { useState } from "react";
4
4
  import {
5
5
  Button,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/UpdateThemeDemo.tsx"],
4
- "sourcesContent": ["import * as Config from '@tamagui/config-base'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]],\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
4
+ "sourcesContent": ["import * as Config from '@tamagui/config'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]]\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
5
5
  "mappings": "AAiCI,SAEI,KAFJ;AAjCJ,YAAY,YAAY;AACxB,SAAgB,gBAAgB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,MAAM,SAAS,OAAO,OAAO,OAAO;AACpC,MAAM,YAAY,OAAO,KAAK,MAAM;AAE7B,SAAS,kBAAkB;AAChC,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAc;AACxC,QAAM,SAAS,eAAe;AAE9B,4BAA0B,MAAM;AAC9B,aAAS;AAAA,MACP,MAAM;AAAA,MACN,WAAW;AAAA,MACX,OAAO;AAAA,QACL,OAAO;AAAA,MACT;AAAA,IACF,CAAC;AACD,aAAS,QAAQ;AAAA,EACnB,GAAG,CAAC,CAAC;AAEL,SACE,qBAAC,UAAO,IAAG,UAAS,OAAK,MACvB;AAAA,wBAAC,SAAM,MAAM,SAAS,MACpB,8BAAC,UAAO,cAAa,MAAK,MAAM,KAAK,iBAAgB,UAAS,GAChE;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,SAAS,MAAM;AACb,gBAAM,cAAc;AAAA,YAClB,OAAO,UAAU,KAAK,MAAM,KAAK,OAAO,IAAI,UAAU,MAAM,CAAC,CAAC;AAAA,UAChE;AACA,sBAAY;AAAA,YACV,MAAM;AAAA,YACN,OAAO;AAAA,cACL,OAAO;AAAA,YACT;AAAA,UACF,CAAC;AACD,iBAAO;AAAA,QACT;AAAA,QACD;AAAA;AAAA,IAED;AAAA,KACF;AAEJ;",
6
6
  "names": []
7
7
  }
package/dist/esm/conf.js CHANGED
@@ -1,4 +1,4 @@
1
- import { config as config2 } from "@tamagui/config-base";
1
+ import { config as config2 } from "@tamagui/config";
2
2
  export {
3
3
  config2 as config
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/conf.tsx"],
4
- "sourcesContent": ["import { config } from '@tamagui/config-base'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config-base'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
4
+ "sourcesContent": ["import { config } from '@tamagui/config'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
5
5
  "mappings": "AAGA,SAAS,UAAAA,eAAc;",
6
6
  "names": ["config"]
7
7
  }
package/dist/esm/conf.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { config as config2 } from "@tamagui/config-base";
1
+ import { config as config2 } from "@tamagui/config";
2
2
  export {
3
3
  config2 as config
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/conf.tsx"],
4
- "sourcesContent": ["import { config } from '@tamagui/config-base'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config-base'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
4
+ "sourcesContent": ["import { config } from '@tamagui/config'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
5
5
  "mappings": "AAGA,SAAS,UAAAA,eAAc;",
6
6
  "names": ["config"]
7
7
  }
package/dist/esm/index.js CHANGED
@@ -12,6 +12,7 @@ import { AddThemeDemo } from "./AddThemeDemo";
12
12
  import { UpdateThemeDemo } from "./UpdateThemeDemo";
13
13
  import { FeatherIconsDemo } from "./FeatherIconsDemo";
14
14
  import { FormsDemo } from "./FormsDemo";
15
+ import { InputsDemo } from "./InputsDemo";
15
16
  import { GroupDemo } from "./GroupDemo";
16
17
  import { HeadingsDemo } from "./HeadingsDemo";
17
18
  import { ImageDemo } from "./ImageDemo";
@@ -21,6 +22,7 @@ import { ListItemDemo } from "./ListItemDemo";
21
22
  import { LucideIconsDemo } from "./LucideIconsDemo";
22
23
  import { PopoverDemo } from "./PopoverDemo";
23
24
  import { ProgressDemo } from "./ProgressDemo";
25
+ import { RadioGroupDemo } from "./RadioGroupDemo";
24
26
  import { SelectDemo } from "./SelectDemo";
25
27
  import { SeparatorDemo } from "./SeparatorDemo";
26
28
  import { ShapesDemo } from "./ShapesDemo";
@@ -56,12 +58,14 @@ export {
56
58
  GroupDemo,
57
59
  HeadingsDemo,
58
60
  ImageDemo,
61
+ InputsDemo,
59
62
  LabelDemo,
60
63
  LinearGradientDemo,
61
64
  ListItemDemo,
62
65
  LucideIconsDemo,
63
66
  PopoverDemo,
64
67
  ProgressDemo,
68
+ RadioGroupDemo,
65
69
  ScrollViewDemo,
66
70
  SelectDemo,
67
71
  SeparatorDemo,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
- "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
4
+ "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { InputsDemo } from './InputsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { RadioGroupDemo } from './RadioGroupDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
+ "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
6
6
  "names": []
7
7
  }
@@ -12,6 +12,7 @@ import { AddThemeDemo } from "./AddThemeDemo";
12
12
  import { UpdateThemeDemo } from "./UpdateThemeDemo";
13
13
  import { FeatherIconsDemo } from "./FeatherIconsDemo";
14
14
  import { FormsDemo } from "./FormsDemo";
15
+ import { InputsDemo } from "./InputsDemo";
15
16
  import { GroupDemo } from "./GroupDemo";
16
17
  import { HeadingsDemo } from "./HeadingsDemo";
17
18
  import { ImageDemo } from "./ImageDemo";
@@ -21,6 +22,7 @@ import { ListItemDemo } from "./ListItemDemo";
21
22
  import { LucideIconsDemo } from "./LucideIconsDemo";
22
23
  import { PopoverDemo } from "./PopoverDemo";
23
24
  import { ProgressDemo } from "./ProgressDemo";
25
+ import { RadioGroupDemo } from "./RadioGroupDemo";
24
26
  import { SelectDemo } from "./SelectDemo";
25
27
  import { SeparatorDemo } from "./SeparatorDemo";
26
28
  import { ShapesDemo } from "./ShapesDemo";
@@ -56,12 +58,14 @@ export {
56
58
  GroupDemo,
57
59
  HeadingsDemo,
58
60
  ImageDemo,
61
+ InputsDemo,
59
62
  LabelDemo,
60
63
  LinearGradientDemo,
61
64
  ListItemDemo,
62
65
  LucideIconsDemo,
63
66
  PopoverDemo,
64
67
  ProgressDemo,
68
+ RadioGroupDemo,
65
69
  ScrollViewDemo,
66
70
  SelectDemo,
67
71
  SeparatorDemo,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
- "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
4
+ "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { InputsDemo } from './InputsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { RadioGroupDemo } from './RadioGroupDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
+ "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,19 @@
1
+ import { Button, Input, TextArea, XStack, YStack } from "tamagui";
2
+ function InputsDemo() {
3
+ return <YStack w={200} mih={250} overflow="hidden" space="$2" m="$3" p="$2">
4
+ <InputDemo size="$2" />
5
+ <InputDemo size="$3" />
6
+ <InputDemo size="$4" />
7
+ <TextArea mih={140} placeholder="Enter your details..." numberOfLines={4} />
8
+ </YStack>;
9
+ }
10
+ function InputDemo(props) {
11
+ return <XStack ai="center" space="$2">
12
+ <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />
13
+ <Button size={props.size}>Go</Button>
14
+ </XStack>;
15
+ }
16
+ export {
17
+ InputsDemo
18
+ };
19
+ //# sourceMappingURL=InputsDemo.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/InputsDemo.tsx"],
4
+ "sourcesContent": ["import { Button, Input, SizeTokens, TextArea, XStack, YStack } from 'tamagui'\n\nexport function InputsDemo() {\n return (\n <YStack w={200} mih={250} overflow=\"hidden\" space=\"$2\" m=\"$3\" p=\"$2\">\n <InputDemo size=\"$2\" />\n <InputDemo size=\"$3\" />\n <InputDemo size=\"$4\" />\n <TextArea mih={140} placeholder=\"Enter your details...\" numberOfLines={4} />\n </YStack>\n )\n}\n\nfunction InputDemo(props: { size: SizeTokens }) {\n return (\n <XStack ai=\"center\" space=\"$2\">\n <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />\n <Button size={props.size}>Go</Button>\n </XStack>\n )\n}"],
5
+ "mappings": "AAAA,SAAS,QAAQ,OAAmB,UAAU,QAAQ,cAAc;AAE7D,SAAS,aAAa;AAC3B,SACE,CAAC,OAAO,GAAG,KAAK,KAAK,KAAK,SAAS,SAAS,MAAM,KAAK,EAAE,KAAK,EAAE;AAAA,IAC9D,CAAC,UAAU,KAAK,KAAK;AAAA,IACrB,CAAC,UAAU,KAAK,KAAK;AAAA,IACrB,CAAC,UAAU,KAAK,KAAK;AAAA,IACrB,CAAC,SAAS,KAAK,KAAK,YAAY,wBAAwB,eAAe,GAAG;AAAA,EAC5E,EALC;AAOL;AAEA,SAAS,UAAU,OAA6B;AAC9C,SACE,CAAC,OAAO,GAAG,SAAS,MAAM;AAAA,IACxB,CAAC,MAAM,GAAG,GAAG,MAAM,MAAM,MAAM,aAAa,QAAQ,MAAM,WAAW;AAAA,IACrE,CAAC,OAAO,MAAM,MAAM,MAAM,EAAE,EAA3B;AAAA,EACH,EAHC;AAKL;",
6
+ "names": []
7
+ }
@@ -0,0 +1,19 @@
1
+ import { Button, Input, TextArea, XStack, YStack } from "tamagui";
2
+ function InputsDemo() {
3
+ return <YStack w={200} mih={250} overflow="hidden" space="$2" m="$3" p="$2">
4
+ <InputDemo size="$2" />
5
+ <InputDemo size="$3" />
6
+ <InputDemo size="$4" />
7
+ <TextArea mih={140} placeholder="Enter your details..." numberOfLines={4} />
8
+ </YStack>;
9
+ }
10
+ function InputDemo(props) {
11
+ return <XStack ai="center" space="$2">
12
+ <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />
13
+ <Button size={props.size}>Go</Button>
14
+ </XStack>;
15
+ }
16
+ export {
17
+ InputsDemo
18
+ };
19
+ //# sourceMappingURL=InputsDemo.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/InputsDemo.tsx"],
4
+ "sourcesContent": ["import { Button, Input, SizeTokens, TextArea, XStack, YStack } from 'tamagui'\n\nexport function InputsDemo() {\n return (\n <YStack w={200} mih={250} overflow=\"hidden\" space=\"$2\" m=\"$3\" p=\"$2\">\n <InputDemo size=\"$2\" />\n <InputDemo size=\"$3\" />\n <InputDemo size=\"$4\" />\n <TextArea mih={140} placeholder=\"Enter your details...\" numberOfLines={4} />\n </YStack>\n )\n}\n\nfunction InputDemo(props: { size: SizeTokens }) {\n return (\n <XStack ai=\"center\" space=\"$2\">\n <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />\n <Button size={props.size}>Go</Button>\n </XStack>\n )\n}"],
5
+ "mappings": "AAAA,SAAS,QAAQ,OAAmB,UAAU,QAAQ,cAAc;AAE7D,SAAS,aAAa;AAC3B,SACE,CAAC,OAAO,GAAG,KAAK,KAAK,KAAK,SAAS,SAAS,MAAM,KAAK,EAAE,KAAK,EAAE;AAAA,IAC9D,CAAC,UAAU,KAAK,KAAK;AAAA,IACrB,CAAC,UAAU,KAAK,KAAK;AAAA,IACrB,CAAC,UAAU,KAAK,KAAK;AAAA,IACrB,CAAC,SAAS,KAAK,KAAK,YAAY,wBAAwB,eAAe,GAAG;AAAA,EAC5E,EALC;AAOL;AAEA,SAAS,UAAU,OAA6B;AAC9C,SACE,CAAC,OAAO,GAAG,SAAS,MAAM;AAAA,IACxB,CAAC,MAAM,GAAG,GAAG,MAAM,MAAM,MAAM,aAAa,QAAQ,MAAM,WAAW;AAAA,IACrE,CAAC,OAAO,MAAM,MAAM,MAAM,EAAE,EAA3B;AAAA,EACH,EAHC;AAKL;",
6
+ "names": []
7
+ }
@@ -0,0 +1,19 @@
1
+ import { Label, RadioGroup, XStack, YStack } from "tamagui";
2
+ function RadioGroupDemo() {
3
+ return <RadioGroup name="form"><YStack w={300} ai="center" space="$2">
4
+ <RadioGroupItemWithLabel size="$3" value="2" label="Second value" />
5
+ <RadioGroupItemWithLabel size="$4" value="3" label="Third value" />
6
+ <RadioGroupItemWithLabel size="$5" value="4" label="Fourth value" />
7
+ </YStack></RadioGroup>;
8
+ }
9
+ function RadioGroupItemWithLabel(props) {
10
+ const id = `radiogroup-${props.value}`;
11
+ return <XStack w={300} ai="center" space="$4">
12
+ <RadioGroup.Item value={props.value} id={id} size={props.size}><RadioGroup.Indicator /></RadioGroup.Item>
13
+ <Label size={props.size} htmlFor={id}>{props.label}</Label>
14
+ </XStack>;
15
+ }
16
+ export {
17
+ RadioGroupDemo
18
+ };
19
+ //# sourceMappingURL=RadioGroupDemo.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/RadioGroupDemo.tsx"],
4
+ "sourcesContent": ["import { Label, RadioGroup, SizeTokens, ThemeableStack, XStack, YStack } from 'tamagui'\n\nexport function RadioGroupDemo() {\n return (\n <RadioGroup name=\"form\">\n <YStack w={300} ai=\"center\" space=\"$2\">\n <RadioGroupItemWithLabel size=\"$3\" value=\"2\" label=\"Second value\" />\n <RadioGroupItemWithLabel size=\"$4\" value=\"3\" label=\"Third value\" />\n <RadioGroupItemWithLabel size=\"$5\" value=\"4\" label=\"Fourth value\" />\n </YStack>\n </RadioGroup>\n )\n}\n\nfunction RadioGroupItemWithLabel(props: {\n size: SizeTokens\n value: string\n label: string\n}) {\n const id = `radiogroup-${props.value}`\n return (\n <XStack w={300} ai=\"center\" space=\"$4\">\n <RadioGroup.Item value={props.value} id={id} size={props.size}>\n <RadioGroup.Indicator />\n </RadioGroup.Item>\n\n <Label size={props.size} htmlFor={id}>\n {props.label}\n </Label>\n </XStack>\n )\n}\n"],
5
+ "mappings": "AAAA,SAAS,OAAO,YAAwC,QAAQ,cAAc;AAEvE,SAAS,iBAAiB;AAC/B,SACE,CAAC,WAAW,KAAK,OACf,CAAC,OAAO,GAAG,KAAK,GAAG,SAAS,MAAM;AAAA,IAChC,CAAC,wBAAwB,KAAK,KAAK,MAAM,IAAI,MAAM,eAAe;AAAA,IAClE,CAAC,wBAAwB,KAAK,KAAK,MAAM,IAAI,MAAM,cAAc;AAAA,IACjE,CAAC,wBAAwB,KAAK,KAAK,MAAM,IAAI,MAAM,eAAe;AAAA,EACpE,EAJC,OAKH,EANC;AAQL;AAEA,SAAS,wBAAwB,OAI9B;AACD,QAAM,KAAK,cAAc,MAAM;AAC/B,SACE,CAAC,OAAO,GAAG,KAAK,GAAG,SAAS,MAAM;AAAA,IAChC,CAAC,WAAW,KAAK,OAAO,MAAM,OAAO,IAAI,IAAI,MAAM,MAAM,MACvD,CAAC,WAAW,UAAU,EACxB,EAFC,WAAW;AAAA,IAIZ,CAAC,MAAM,MAAM,MAAM,MAAM,SAAS,KAC/B,MAAM,MACT,EAFC;AAAA,EAGH,EARC;AAUL;",
6
+ "names": []
7
+ }
@@ -0,0 +1,19 @@
1
+ import { Label, RadioGroup, XStack, YStack } from "tamagui";
2
+ function RadioGroupDemo() {
3
+ return <RadioGroup name="form"><YStack w={300} ai="center" space="$2">
4
+ <RadioGroupItemWithLabel size="$3" value="2" label="Second value" />
5
+ <RadioGroupItemWithLabel size="$4" value="3" label="Third value" />
6
+ <RadioGroupItemWithLabel size="$5" value="4" label="Fourth value" />
7
+ </YStack></RadioGroup>;
8
+ }
9
+ function RadioGroupItemWithLabel(props) {
10
+ const id = `radiogroup-${props.value}`;
11
+ return <XStack w={300} ai="center" space="$4">
12
+ <RadioGroup.Item value={props.value} id={id} size={props.size}><RadioGroup.Indicator /></RadioGroup.Item>
13
+ <Label size={props.size} htmlFor={id}>{props.label}</Label>
14
+ </XStack>;
15
+ }
16
+ export {
17
+ RadioGroupDemo
18
+ };
19
+ //# sourceMappingURL=RadioGroupDemo.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/RadioGroupDemo.tsx"],
4
+ "sourcesContent": ["import { Label, RadioGroup, SizeTokens, ThemeableStack, XStack, YStack } from 'tamagui'\n\nexport function RadioGroupDemo() {\n return (\n <RadioGroup name=\"form\">\n <YStack w={300} ai=\"center\" space=\"$2\">\n <RadioGroupItemWithLabel size=\"$3\" value=\"2\" label=\"Second value\" />\n <RadioGroupItemWithLabel size=\"$4\" value=\"3\" label=\"Third value\" />\n <RadioGroupItemWithLabel size=\"$5\" value=\"4\" label=\"Fourth value\" />\n </YStack>\n </RadioGroup>\n )\n}\n\nfunction RadioGroupItemWithLabel(props: {\n size: SizeTokens\n value: string\n label: string\n}) {\n const id = `radiogroup-${props.value}`\n return (\n <XStack w={300} ai=\"center\" space=\"$4\">\n <RadioGroup.Item value={props.value} id={id} size={props.size}>\n <RadioGroup.Indicator />\n </RadioGroup.Item>\n\n <Label size={props.size} htmlFor={id}>\n {props.label}\n </Label>\n </XStack>\n )\n}\n"],
5
+ "mappings": "AAAA,SAAS,OAAO,YAAwC,QAAQ,cAAc;AAEvE,SAAS,iBAAiB;AAC/B,SACE,CAAC,WAAW,KAAK,OACf,CAAC,OAAO,GAAG,KAAK,GAAG,SAAS,MAAM;AAAA,IAChC,CAAC,wBAAwB,KAAK,KAAK,MAAM,IAAI,MAAM,eAAe;AAAA,IAClE,CAAC,wBAAwB,KAAK,KAAK,MAAM,IAAI,MAAM,cAAc;AAAA,IACjE,CAAC,wBAAwB,KAAK,KAAK,MAAM,IAAI,MAAM,eAAe;AAAA,EACpE,EAJC,OAKH,EANC;AAQL;AAEA,SAAS,wBAAwB,OAI9B;AACD,QAAM,KAAK,cAAc,MAAM;AAC/B,SACE,CAAC,OAAO,GAAG,KAAK,GAAG,SAAS,MAAM;AAAA,IAChC,CAAC,WAAW,KAAK,OAAO,MAAM,OAAO,IAAI,IAAI,MAAM,MAAM,MACvD,CAAC,WAAW,UAAU,EACxB,EAFC,WAAW;AAAA,IAIZ,CAAC,MAAM,MAAM,MAAM,MAAM,SAAS,KAC/B,MAAM,MACT,EAFC;AAAA,EAGH,EARC;AAUL;",
6
+ "names": []
7
+ }
@@ -1,4 +1,4 @@
1
- import * as Config from "@tamagui/config-base";
1
+ import * as Config from "@tamagui/config";
2
2
  import { useState } from "react";
3
3
  import {
4
4
  Button,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/UpdateThemeDemo.tsx"],
4
- "sourcesContent": ["import * as Config from '@tamagui/config-base'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]],\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
4
+ "sourcesContent": ["import * as Config from '@tamagui/config'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]]\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
5
5
  "mappings": "AAAA,YAAY,YAAY;AACxB,SAAgB,gBAAgB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,MAAM,SAAS,OAAO,OAAO,OAAO;AACpC,MAAM,YAAY,OAAO,KAAK,MAAM;AAE7B,SAAS,kBAAkB;AAChC,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAc;AACxC,QAAM,SAAS,eAAe;AAE9B,4BAA0B,MAAM;AAC9B,aAAS;AAAA,MACP,MAAM;AAAA,MACN,WAAW;AAAA,MACX,OAAO;AAAA,QACL,OAAO;AAAA,MACT;AAAA,IACF,CAAC;AACD,aAAS,QAAQ;AAAA,EACnB,GAAG,CAAC,CAAC;AAEL,SACE,CAAC,OAAO,GAAG,SAAS;AAAA,IAClB,CAAC,MAAM,MAAM,SAAS,MACpB,CAAC,OAAO,aAAa,KAAK,MAAM,KAAK,gBAAgB,SAAS,EAChE,EAFC;AAAA,IAID,CAAC;AAAA,MACC,SAAS,MAAM;AACb,cAAM,cAAc;AAAA,UAClB,OAAO,UAAU,KAAK,MAAM,KAAK,OAAO,IAAI,UAAU,MAAM,CAAC,CAAC;AAAA,QAChE;AACA,oBAAY;AAAA,UACV,MAAM;AAAA,UACN,OAAO;AAAA,YACL,OAAO;AAAA,UACT;AAAA,QACF,CAAC;AACD,eAAO;AAAA,MACT;AAAA,KACD,mBAED,EAfC;AAAA,EAgBH,EArBC;AAuBL;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import * as Config from "@tamagui/config-base";
1
+ import * as Config from "@tamagui/config";
2
2
  import { useState } from "react";
3
3
  import {
4
4
  Button,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/UpdateThemeDemo.tsx"],
4
- "sourcesContent": ["import * as Config from '@tamagui/config-base'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]],\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
4
+ "sourcesContent": ["import * as Config from '@tamagui/config'\nimport React, { useState } from 'react'\nimport {\n Button,\n Square,\n Theme,\n YStack,\n addTheme,\n getVariableValue,\n updateTheme,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n} from 'tamagui'\n\nconst colors = Config.config.tokens.color\nconst colorKeys = Object.keys(colors)\n\nexport function UpdateThemeDemo() {\n const [theme, setTheme] = useState<any>()\n const update = useForceUpdate()\n\n useIsomorphicLayoutEffect(() => {\n addTheme({\n name: 'custom',\n insertCSS: true,\n theme: {\n color: 'red',\n },\n })\n setTheme('custom')\n }, [])\n\n return (\n <YStack ai=\"center\" space>\n <Theme name={theme ?? null}>\n <Square borderRadius=\"$8\" size={100} backgroundColor=\"$color\" />\n </Theme>\n\n <Button\n onPress={() => {\n const randomColor = getVariableValue(\n colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]]\n )\n updateTheme({\n name: 'custom',\n theme: {\n color: randomColor,\n },\n })\n update()\n }}\n >\n Set to random color\n </Button>\n </YStack>\n )\n}\n"],
5
5
  "mappings": "AAAA,YAAY,YAAY;AACxB,SAAgB,gBAAgB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,MAAM,SAAS,OAAO,OAAO,OAAO;AACpC,MAAM,YAAY,OAAO,KAAK,MAAM;AAE7B,SAAS,kBAAkB;AAChC,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAc;AACxC,QAAM,SAAS,eAAe;AAE9B,4BAA0B,MAAM;AAC9B,aAAS;AAAA,MACP,MAAM;AAAA,MACN,WAAW;AAAA,MACX,OAAO;AAAA,QACL,OAAO;AAAA,MACT;AAAA,IACF,CAAC;AACD,aAAS,QAAQ;AAAA,EACnB,GAAG,CAAC,CAAC;AAEL,SACE,CAAC,OAAO,GAAG,SAAS;AAAA,IAClB,CAAC,MAAM,MAAM,SAAS,MACpB,CAAC,OAAO,aAAa,KAAK,MAAM,KAAK,gBAAgB,SAAS,EAChE,EAFC;AAAA,IAID,CAAC;AAAA,MACC,SAAS,MAAM;AACb,cAAM,cAAc;AAAA,UAClB,OAAO,UAAU,KAAK,MAAM,KAAK,OAAO,IAAI,UAAU,MAAM,CAAC,CAAC;AAAA,QAChE;AACA,oBAAY;AAAA,UACV,MAAM;AAAA,UACN,OAAO;AAAA,YACL,OAAO;AAAA,UACT;AAAA,QACF,CAAC;AACD,eAAO;AAAA,MACT;AAAA,KACD,mBAED,EAfC;AAAA,EAgBH,EArBC;AAuBL;",
6
6
  "names": []
7
7
  }
package/dist/jsx/conf.js CHANGED
@@ -1,4 +1,4 @@
1
- import { config as config2 } from "@tamagui/config-base";
1
+ import { config as config2 } from "@tamagui/config";
2
2
  export {
3
3
  config2 as config
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/conf.tsx"],
4
- "sourcesContent": ["import { config } from '@tamagui/config-base'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config-base'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
4
+ "sourcesContent": ["import { config } from '@tamagui/config'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
5
5
  "mappings": "AAGA,SAAS,UAAAA,eAAc;",
6
6
  "names": ["config"]
7
7
  }
package/dist/jsx/conf.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { config as config2 } from "@tamagui/config-base";
1
+ import { config as config2 } from "@tamagui/config";
2
2
  export {
3
3
  config2 as config
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/conf.tsx"],
4
- "sourcesContent": ["import { config } from '@tamagui/config-base'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config-base'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
4
+ "sourcesContent": ["import { config } from '@tamagui/config'\nimport { InferTamaguiConfig } from '@tamagui/core'\n\nexport { config } from '@tamagui/config'\n\nexport type Conf = InferTamaguiConfig<typeof config>\n\ndeclare module 'tamagui' {\n interface TamaguiCustomConfig extends Conf {}\n}\n"],
5
5
  "mappings": "AAGA,SAAS,UAAAA,eAAc;",
6
6
  "names": ["config"]
7
7
  }
package/dist/jsx/index.js CHANGED
@@ -12,6 +12,7 @@ import { AddThemeDemo } from "./AddThemeDemo";
12
12
  import { UpdateThemeDemo } from "./UpdateThemeDemo";
13
13
  import { FeatherIconsDemo } from "./FeatherIconsDemo";
14
14
  import { FormsDemo } from "./FormsDemo";
15
+ import { InputsDemo } from "./InputsDemo";
15
16
  import { GroupDemo } from "./GroupDemo";
16
17
  import { HeadingsDemo } from "./HeadingsDemo";
17
18
  import { ImageDemo } from "./ImageDemo";
@@ -21,6 +22,7 @@ import { ListItemDemo } from "./ListItemDemo";
21
22
  import { LucideIconsDemo } from "./LucideIconsDemo";
22
23
  import { PopoverDemo } from "./PopoverDemo";
23
24
  import { ProgressDemo } from "./ProgressDemo";
25
+ import { RadioGroupDemo } from "./RadioGroupDemo";
24
26
  import { SelectDemo } from "./SelectDemo";
25
27
  import { SeparatorDemo } from "./SeparatorDemo";
26
28
  import { ShapesDemo } from "./ShapesDemo";
@@ -56,12 +58,14 @@ export {
56
58
  GroupDemo,
57
59
  HeadingsDemo,
58
60
  ImageDemo,
61
+ InputsDemo,
59
62
  LabelDemo,
60
63
  LinearGradientDemo,
61
64
  ListItemDemo,
62
65
  LucideIconsDemo,
63
66
  PopoverDemo,
64
67
  ProgressDemo,
68
+ RadioGroupDemo,
65
69
  ScrollViewDemo,
66
70
  SelectDemo,
67
71
  SeparatorDemo,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
- "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
4
+ "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { InputsDemo } from './InputsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { RadioGroupDemo } from './RadioGroupDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
+ "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
6
6
  "names": []
7
7
  }
@@ -12,6 +12,7 @@ import { AddThemeDemo } from "./AddThemeDemo";
12
12
  import { UpdateThemeDemo } from "./UpdateThemeDemo";
13
13
  import { FeatherIconsDemo } from "./FeatherIconsDemo";
14
14
  import { FormsDemo } from "./FormsDemo";
15
+ import { InputsDemo } from "./InputsDemo";
15
16
  import { GroupDemo } from "./GroupDemo";
16
17
  import { HeadingsDemo } from "./HeadingsDemo";
17
18
  import { ImageDemo } from "./ImageDemo";
@@ -21,6 +22,7 @@ import { ListItemDemo } from "./ListItemDemo";
21
22
  import { LucideIconsDemo } from "./LucideIconsDemo";
22
23
  import { PopoverDemo } from "./PopoverDemo";
23
24
  import { ProgressDemo } from "./ProgressDemo";
25
+ import { RadioGroupDemo } from "./RadioGroupDemo";
24
26
  import { SelectDemo } from "./SelectDemo";
25
27
  import { SeparatorDemo } from "./SeparatorDemo";
26
28
  import { ShapesDemo } from "./ShapesDemo";
@@ -56,12 +58,14 @@ export {
56
58
  GroupDemo,
57
59
  HeadingsDemo,
58
60
  ImageDemo,
61
+ InputsDemo,
59
62
  LabelDemo,
60
63
  LinearGradientDemo,
61
64
  ListItemDemo,
62
65
  LucideIconsDemo,
63
66
  PopoverDemo,
64
67
  ProgressDemo,
68
+ RadioGroupDemo,
65
69
  ScrollViewDemo,
66
70
  SelectDemo,
67
71
  SeparatorDemo,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
- "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
4
+ "sourcesContent": ["export { AlertDialogDemo } from './AlertDialogDemo'\nexport { AnimationsDemo } from './AnimationsDemo'\nexport { AnimationsEnterDemo } from './AnimationsEnterDemo'\nexport { AnimationsHoverDemo } from './AnimationsHoverDemo'\nexport { AnimationsTimingDemo } from './AnimationsTimingDemo'\nexport { AnimationsPresenceDemo } from './AnimationsPresenceDemo'\nexport { AvatarDemo } from './AvatarDemo'\nexport { ButtonDemo } from './ButtonDemo'\nexport { CardDemo } from './CardDemo'\nexport { DialogDemo } from './DialogDemo'\nexport { AddThemeDemo } from './AddThemeDemo'\nexport { UpdateThemeDemo } from './UpdateThemeDemo'\nexport { FeatherIconsDemo } from './FeatherIconsDemo'\nexport { FormsDemo } from './FormsDemo'\nexport { InputsDemo } from './InputsDemo'\nexport { GroupDemo } from './GroupDemo'\nexport { HeadingsDemo } from './HeadingsDemo'\nexport { ImageDemo } from './ImageDemo'\nexport { LabelDemo } from './LabelDemo'\nexport { LinearGradientDemo } from './LinearGradientDemo'\nexport { ListItemDemo } from './ListItemDemo'\nexport { LucideIconsDemo } from './LucideIconsDemo'\nexport { PopoverDemo } from './PopoverDemo'\nexport { ProgressDemo } from './ProgressDemo'\nexport { RadioGroupDemo } from './RadioGroupDemo'\nexport { SelectDemo } from './SelectDemo'\nexport { SeparatorDemo } from './SeparatorDemo'\nexport { ShapesDemo } from './ShapesDemo'\nexport { ScrollViewDemo } from './ScrollViewDemo'\nexport { SheetDemo } from './SheetDemo'\nexport { SliderDemo } from './SliderDemo'\nexport { SpinnerDemo } from './SpinnerDemo'\nexport { StacksDemo } from './StacksDemo'\nexport { SwitchDemo } from './SwitchDemo'\nexport { CheckboxDemo } from './CheckboxDemo'\nexport { TextDemo } from './TextDemo'\nexport { ThemeInverseDemo } from './ThemeInverseDemo'\nexport { TooltipDemo } from './TooltipDemo'\nexport { ColorsDemo } from './ColorsDemo'\nexport { TokensDemo } from './TokensDemo'\nexport * from './useOnIntersecting'\n"],
5
+ "mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B,cAAc;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/demos",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -29,27 +29,28 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@tamagui/avatar": "^1.3.1",
33
- "@tamagui/button": "^1.3.1",
34
- "@tamagui/config-base": "^1.3.1",
35
- "@tamagui/core": "^1.3.1",
36
- "@tamagui/list-item": "^1.3.1",
37
- "@tamagui/logo": "^1.3.1",
38
- "@tamagui/menu": "^1.3.1",
39
- "@tamagui/popover": "^1.3.1",
40
- "@tamagui/progress": "^1.3.1",
41
- "@tamagui/select": "^1.3.1",
42
- "@tamagui/sheet": "^1.3.1",
43
- "@tamagui/slider": "^1.3.1",
44
- "@tamagui/stacks": "^1.3.1",
45
- "tamagui": "^1.3.1"
32
+ "@tamagui/avatar": "^1.5.0",
33
+ "@tamagui/button": "^1.5.0",
34
+ "@tamagui/config": "^1.5.0",
35
+ "@tamagui/core": "^1.5.0",
36
+ "@tamagui/list-item": "^1.5.0",
37
+ "@tamagui/logo": "^1.5.0",
38
+ "@tamagui/menu": "^1.5.0",
39
+ "@tamagui/popover": "^1.5.0",
40
+ "@tamagui/progress": "^1.5.0",
41
+ "@tamagui/radio-group": "^1.5.0",
42
+ "@tamagui/select": "^1.5.0",
43
+ "@tamagui/sheet": "^1.5.0",
44
+ "@tamagui/slider": "^1.5.0",
45
+ "@tamagui/stacks": "^1.5.0",
46
+ "tamagui": "^1.5.0"
46
47
  },
47
48
  "peerDependencies": {
48
49
  "react": "*",
49
50
  "react-dom": "*"
50
51
  },
51
52
  "devDependencies": {
52
- "@tamagui/build": "^1.3.1",
53
+ "@tamagui/build": "^1.5.0",
53
54
  "react": "^18.2.0",
54
55
  "react-dom": "^18.2.0"
55
56
  },
@@ -0,0 +1,21 @@
1
+ import { Button, Input, SizeTokens, TextArea, XStack, YStack } from 'tamagui'
2
+
3
+ export function InputsDemo() {
4
+ return (
5
+ <YStack w={200} mih={250} overflow="hidden" space="$2" m="$3" p="$2">
6
+ <InputDemo size="$2" />
7
+ <InputDemo size="$3" />
8
+ <InputDemo size="$4" />
9
+ <TextArea mih={140} placeholder="Enter your details..." numberOfLines={4} />
10
+ </YStack>
11
+ )
12
+ }
13
+
14
+ function InputDemo(props: { size: SizeTokens }) {
15
+ return (
16
+ <XStack ai="center" space="$2">
17
+ <Input f={1} size={props.size} placeholder={`Size ${props.size}...`} />
18
+ <Button size={props.size}>Go</Button>
19
+ </XStack>
20
+ )
21
+ }
@@ -0,0 +1,32 @@
1
+ import { Label, RadioGroup, SizeTokens, ThemeableStack, XStack, YStack } from 'tamagui'
2
+
3
+ export function RadioGroupDemo() {
4
+ return (
5
+ <RadioGroup name="form">
6
+ <YStack w={300} ai="center" space="$2">
7
+ <RadioGroupItemWithLabel size="$3" value="2" label="Second value" />
8
+ <RadioGroupItemWithLabel size="$4" value="3" label="Third value" />
9
+ <RadioGroupItemWithLabel size="$5" value="4" label="Fourth value" />
10
+ </YStack>
11
+ </RadioGroup>
12
+ )
13
+ }
14
+
15
+ function RadioGroupItemWithLabel(props: {
16
+ size: SizeTokens
17
+ value: string
18
+ label: string
19
+ }) {
20
+ const id = `radiogroup-${props.value}`
21
+ return (
22
+ <XStack w={300} ai="center" space="$4">
23
+ <RadioGroup.Item value={props.value} id={id} size={props.size}>
24
+ <RadioGroup.Indicator />
25
+ </RadioGroup.Item>
26
+
27
+ <Label size={props.size} htmlFor={id}>
28
+ {props.label}
29
+ </Label>
30
+ </XStack>
31
+ )
32
+ }
@@ -1,4 +1,4 @@
1
- import * as Config from '@tamagui/config-base'
1
+ import * as Config from '@tamagui/config'
2
2
  import React, { useState } from 'react'
3
3
  import {
4
4
  Button,
@@ -39,7 +39,7 @@ export function UpdateThemeDemo() {
39
39
  <Button
40
40
  onPress={() => {
41
41
  const randomColor = getVariableValue(
42
- colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]],
42
+ colors[colorKeys[Math.floor(Math.random() * colorKeys.length)]]
43
43
  )
44
44
  updateTheme({
45
45
  name: 'custom',
package/src/conf.tsx CHANGED
@@ -1,7 +1,7 @@
1
- import { config } from '@tamagui/config-base'
1
+ import { config } from '@tamagui/config'
2
2
  import { InferTamaguiConfig } from '@tamagui/core'
3
3
 
4
- export { config } from '@tamagui/config-base'
4
+ export { config } from '@tamagui/config'
5
5
 
6
6
  export type Conf = InferTamaguiConfig<typeof config>
7
7
 
package/src/index.tsx CHANGED
@@ -12,6 +12,7 @@ export { AddThemeDemo } from './AddThemeDemo'
12
12
  export { UpdateThemeDemo } from './UpdateThemeDemo'
13
13
  export { FeatherIconsDemo } from './FeatherIconsDemo'
14
14
  export { FormsDemo } from './FormsDemo'
15
+ export { InputsDemo } from './InputsDemo'
15
16
  export { GroupDemo } from './GroupDemo'
16
17
  export { HeadingsDemo } from './HeadingsDemo'
17
18
  export { ImageDemo } from './ImageDemo'
@@ -21,6 +22,7 @@ export { ListItemDemo } from './ListItemDemo'
21
22
  export { LucideIconsDemo } from './LucideIconsDemo'
22
23
  export { PopoverDemo } from './PopoverDemo'
23
24
  export { ProgressDemo } from './ProgressDemo'
25
+ export { RadioGroupDemo } from './RadioGroupDemo'
24
26
  export { SelectDemo } from './SelectDemo'
25
27
  export { SeparatorDemo } from './SeparatorDemo'
26
28
  export { ShapesDemo } from './ShapesDemo'
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { SizeTokens } from 'tamagui';
3
+ export declare function FormsDemo(props: {
4
+ size: SizeTokens;
5
+ }): JSX.Element;
6
+ //# sourceMappingURL=FormsDemo%20copy.d.ts.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function InputsDemo(): JSX.Element;
3
+ //# sourceMappingURL=InputDemo.d.ts.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function InputsDemo(): JSX.Element;
3
+ //# sourceMappingURL=InputsDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputsDemo.d.ts","sourceRoot":"","sources":["../src/InputsDemo.tsx"],"names":[],"mappings":";AAEA,wBAAgB,UAAU,gBASzB"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function RadioGroupDemo(): JSX.Element;
3
+ //# sourceMappingURL=RadioGroupDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroupDemo.d.ts","sourceRoot":"","sources":["../src/RadioGroupDemo.tsx"],"names":[],"mappings":";AAEA,wBAAgB,cAAc,gBAU7B"}
package/types/conf.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { config } from '@tamagui/config-base';
1
+ import { config } from '@tamagui/config';
2
2
  import { InferTamaguiConfig } from '@tamagui/core';
3
- export { config } from '@tamagui/config-base';
3
+ export { config } from '@tamagui/config';
4
4
  export type Conf = InferTamaguiConfig<typeof config>;
5
5
  declare module 'tamagui' {
6
6
  interface TamaguiCustomConfig extends Conf {
@@ -1 +1 @@
1
- {"version":3,"file":"conf.d.ts","sourceRoot":"","sources":["../src/conf.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAE7C,MAAM,MAAM,IAAI,GAAG,kBAAkB,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpD,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,mBAAoB,SAAQ,IAAI;KAAG;CAC9C"}
1
+ {"version":3,"file":"conf.d.ts","sourceRoot":"","sources":["../src/conf.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,MAAM,MAAM,IAAI,GAAG,kBAAkB,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpD,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,mBAAoB,SAAQ,IAAI;KAAG;CAC9C"}
package/types/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { AddThemeDemo } from './AddThemeDemo';
12
12
  export { UpdateThemeDemo } from './UpdateThemeDemo';
13
13
  export { FeatherIconsDemo } from './FeatherIconsDemo';
14
14
  export { FormsDemo } from './FormsDemo';
15
+ export { InputsDemo } from './InputsDemo';
15
16
  export { GroupDemo } from './GroupDemo';
16
17
  export { HeadingsDemo } from './HeadingsDemo';
17
18
  export { ImageDemo } from './ImageDemo';
@@ -21,6 +22,7 @@ export { ListItemDemo } from './ListItemDemo';
21
22
  export { LucideIconsDemo } from './LucideIconsDemo';
22
23
  export { PopoverDemo } from './PopoverDemo';
23
24
  export { ProgressDemo } from './ProgressDemo';
25
+ export { RadioGroupDemo } from './RadioGroupDemo';
24
26
  export { SelectDemo } from './SelectDemo';
25
27
  export { SeparatorDemo } from './SeparatorDemo';
26
28
  export { ShapesDemo } from './ShapesDemo';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,cAAc,qBAAqB,CAAA"}