@teseor/css 1.14.1 → 1.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiled.css +1 -1
- package/dist/index.css +1 -1
- package/package.json +1 -1
- package/src/base/index.scss +1 -1
- package/src/base/root.docs.json +35 -0
- package/src/base/{root/root.scss → root.scss} +1 -1
- package/src/components/actions/button/button.visual.spec.ts +5 -1
- package/src/components/actions/button-group/button-group.visual.spec.ts +5 -1
- package/src/components/actions/close-button/close-button.visual.spec.ts +5 -1
- package/src/components/content/divider/divider.visual.spec.ts +5 -1
- package/src/components/content/scroll-area/scroll-area.visual.spec.ts +5 -1
- package/src/components/content/spacer/spacer.visual.spec.ts +1 -1
- package/src/components/data-display/avatar/avatar.visual.spec.ts +5 -1
- package/src/components/data-display/badge/badge.visual.spec.ts +5 -1
- package/src/components/data-display/card/card.visual.spec.ts +5 -1
- package/src/components/data-display/data-list/data-list.visual.spec.ts +5 -1
- package/src/components/data-display/icon/icon.visual.spec.ts +5 -1
- package/src/components/data-display/image/image.visual.spec.ts +5 -1
- package/src/components/data-display/stat/stat.visual.spec.ts +5 -1
- package/src/components/data-display/status/status.visual.spec.ts +5 -1
- package/src/components/data-display/table/table.visual.spec.ts +5 -1
- package/src/components/data-display/tag/tag.visual.spec.ts +5 -1
- package/src/components/disclosure/accordion/accordion.visual.spec.ts +5 -1
- package/src/components/disclosure/disclosure/disclosure.visual.spec.ts +5 -1
- package/src/components/feedback/alert/alert.visual.spec.ts +5 -1
- package/src/components/feedback/progress/progress.visual.spec.ts +5 -1
- package/src/components/feedback/progress-circle/progress-circle.visual.spec.ts +5 -1
- package/src/components/feedback/skeleton/skeleton.visual.spec.ts +5 -1
- package/src/components/feedback/spinner/spinner.visual.spec.ts +5 -1
- package/src/components/feedback/toast/toast.visual.spec.ts +5 -1
- package/src/components/forms/checkbox/checkbox.visual.spec.ts +5 -1
- package/src/components/forms/checkbox-group/checkbox-group.visual.spec.ts +5 -1
- package/src/components/forms/field/field.visual.spec.ts +5 -1
- package/src/components/forms/fieldset/fieldset.visual.spec.ts +5 -1
- package/src/components/forms/form/form.visual.spec.ts +5 -1
- package/src/components/forms/form-error/form-error.visual.spec.ts +5 -1
- package/src/components/forms/form-helper/form-helper.visual.spec.ts +5 -1
- package/src/components/forms/input/input.visual.spec.ts +5 -1
- package/src/components/forms/label/label.visual.spec.ts +5 -1
- package/src/components/forms/number-input/number-input.visual.spec.ts +5 -1
- package/src/components/forms/password-input/password-input.visual.spec.ts +5 -1
- package/src/components/forms/radio/radio.visual.spec.ts +5 -1
- package/src/components/forms/radio-group/radio-group.visual.spec.ts +5 -1
- package/src/components/forms/search-input/search-input.visual.spec.ts +5 -1
- package/src/components/forms/select/select.visual.spec.ts +5 -1
- package/src/components/forms/slider/slider.visual.spec.ts +5 -1
- package/src/components/forms/textarea/textarea.visual.spec.ts +5 -1
- package/src/components/forms/toggle/toggle.visual.spec.ts +5 -1
- package/src/components/navigation/breadcrumb/breadcrumb.visual.spec.ts +5 -1
- package/src/components/navigation/dropdown-menu/dropdown-menu.visual.spec.ts +5 -1
- package/src/components/navigation/menu/menu.visual.spec.ts +5 -1
- package/src/components/navigation/nav/nav.visual.spec.ts +5 -1
- package/src/components/navigation/pagination/pagination.visual.spec.ts +5 -1
- package/src/components/navigation/tabs/tabs.visual.spec.ts +5 -1
- package/src/components/overlays/dialog/dialog.visual.spec.ts +5 -1
- package/src/components/overlays/drawer/drawer.visual.spec.ts +5 -1
- package/src/components/overlays/modal/modal.visual.spec.ts +5 -1
- package/src/components/overlays/overlay/overlay.visual.spec.ts +5 -1
- package/src/components/overlays/popover/popover.visual.spec.ts +5 -1
- package/src/components/overlays/tooltip/tooltip.visual.spec.ts +5 -1
- package/src/components/typography/blockquote/blockquote.visual.spec.ts +5 -1
- package/src/components/typography/code/code.visual.spec.ts +5 -1
- package/src/components/typography/code-block/code-block.visual.spec.ts +5 -1
- package/src/components/typography/heading/heading.visual.spec.ts +5 -1
- package/src/components/typography/kbd/kbd.visual.spec.ts +5 -1
- package/src/components/typography/link/link.visual.spec.ts +5 -1
- package/src/components/typography/list/list.visual.spec.ts +5 -1
- package/src/components/typography/mark/mark.visual.spec.ts +5 -1
- package/src/config/{tokens → guides}/accessibility.docs.json +1 -0
- package/src/config/guides/getting-started.docs.json +106 -0
- package/src/config/{tokens → guides}/theming.docs.json +1 -0
- package/src/config/tokens/_variables.scss +107 -68
- package/src/config/tokens/design-tokens.docs.json +239 -0
- package/src/config/tokens/index.scss +8 -8
- package/src/config/tokens/input.scss +13 -11
- package/src/debug/debug.docs.json +96 -0
- package/src/debug/index.scss +81 -1
- package/src/index.scss +1 -1
- package/src/layout/app-shell/app-shell.visual.spec.ts +1 -1
- package/src/layout/aspect-ratio/aspect-ratio.visual.spec.ts +1 -1
- package/src/layout/box/box.visual.spec.ts +1 -1
- package/src/layout/center/center.visual.spec.ts +1 -1
- package/src/layout/column/column.visual.spec.ts +1 -1
- package/src/layout/content/content.visual.spec.ts +1 -1
- package/src/layout/footer/footer.visual.spec.ts +1 -1
- package/src/layout/grid/grid.visual.spec.ts +1 -1
- package/src/layout/nav-rail/nav-rail.visual.spec.ts +1 -1
- package/src/layout/page-header/page-header.visual.spec.ts +1 -1
- package/src/layout/row/row.visual.spec.ts +1 -1
- package/src/layout/sidebar/sidebar.visual.spec.ts +1 -1
- package/src/layout/sidebar-nav/sidebar-nav.visual.spec.ts +1 -1
- package/src/layout/topbar/topbar.visual.spec.ts +1 -1
- package/src/debug/grid-overlay.scss +0 -81
- package/src/testing/api-types.ts +0 -20
- package/src/testing/grid-alignment.spec.ts +0 -38
- package/src/testing/html-generator.ts +0 -151
- package/src/testing/index.ts +0 -15
- package/src/testing/page-setup.ts +0 -149
- package/src/testing/rhythm.ts +0 -146
- package/src/testing/scaffold.ts +0 -50
- /package/src/config/{layers/layers.scss → layers.scss} +0 -0
- /package/src/config/tokens/{borders/index.scss → borders.scss} +0 -0
- /package/src/config/tokens/{motion/index.scss → motion.scss} +0 -0
- /package/src/config/tokens/{radius/index.scss → radius.scss} +0 -0
- /package/src/config/tokens/{semantic/colors/index.scss → semantic-colors.scss} +0 -0
- /package/src/config/tokens/{semantic/spacing/index.scss → semantic-spacing.scss} +0 -0
- /package/src/config/tokens/{shadows/index.scss → shadows.scss} +0 -0
- /package/src/config/tokens/{typography/index.scss → typography.scss} +0 -0
- /package/src/config/tokens/{zindex/index.scss → zindex.scss} +0 -0
package/dist/index.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@layer tokens{:root{color-scheme:light dark;--ui-color-text: light-dark(var(--ui-color-neutral-900), var(--ui-color-neutral-100));--ui-color-text-muted: light-dark(var(--ui-color-neutral-500), var(--ui-color-neutral-400));--ui-color-text-inverse: light-dark(var(--ui-color-neutral-50), var(--ui-color-neutral-900));--ui-color-bg: light-dark(var(--ui-color-neutral-50), var(--ui-color-neutral-900));--ui-color-bg-subtle: light-dark(var(--ui-color-neutral-100), var(--ui-color-neutral-800));--ui-color-bg-muted: light-dark(var(--ui-color-neutral-200), var(--ui-color-neutral-700));--ui-color-border: light-dark(var(--ui-color-neutral-200), var(--ui-color-neutral-700));--ui-color-border-strong: light-dark(var(--ui-color-neutral-300), var(--ui-color-neutral-600));--ui-color-interactive: var(--ui-color-primary);--ui-color-interactive-hover: var(--ui-color-primary-dark);--ui-color-focus: var(--ui-color-primary-light);--ui-opacity-disabled: 0.5;--ui-opacity-loading: 0.7;--ui-overlay-bg: rgb(0 0 0 / 0.5);--ui-overlay-bg-light: rgb(255 255 255 / 0.7);--ui-overlay-bg-blur: rgb(0 0 0 / 0.3);--ui-overlay-bg-subtle: rgb(0 0 0 / 0.1)}}
|
|
12
12
|
@layer themes{[data-theme=light]{color-scheme:light}[data-theme=dark]{color-scheme:dark}@media(forced-colors: active){:root{--ui-color-focus: Highlight}}@media(prefers-contrast: more){:root{--ui-color-border: light-dark(var(--ui-color-neutral-400), var(--ui-color-neutral-400));--ui-color-border-strong: light-dark(var(--ui-color-neutral-600), var(--ui-color-neutral-300));--ui-color-text-muted: light-dark(var(--ui-color-neutral-600), var(--ui-color-neutral-300));--ui-color-bg-subtle: light-dark(var(--ui-color-neutral-200), var(--ui-color-neutral-700))}}@media(prefers-contrast: less){:root{--ui-color-border: var(--ui-color-neutral-150);--ui-color-border-strong: var(--ui-color-neutral-200)}}}
|
|
13
13
|
@layer tokens{:root{--ui-spacing-xs: var(--ui-space-1);--ui-spacing-sm: var(--ui-space-2);--ui-spacing-md: var(--ui-space-4);--ui-spacing-lg: var(--ui-space-6);--ui-spacing-xl: var(--ui-space-8);--ui-spacing-gutter: var(--ui-space-4);--ui-spacing-section: var(--ui-space-8)}}
|
|
14
|
-
:root{--ui-input-height: var(--ui-row-2);--ui-input-padding-x: var(--ui-space-2);--ui-input-padding-y: var(--ui-space-1);--ui-input-radius: var(--ui-radius-md);--ui-input-border-width: var(--ui-border-width-sm);--ui-input-bg: var(--ui-color-bg);--ui-input-border: var(--ui-color-border);--ui-input-border-focus: var(--ui-color-interactive);--ui-input-text: var(--ui-color-text);--ui-input-placeholder: var(--ui-color-text-muted)}
|
|
14
|
+
@layer tokens{:root{--ui-input-height: var(--ui-row-2);--ui-input-padding-x: var(--ui-space-2);--ui-input-padding-y: var(--ui-space-1);--ui-input-radius: var(--ui-radius-md);--ui-input-border-width: var(--ui-border-width-sm);--ui-input-bg: var(--ui-color-bg);--ui-input-border: var(--ui-color-border);--ui-input-border-focus: var(--ui-color-interactive);--ui-input-text: var(--ui-color-text);--ui-input-placeholder: var(--ui-color-text-muted)}}
|
|
15
15
|
@layer reset{*,*::before,*::after{box-sizing:border-box;margin:0}}
|
|
16
16
|
@layer base{.ui-root{font-family:var(--ui-font-sans, system-ui, -apple-system, blinkmacsystemfont, Segoe UI, roboto, Helvetica Neue, arial, sans-serif);font-size:var(--ui-font-size-md, 1rem);line-height:var(--ui-leading-md, calc(0.5rem * 3));color:var(--ui-color-text, hsl(220, 10%, 10%));background:var(--ui-color-bg, hsl(220, 10%, 98%))}}
|
|
17
17
|
@layer base{h1{margin-block-end:var(--ui-space-4);font-size:var(--ui-heading-1-size);font-weight:var(--ui-heading-1-weight);line-height:var(--ui-heading-1-line-height);letter-spacing:var(--ui-heading-1-tracking)}h2{margin-block-end:var(--ui-space-3);font-size:var(--ui-heading-2-size);font-weight:var(--ui-heading-2-weight);line-height:var(--ui-heading-2-line-height);letter-spacing:var(--ui-heading-2-tracking)}h3{margin-block-end:var(--ui-space-2);font-size:var(--ui-heading-3-size);font-weight:var(--ui-heading-3-weight);line-height:var(--ui-heading-3-line-height);letter-spacing:var(--ui-heading-3-tracking)}h4{margin-block-end:var(--ui-space-2);font-size:var(--ui-heading-4-size);font-weight:var(--ui-heading-4-weight);line-height:var(--ui-heading-4-line-height);letter-spacing:var(--ui-heading-4-tracking)}h5,h6{margin-block-end:var(--ui-space-1);font-size:var(--ui-heading-5-size);font-weight:var(--ui-heading-5-weight);line-height:var(--ui-heading-5-line-height);letter-spacing:var(--ui-heading-5-tracking)}p{margin-block-end:var(--ui-space-2);font-size:var(--ui-body-size);line-height:var(--ui-body-line-height);letter-spacing:var(--ui-body-tracking)}p:last-child{margin-block-end:0}strong,b{font-weight:var(--ui-weight-bold);line-height:0}small{font-size:var(--ui-caption-size);line-height:0}code{padding:0 var(--ui-space-1);font-family:var(--ui-font-mono);font-size:var(--ui-body-sm-size);line-height:0;vertical-align:baseline;background:var(--ui-color-bg-muted);border-radius:var(--ui-radius-sm)}pre{padding:var(--ui-space-2);margin-block-end:var(--ui-space-2);overflow-x:auto;font-family:var(--ui-font-mono);font-size:var(--ui-body-sm-size);line-height:var(--ui-body-sm-line-height);background:var(--ui-color-bg-muted);border-radius:var(--ui-radius-md)}pre code{padding:0;background:none}a{text-decoration:underline;color:var(--ui-color-primary);transition:color var(--ui-duration-fast) var(--ui-ease-default)}a:hover{color:var(--ui-color-primary-hover)}a:visited{color:var(--ui-color-primary)}@media(width < 45.625rem){h1{font-size:var(--ui-font-size-2xl);line-height:var(--ui-leading-2xl)}h2{font-size:var(--ui-font-size-xl);line-height:var(--ui-leading-xl)}h3{font-size:var(--ui-font-size-lg);line-height:var(--ui-leading-sm)}h4{font-size:1.125rem;line-height:var(--ui-leading-sm)}}@media(width > 67.5rem){h1{font-size:calc(var(--ui-unit)*6);line-height:calc(var(--ui-unit)*7)}h2{font-size:var(--ui-font-size-4xl);line-height:var(--ui-leading-4xl)}}}
|
package/package.json
CHANGED
package/src/base/index.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward "./root
|
|
1
|
+
@forward "./root";
|
|
2
2
|
@forward "./typography/typography";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "root",
|
|
3
|
+
"type": "token",
|
|
4
|
+
"title": "Root",
|
|
5
|
+
"description": "Base styles applied to the .root class: font family, size, line-height, color, and background",
|
|
6
|
+
"skipValidation": true,
|
|
7
|
+
"sections": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Usage",
|
|
10
|
+
"description": "Add the .ui-root class to the html or body element to establish baseline typography and color.",
|
|
11
|
+
"examples": [
|
|
12
|
+
{
|
|
13
|
+
"title": "Basic setup",
|
|
14
|
+
"items": [
|
|
15
|
+
{
|
|
16
|
+
"tag": "div",
|
|
17
|
+
"class": "ui-root",
|
|
18
|
+
"children": [
|
|
19
|
+
{
|
|
20
|
+
"tag": "p",
|
|
21
|
+
"text": "Text inherits font-family, size, line-height, and color from .ui-root"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"code": "<html class=\"ui-root\">\n <body>\n <!-- All children inherit base styles -->\n </body>\n</html>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "Tokens applied",
|
|
30
|
+
"code": ".ui-root {\n font-family: var(--ui-font-sans);\n font-size: var(--ui-font-size-md);\n line-height: var(--ui-leading-md);\n color: var(--ui-color-text);\n background: var(--ui-color-bg);\n}"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'button.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'button-group.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'close-button.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'divider.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'scroll-area.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import { saveForLostPixel, setupVisualTestFromDocs } from '
|
|
3
|
+
import { saveForLostPixel, setupVisualTestFromDocs } from '../../../../test-utils';
|
|
4
4
|
|
|
5
5
|
const DOCS_PATH = resolve(__dirname, 'spacer.docs.json');
|
|
6
6
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'avatar.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'badge.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'card.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'data-list.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'icon.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'image.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'stat.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'status.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'table.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'tag.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'accordion.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'disclosure.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'alert.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'progress.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'progress-circle.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'skeleton.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'spinner.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'toast.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'checkbox.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'checkbox-group.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'field.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'fieldset.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'form.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'form-error.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'form-helper.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'input.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'label.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'number-input.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'password-input.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'radio.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'radio-group.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'search-input.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'select.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'slider.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'textarea.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'toggle.docs.json');
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { resolve } from 'node:path';
|
|
2
2
|
import { expect, test } from '@playwright/test';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
saveForLostPixel,
|
|
5
|
+
setupVisualTestFromDocs,
|
|
6
|
+
validateGridRhythm,
|
|
7
|
+
} from '../../../../test-utils';
|
|
4
8
|
|
|
5
9
|
const DOCS_PATH = resolve(__dirname, 'breadcrumb.docs.json');
|
|
6
10
|
|