@synnaxlabs/pluto 0.17.0 → 0.18.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 (94) hide show
  1. package/dist/{Keyboard-79lsaV0f.cjs → Keyboard-Jopa0ImN.cjs} +2 -2
  2. package/dist/{Keyboard-79lsaV0f.cjs.map → Keyboard-Jopa0ImN.cjs.map} +1 -1
  3. package/dist/{Keyboard-SVZgM51r.js → Keyboard-kcohZ0JP.js} +2 -2
  4. package/dist/{Keyboard-SVZgM51r.js.map → Keyboard-kcohZ0JP.js.map} +1 -1
  5. package/dist/{Link-PQmsc2rv.js → Link-4oN98LnE.js} +2 -2
  6. package/dist/{Link-PQmsc2rv.js.map → Link-4oN98LnE.js.map} +1 -1
  7. package/dist/{Link-z0ioMNDX.cjs → Link-5t5MufKE.cjs} +2 -2
  8. package/dist/{Link-z0ioMNDX.cjs.map → Link-5t5MufKE.cjs.map} +1 -1
  9. package/dist/{Toggle-wVZJoVtX.cjs → Toggle-qW_TcIDh.cjs} +13 -13
  10. package/dist/{Toggle-wVZJoVtX.cjs.map → Toggle-qW_TcIDh.cjs.map} +1 -1
  11. package/dist/{Toggle-3mGeA8rE.js → Toggle-zmqGwWeq.js} +39 -37
  12. package/dist/{Toggle-3mGeA8rE.js.map → Toggle-zmqGwWeq.js.map} +1 -1
  13. package/dist/button.cjs +1 -1
  14. package/dist/button.js +1 -1
  15. package/dist/color.cjs +1 -1
  16. package/dist/color.js +1 -1
  17. package/dist/dropdown.cjs +1 -1
  18. package/dist/dropdown.js +1 -1
  19. package/dist/{external-jrFYN1k7.js → external-1WVrscEc.js} +2 -2
  20. package/dist/{external-jrFYN1k7.js.map → external-1WVrscEc.js.map} +1 -1
  21. package/dist/{external-V5Rc7RD4.cjs → external-6DXc9G-d.cjs} +2 -2
  22. package/dist/{external-V5Rc7RD4.cjs.map → external-6DXc9G-d.cjs.map} +1 -1
  23. package/dist/{external-j1RQBbSY.js → external-7FFXJt69.js} +2 -2
  24. package/dist/external-7FFXJt69.js.map +1 -0
  25. package/dist/{external-CRkuAd6C.cjs → external-A4JYxI--.cjs} +2 -2
  26. package/dist/external-A4JYxI--.cjs.map +1 -0
  27. package/dist/{external-1scdpCD9.js → external-D_-pAYEQ.js} +3 -3
  28. package/dist/{external-1scdpCD9.js.map → external-D_-pAYEQ.js.map} +1 -1
  29. package/dist/{external-FtteEuf4.js → external-K7wZqIN6.js} +2 -2
  30. package/dist/{external-FtteEuf4.js.map → external-K7wZqIN6.js.map} +1 -1
  31. package/dist/{external-WdZmpbBs.cjs → external-KoFBpSsV.cjs} +2 -2
  32. package/dist/{external-WdZmpbBs.cjs.map → external-KoFBpSsV.cjs.map} +1 -1
  33. package/dist/{external-PuMpEjUQ.cjs → external-Mc8M8Xzl.cjs} +2 -2
  34. package/dist/{external-PuMpEjUQ.cjs.map → external-Mc8M8Xzl.cjs.map} +1 -1
  35. package/dist/{external-QpYuwpfo.js → external-P6hmttIX.js} +2 -2
  36. package/dist/{external-QpYuwpfo.js.map → external-P6hmttIX.js.map} +1 -1
  37. package/dist/{external-hclXaeBH.cjs → external-RsG62zSr.cjs} +2 -2
  38. package/dist/{external-hclXaeBH.cjs.map → external-RsG62zSr.cjs.map} +1 -1
  39. package/dist/{external-LDAF36fG.js → external-Sip1coAq.js} +3 -3
  40. package/dist/{external-LDAF36fG.js.map → external-Sip1coAq.js.map} +1 -1
  41. package/dist/{external-qFz2sVjt.cjs → external-UezDJS5P.cjs} +2 -2
  42. package/dist/{external-qFz2sVjt.cjs.map → external-UezDJS5P.cjs.map} +1 -1
  43. package/dist/{external-bw_0NdEr.js → external-dD3TNRhO.js} +3 -3
  44. package/dist/{external-bw_0NdEr.js.map → external-dD3TNRhO.js.map} +1 -1
  45. package/dist/{external-iZdy0KqS.cjs → external-dFd3d4ZY.cjs} +2 -2
  46. package/dist/{external-iZdy0KqS.cjs.map → external-dFd3d4ZY.cjs.map} +1 -1
  47. package/dist/{external-7CL_DLHQ.cjs → external-er-l9iZA.cjs} +2 -2
  48. package/dist/{external-7CL_DLHQ.cjs.map → external-er-l9iZA.cjs.map} +1 -1
  49. package/dist/{external-f3-E2t1n.js → external-luTLo-w7.js} +2 -2
  50. package/dist/{external-f3-E2t1n.js.map → external-luTLo-w7.js.map} +1 -1
  51. package/dist/{external-ogG2kUq2.cjs → external-n4UdyJ7i.cjs} +2 -2
  52. package/dist/{external-ogG2kUq2.cjs.map → external-n4UdyJ7i.cjs.map} +1 -1
  53. package/dist/{external-mgTxEe4K.js → external-rZ3m5Z0a.js} +2 -2
  54. package/dist/{external-mgTxEe4K.js.map → external-rZ3m5Z0a.js.map} +1 -1
  55. package/dist/external-vjJtYX9R.cjs +2 -0
  56. package/dist/external-vjJtYX9R.cjs.map +1 -0
  57. package/dist/{external-194aFdnj.js → external-wMjPMnSO.js} +3 -3
  58. package/dist/{external-194aFdnj.js.map → external-wMjPMnSO.js.map} +1 -1
  59. package/dist/{external-jcvqdb1Z.cjs → external-y6ws_3c6.cjs} +2 -2
  60. package/dist/{external-jcvqdb1Z.cjs.map → external-y6ws_3c6.cjs.map} +1 -1
  61. package/dist/{external-HTq0VBUW.js → external-zoOMJkop.js} +3 -3
  62. package/dist/external-zoOMJkop.js.map +1 -0
  63. package/dist/header.cjs +1 -1
  64. package/dist/header.js +1 -1
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.js +800 -799
  68. package/dist/index.js.map +1 -1
  69. package/dist/input.cjs +1 -1
  70. package/dist/input.js +1 -1
  71. package/dist/list.cjs +1 -1
  72. package/dist/list.js +1 -1
  73. package/dist/menu.cjs +1 -1
  74. package/dist/menu.js +1 -1
  75. package/dist/select/Multiple.d.ts +2 -2
  76. package/dist/select/Select.spec.d.ts +9 -0
  77. package/dist/select/Single.d.ts +2 -2
  78. package/dist/tabs.cjs +1 -1
  79. package/dist/tabs.js +1 -1
  80. package/dist/text.cjs +1 -1
  81. package/dist/text.js +2 -2
  82. package/dist/theming.cjs +1 -1
  83. package/dist/theming.js +2 -2
  84. package/dist/tree.cjs +1 -1
  85. package/dist/tree.js +1 -1
  86. package/dist/triggers.cjs +1 -1
  87. package/dist/triggers.js +1 -1
  88. package/package.json +6 -6
  89. package/dist/external-CRkuAd6C.cjs.map +0 -1
  90. package/dist/external-HTq0VBUW.js.map +0 -1
  91. package/dist/external-VwYNFmdb.cjs +0 -2
  92. package/dist/external-VwYNFmdb.cjs.map +0 -1
  93. package/dist/external-j1RQBbSY.js.map +0 -1
  94. package/dist/select/SelectA.spec.d.ts +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./jsx-runtime-evvPGacs.cjs"),e=require("./css-JWFtNl10.cjs"),o=require("./Toggle-wVZJoVtX.cjs"),c=({className:s,...t})=>r.jsxRuntimeExports.jsx(o.Text,{className:e.CSS(s,e.CSS.BM("text","keyboard")),...t});exports.Keyboard=c;
2
- //# sourceMappingURL=Keyboard-79lsaV0f.cjs.map
1
+ "use strict";const r=require("./jsx-runtime-evvPGacs.cjs"),e=require("./css-JWFtNl10.cjs"),o=require("./Toggle-qW_TcIDh.cjs"),c=({className:s,...t})=>r.jsxRuntimeExports.jsx(o.Text,{className:e.CSS(s,e.CSS.BM("text","keyboard")),...t});exports.Keyboard=c;
2
+ //# sourceMappingURL=Keyboard-Jopa0ImN.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Keyboard-79lsaV0f.cjs","sources":["../src/text/Keyboard.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\nimport { type text } from \"@/text/core\";\nimport { type TextProps, Text } from \"@/text/Text\";\n\nimport \"@/text/Keyboard.css\";\n\nexport type KeyboardProps<L extends text.Level = \"h1\"> = TextProps<L>;\n\nexport const Keyboard = <L extends text.Level = \"p\">({\n className,\n ...props\n}: KeyboardProps<L>): ReactElement => (\n // @ts-expect-error\n <Text<L> className={CSS(className, CSS.BM(\"text\", \"keyboard\"))} {...props} />\n);\n"],"names":["Keyboard","className","props","jsx","Text","CSS"],"mappings":"8HAmBaA,EAAW,CAA6B,CACnD,UAAAC,EACA,GAAGC,CACL,IAEGC,EAAAA,kBAAAA,IAAAC,EAAAA,KAAA,CAAQ,UAAWC,EAAAA,IAAIJ,EAAWI,EAAAA,IAAI,GAAG,OAAQ,UAAU,CAAC,EAAI,GAAGH,CAAO,CAAA"}
1
+ {"version":3,"file":"Keyboard-Jopa0ImN.cjs","sources":["../src/text/Keyboard.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\nimport { type text } from \"@/text/core\";\nimport { type TextProps, Text } from \"@/text/Text\";\n\nimport \"@/text/Keyboard.css\";\n\nexport type KeyboardProps<L extends text.Level = \"h1\"> = TextProps<L>;\n\nexport const Keyboard = <L extends text.Level = \"p\">({\n className,\n ...props\n}: KeyboardProps<L>): ReactElement => (\n // @ts-expect-error\n <Text<L> className={CSS(className, CSS.BM(\"text\", \"keyboard\"))} {...props} />\n);\n"],"names":["Keyboard","className","props","jsx","Text","CSS"],"mappings":"8HAmBaA,EAAW,CAA6B,CACnD,UAAAC,EACA,GAAGC,CACL,IAEGC,EAAAA,kBAAAA,IAAAC,EAAAA,KAAA,CAAQ,UAAWC,EAAAA,IAAIJ,EAAWI,EAAAA,IAAI,GAAG,OAAQ,UAAU,CAAC,EAAI,GAAGH,CAAO,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { j as t } from "./jsx-runtime-NmMXPjeo.js";
2
2
  import { C as o } from "./css-rizsElAK.js";
3
- import { e as a } from "./Toggle-3mGeA8rE.js";
3
+ import { e as a } from "./Toggle-zmqGwWeq.js";
4
4
  const p = ({
5
5
  className: r,
6
6
  ...s
@@ -11,4 +11,4 @@ const p = ({
11
11
  export {
12
12
  p as K
13
13
  };
14
- //# sourceMappingURL=Keyboard-SVZgM51r.js.map
14
+ //# sourceMappingURL=Keyboard-kcohZ0JP.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Keyboard-SVZgM51r.js","sources":["../src/text/Keyboard.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\nimport { type text } from \"@/text/core\";\nimport { type TextProps, Text } from \"@/text/Text\";\n\nimport \"@/text/Keyboard.css\";\n\nexport type KeyboardProps<L extends text.Level = \"h1\"> = TextProps<L>;\n\nexport const Keyboard = <L extends text.Level = \"p\">({\n className,\n ...props\n}: KeyboardProps<L>): ReactElement => (\n // @ts-expect-error\n <Text<L> className={CSS(className, CSS.BM(\"text\", \"keyboard\"))} {...props} />\n);\n"],"names":["Keyboard","className","props","jsx","Text","CSS"],"mappings":";;;AAmBO,MAAMA,IAAW,CAA6B;AAAA,EACnD,WAAAC;AAAA,EACA,GAAGC;AACL;AAAA;AAAA,EAEGC,gBAAAA,EAAAA,IAAAC,GAAA,EAAQ,WAAWC,EAAIJ,GAAWI,EAAI,GAAG,QAAQ,UAAU,CAAC,GAAI,GAAGH,EAAO,CAAA;AAAA;"}
1
+ {"version":3,"file":"Keyboard-kcohZ0JP.js","sources":["../src/text/Keyboard.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\nimport { type text } from \"@/text/core\";\nimport { type TextProps, Text } from \"@/text/Text\";\n\nimport \"@/text/Keyboard.css\";\n\nexport type KeyboardProps<L extends text.Level = \"h1\"> = TextProps<L>;\n\nexport const Keyboard = <L extends text.Level = \"p\">({\n className,\n ...props\n}: KeyboardProps<L>): ReactElement => (\n // @ts-expect-error\n <Text<L> className={CSS(className, CSS.BM(\"text\", \"keyboard\"))} {...props} />\n);\n"],"names":["Keyboard","className","props","jsx","Text","CSS"],"mappings":";;;AAmBO,MAAMA,IAAW,CAA6B;AAAA,EACnD,WAAAC;AAAA,EACA,GAAGC;AACL;AAAA;AAAA,EAEGC,gBAAAA,EAAAA,IAAAC,GAAA,EAAQ,WAAWC,EAAIJ,GAAWI,EAAI,GAAG,QAAQ,UAAU,CAAC,GAAI,GAAGH,EAAO,CAAA;AAAA;"}
@@ -1,5 +1,5 @@
1
1
  import { j as o } from "./jsx-runtime-NmMXPjeo.js";
2
- import { B as s } from "./Toggle-3mGeA8rE.js";
2
+ import { B as s } from "./Toggle-zmqGwWeq.js";
3
3
  const n = ({
4
4
  href: t,
5
5
  target: a,
@@ -8,4 +8,4 @@ const n = ({
8
8
  export {
9
9
  n as L
10
10
  };
11
- //# sourceMappingURL=Link-PQmsc2rv.js.map
11
+ //# sourceMappingURL=Link-4oN98LnE.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link-PQmsc2rv.js","sources":["../src/button/Link.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Button, type ButtonProps } from \"@/button/Button\";\nimport { type Text } from \"@/text\";\n\n/** Props for the {@link Link} component. */\nexport interface LinkProps<L extends Text.Level = \"h1\">\n extends ButtonProps,\n Pick<Text.LinkProps<L>, \"href\" | \"target\"> {}\n/**\n * Use.Link renders a button that looks like a link and redirects to the given href\n * when clicked.\n *\n * @param props - Props for the component. Identical to the props for the Use component,\n * excluding 'variant', and adding the following:\n * @param props.href - The URL to redirect to when the button is clicked.\n * @param props.target - The target of the link. Defaults to \"_self\".\n */\n\nexport const Link = <L extends Text.Level = \"h1\">({\n href,\n target,\n ...props\n}: LinkProps<L>): ReactElement => {\n // @ts-expect-error\n return <Button<\"a\"> el=\"a\" href={href} {...props} />;\n};\n"],"names":["Link","href","target","props","Button"],"mappings":";;AA4BO,MAAMA,IAAO,CAA8B;AAAA,EAChD,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,GAAGC;AACL,4BAEUC,GAAY,EAAA,IAAG,KAAI,MAAAH,GAAa,GAAGE,EAAO,CAAA;"}
1
+ {"version":3,"file":"Link-4oN98LnE.js","sources":["../src/button/Link.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Button, type ButtonProps } from \"@/button/Button\";\nimport { type Text } from \"@/text\";\n\n/** Props for the {@link Link} component. */\nexport interface LinkProps<L extends Text.Level = \"h1\">\n extends ButtonProps,\n Pick<Text.LinkProps<L>, \"href\" | \"target\"> {}\n/**\n * Use.Link renders a button that looks like a link and redirects to the given href\n * when clicked.\n *\n * @param props - Props for the component. Identical to the props for the Use component,\n * excluding 'variant', and adding the following:\n * @param props.href - The URL to redirect to when the button is clicked.\n * @param props.target - The target of the link. Defaults to \"_self\".\n */\n\nexport const Link = <L extends Text.Level = \"h1\">({\n href,\n target,\n ...props\n}: LinkProps<L>): ReactElement => {\n // @ts-expect-error\n return <Button<\"a\"> el=\"a\" href={href} {...props} />;\n};\n"],"names":["Link","href","target","props","Button"],"mappings":";;AA4BO,MAAMA,IAAO,CAA8B;AAAA,EAChD,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,GAAGC;AACL,4BAEUC,GAAY,EAAA,IAAG,KAAI,MAAAH,GAAa,GAAGE,EAAO,CAAA;"}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./jsx-runtime-evvPGacs.cjs"),r=require("./Toggle-wVZJoVtX.cjs"),s=({href:t,target:i,...e})=>n.jsxRuntimeExports.jsx(r.Button,{el:"a",href:t,...e});exports.Link=s;
2
- //# sourceMappingURL=Link-z0ioMNDX.cjs.map
1
+ "use strict";const n=require("./jsx-runtime-evvPGacs.cjs"),r=require("./Toggle-qW_TcIDh.cjs"),s=({href:t,target:i,...e})=>n.jsxRuntimeExports.jsx(r.Button,{el:"a",href:t,...e});exports.Link=s;
2
+ //# sourceMappingURL=Link-5t5MufKE.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link-z0ioMNDX.cjs","sources":["../src/button/Link.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Button, type ButtonProps } from \"@/button/Button\";\nimport { type Text } from \"@/text\";\n\n/** Props for the {@link Link} component. */\nexport interface LinkProps<L extends Text.Level = \"h1\">\n extends ButtonProps,\n Pick<Text.LinkProps<L>, \"href\" | \"target\"> {}\n/**\n * Use.Link renders a button that looks like a link and redirects to the given href\n * when clicked.\n *\n * @param props - Props for the component. Identical to the props for the Use component,\n * excluding 'variant', and adding the following:\n * @param props.href - The URL to redirect to when the button is clicked.\n * @param props.target - The target of the link. Defaults to \"_self\".\n */\n\nexport const Link = <L extends Text.Level = \"h1\">({\n href,\n target,\n ...props\n}: LinkProps<L>): ReactElement => {\n // @ts-expect-error\n return <Button<\"a\"> el=\"a\" href={href} {...props} />;\n};\n"],"names":["Link","href","target","props","Button"],"mappings":"8FA4BaA,EAAO,CAA8B,CAChD,KAAAC,EACA,OAAAC,EACA,GAAGC,CACL,4BAEUC,EAAY,OAAA,CAAA,GAAG,IAAI,KAAAH,EAAa,GAAGE,CAAO,CAAA"}
1
+ {"version":3,"file":"Link-5t5MufKE.cjs","sources":["../src/button/Link.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Button, type ButtonProps } from \"@/button/Button\";\nimport { type Text } from \"@/text\";\n\n/** Props for the {@link Link} component. */\nexport interface LinkProps<L extends Text.Level = \"h1\">\n extends ButtonProps,\n Pick<Text.LinkProps<L>, \"href\" | \"target\"> {}\n/**\n * Use.Link renders a button that looks like a link and redirects to the given href\n * when clicked.\n *\n * @param props - Props for the component. Identical to the props for the Use component,\n * excluding 'variant', and adding the following:\n * @param props.href - The URL to redirect to when the button is clicked.\n * @param props.target - The target of the link. Defaults to \"_self\".\n */\n\nexport const Link = <L extends Text.Level = \"h1\">({\n href,\n target,\n ...props\n}: LinkProps<L>): ReactElement => {\n // @ts-expect-error\n return <Button<\"a\"> el=\"a\" href={href} {...props} />;\n};\n"],"names":["Link","href","target","props","Button"],"mappings":"8FA4BaA,EAAO,CAA8B,CAChD,KAAAC,EACA,OAAAC,EACA,GAAGC,CACL,4BAEUC,EAAY,OAAA,CAAA,GAAG,IAAI,KAAAH,EAAa,GAAGE,CAAO,CAAA"}