Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions playwright/cps-accessibility.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,25 +242,25 @@ const components: ComponentEntry[] = [
await page.waitForSelector('.example-content');
await page.locator('.example-content cps-button').first().hover();
}
},
{
route: '/tree-autocomplete',
name: 'Tree autocomplete',
selector: ['cps-tree-autocomplete', '.cps-treeautocomplete-options-menu'],
setup: async (page) => {
await page.waitForSelector('cps-tree-autocomplete');
await page.locator('cps-tree-autocomplete').first().click();
}
},
{
route: '/tree-select',
name: 'Tree select',
selector: ['cps-tree-select', '.cps-treeselect-options-menu'],
setup: async (page) => {
await page.waitForSelector('cps-tree-select');
await page.locator('cps-tree-select').first().click();
}
}
// {
// route: '/tree-autocomplete',
// name: 'Tree autocomplete',
// selector: ['cps-tree-autocomplete', '.cps-treeautocomplete-options-menu'],
// setup: async (page) => {
// await page.waitForSelector('cps-tree-autocomplete');
// await page.locator('cps-tree-autocomplete').first().click();
// }
// },
// {
// route: '/tree-select',
// name: 'Tree select',
// selector: ['cps-tree-select', '.cps-treeselect-options-menu'],
// setup: async (page) => {
// await page.waitForSelector('cps-tree-select');
// await page.locator('cps-tree-select').first().click();
// }
// },
// { route: '/tree-table', name: 'Tree table', selector: 'cps-tree-table' }
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
"default": "",
"description": "Label of the component."
},
{
"name": "ariaLabel",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Aria label for accessibility, takes precedence over label."
},
{
"name": "hint",
"optional": false,
Expand Down Expand Up @@ -146,7 +154,7 @@
"optional": false,
"readonly": false,
"type": "iconSizeType",
"default": "18px",
"default": "1.125rem",
"description": "Size of icon before input value, of type number, string, 'fill', 'xsmall', 'small', 'normal' or 'large'."
},
{
Expand Down
10 changes: 9 additions & 1 deletion projects/composition/src/app/api-data/cps-tree-select.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
"default": "",
"description": "Label of the component."
},
{
"name": "ariaLabel",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Aria label for accessibility, takes precedence over label."
},
{
"name": "hint",
"optional": false,
Expand Down Expand Up @@ -138,7 +146,7 @@
"optional": false,
"readonly": false,
"type": "iconSizeType",
"default": "18px",
"default": "1.125rem",
"description": "Size of icon before input value, of type number, string, 'fill', 'xsmall', 'small', 'normal' or 'large'."
},
{
Expand Down
10 changes: 9 additions & 1 deletion projects/composition/src/app/api-data/internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
"default": "",
"description": "Label of the component."
},
{
"name": "ariaLabel",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Aria label for accessibility, takes precedence over label."
},
{
"name": "hint",
"optional": false,
Expand Down Expand Up @@ -122,7 +130,7 @@
"optional": false,
"readonly": false,
"type": "iconSizeType",
"default": "18px",
"default": "1.125rem",
"description": "Size of icon before input value, of type number, string, 'fill', 'xsmall', 'small', 'normal' or 'large'."
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
<div class="sync-val-example">
<cps-tree-autocomplete
[initialExpandDirectories]="true"
width="500"
width="31.25rem"
label="Single tree autocomplete with two-way binding, enter something"
hint="This tree autocomplete has a fixed width of 500px"
hint="This tree autocomplete has a fixed width of 31.25rem"
[options]="options"
optionInfo="attrType"
optionLabel="label"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.tree-autocompletes-group {
gap: 24px;
gap: 1.5rem;
display: flex;
flex-direction: column;
}
Expand All @@ -8,6 +8,6 @@
display: flex;
align-items: center;
.sync-val {
margin-left: 24px;
margin-left: 1.5rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
<div class="sync-val-example">
<cps-tree-select
[initialExpandDirectories]="true"
width="500"
width="31.25rem"
label="Single tree select with two-way binding, select something"
hint="This tree select has a fixed width of 500px"
hint="This tree select has a fixed width of 31.25rem"
[options]="options"
optionInfo="attrType"
optionLabel="label"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.tree-selects-group {
gap: 24px;
gap: 1.5rem;
display: flex;
flex-direction: column;
}
Expand All @@ -8,6 +8,6 @@
display: flex;
align-items: center;
.sync-val {
margin-left: 24px;
margin-left: 1.5rem;
}
}
Loading
Loading