Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file renaming, removed some files, changes to types, add variant to inputs #313

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kjetil-hoel
Copy link

Dette blir første runde med endringer siden jeg ikke får lov til å bruke så mye tid på dette foreløpig. Jeg er klar over at dette har breaket disse page-templatene deres (pga PageContainer ikke lenger eksisterer) - det overlever vi. Om dere vil se at ting fortsatt fungerer sånn tålig greit så er det fint. Om dere ikke vil bruke tid på det så er det også greit, regner med jeg merger dette inn ila noen dager.

Det er fortsatt ganske mye jobb som gjenstår her, vanskelig å si når jeg gjør noe mer med dette, men jeg har lyst til å kunne installere denne pakken i våre applikasjoner istedenfor å ha det her så forhåpentligvis ikke så altfor lenge til..

@kjetil-hoel
Copy link
Author

Failer pga tester, ikke så rart. Fikser det før merge.

cardWidth?: string | (number | string)[];

};
import { CardProps } from 'Types';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det som endres sammen, bør ligge sammen. Med mindre CardProps brukes noen andre steder, er det ikke hensiktsmessig å flytte det ut av denne fila. Det skaper lenger avstand

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jeg syns det er fint at vi er konsekvente så i så fall så bør vi flytte typen inn til komponentens egen fil, men det kan vi jo ikke gjøre for alle. Syns det koster ekstremt lite å ctrl klikke på typen for å komme rett til definisjonen uansett hvor den ligger..

@github-actions
Copy link

Code coverage

Filename Statements Branches Functions Lines
src/Icons/ErrorRounded.tsx 50% 100% 0% 50%
src/Icons/ErrorRoundedWarning.tsx 50% 100% 0% 50%
src/Icons/InfoRounded.tsx 50% 100% 0% 50%
src/Icons/CheckCircleRounded.tsx 50% 100% 0% 50%
src/Icons/Warning.tsx 100% 100% 100% 100%
src/Icons/PriorityHigh.tsx 0% 100% 0% 0%
src/Icons/PriorityHighRounded.tsx 50% 100% 0% 50%
src/Icons/CheckRounded.tsx 100% 100% 100% 100%
src/Icons/UploadIcon.tsx 50% 100% 0% 50%
src/Icons/UploadDeleteIcon.tsx 50% 100% 0% 50%
src/Icons/UploadIconDisabled.tsx 50% 100% 0% 50%
src/Icons/UploadIconHover.tsx 50% 100% 0% 50%
src/Icons/LinkIcon.tsx 50% 100% 0% 50%
src/Icons/EditIcon.tsx 100% 100% 100% 100%
src/Icons/DeleteIcon.tsx 50% 100% 0% 50%
src/Icons/DeleteButtonIcon.tsx 0% 100% 0% 0%
src/Icons/CardIcons.tsx 56.67% 100% 7.14% 56.67%
src/Icons/index.tsx 100% 100% 100% 100%
src/Components/Navigation/HorizontalStepper/HorizontalStepper.tsx 76.92% 83.33% 66.67% 81.82%
src/Styles/Theme.ts 100% 100% 100% 100%
src/Styles/Components/Text.ts 100% 100% 100% 100%
src/Styles/Components/Heading.ts 100% 100% 100% 100%
src/Styles/Components/Button.ts 100% 100% 100% 100%
src/Styles/Components/IconButton.ts 100% 100% 100% 100%
src/Styles/Components/Card.ts 100% 100% 100% 100%
src/Styles/Components/Tabs.tsx 100% 100% 100% 100%
src/Styles/Components/Checkbox.ts 100% 100% 100% 100%
src/Styles/Components/Radio.tsx 100% 100% 100% 100%
src/Styles/Components/Steps.ts 100% 100% 100% 100%
src/Styles/Components/Input.ts 100% 100% 100% 100%
src/Styles/Components/Textarea.ts 100% 100% 100% 100%
src/Styles/Components/Table.ts 100% 100% 100% 100%
src/Styles/Components/FileInput.ts 100% 100% 100% 100%
src/Styles/Components/index.ts 100% 100% 100% 100%
src/Styles/index.ts 100% 100% 100% 100%
src/Components/Navigation/VerticalStepper/VerticalStepper.tsx 60% 72.22% 50% 61.11%
src/SharedTypes/LibPath.ts 100% 100% 100% 100%
src/SharedTypes/SharedComponents.ts 100% 100% 100% 100%
src/SharedTypes/index.ts 100% 100% 100% 100%
src/Components/Feedback/Alert/Alert.tsx 100% 68.75% 100% 100%
src/Components/Feedback/Alert/index.ts 100% 100% 100% 100%
src/Components/Feedback/index.ts 100% 100% 100% 100%
src/Components/Disclosure/Accordion/Accordion.tsx 62.5% 25% 66.67% 62.5%
src/Components/Disclosure/Accordion/index.ts 100% 100% 100% 100%
src/Components/Disclosure/Tabs/Tabs.tsx 83.33% 50% 75% 83.33%
src/Components/Disclosure/Tabs/index.ts 100% 100% 100% 100%
src/Components/Disclosure/index.ts 100% 100% 100% 100%
src/Components/Cards/Card/Card.tsx 100% 64.29% 100% 100%
src/Components/Cards/Card/index.ts 100% 100% 100% 100%
src/Components/Cards/index.ts 100% 100% 100% 100%
src/Components/Form/BaseInput/BaseInput.tsx 100% 100% 100% 100%
src/Components/Form/BaseInput/index.ts 100% 100% 100% 100%
src/Components/Form/FileInput/FileInput.tsx 33.33% 19.15% 23.08% 33.33%
src/Components/Form/FileInput/index.ts 100% 100% 100% 100%
src/Components/Form/NumberInput/index.ts 100% 100% 100% 100%
src/Components/Form/TextAreaInput/TextAreaInput.tsx 100% 100% 100% 100%
src/Components/Form/TextAreaInput/index.ts 100% 100% 100% 100%
src/Components/Form/TextInput/TextInput.tsx 100% 100% 100% 100%
src/Components/Form/TextInput/index.ts 100% 100% 100% 100%
src/Components/Form/Checkbox/Checkbox.tsx 100% 60% 100% 100%
src/Components/Form/Checkbox/index.ts 100% 100% 100% 100%
src/Components/Form/Radio/Radio.tsx 100% 33.33% 100% 100%
src/Components/Form/Radio/index.ts 100% 100% 100% 100%
src/Components/Form/Select/Select.tsx 53.85% 66.67% 25% 53.85%
src/Components/Form/Select/index.ts 100% 100% 100% 100%
src/Components/Form/DatePicker/Datepicker.tsx 58.33% 100% 33.33% 58.33%
src/Components/Form/DatePicker/index.tsx 100% 100% 100% 100%
src/Components/Form/MultiSelect/MultiSelect.tsx 41.67% 36.36% 15.79% 41.67%
src/Components/Form/MultiSelect/index.ts 100% 100% 100% 100%
src/Components/Form/RichTextAreaInput/RichTextAreaInput.tsx 70% 33.33% 50% 70%
src/Components/Form/RichTextAreaInput/index.ts 100% 100% 100% 100%
src/Components/Form/index.ts 100% 100% 100% 100%
src/Components/Overlay/AlertDialog/AlertDialog.tsx 100% 100% 100% 100%
src/Components/Overlay/AlertDialog/index.ts 100% 100% 100% 100%
src/Components/Overlay/DeleteModal/DeleteModal.tsx 83.33% 50% 66.67% 83.33%
src/Components/Overlay/DeleteModal/index.ts 100% 100% 100% 100%
src/Components/Overlay/Modal/Modal.tsx 100% 66.67% 100% 100%
src/Components/Overlay/Modal/index.ts 100% 100% 100% 100%
src/Components/Overlay/index.ts 100% 100% 100% 100%
src/Components/Navigation/HorizontalStepper/index.ts 100% 100% 100% 100%
src/Components/Navigation/VerticalStepper/index.ts 100% 100% 100% 100%
src/Components/Navigation/index.ts 100% 100% 100% 100%
src/Components/index.ts 100% 100% 100% 100%
src/Components/Form/NumberInput/NumberInput.tsx 92.86% 87.5% 100% 92.86%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants