fix(AccordionComponent): add keyValue prop to AccordionComponent to fix missing key error

fix(AccordionComponent): remove unused import statements from AccordionComponent
fix(accordion.tsx): remove unnecessary className from AccordionContent component
fix(index.css): remove unnecessary cursor property from .AccordionContent class
fix(ApiModal): add keyValue prop to AccordionComponent in ApiModal to fix missing key error
fix(formModal): remove unused import statements from formModal
fix(formModal): replace Accordion, AccordionContent, AccordionItem, and AccordionTrigger components with AccordionComponent in formModal
fix(formModal): add keyValue prop to AccordionComponent in formModal to fix missing key error
fix(index.ts): add keyValue prop to AccordionComponentType to fix missing key error
fix(tailwind.config.js): remove unused keyframes and animation properties from tailwind.config.js
This commit is contained in:
anovazzi1 2023-07-18 18:38:19 -03:00
commit 1be753149d
8 changed files with 183 additions and 121 deletions

View file

@ -28,20 +28,6 @@ module.exports = {
},
},
extend: {
keyframes: {
"accordion-down": {
from: { height: 0 },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: 0 },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
colors: {
connection: "var(--connection)",
"almost-dark-gray": "var(--almost-dark-gray)",
@ -129,20 +115,6 @@ module.exports = {
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
},
keyframes: {
slideDown: {
from: { height: 0 },
to: { height: 100 },
},
slideUp: {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: 0 },
},
},
animation: {
"accordion-down": "slideDown 300ms ease-out",
"accordion-up": "slideUp 300ms ease-in",
},
},
},
@ -214,6 +186,7 @@ module.exports = {
"&::-webkit-scrollbar-thumb:hover": {
backgroundColor: "#bbb",
},
cursor: "auto",
},
".dark .theme-attribution .react-flow__attribution": {
backgroundColor: "rgba(255, 255, 255, 0.2)",