Commit Graph

6 Commits

Author SHA1 Message Date
Miki 271a98d669
Allow limiting the versions shown by default in the `version-selector` ()
* Allow limiting the versions shown by default in the `version-selector`

Signed-off-by: Miki <miki@amazon.com>

* Add archived versions

* Update versions.json

* Add archived versions for version selector.tpl

* Switch back to old versions

---------

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
2023-05-04 16:36:13 -05:00
Miki d2646bb3f3 Allow `latest` version not to be the `current` version of the documentation
Signed-off-by: Miki <miki@amazon.com>
2022-05-03 11:34:40 -07:00
Miki 4001b3c334
Fix version-selector in Safari 15.x
Some browser+OS combinations trigger `blur` on the version-selector before a click within the component. To mitigate this, an extra `pointerup` listener was attached but that didn't solve the problem for Safari 15.x. However, `delegatesFocus: true` makes the shadow host focusable and that helps work around this problem.

Fixes: 
Signed-off-by: Miki <mehranb@amazon.com>
2021-12-03 16:15:28 -08:00
Miki ddcec72c2a Fix versions selection being blocked on mobile devices
Signed-off-by: Miki <mehranb@amazon.com>
2021-10-07 10:29:33 -07:00
Miki 03e3fce37f Add `.x` suffix to versions selector
Signed-off-by: Miki <mehranb@amazon.com>
2021-10-06 09:53:15 -07:00
Miki 31003b1523 Add versioned documentation
Reduce font size and expand width

Signed-off-by: Miki <mehranb@amazon.com>
2021-10-05 10:48:07 -07:00