@bitforgehq/ui 0.3.2 → 0.3.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/CHANGELOG.md +41 -0
- package/ai/MANIFEST.json +23 -11
- package/ai/REFERENCE.json +20 -4
- package/ai/components/app-frame.md +14 -7
- package/ai/components/header.md +9 -0
- package/ai/components/table.md +21 -3
- package/ai/reference/bf-labels.md +1 -0
- package/ai/reference/bf-select-harness.md +4 -0
- package/ai/reference/bf-table-harness.md +6 -0
- package/ai/reference/provide-bf-labels.md +1 -1
- package/fesm2022/bitforgehq-ui-mobile.mjs +11 -2
- package/fesm2022/bitforgehq-ui-mobile.mjs.map +1 -1
- package/fesm2022/bitforgehq-ui-testing.mjs +4 -0
- package/fesm2022/bitforgehq-ui-testing.mjs.map +1 -1
- package/fesm2022/bitforgehq-ui.mjs +34 -16
- package/fesm2022/bitforgehq-ui.mjs.map +1 -1
- package/llms-full.txt +56 -11
- package/package.json +1 -1
- package/theme.css +13 -0
- package/types/bitforgehq-ui-testing.d.ts +14 -0
- package/types/bitforgehq-ui.d.ts +18 -10
|
@@ -404,6 +404,7 @@ var BfTableHarness = class BfTableHarness extends ComponentHarness {
|
|
|
404
404
|
rows = this.locatorForAll("tbody tr[data-bf-table-row]");
|
|
405
405
|
selectAllBox = this.locatorForOptional("thead input[type=\"checkbox\"]");
|
|
406
406
|
rowBoxes = this.locatorForAll("tbody tr[data-bf-table-row] input[type=\"checkbox\"]");
|
|
407
|
+
sortSelect = this.locatorForOptional(BfSelectHarness.with({ ancestor: "[data-bf-table-stack-bar]" }));
|
|
407
408
|
static with(filters = {}) {
|
|
408
409
|
return new HarnessPredicate(BfTableHarness, filters).addOption("label", filters.label, async (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label));
|
|
409
410
|
}
|
|
@@ -438,6 +439,9 @@ var BfTableHarness = class BfTableHarness extends ComponentHarness {
|
|
|
438
439
|
}
|
|
439
440
|
return null;
|
|
440
441
|
}
|
|
442
|
+
async getSortSelect() {
|
|
443
|
+
return this.sortSelect();
|
|
444
|
+
}
|
|
441
445
|
async selectRow(index) {
|
|
442
446
|
const box = (await this.rowBoxes())[index];
|
|
443
447
|
if (!box) throw new Error(`BfTableHarness: no selectable row ${index}`);
|