docs(storybook): tidy SW Storybook gauges, responsive rows and page titles
Deploy Storybook / deploy (push) Successful in 1m11s
Deploy Storybook / deploy (push) Successful in 1m11s
- SWPopup Custom Content and the SW Viewer options panel use SWSlider style B (appearance="property") only; the A/B comparison, the style select and the green panel gauge are gone (SWViewerSlider itself is unchanged). - SW Header / Viewer / Footer Responsive More: the 1920px row shows only when the content Inner is 1920px or wider (container query); Footer rows fit the page width without scrollers so ▲ More handles narrow widths. - Logo pages fit without scrollers; SW Header Logo Slot is "Logo" in the sidebar with the title "SW Header — 로고" (ID sw-header--logo-slot kept). - Property Panel (was "Property Panel · 4개 비교"): no Inner scroller, the page scrolls, 2 × 2 grid with one column below 720px. - SW Footer drops the "실제 Footer 조합 (동작)" heading; SW Viewer Header page is titled "SW Viewer Header" with 기본형 and 최소화 · 닫기 버튼 only. - Browser tests, inventory and README follow these changes; visual baselines are not updated.
This commit is contained in:
1 parent
ccafc6e332
commit
258e0a4b68
14 files changed
+123
-109
No files matched your search
@@ -25,7 +25,7 @@ export async function popupChecks({ page, goto, check, log, rect, out, report })
|
||||
await settings.locator('[data-popup-slider]').focus()
|
||||
await page.keyboard.press('ArrowRight')
|
||||
await page.waitForTimeout(100)
|
||||
check('popup content: SWSlider works inside', /opacity=70/.test(await log()) && await settings.locator('[data-popup-slider]').evaluate(e => e.classList.contains('hm-sw-slider') && e.dataset.appearance === 'panel' && e.value === '70'), await log())
|
||||
check('popup content: SWSlider works inside', /opacity=70/.test(await log()) && await settings.locator('[data-popup-slider]').evaluate(e => e.classList.contains('hm-sw-slider') && e.dataset.appearance === 'property' && e.value === '70'), await log())
|
||||
check('popup content: no HM UI Slider left inside the popups', await page.locator('[data-popups] [data-slot="slider"]').count() === 0)
|
||||
await settings.locator('[data-ui-apply]').click()
|
||||
check('popup content: HM UI Button works inside', (await log()).includes('apply'))
|
||||
|
||||
Reference in new issue
Block a user