@coffer-org/sdk 2.1.0 → 2.1.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/dist/fields.d.ts +0 -2
- package/dist/fields.js +0 -2
- package/package.json +1 -1
package/dist/fields.d.ts
CHANGED
|
@@ -180,7 +180,6 @@ export interface FieldCoreOpts {
|
|
|
180
180
|
emphasis?: 'hero' | 'muted';
|
|
181
181
|
noLabel?: boolean;
|
|
182
182
|
role?: 'cover' | 'avatar';
|
|
183
|
-
pinned?: boolean;
|
|
184
183
|
}
|
|
185
184
|
export declare function wrapKey(opts: {
|
|
186
185
|
key?: string;
|
|
@@ -191,7 +190,6 @@ export declare function wrapKey(opts: {
|
|
|
191
190
|
emphasis?: 'hero' | 'muted';
|
|
192
191
|
noLabel?: boolean;
|
|
193
192
|
role?: 'cover' | 'avatar';
|
|
194
|
-
pinned?: boolean;
|
|
195
193
|
}, meta: FieldMeta): FieldItem | StaticEl | FieldMeta;
|
|
196
194
|
export interface FieldMeta extends FieldClient {
|
|
197
195
|
column: ColumnType;
|
package/dist/fields.js
CHANGED
|
@@ -123,8 +123,6 @@ export function wrapKey(opts, meta) {
|
|
|
123
123
|
m = { ...m, hints: { ...m.hints, noLabel: true } };
|
|
124
124
|
if (opts.role)
|
|
125
125
|
m = { ...m, hints: { ...m.hints, role: opts.role } };
|
|
126
|
-
if (opts.pinned)
|
|
127
|
-
m = { ...m, hints: { ...m.hints, pinned: true } };
|
|
128
126
|
if (opts.default !== undefined)
|
|
129
127
|
m = { ...m, default: opts.default };
|
|
130
128
|
if (opts.hidden !== undefined)
|