diff --git a/__snapshots__/storybook.test.ts.snap b/__snapshots__/storybook.test.ts.snap index 2c450e864..980484b23 100644 --- a/__snapshots__/storybook.test.ts.snap +++ b/__snapshots__/storybook.test.ts.snap @@ -1334,7 +1334,7 @@ exports[`Storyshots Building-Blocks/Dropdown Dropdown As Otprr Nav Item 1`] = ` onError={[Function]} textComponent={Symbol(react.fragment)} > - + - + `; @@ -269020,7 +269020,7 @@ Array [ ] `; -exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector 1`] = ` +exports[`Storyshots Trip Form Components/Advanced Mode Settings Buttons Advanced Mode Settings Buttons 1`] = ` - `; -exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector 2`] = ` -.c2 { +exports[`Storyshots Trip Form Components/Advanced Mode Settings Buttons Advanced Mode Settings Buttons 2`] = ` +.c4 { display: inline-block; vertical-align: middle; overflow: hidden; } +.c9 { + font-weight: normal; + padding-left: 6px; +} + +.c11 > div { + width: 50%; + display: inline-block; + box-sizing: border-box; + position: relative; +} + +.c11 select { + width: 100%; + box-sizing: border-box; + cursor: pointer; +} + +.c7 { + display: grid; + grid-column: span 2; + grid-template-columns: 1fr 1fr; + width: 100%; +} + +.c6 { + border: none; + pointer-events: auto; +} + +.c6 div { + padding: 5px 0; +} + +.c6 .wide { + grid-column: span 2; +} + +.c6 .slim { + font-size: 125%; + font-weight: 125%; +} + +.c6 legend { + font-size: 1.5em; + margin-bottom: 0.5rem; + padding-top: 15px; +} + +.c8 { + -webkit-align-items: baseline; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + margin-left: 4px; +} + +.c8 input { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.c10 { + -webkit-align-items: baseline; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; +} + +.c10 svg { + width: 16px; + height: 16px; + display: inline-block; + margin-bottom: 4px; + vertical-align: middle; + overflow: hidden; +} + +.c1 { + width: 100%; +} + +.c2 > label { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background-color: #fff; + border: 2px solid #336B9E; + border-left-width: 2px; + border-right-width: 2px; + color: #336B9E; + cursor: pointer; + display: grid; + font-size: 18px; + font-weight: 400; + gap: 20px; + grid-template-columns: 40px auto 40px; + height: 51px; + justify-items: center; + margin-bottom: 0; + margin-top: -2px; + padding: 0 10px; +} + +.c2 > input { + -webkit-clip: rect(0,0,0,0); + clip: rect(0,0,0,0); + height: 0; + overflow: hidden; + position: absolute; + width: 0; +} + +.c2 > input:checked + label { + background-color: #336B9E; + color: #fff; + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +.c2 > input:focus-visible + label, +.c2 > input:focus + label { + outline: #336B9E 1px solid; + outline-offset: -4px; +} + +.c2 > input:checked:focus-visible + label, +.c2 > input:checked:focus + label { + outline: white 1px solid; +} + +.c2 span { + justify-self: flex-start; +} + +.c2 svg { + height: 26px; + width: 26px; + fill: currentcolor; +} + +.c2:hover { + cursor: pointer; +} + +.c12 > label { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background-color: #fff; + border: 2px solid #336B9E; + border-left-width: 2px; + border-right-width: 2px; + color: #336B9E; + cursor: pointer; + display: grid; + font-size: 18px; + font-weight: 400; + gap: 20px; + grid-template-columns: 40px auto 40px; + height: 51px; + justify-items: center; + margin-bottom: 0; + margin-top: -2px; + padding: 0 10px; +} + +.c12 > input { + -webkit-clip: rect(0,0,0,0); + clip: rect(0,0,0,0); + height: 0; + overflow: hidden; + position: absolute; + width: 0; +} + +.c12 > input:checked + label { + background-color: #336B9E; + color: #fff; + border-bottom-left-radius: !important; + border-bottom-right-radius: !important; +} + +.c12 > input:focus-visible + label, +.c12 > input:focus + label { + outline: #336B9E 1px solid; + outline-offset: -4px; +} + +.c12 > input:checked:focus-visible + label, +.c12 > input:checked:focus + label { + outline: white 1px solid; +} + +.c12 span { + justify-self: flex-start; +} + +.c12 svg { + height: 26px; + width: 26px; + fill: currentcolor; +} + +.c12:hover { + cursor: pointer; +} + +.c5 { + border: 1px solid #B3B3B3; + border-top: 0; + padding: 1em; +} + +.c0 { + border: none; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.c0 legend { + -webkit-clip: rect(0,0,0,0); + clip: rect(0,0,0,0); + height: 0; + overflow: hidden; + position: absolute; + width: 0; +} + +.c0 div:first-of-type div label { + border-top-width: 2px; + border-radius: 8px 8px 0 0; +} + +.c0 div:last-of-type div label { + border-bottom-width: 2px; + border-radius: 0 0 8px 8px; +} + +.c0 div.advanced-submode-container:last-of-type div.subsettings-container { + border-radius: 0 0 8px 8px; + border-bottom: 1px solid #B3B3B3; +} + +.c3 { + display: inline-block; + vertical-align: middle; + overflow: hidden; +} + +
+
+ + Select a transit mode + +
+
+ + +
+
+
+
+
+ + + Transit + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+`; + +exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector 1`] = ` + + + +`; + +exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector 2`] = ` .c3 { display: inline-block; -webkit-clip: rect(0,0,0,0); @@ -269239,6 +269958,12 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector color: #eee; } +.c2 { + display: inline-block; + vertical-align: middle; + overflow: hidden; +} +