@selectwin/kit 0.1.229 → 0.1.231

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.
@@ -1,4 +1,4 @@
1
- export type SelectBrand = 'pipedrive' | 'rdstation' | 'hubspot' | 'meta' | 'tiktok' | 'googletagmanager' | 'googleanalytics' | 'snapchat' | 'whatsapp' | 'notazz' | 'enotas' | 'gmail' | 'yahoo' | 'apple';
1
+ export type SelectBrand = 'pipedrive' | 'rdstation' | 'hubspot' | 'meta' | 'tiktok' | 'googletagmanager' | 'googleanalytics' | 'snapchat' | 'whatsapp' | 'notazz' | 'enotas' | 'gmail' | 'yahoo' | 'apple' | 'shopify' | 'woocommerce' | 'hotmart' | 'kiwify' | 'ticto' | 'n8n' | 'selectwin' | 'claude' | 'chatgpt' | 'cursor' | 'vscode';
2
2
  /** O nome de cada marca — o rótulo para leitor de tela quando quem chama não passa outro. */
3
3
  export declare const SELECT_BRAND_NAMES: Record<SelectBrand, string>;
4
4
  export interface SelectBrandIconProps {
@@ -15,7 +15,18 @@ var n = {
15
15
  enotas: "eNotas",
16
16
  gmail: "Gmail",
17
17
  yahoo: "Yahoo",
18
- apple: "Apple"
18
+ apple: "Apple",
19
+ shopify: "Shopify",
20
+ woocommerce: "WooCommerce",
21
+ hotmart: "Hotmart",
22
+ kiwify: "Kiwify",
23
+ ticto: "Ticto",
24
+ n8n: "n8n",
25
+ selectwin: "Selectwin",
26
+ claude: "Claude",
27
+ chatgpt: "ChatGPT",
28
+ cursor: "Cursor",
29
+ vscode: "VS Code"
19
30
  };
20
31
  function r({ brand: n }) {
21
32
  switch (n) {
@@ -186,6 +197,116 @@ function r({ brand: n }) {
186
197
  d: "M18.164 7.93V5.084a2.198 2.198 0 001.267-1.978v-.067A2.2 2.2 0 0017.238.845h-.067a2.2 2.2 0 00-2.193 2.193v.067a2.196 2.196 0 001.252 1.973l.013.006v2.852a6.22 6.22 0 00-2.969 1.31l.012-.01-7.828-6.095A2.497 2.497 0 104.3 4.656l-.012.006 7.697 5.991a6.176 6.176 0 00-1.038 3.446c0 1.343.425 2.588 1.147 3.607l-.013-.02-2.342 2.343a1.968 1.968 0 00-.58-.095h-.002a2.033 2.033 0 102.033 2.033 1.978 1.978 0 00-.1-.595l.005.014 2.317-2.317a6.247 6.247 0 104.782-11.134l-.036-.005zm-.964 9.378a3.206 3.206 0 113.215-3.207v.002a3.206 3.206 0 01-3.207 3.207z"
187
198
  })
188
199
  });
200
+ case "shopify": return /* @__PURE__ */ e("svg", {
201
+ viewBox: "0 0 24 24",
202
+ "aria-hidden": "true",
203
+ children: /* @__PURE__ */ e("path", {
204
+ fill: "#7AB55C",
205
+ d: "M15.337 23.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914 21.104h.023zM11.71 11.305s-.81-.424-1.774-.424c-1.447 0-1.504.906-1.504 1.141 0 1.232 3.24 1.715 3.24 4.629 0 2.295-1.44 3.76-3.406 3.76-2.354 0-3.54-1.465-3.54-1.465l.646-2.086s1.245 1.066 2.28 1.066c.675 0 .975-.545.975-.932 0-1.619-2.654-1.694-2.654-4.359-.034-2.237 1.571-4.416 4.827-4.416 1.257 0 1.875.361 1.875.361l-.945 2.715-.02.01zM11.17.83c.136 0 .271.038.405.135-.984.465-2.064 1.639-2.508 3.992-.656.213-1.293.405-1.889.578C7.697 3.75 8.951.84 11.17.84V.83zm1.235 2.949v.135c-.754.232-1.583.484-2.394.736.466-1.777 1.333-2.645 2.085-2.971.193.501.309 1.176.309 2.1zm.539-2.234c.694.074 1.141.867 1.429 1.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992 1.289c-.02 0-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209 11.669 0 11.265 0 8.159 0 6.675 3.877 6.21 5.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83 14.063-1.83 14.063L15.009 24l.927-21.166z"
206
+ })
207
+ });
208
+ case "woocommerce": return /* @__PURE__ */ e("svg", {
209
+ viewBox: "0 0.73 44.28 24.54",
210
+ "aria-hidden": "true",
211
+ children: /* @__PURE__ */ e("path", {
212
+ fill: "#873EFF",
213
+ d: "M12.0825 25.2704C14.8471 25.2704 17.0657 23.9052 18.7381 20.7651L22.4584 13.8023V19.707C22.4584 23.1884 24.7111 25.2704 28.1925 25.2704C30.923 25.2704 32.9368 24.0758 34.8822 20.7651L43.4492 6.29339C45.3264 3.11918 43.9953 0.72998 39.8654 0.72998C37.6469 0.72998 36.2134 1.44674 34.9164 3.87006L29.0117 14.9628V5.09879C29.0117 2.1635 27.6123 0.72998 25.0183 0.72998C22.9704 0.72998 21.3321 1.6174 20.0692 4.07485L14.5058 14.9628V5.20119C14.5058 2.0611 13.2088 0.72998 10.0687 0.72998H3.65206C1.22873 0.72998 0 1.85632 0 3.93833C0 6.02034 1.29699 7.21494 3.65206 7.21494H6.28017V19.6729C6.28017 23.1884 8.63523 25.2704 12.0825 25.2704Z"
214
+ })
215
+ });
216
+ case "hotmart": return /* @__PURE__ */ e("svg", {
217
+ viewBox: "0 0 89.5 123.5",
218
+ "aria-hidden": "true",
219
+ children: /* @__PURE__ */ e("path", {
220
+ fill: "#F04E23",
221
+ d: "M89.4 78.8c.6-11-3.2-29-12.4-43.8-.2-.4-.7-.2-.6.2.6 2.2.8 6.3-2.8 6.1-6.3-.4.2-14-13.7-23.3-.3-.2-.6.1-.5.4 1 1.8 1.5 7.5-.7 9.4-1.8 1.5-5 1.1-8.1-4-5.2-8.5-3.2-17.5.3-23.2.3-.4-.1-.6-.4-.5-19.1 6.3-22.9 28.8-27 37-.7 1.4-1.3 2.1-2.4 2-3.5-.2-1-7.7.2-10.2.2-.4-.2-.6-.5-.3C11 38.8 2.1 56.3.4 72.5c.1-.4-.2 1.3-.3 2.6 0 .5-.1 1-.1 1.5v1.8c-.2 24.7 19.6 44.8 44.3 45.1 24.7.2 44.8-19.6 45.1-44.3zM44.5 99.5c-11.4-.1-20.6-9.4-20.5-20.9S33.4 58 44.9 58.1 65.5 67.5 65.4 79 56 99.6 44.5 99.5z"
222
+ })
223
+ });
224
+ case "kiwify": return /* @__PURE__ */ t("svg", {
225
+ viewBox: "0 0 512 512",
226
+ "aria-hidden": "true",
227
+ children: [
228
+ /* @__PURE__ */ e("path", {
229
+ fill: "#2DB56F",
230
+ d: "M453.9,368.3c-85.5,85.5-224.7,85.5-310.2,0c-85.5-85.5-85.5-224.7,0-310.2L92,6.4 C-22.2,120.6-22.2,305.8,92,420c114.2,114.2,299.4,114.2,413.6,0L453.9,368.3z"
231
+ }),
232
+ /* @__PURE__ */ e("path", {
233
+ fill: "#2DB56F",
234
+ d: "M373.5,359.8c10.1-5.2,10-25.7-0.3-46c-10.3-20.2-26.9-32.5-37-27.3c-10.1,5.2-10,25.7,0.3,46 C346.8,352.7,363.4,364.9,373.5,359.8z"
235
+ }),
236
+ /* @__PURE__ */ e("path", {
237
+ fill: "#2DB56F",
238
+ d: "M152.3,138.5c-5.2,10.1,7.1,26.7,27.3,37c20.2,10.3,40.8,10.5,46,0.3c5.2-10.1-7.1-26.7-27.3-37 C178,128.5,157.4,128.4,152.3,138.5z"
239
+ }),
240
+ /* @__PURE__ */ e("path", {
241
+ fill: "#2DB56F",
242
+ d: "M182.5,329.5c8,8,27.6,1.5,43.6-14.5c16.1-16.1,22.6-35.6,14.5-43.6c-8-8-27.6-1.5-43.6,14.5 C181,301.9,174.5,321.5,182.5,329.5z"
243
+ }),
244
+ /* @__PURE__ */ e("path", {
245
+ fill: "#2DB56F",
246
+ d: "M273.1,375.7c11.2,1.8,23.2-15,26.7-37.4c3.6-22.4-2.7-42.1-13.9-43.8c-11.2-1.8-23.2,15-26.7,37.4 C255.7,354.3,261.9,373.9,273.1,375.7z"
247
+ }),
248
+ /* @__PURE__ */ e("path", {
249
+ fill: "#2DB56F",
250
+ d: "M136.4,238.9c1.8,11.2,21.4,17.4,43.8,13.9c22.4-3.6,39.2-15.5,37.4-26.7c-1.8-11.2-21.4-17.4-43.8-13.9 C151.3,215.7,134.6,227.7,136.4,238.9z"
251
+ })
252
+ ]
253
+ });
254
+ case "ticto": return /* @__PURE__ */ e("svg", {
255
+ viewBox: "0 0 30.42 30",
256
+ "aria-hidden": "true",
257
+ children: /* @__PURE__ */ e("path", {
258
+ className: "select-brandicon__ink",
259
+ d: "M27.9096 0H2.48679C1.10981 0 0 1.09533 0 2.45436V27.5456C0 28.9047 1.10981 30 2.48679 30H27.9096C29.2866 30 30.3964 28.9047 30.3964 27.5456V2.45436C30.4169 1.09533 29.2866 0 27.9096 0ZM24.0664 10.6897H17.7363V24.4422H12.66V20.4057V15.5781C12.66 15.2536 12.8039 14.929 13.0299 14.7059L16.3183 11.4402C16.4005 11.359 16.4416 11.2373 16.4416 11.1359C16.4416 11.0142 16.4005 10.9128 16.3183 10.8316C16.2361 10.7505 16.1333 10.7099 16.01 10.7099H6.33001V6.93712H24.0664V10.6897Z"
260
+ })
261
+ });
262
+ case "n8n": return /* @__PURE__ */ e("svg", {
263
+ viewBox: "0 0 24 24",
264
+ "aria-hidden": "true",
265
+ children: /* @__PURE__ */ e("path", {
266
+ fill: "#EA4B71",
267
+ d: "M21.4737 5.6842c-1.1772 0-2.1663.8051-2.4468 1.8947h-2.8955c-1.235 0-2.289.893-2.492 2.111l-.1038.623a1.263 1.263 0 0 1-1.246 1.0555H11.289c-.2805-1.0896-1.2696-1.8947-2.4468-1.8947s-2.1663.8051-2.4467 1.8947H4.973c-.2805-1.0896-1.2696-1.8947-2.4468-1.8947C1.1311 9.4737 0 10.6047 0 12s1.131 2.5263 2.5263 2.5263c1.1772 0 2.1663-.8051 2.4468-1.8947h1.4223c.2804 1.0896 1.2696 1.8947 2.4467 1.8947 1.1772 0 2.1663-.8051 2.4468-1.8947h1.0008a1.263 1.263 0 0 1 1.2459 1.0555l.1038.623c.203 1.218 1.257 2.111 2.492 2.111h.3692c.2804 1.0895 1.2696 1.8947 2.4468 1.8947 1.3952 0 2.5263-1.131 2.5263-2.5263s-1.131-2.5263-2.5263-2.5263c-1.1772 0-2.1664.805-2.4468 1.8947h-.3692a1.263 1.263 0 0 1-1.246-1.0555l-.1037-.623A2.52 2.52 0 0 0 13.9607 12a2.52 2.52 0 0 0 .821-1.4794l.1038-.623a1.263 1.263 0 0 1 1.2459-1.0555h2.8955c.2805 1.0896 1.2696 1.8947 2.4468 1.8947 1.3952 0 2.5263-1.131 2.5263-2.5263s-1.131-2.5263-2.5263-2.5263m0 1.2632a1.263 1.263 0 0 1 1.2631 1.2631 1.263 1.263 0 0 1-1.2631 1.2632 1.263 1.263 0 0 1-1.2632-1.2632 1.263 1.263 0 0 1 1.2632-1.2631M2.5263 10.7368A1.263 1.263 0 0 1 3.7895 12a1.263 1.263 0 0 1-1.2632 1.2632A1.263 1.263 0 0 1 1.2632 12a1.263 1.263 0 0 1 1.2631-1.2632m6.3158 0A1.263 1.263 0 0 1 10.1053 12a1.263 1.263 0 0 1-1.2632 1.2632A1.263 1.263 0 0 1 7.579 12a1.263 1.263 0 0 1 1.2632-1.2632m10.1053 3.7895a1.263 1.263 0 0 1 1.2631 1.2632 1.263 1.263 0 0 1-1.2631 1.2631 1.263 1.263 0 0 1-1.2632-1.2631 1.263 1.263 0 0 1 1.2632-1.2632"
268
+ })
269
+ });
270
+ case "selectwin": return /* @__PURE__ */ e("svg", {
271
+ viewBox: "0 0 2000 2008",
272
+ "aria-hidden": "true",
273
+ children: /* @__PURE__ */ e("path", {
274
+ className: "select-brandicon__ink",
275
+ d: "M1022.9 1.64717C708.75 3.85948 703.588 3.85948 667.085 12.34C593.71 28.5636 527.709 56.2175 467.977 94.9329C451.753 105.626 436.636 115.581 434.424 117.793C432.211 119.637 418.937 130.699 405.295 141.76C358.099 180.107 299.473 253.85 268.869 312.477C220.936 405.394 201.394 494.623 205.45 604.133C209.137 702.212 232.366 783.33 280.668 867.398C333.026 958.102 416.725 1039.59 509.642 1090.1C556.469 1115.18 635.006 1142.46 684.783 1150.2C729.767 1157.58 776.594 1158.68 1002.62 1158.68L1253.35 1159.05L1207.26 1146.52C1152.32 1132.14 1139.78 1127.71 1104.75 1110.01C1011.47 1063.19 938.83 992.393 888.316 899.476C867.667 861.498 855.131 827.576 843.701 779.643C830.796 725.441 827.477 625.887 836.695 567.63C867.667 368.522 1014.42 210.342 1212.79 162.04C1234.17 156.878 1288.37 150.241 1288.37 152.822C1288.37 154.665 1284.69 156.509 1280.26 157.615C1264.78 161.671 1196.2 200.386 1172.97 218.085C1111.02 266.018 1060.51 325.75 1028.43 389.17C1016.26 412.768 993.4 469.551 993.4 475.45C993.4 478.769 1024.37 480.243 1121.71 482.087C1192.14 483.562 1254.82 485.037 1260.72 486.143C1266.99 486.88 1282.48 488.724 1295.75 490.199C1379.45 499.048 1474.95 528.177 1563.07 571.317C1754.07 664.971 1891.6 810.615 1983.04 1016.73C1986.73 1024.47 1991.52 1037.01 1994.47 1044.38C1998.89 1056.18 1999.63 980.225 1999.63 529.652L2000 1.64717L1945.8 0.90973C1824.86 -0.565143 1323.03 -0.196425 1022.9 1.64717Z M1024.74 683.036C1026.96 684.88 1039.12 692.254 1052.4 699.26C1132.41 742.769 1221.27 818.725 1274.73 889.887C1341.84 979.486 1391.99 1093.79 1406.37 1192.61C1408.58 1207.72 1411.16 1224.31 1412.27 1229.48C1417.8 1259.34 1417.8 1335.3 1412.27 1384.71C1400.47 1490.9 1371.71 1575.7 1315.66 1670.83C1266.99 1753.79 1179.61 1843.39 1094.8 1897.59C1009.63 1951.8 896.43 1992.35 797.982 2003.42C780.284 2005.26 851.815 2006.73 998.934 2007.1C1276.95 2007.47 1297.6 2005.63 1398.26 1972.08C1548.69 1921.93 1671.84 1821.27 1760.34 1675.99C1777.3 1648.71 1808.64 1577.18 1820.81 1538.46C1852.89 1436.7 1857.31 1302.11 1832.24 1192.61C1818.23 1132.5 1776.56 1032.95 1748.17 992.022C1698.76 921.228 1672.58 890.256 1625.75 848.591C1520.67 755.305 1392.36 699.26 1251.51 684.511C1208.37 679.718 1019.95 678.981 1024.74 683.036Z M14.8259 819.094C9.29513 847.117 3.39564 885.832 1.55205 905.005C-1.02898 938.19 -0.291539 1034.43 3.02693 1055.44C3.76436 1060.97 6.71411 1077.93 8.92642 1093.05C17.7757 1149.47 32.1557 1200.72 57.5972 1267.46C78.2454 1321.66 132.078 1411.62 174.112 1461.77C253.755 1556.9 327.868 1615.89 436.271 1670.1C488.629 1696.27 570.484 1725.4 611.781 1732.78C618.049 1733.88 626.898 1735.36 632.06 1736.46C675.2 1744.21 697.692 1746.42 755.581 1748.26C826.375 1750.48 865.459 1746.42 922.241 1730.57C1081.53 1686.32 1184.77 1566.12 1212.42 1391.71C1215 1375.49 1216.11 1361.11 1214.64 1360.37C1213.16 1359.27 1111.76 1358.53 989.348 1358.16C724.608 1357.42 695.849 1355.95 615.468 1337.88C395.343 1288.1 213.196 1151.31 99.9998 950.726C88.5696 930.447 78.9829 912.749 78.9829 911.274C78.9829 909.799 74.1895 898.369 68.2901 885.463C55.7536 858.547 36.5803 802.133 32.8931 782.222C31.4182 774.848 29.2059 768.58 27.731 768.58C26.2562 768.58 20.3567 791.44 14.8259 819.094Z"
276
+ })
277
+ });
278
+ case "claude": return /* @__PURE__ */ e("svg", {
279
+ viewBox: "0 0 24 24",
280
+ "aria-hidden": "true",
281
+ children: /* @__PURE__ */ e("path", {
282
+ fill: "#D97757",
283
+ d: "m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"
284
+ })
285
+ });
286
+ case "chatgpt": return /* @__PURE__ */ e("svg", {
287
+ viewBox: "0 0 24 24",
288
+ "aria-hidden": "true",
289
+ children: /* @__PURE__ */ e("path", {
290
+ className: "select-brandicon__ink",
291
+ d: "M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"
292
+ })
293
+ });
294
+ case "cursor": return /* @__PURE__ */ e("svg", {
295
+ viewBox: "0 0 24 24",
296
+ "aria-hidden": "true",
297
+ children: /* @__PURE__ */ e("path", {
298
+ className: "select-brandicon__ink",
299
+ d: "M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"
300
+ })
301
+ });
302
+ case "vscode": return /* @__PURE__ */ e("svg", {
303
+ viewBox: "0 0 24 24",
304
+ "aria-hidden": "true",
305
+ children: /* @__PURE__ */ e("path", {
306
+ fill: "#007ACC",
307
+ d: "M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z"
308
+ })
309
+ });
189
310
  }
190
311
  }
191
312
  function i({ brand: t, size: i = 32, label: a, bare: o = !1 }) {
@@ -16,7 +16,12 @@ type SelectCarouselOwnProps = {
16
16
  label?: string;
17
17
  /** De quanto em quanto tempo passa sozinho, em ms (padrão 7000). */
18
18
  interval?: number;
19
+ /**
20
+ * 0.1.230: o carrossel ocupa a largura de quem o contém (a coluna de uma grade), sem o teto de 20rem do destaque do
21
+ * cabeçalho.
22
+ */
23
+ fluid?: boolean;
19
24
  };
20
25
  export type SelectCarouselProps = SelectCarouselOwnProps & Omit<ComponentPropsWithoutRef<'section'>, keyof SelectCarouselOwnProps>;
21
- export declare function SelectCarousel({ slides, label, interval, className, ...rest }: SelectCarouselProps): import("react").JSX.Element | null;
26
+ export declare function SelectCarousel({ slides, label, interval, fluid, className, ...rest }: SelectCarouselProps): import("react").JSX.Element | null;
22
27
  export {};
@@ -7,56 +7,56 @@ import { jsx as f, jsxs as p } from "react/jsx-runtime";
7
7
  import { Link as m } from "react-router-dom";
8
8
  //#region src/SelectCarousel.tsx
9
9
  var h = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
10
- function g({ slides: g, label: _, interval: v = 7e3, className: y, ...b }) {
11
- let x = c().carousel, S = s(), C = g.length, [w, T] = d(0), [E, D] = d(!1), [O, k] = d(() => !h()), [A, j] = d(!1), M = u(null), N = Math.min(w, Math.max(0, C - 1)), P = O && !A && C > 1;
10
+ function g({ slides: g, label: _, interval: v = 7e3, fluid: y = !1, className: b, ...x }) {
11
+ let S = c().carousel, C = s(), w = g.length, [T, E] = d(0), [D, O] = d(!1), [k, A] = d(() => !h()), [j, M] = d(!1), N = u(null), P = Math.min(T, Math.max(0, w - 1)), F = k && !j && w > 1;
12
12
  l(() => {
13
- if (!P) return;
13
+ if (!F) return;
14
14
  let e = window.setTimeout(() => {
15
- D(!1), T((e) => (e + 1) % C);
15
+ O(!1), E((e) => (e + 1) % w);
16
16
  }, v);
17
17
  return () => window.clearTimeout(e);
18
18
  }, [
19
- P,
20
- C,
19
+ F,
21
20
  w,
21
+ T,
22
22
  v
23
23
  ]);
24
- let F = (e) => {
25
- D(e < N), T((e % C + C) % C);
26
- }, I = g[N];
27
- if (!I) return null;
28
- let L = e(I.to ?? I.href), R = L === void 0 ? null : I.to == null ? /* @__PURE__ */ f("a", {
29
- href: L,
24
+ let I = (e) => {
25
+ O(e < P), E((e % w + w) % w);
26
+ }, L = g[P];
27
+ if (!L) return null;
28
+ let R = e(L.to ?? L.href), z = R === void 0 ? null : L.to == null ? /* @__PURE__ */ f("a", {
29
+ href: R,
30
30
  className: "select-carousel__go",
31
- "aria-label": x.open(I.title),
31
+ "aria-label": S.open(L.title),
32
32
  children: /* @__PURE__ */ f(t, {})
33
33
  }) : /* @__PURE__ */ f(m, {
34
- to: L,
34
+ to: R,
35
35
  className: "select-carousel__go",
36
- "aria-label": x.open(I.title),
36
+ "aria-label": S.open(L.title),
37
37
  children: /* @__PURE__ */ f(t, {})
38
38
  });
39
39
  return /* @__PURE__ */ p("section", {
40
- ...b,
41
- className: `select-carousel${y ? " " + y : ""}`,
42
- "aria-roledescription": x.carousel,
43
- "aria-label": _ ?? x.label,
44
- onMouseEnter: () => j(!0),
45
- onMouseLeave: () => j(!1),
46
- onFocus: () => j(!0),
40
+ ...x,
41
+ className: `select-carousel${y ? " select-carousel--fluid" : ""}${b ? " " + b : ""}`,
42
+ "aria-roledescription": S.carousel,
43
+ "aria-label": _ ?? S.label,
44
+ onMouseEnter: () => M(!0),
45
+ onMouseLeave: () => M(!1),
46
+ onFocus: () => M(!0),
47
47
  onBlur: (e) => {
48
- e.currentTarget.contains(e.relatedTarget) || j(!1);
48
+ e.currentTarget.contains(e.relatedTarget) || M(!1);
49
49
  },
50
50
  onKeyDown: (e) => {
51
- C < 2 || e.key !== "ArrowRight" && e.key !== "ArrowLeft" || (e.preventDefault(), F(N + (e.key === "ArrowRight" ? 1 : -1)));
51
+ w < 2 || e.key !== "ArrowRight" && e.key !== "ArrowLeft" || (e.preventDefault(), I(P + (e.key === "ArrowRight" ? 1 : -1)));
52
52
  },
53
53
  onPointerDown: (e) => {
54
- e.pointerType !== "mouse" && (M.current = e.clientX);
54
+ e.pointerType !== "mouse" && (N.current = e.clientX);
55
55
  },
56
56
  onPointerUp: (e) => {
57
- if (M.current === null) return;
58
- let t = e.clientX - M.current;
59
- M.current = null, C > 1 && Math.abs(t) > 40 && F(N + (t < 0 ? 1 : -1));
57
+ if (N.current === null) return;
58
+ let t = e.clientX - N.current;
59
+ N.current = null, w > 1 && Math.abs(t) > 40 && I(P + (t < 0 ? 1 : -1));
60
60
  },
61
61
  children: [
62
62
  /* @__PURE__ */ f("span", {
@@ -71,30 +71,30 @@ function g({ slides: g, label: _, interval: v = 7e3, className: y, ...b }) {
71
71
  className: "select-carousel__card",
72
72
  children: [/* @__PURE__ */ f("div", {
73
73
  className: "select-carousel__slides",
74
- "aria-live": P ? "off" : "polite",
74
+ "aria-live": F ? "off" : "polite",
75
75
  children: /* @__PURE__ */ p("div", {
76
- className: `select-carousel__slide${E ? " is-back" : ""}`,
76
+ className: `select-carousel__slide${D ? " is-back" : ""}`,
77
77
  role: "group",
78
- "aria-roledescription": x.slide,
79
- "aria-label": x.position(o(N + 1, S), o(C, S)),
78
+ "aria-roledescription": S.slide,
79
+ "aria-label": S.position(o(P + 1, C), o(w, C)),
80
80
  children: [/* @__PURE__ */ p("span", {
81
81
  className: "select-carousel__head",
82
- children: [/* @__PURE__ */ f("span", { children: I.title }), R]
82
+ children: [/* @__PURE__ */ f("span", { children: L.title }), z]
83
83
  }), /* @__PURE__ */ f("span", {
84
84
  className: "select-carousel__text",
85
- children: I.text
85
+ children: L.text
86
86
  })]
87
- }, I.key)
88
- }), C > 1 && /* @__PURE__ */ p("div", {
87
+ }, L.key)
88
+ }), w > 1 && /* @__PURE__ */ p("div", {
89
89
  className: "select-carousel__nav",
90
90
  children: [/* @__PURE__ */ f("span", {
91
91
  className: "select-carousel__dots",
92
92
  children: g.map((e, t) => /* @__PURE__ */ f("button", {
93
93
  type: "button",
94
94
  className: "select-carousel__dot",
95
- "aria-label": `${o(t + 1, S)}: ${e.title}`,
96
- "aria-current": t === N ? "true" : void 0,
97
- onClick: () => F(t)
95
+ "aria-label": `${o(t + 1, C)}: ${e.title}`,
96
+ "aria-current": t === P ? "true" : void 0,
97
+ onClick: () => I(t)
98
98
  }, e.key))
99
99
  }), /* @__PURE__ */ p("span", {
100
100
  className: "select-carousel__ctrl",
@@ -102,22 +102,22 @@ function g({ slides: g, label: _, interval: v = 7e3, className: y, ...b }) {
102
102
  /* @__PURE__ */ f("button", {
103
103
  type: "button",
104
104
  className: "select-carousel__btn",
105
- "aria-label": x.previous,
106
- onClick: () => F(N - 1),
105
+ "aria-label": S.previous,
106
+ onClick: () => I(P - 1),
107
107
  children: /* @__PURE__ */ f(n, {})
108
108
  }),
109
109
  /* @__PURE__ */ f("button", {
110
110
  type: "button",
111
111
  className: "select-carousel__btn",
112
- "aria-label": O ? x.pause : x.play,
113
- onClick: () => k((e) => !e),
114
- children: f(O ? i : a, {})
112
+ "aria-label": k ? S.pause : S.play,
113
+ onClick: () => A((e) => !e),
114
+ children: f(k ? i : a, {})
115
115
  }),
116
116
  /* @__PURE__ */ f("button", {
117
117
  type: "button",
118
118
  className: "select-carousel__btn",
119
- "aria-label": x.next,
120
- onClick: () => F(N + 1),
119
+ "aria-label": S.next,
120
+ onClick: () => I(P + 1),
121
121
  children: /* @__PURE__ */ f(r, {})
122
122
  })
123
123
  ]
@@ -1,4 +1,4 @@
1
- import { ReactNode, ComponentPropsWithoutRef } from 'react';
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import { SelectDonutSegment } from './chartUtils';
3
3
  type SelectDonutOwnProps = {
4
4
  segments: SelectDonutSegment[];
@@ -11,6 +11,19 @@ type SelectDonutOwnProps = {
11
11
  gap?: number;
12
12
  /** Render a full pie (no center hole) instead of a ring. */
13
13
  pie?: boolean;
14
+ /**
15
+ * 0.1.230: o nome do gráfico para quem lê tela ("Como terminaram as 13.262 mensagens"). Com ele, o anel recebe o foco
16
+ * e as setas andam pelas fatias.
17
+ */
18
+ ariaLabel?: string;
19
+ /** 0.1.230: a parte de cada fatia, na legenda e na dica ("96,6%"). */
20
+ percent?: boolean;
21
+ /** 0.1.230: o texto da parte (o valor e o total). Padrão: a porcentagem no idioma do kit, com uma casa. */
22
+ formatShare?: (value: number, total: number) => string;
23
+ /** 0.1.230: o rótulo da linha da dica. Padrão: "Valor" (no idioma do kit). */
24
+ valueLabel?: ReactNode;
25
+ /** 0.1.230: `bottom` = a legenda embaixo da rosca, na largura toda. Padrão: ao lado, e embaixo quando não cabe. */
26
+ legendPosition?: 'auto' | 'bottom';
14
27
  };
15
28
  export type SelectDonutProps = SelectDonutOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectDonutOwnProps>;
16
29
  export declare const SelectDonut: import('react').ForwardRefExoticComponent<SelectDonutOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectDonutOwnProps> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,103 +1,147 @@
1
1
  /* empty css */
2
- import { chartColor as e, donutSegment as t, formatCompact as n, useMeasuredWidth as r } from "./chartUtils.js";
3
- import { ChartTooltip as i, useChartTooltip as a } from "./chartTip.js";
4
- import { forwardRef as o, useId as s, useRef as c } from "react";
5
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
2
+ import { selectIntlLocale as e, useSelectLocale as t, useSelectMessages as n } from "./SelectLocale.js";
3
+ import { chartColor as r, donutSegment as i, formatCompact as a, useMeasuredWidth as o } from "./chartUtils.js";
4
+ import { ChartTooltip as s } from "./chartTip.js";
5
+ import { forwardRef as c, useId as l, useRef as u, useState as d } from "react";
6
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
7
  //#region src/SelectDonut.tsx
7
- var d = o(function({ segments: o, size: d = 200, thickness: f = 26, format: p = n, centerLabel: m, legend: h = !0, gap: g = 2, pie: _ = !1, className: v, ...y }, b) {
8
- let x = a(), S = s(), C = c(null), w = r(C, d), T = o.reduce((e, t) => e + t.value, 0) || 1, E = w / 2, D = w / 2, O = w / 2 - 2, k = _ ? 0 : O - f, A = 0;
9
- return /* @__PURE__ */ u("div", {
10
- ref: b,
11
- ...y,
12
- className: `select-donut-wrap${v ? " " + v : ""}`,
8
+ function m(t, n, r) {
9
+ if (n <= 0) return "—";
10
+ let i = t / n * 100, a = (t) => t.toLocaleString(e(r), { maximumFractionDigits: 1 });
11
+ return t > 0 && i < .1 ? `<${a(.1)}%` : `${a(i)}%`;
12
+ }
13
+ var h = c(function({ segments: e, size: c = 200, thickness: h = 26, format: g = a, centerLabel: _, legend: v = !0, gap: y = 2, pie: b = !1, ariaLabel: x, percent: S = !1, formatShare: C, valueLabel: w, legendPosition: T = "auto", className: E, ...D }, O) {
14
+ let k = n(), A = t(), j = l(), M = u(null), [N, P] = d(null), F = o(M, c), I = e.reduce((e, t) => e + t.value, 0), L = I || 1, R = F / 2, z = F / 2, B = F / 2 - 2, V = b ? 0 : B - h, H = (e) => C ? C(e, I) : m(e, I, A), U = 0, W = e.map((e, t) => {
15
+ let n = U / L * 360;
16
+ return U += e.value, {
17
+ ...e,
18
+ index: t,
19
+ color: e.color ?? r(t),
20
+ start: n,
21
+ end: U / L * 360
22
+ };
23
+ }), G = W.filter((e) => e.value > 0), K = x != null && G.length > 0, q = N == null ? void 0 : W[N], J = q && q.value > 0 ? ((e) => {
24
+ let t = ((e.start + e.end) / 2 - 90) * Math.PI / 180, n = R + (B + 6) * Math.cos(t), r = z + (B + 6) * Math.sin(t), i = M.current;
25
+ return {
26
+ x: n + ((i == null ? void 0 : i.offsetLeft) ?? 0),
27
+ y: r + ((i == null ? void 0 : i.offsetTop) ?? 0),
28
+ place: r <= z ? "top" : "bottom",
29
+ title: e.label,
30
+ rows: [{
31
+ label: w ?? k.chart.value,
32
+ value: S ? `${g(e.value)} · ${H(e.value)}` : g(e.value),
33
+ color: e.color
34
+ }]
35
+ };
36
+ })(q) : null, Y = (e) => {
37
+ if (e.key === "Escape") {
38
+ P(null);
39
+ return;
40
+ }
41
+ let t = G.map((e) => e.index), n = N == null ? -1 : t.indexOf(N), r = {
42
+ ArrowRight: n + 1,
43
+ ArrowDown: n + 1,
44
+ ArrowLeft: n - 1,
45
+ ArrowUp: n - 1,
46
+ Home: 0,
47
+ End: t.length - 1
48
+ }[e.key];
49
+ r !== void 0 && (e.preventDefault(), P(t[Math.min(t.length - 1, Math.max(0, r))]));
50
+ };
51
+ return /* @__PURE__ */ p("div", {
52
+ ref: O,
53
+ ...D,
54
+ className: `select-donut-wrap${T === "bottom" ? " select-donut-wrap--bottom" : ""}${E ? " " + E : ""}`,
13
55
  children: [
14
- /* @__PURE__ */ u("div", {
15
- ref: C,
16
- className: "select-donut-ring",
56
+ /* @__PURE__ */ p("div", {
57
+ ref: M,
58
+ className: `select-donut-ring${q ? " has-active" : ""}`,
17
59
  style: {
18
- width: `${d / 16}rem`,
60
+ width: `${c / 16}rem`,
19
61
  aspectRatio: "1"
20
62
  },
21
- children: [/* @__PURE__ */ u("svg", {
22
- width: w,
23
- height: w,
24
- viewBox: `0 0 ${w} ${w}`,
63
+ ...K ? {
64
+ tabIndex: 0,
65
+ role: "img",
66
+ "aria-label": `${x}: ${G.map((e) => `${e.label} ${g(e.value)} (${H(e.value)})`).join(", ")}`,
67
+ onKeyDown: Y,
68
+ onFocus: () => P((e) => e ?? G[0].index),
69
+ onBlur: () => P(null)
70
+ } : {},
71
+ children: [/* @__PURE__ */ p("svg", {
72
+ width: F,
73
+ height: F,
74
+ viewBox: `0 0 ${F} ${F}`,
25
75
  className: "select-chart select-donut",
26
76
  "aria-hidden": "true",
27
- children: [/* @__PURE__ */ l("defs", { children: o.map((t, n) => {
28
- let r = t.color ?? e(n);
29
- return /* @__PURE__ */ u("linearGradient", {
30
- id: `${S}-s${n}`,
31
- gradientUnits: "userSpaceOnUse",
32
- x1: "0",
33
- y1: "0",
34
- x2: "0",
35
- y2: w,
36
- children: [/* @__PURE__ */ l("stop", {
37
- offset: "0%",
38
- stopColor: r,
39
- stopOpacity: 1
40
- }), /* @__PURE__ */ l("stop", {
41
- offset: "100%",
42
- stopColor: r,
43
- stopOpacity: .6
44
- })]
45
- }, n);
46
- }) }), o.map((n, r) => {
47
- let i = A / T * 360;
48
- A += n.value;
49
- let a = A / T * 360, o = n.color ?? e(r), s = a - i > g * 1.5 ? g / 2 : 0, c = i + s, u = Math.max(c + .01, a - s);
50
- return /* @__PURE__ */ l("path", {
51
- d: t(E, D, O, k, c, u),
52
- fill: `url(#${S}-s${r})`,
53
- className: "select-chart__seg",
54
- onMouseEnter: () => {
55
- let e = ((i + a) / 2 - 90) * Math.PI / 180, t = E + (O + 6) * Math.cos(e), r = D + (O + 6) * Math.sin(e);
56
- x.show({
57
- x: t,
58
- y: r,
59
- place: r <= D ? "top" : "bottom",
60
- title: n.label,
61
- rows: [{
62
- label: "Valor",
63
- value: p(n.value),
64
- color: o
65
- }]
66
- });
67
- },
68
- onMouseLeave: x.hide
69
- }, r);
77
+ children: [/* @__PURE__ */ f("defs", { children: W.map((e) => /* @__PURE__ */ p("linearGradient", {
78
+ id: `${j}-s${e.index}`,
79
+ gradientUnits: "userSpaceOnUse",
80
+ x1: "0",
81
+ y1: "0",
82
+ x2: "0",
83
+ y2: F,
84
+ children: [/* @__PURE__ */ f("stop", {
85
+ offset: "0%",
86
+ stopColor: e.color,
87
+ stopOpacity: 1
88
+ }), /* @__PURE__ */ f("stop", {
89
+ offset: "100%",
90
+ stopColor: e.color,
91
+ stopOpacity: .6
92
+ })]
93
+ }, e.index)) }), G.map((e) => {
94
+ let t = e.end - e.start > y * 1.5 ? y / 2 : 0, n = e.start + t, r = Math.max(n + .01, e.end - t);
95
+ return /* @__PURE__ */ f("path", {
96
+ d: i(R, z, B, V, n, r),
97
+ fill: `url(#${j}-s${e.index})`,
98
+ className: `select-chart__seg${N === e.index ? " is-on" : ""}`,
99
+ onMouseEnter: () => P(e.index),
100
+ onMouseLeave: () => P(null),
101
+ onPointerDown: () => P(e.index)
102
+ }, e.index);
70
103
  })]
71
- }), m != null && /* @__PURE__ */ l("div", {
104
+ }), _ != null && /* @__PURE__ */ f("div", {
72
105
  className: "select-donut__center",
73
- children: m
106
+ children: _
74
107
  })]
75
108
  }),
76
- h && /* @__PURE__ */ l("ul", {
109
+ v && /* @__PURE__ */ f("ul", {
77
110
  className: "select-donut__legend",
78
- children: o.map((t, n) => /* @__PURE__ */ u("li", {
79
- className: "select-donut__legitem",
111
+ children: W.map((e) => /* @__PURE__ */ p("li", {
112
+ className: `select-donut__legitem${q && N !== e.index ? " is-dim" : ""}`,
113
+ onMouseEnter: e.value > 0 ? () => P(e.index) : void 0,
114
+ onMouseLeave: e.value > 0 ? () => P(null) : void 0,
80
115
  children: [
81
- /* @__PURE__ */ l("span", {
116
+ /* @__PURE__ */ f("span", {
82
117
  className: "select-donut__dot",
83
- style: { background: t.color ?? e(n) }
118
+ style: { background: e.color }
84
119
  }),
85
- /* @__PURE__ */ l("span", {
120
+ /* @__PURE__ */ f("span", {
86
121
  className: "select-donut__leglabel",
87
- children: t.label
122
+ children: e.label
88
123
  }),
89
- /* @__PURE__ */ l("span", {
124
+ /* @__PURE__ */ f("span", {
90
125
  className: "select-donut__legval",
91
- children: p(t.value)
126
+ children: g(e.value)
127
+ }),
128
+ S && /* @__PURE__ */ f("span", {
129
+ className: "select-donut__legpct",
130
+ children: H(e.value)
92
131
  })
93
132
  ]
94
- }, n))
133
+ }, e.index))
134
+ }),
135
+ K && /* @__PURE__ */ f("span", {
136
+ className: "select-visually-hidden",
137
+ "aria-live": "polite",
138
+ children: q ? `${q.label}: ${g(q.value)} (${H(q.value)})` : ""
95
139
  }),
96
- /* @__PURE__ */ l(i, { tip: x.tip })
140
+ /* @__PURE__ */ f(s, { tip: J })
97
141
  ]
98
142
  });
99
143
  });
100
144
  //#endregion
101
- export { d as SelectDonut };
145
+ export { h as SelectDonut };
102
146
 
103
147
  //# sourceMappingURL=SelectDonut.js.map
@@ -1,10 +1,12 @@
1
1
  import { ReactNode } from 'react';
2
- export declare function SelectFormModal({ open, onClose, onSubmit, title, subtitle, children, submitLabel: submitLabelProp, cancelLabel: cancelLabelProp, submitting, submitDisabled, submitVariant, error, size, theme, }: {
2
+ export declare function SelectFormModal({ open, onClose, onSubmit, title, subtitle, description, children, submitLabel: submitLabelProp, cancelLabel: cancelLabelProp, submitting, submitDisabled, submitVariant, error, size, theme, }: {
3
3
  open: boolean;
4
4
  onClose: () => void;
5
5
  onSubmit: () => void;
6
6
  title: ReactNode;
7
7
  subtitle?: ReactNode;
8
+ /** 0.1.230: a descrição no começo do corpo (o lugar dela no modal novo; o `subtitle` fica na cabeça). */
9
+ description?: ReactNode;
8
10
  children: ReactNode;
9
11
  submitLabel?: string;
10
12
  cancelLabel?: string;