@factorialco/rjsf-f0 3.3.0 → 3.3.1
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/README.md +2 -2
- package/dist/rjsf-f0.cjs.js +18 -18
- package/dist/rjsf-f0.cjs.js.map +1 -1
- package/dist/rjsf-f0.es.js +1686 -1628
- package/dist/rjsf-f0.es.js.map +1 -1
- package/dist/src/pairing/pairing-render.test.d.ts +1 -0
- package/dist/src/pairing/test-fixtures.d.ts +14 -0
- package/dist/styles.css +10 -2
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from '../../node_modules/@types/react';
|
|
2
|
+
import { PairingLabels, PairingTableRow } from './types';
|
|
3
|
+
/** The labels, choices and rows the pairing table tests share. */
|
|
4
|
+
export declare const labels: PairingLabels;
|
|
5
|
+
export declare const options: {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[];
|
|
9
|
+
/** A row as the SDK hands it, needing a choice unless `extra` says otherwise. */
|
|
10
|
+
export declare const row: (id: string, extra?: Partial<PairingTableRow>) => PairingTableRow;
|
|
11
|
+
/** f0 draws nothing without its provider. */
|
|
12
|
+
export declare const InF0: ({ children }: {
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
}) => React.JSX.Element;
|
package/dist/styles.css
CHANGED
|
@@ -1059,8 +1059,9 @@
|
|
|
1059
1059
|
|
|
1060
1060
|
/*
|
|
1061
1061
|
* The pairing table (`ui:field: "pairing"`): a header with the counts and the
|
|
1062
|
-
* bulk actions,
|
|
1063
|
-
* adds rows not
|
|
1062
|
+
* bulk actions, the package's own table (`.rjsf-f0-pairing-table`, or the
|
|
1063
|
+
* empty note in its place), and a footer with the select that adds rows not
|
|
1064
|
+
* listed beside the optional in-use note.
|
|
1064
1065
|
*/
|
|
1065
1066
|
/* `margin-top` parts the table from the section description above it. */
|
|
1066
1067
|
.rjsf-f0-pairing {
|
|
@@ -1183,6 +1184,13 @@
|
|
|
1183
1184
|
cursor: help;
|
|
1184
1185
|
}
|
|
1185
1186
|
|
|
1187
|
+
/* The hint takes focus so the keyboard opens its tooltip too. */
|
|
1188
|
+
.rjsf-f0-pairing-hint:focus-visible {
|
|
1189
|
+
outline: 2px solid hsl(var(--selected-50, 184 92% 35%));
|
|
1190
|
+
outline-offset: 1px;
|
|
1191
|
+
border-radius: 0.25rem;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1186
1194
|
.rjsf-f0-pairing-input {
|
|
1187
1195
|
flex: 1 1 auto;
|
|
1188
1196
|
min-width: 0;
|
package/package.json
CHANGED