mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
25 stars 25 forks source link

1970 top nav playground #1987

Closed GCHQ-Developer-530 closed 3 months ago

GCHQ-Developer-530 commented 3 months ago

Summary of the changes

Add playground story for top navigation

Related issue

Part of #1970

Checklist

General

Testing

Accessibility

Resize/zoom behaviour

System modes

Testing content extremes

github-actions[bot] commented 3 months ago

View your branch deployment here: https://mi6.github.io/ic-ui-kit/branches/1970-top-nav-playground/web-components View your React branch deployment here: https://mi6.github.io/ic-ui-kit/branches/1970-top-nav-playground/react View your NextJs branch deployment here: https://mi6.github.io/ic-ui-kit/branches/1970-top-nav-playground/nextjs

github-actions[bot] commented 3 months ago

Cypress visual tests failed. View the image diff here: https://github.com/mi6/ic-ui-kit/tree/gh-pages/branches/1970-top-nav-playground/cypress-image-diff-screenshots View the html report here: https://github.com/mi6/ic-ui-kit/tree/gh-pages/branches/1970-top-nav-playground/cypress-image-diff-html-report

gd2910 commented 3 months ago

Looks great πŸ‘ could we have the slot controls as booleans to show ic-top-navigation with/without slotted content?

GCHQ-Developer-530 commented 3 months ago

Looks great πŸ‘ could we have the slot controls as booleans to show ic-top-navigation with/without slotted content?

Unfortunately not, it won't let me conditionally set the slot name using a boolean so I've had to do it where we can the slot name to the correct name or an empty string