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

Develop chip #2337

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Develop chip #2337

wants to merge 5 commits into from

Conversation

pethel
Copy link
Contributor

@pethel pethel commented Oct 1, 2024

Har dialog med Sindre om feks dom ikonerna trenger en label eller noe. Det var noen kontrastissues men det kan vi jsutera eftervart. Jag har også freestylat onColoredBg
image

@import '@sb1/ffe-spinner/less/spinner';
@import '@sb1/ffe-tables/less/tables';
@import '@sb1/ffe-tabs/less/tabs';
@import '../packages/ffe-core/less/ffe';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

<Det blir mer riktigt slik.. grunden til att dom andre funker er fordi dom er i node_modules pga av component-overview

Copy link

github-actions bot commented Oct 1, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

@pethel pethel force-pushed the develop_chip branch 2 times, most recently from 578e6ca to 6c0d6b4 Compare October 1, 2024 13:15
Copy link

github-actions bot commented Oct 1, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

const closeOpen400Sm =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjAiPjxwYXRoIGQ9Im0zODktMzY5IDI5OS0yOTlxMTAuOTA5LTExIDI1LjQ1NS0xMVE3MjgtNjc5IDczOS02NjhxMTEgMTEgMTEgMjUuNTgyIDAgMTQuNTgzLTEwLjYwNyAyNS4xODhMNDE1LTI5MnEtMTAuOTA5IDExLTI1LjQ1NSAxMVEzNzUtMjgxIDM2NC0yOTJMMjIxLTQzNXEtMTEtMTEtMTEtMjUuNXQxMS0yNS41cTExLTExIDI1LjY2Ny0xMSAxNC42NjYgMCAyNS4zMzMgMTFsMTE3IDExN1oiLz48L3N2Zz4=';

const checkOpen400Sm =
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jag gjorde slik fordi vi vet ikke hvordna apparna laster svg ? att jest ikke liker svger.. .i så fall må vi finna det en måte att gjøra det på tvers av alla appar men det kan vi sikkert se på sedan. Det er ju en felles config.

isSelected?: boolean;
};

function ChipBaseWithForwardRef<As extends ElementType>(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jag lagde en ChipBase hvis vi skall lage flere typer Chip eller noen har annen har lust på den.

--border-radius: 24px;
--border-color: var(--ffe-v-chip-border-color);
--text-color: var(--ffe-v-chip-text-color);
--text-offset: 12px;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

12 er vell en multiple av 8 kanskje.. det var i skisserna iaf

Copy link

github-actions bot commented Oct 1, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

1 similar comment
Copy link

github-actions bot commented Oct 1, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

@tuva-odegard
Copy link
Contributor

tuva-odegard commented Oct 1, 2024

Hvordan kan vi sjekke at det fungerer på stagingsiden? Siden det ikke er laget eksempler fordi den er laget med storybook

@pethel
Copy link
Contributor Author

pethel commented Oct 1, 2024

Hvordan kan vi sjekke at det fungerer på stagingsiden? Siden det ikke er laget eksempler fordi den er laget med storybook

Jag synes kanske ikke det er vert den dobbeljobben? Kan man sjekke ut branchen? Så kan vi se på den stagingjobben og storybook noen annen gang? Det vore greit med en fil men blir ju en høg før alla states og farger man kan ha. Storybook shines her

@pethel pethel marked this pull request as ready for review October 1, 2024 13:30
@pethel pethel requested a review from a team as a code owner October 1, 2024 13:30
@pethel pethel requested a review from antidecaf October 1, 2024 14:17
@pethel pethel force-pushed the develop_chip branch 2 times, most recently from 5fbe993 to 2ce4b37 Compare October 1, 2024 18:27
@pethel
Copy link
Contributor Author

pethel commented Oct 1, 2024

Jag gjorde noen justeringer. rigtIcon og leftIcon og vi tilater kun en per ganger.. det før att i framtiden kunna tillåta båda utan BREAKING CHANGE. chips i andre designsystemer har 2 ikoner :)

Copy link

github-actions bot commented Oct 1, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

Copy link

github-actions bot commented Oct 3, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

Copy link

github-actions bot commented Oct 3, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

@tuva-odegard
Copy link
Contributor

Ser ut som at den får feil border på selectable/pressed state
image
image

@antidecaf
Copy link
Contributor

transition ser ikke ut til å funke.
image

Propertyene må defineres hver for seg og kommasepareres på denne måten i stedet:
image

Det hadde også vært bra med cursor: pointer;.ffe-chip for å indikere at den er klikkbar.

@pethel
Copy link
Contributor Author

pethel commented Oct 3, 2024

transition ser ikke ut til å funke. image

Propertyene må defineres hver for seg og kommasepareres på denne måten i stedet: image

Det hadde også vært bra med cursor: pointer;.ffe-chip for å indikere at den er klikkbar.

Skall hade all først men det går ikke fordi da hopper allt omkring fordi griden også animaeras.

Copy link

github-actions bot commented Oct 3, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

@pethel
Copy link
Contributor Author

pethel commented Oct 3, 2024

Ser ut som at den får feil border på selectable/pressed state image image

Tatt en ny runda med borders nå. Gott opbservet

@pethel
Copy link
Contributor Author

pethel commented Oct 3, 2024

transition ser ikke ut til å funke. image

Propertyene må defineres hver for seg og kommasepareres på denne måten i stedet: image

Det hadde også vært bra med cursor: pointer;.ffe-chip for å indikere at den er klikkbar.

Lagt på cursor: pointer efter avklaring med UX og tatt en nya runda med transitions

Copy link

github-actions bot commented Oct 3, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

Copy link

github-actions bot commented Oct 3, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

@tuva-odegard
Copy link
Contributor

Lg får ikke riktig padding på høyresiden på removeable..
image
Hadde vært veldig fint å få opp et eksempel egentlig, det er litt kronglete å laste ned branchen for å sjekke neste gang du gjør en endring. Synes det er viktig å sjekke visuelt også

Copy link

github-actions bot commented Oct 4, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

1 similar comment
Copy link

github-actions bot commented Oct 4, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

Copy link

github-actions bot commented Oct 4, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

Copy link

github-actions bot commented Oct 4, 2024

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2337.westeurope.2.azurestaticapps.net

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