|
811 | 811 | }, |
812 | 812 | "defaultValue": { |
813 | 813 | "func": false, |
814 | | - "value": "1" |
| 814 | + "value": "5" |
815 | 815 | } |
816 | 816 | }, |
817 | 817 | { |
|
822 | 822 | }, |
823 | 823 | "defaultValue": { |
824 | 824 | "func": false, |
825 | | - "value": "false" |
| 825 | + "value": "true" |
826 | 826 | } |
827 | 827 | } |
828 | 828 | ], |
|
1144 | 1144 | "func": false, |
1145 | 1145 | "value": "false" |
1146 | 1146 | } |
| 1147 | + }, |
| 1148 | + { |
| 1149 | + "name": "ghost", |
| 1150 | + "description": "Especifica se o componente deve ser exibido na sua versão ghost.", |
| 1151 | + "type": { |
| 1152 | + "name": "boolean" |
| 1153 | + }, |
| 1154 | + "defaultValue": { |
| 1155 | + "func": false, |
| 1156 | + "value": "false" |
| 1157 | + } |
1147 | 1158 | } |
1148 | 1159 | ], |
1149 | 1160 | "events": [ |
|
1410 | 1421 | "func": false, |
1411 | 1422 | "value": "false" |
1412 | 1423 | } |
| 1424 | + }, |
| 1425 | + { |
| 1426 | + "name": "ghost", |
| 1427 | + "description": "Especifica se o componente deve ser exibido na sua versão ghost.", |
| 1428 | + "type": { |
| 1429 | + "name": "boolean" |
| 1430 | + }, |
| 1431 | + "defaultValue": { |
| 1432 | + "func": false, |
| 1433 | + "value": "false" |
| 1434 | + } |
1413 | 1435 | } |
1414 | 1436 | ], |
1415 | 1437 | "slots": [ |
|
1637 | 1659 | ] |
1638 | 1660 | }, |
1639 | 1661 | "CdsButton": { |
1640 | | - "displayName": "CdsButton", |
| 1662 | + "name": "CdsButton", |
1641 | 1663 | "exportName": "default", |
| 1664 | + "displayName": "Button", |
1642 | 1665 | "description": "", |
1643 | 1666 | "tags": {}, |
1644 | 1667 | "props": [ |
|
1740 | 1763 | }, |
1741 | 1764 | { |
1742 | 1765 | "name": "loading", |
1743 | | - "description": "Especifica se a versão do Botão é a secundária.", |
| 1766 | + "description": "Especifica se o botão deve mostrar spinner de carregamento.\nCaso o botão seja do tipo ghost ou secondary a variante do spinner é a mesma passada na prop variant.", |
1744 | 1767 | "type": { |
1745 | 1768 | "name": "boolean" |
1746 | 1769 | }, |
|
2876 | 2899 | "func": false, |
2877 | 2900 | "value": "[]" |
2878 | 2901 | } |
| 2902 | + }, |
| 2903 | + { |
| 2904 | + "name": "state", |
| 2905 | + "description": "Especifica o estado do TextInput. As opções são 'default', 'valid', 'loading' e 'invalid'.", |
| 2906 | + "tags": {}, |
| 2907 | + "values": [ |
| 2908 | + "default", |
| 2909 | + "valid", |
| 2910 | + "loading", |
| 2911 | + "invalid" |
| 2912 | + ], |
| 2913 | + "type": { |
| 2914 | + "name": "string" |
| 2915 | + }, |
| 2916 | + "defaultValue": { |
| 2917 | + "func": false, |
| 2918 | + "value": "'default'" |
| 2919 | + } |
| 2920 | + }, |
| 2921 | + { |
| 2922 | + "name": "errorMessage", |
| 2923 | + "description": "Especifica a mensagem de erro, que será exibida caso o estado seja inválido", |
| 2924 | + "type": { |
| 2925 | + "name": "string" |
| 2926 | + }, |
| 2927 | + "defaultValue": { |
| 2928 | + "func": false, |
| 2929 | + "value": "'Valor inválido'" |
| 2930 | + } |
2879 | 2931 | } |
2880 | 2932 | ], |
2881 | 2933 | "events": [ |
|
4323 | 4375 | ] |
4324 | 4376 | }, |
4325 | 4377 | "CdsDropdownButton": { |
4326 | | - "displayName": "CdsDropdownButton", |
| 4378 | + "name": "CdsDropdownButton", |
4327 | 4379 | "exportName": "default", |
| 4380 | + "displayName": "DropdownButton", |
4328 | 4381 | "description": "", |
4329 | 4382 | "tags": {}, |
4330 | 4383 | "props": [ |
|
4424 | 4477 | "md", |
4425 | 4478 | "lg" |
4426 | 4479 | ] |
4427 | | - } |
4428 | | - ], |
4429 | | - "events": [ |
| 4480 | + }, |
4430 | 4481 | { |
4431 | | - "name": "click", |
4432 | | - "description": "Evento que indica que o DropdownButton foi clicado", |
| 4482 | + "name": "disabled", |
| 4483 | + "description": "Desabilita o input.", |
4433 | 4484 | "type": { |
4434 | | - "names": [ |
4435 | | - "Event" |
4436 | | - ] |
| 4485 | + "name": "boolean" |
| 4486 | + }, |
| 4487 | + "defaultValue": { |
| 4488 | + "func": false, |
| 4489 | + "value": "false" |
4437 | 4490 | } |
4438 | 4491 | }, |
4439 | 4492 | { |
4440 | | - "name": "action-click", |
| 4493 | + "name": "tooltipText", |
| 4494 | + "description": "Texto a ser exibido como tooltip com o hover do DropdownButton quando a prop disabled estiver ativa.", |
4441 | 4495 | "type": { |
4442 | | - "names": [ |
4443 | | - "undefined" |
4444 | | - ] |
| 4496 | + "name": "string" |
| 4497 | + }, |
| 4498 | + "defaultValue": { |
| 4499 | + "func": false, |
| 4500 | + "value": "null" |
4445 | 4501 | } |
4446 | 4502 | } |
4447 | 4503 | ], |
| 4504 | + "events": [ |
| 4505 | + { |
| 4506 | + "name": "button-click" |
| 4507 | + }, |
| 4508 | + { |
| 4509 | + "name": "action-click" |
| 4510 | + } |
| 4511 | + ], |
4448 | 4512 | "sourceFiles": [ |
4449 | 4513 | "src/components/DropdownButton.vue" |
4450 | 4514 | ] |
|
8390 | 8454 | }, |
8391 | 8455 | "defaultValue": { |
8392 | 8456 | "func": false, |
8393 | | - "value": "'https://cuida.framer.wiki/'" |
| 8457 | + "value": "null" |
8394 | 8458 | } |
8395 | 8459 | }, |
8396 | 8460 | { |
|
10730 | 10794 | "value": "false" |
10731 | 10795 | } |
10732 | 10796 | }, |
| 10797 | + { |
| 10798 | + "name": "deepSearch", |
| 10799 | + "description": "Indica se a busca deve levar em consideração argumentos compostos.\nSó tem efeito se a prop `searchable` for `true`.", |
| 10800 | + "type": { |
| 10801 | + "name": "boolean" |
| 10802 | + }, |
| 10803 | + "required": false, |
| 10804 | + "defaultValue": { |
| 10805 | + "func": false, |
| 10806 | + "value": "false" |
| 10807 | + } |
| 10808 | + }, |
10733 | 10809 | { |
10734 | 10810 | "name": "width", |
10735 | 10811 | "tags": { |
|
10927 | 11003 | "func": false, |
10928 | 11004 | "value": "false" |
10929 | 11005 | } |
| 11006 | + }, |
| 11007 | + { |
| 11008 | + "name": "ghost", |
| 11009 | + "description": "Especifica se o componente deve ser exibido na sua versão ghost.", |
| 11010 | + "type": { |
| 11011 | + "name": "boolean" |
| 11012 | + }, |
| 11013 | + "defaultValue": { |
| 11014 | + "func": false, |
| 11015 | + "value": "false" |
| 11016 | + } |
10930 | 11017 | } |
10931 | 11018 | ], |
10932 | 11019 | "slots": [ |
|
12673 | 12760 | "func": false, |
12674 | 12761 | "value": "false" |
12675 | 12762 | } |
| 12763 | + }, |
| 12764 | + { |
| 12765 | + "name": "loading", |
| 12766 | + "description": "Ativa o estado de carregamento do componente, exibindo um Skeleton para a tabela.", |
| 12767 | + "type": { |
| 12768 | + "name": "boolean" |
| 12769 | + }, |
| 12770 | + "defaultValue": { |
| 12771 | + "func": false, |
| 12772 | + "value": "false" |
| 12773 | + } |
12676 | 12774 | } |
12677 | 12775 | ], |
12678 | 12776 | "events": [ |
|
13354 | 13452 | }, |
13355 | 13453 | "defaultValue": { |
13356 | 13454 | "func": false, |
13357 | | - "value": "'https://cuida.framer.wiki/'" |
| 13455 | + "value": "null" |
13358 | 13456 | } |
13359 | 13457 | }, |
13360 | 13458 | { |
|
13442 | 13540 | } |
13443 | 13541 | } |
13444 | 13542 | ], |
| 13543 | + "slots": [ |
| 13544 | + { |
| 13545 | + "name": "label" |
| 13546 | + } |
| 13547 | + ], |
13445 | 13548 | "sourceFiles": [ |
13446 | 13549 | "src/components/TextInput.vue" |
13447 | 13550 | ] |
|
14643 | 14746 | "func": false, |
14644 | 14747 | "value": "''" |
14645 | 14748 | } |
| 14749 | + }, |
| 14750 | + { |
| 14751 | + "name": "year", |
| 14752 | + "type": { |
| 14753 | + "name": "number" |
| 14754 | + }, |
| 14755 | + "defaultValue": { |
| 14756 | + "func": false, |
| 14757 | + "value": "new Date().getFullYear()" |
| 14758 | + } |
14646 | 14759 | } |
14647 | 14760 | ], |
14648 | 14761 | "events": [ |
|
14681 | 14794 | "func": false, |
14682 | 14795 | "value": "''" |
14683 | 14796 | } |
| 14797 | + }, |
| 14798 | + { |
| 14799 | + "name": "minDate", |
| 14800 | + "type": { |
| 14801 | + "name": "string" |
| 14802 | + }, |
| 14803 | + "defaultValue": { |
| 14804 | + "func": false, |
| 14805 | + "value": "''" |
| 14806 | + } |
| 14807 | + }, |
| 14808 | + { |
| 14809 | + "name": "maxDate", |
| 14810 | + "type": { |
| 14811 | + "name": "string" |
| 14812 | + }, |
| 14813 | + "defaultValue": { |
| 14814 | + "func": false, |
| 14815 | + "value": "''" |
| 14816 | + } |
14684 | 14817 | } |
14685 | 14818 | ], |
14686 | 14819 | "events": [ |
|
0 commit comments