datocms-plugin-sdk 0.7.4 → 0.7.6
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/cjs/connect.js +21 -11
- package/dist/cjs/connect.js.map +1 -1
- package/dist/esm/connect.js +21 -11
- package/dist/esm/connect.js.map +1 -1
- package/dist/esm/types.d.ts +2 -1
- package/dist/types/types.d.ts +2 -1
- package/package.json +2 -2
- package/src/connect.ts +21 -11
- package/src/types.ts +1563 -1
- package/types.json +7382 -1128
package/dist/cjs/connect.js
CHANGED
|
@@ -88,23 +88,33 @@ var buildRenderUtils = function (parent) {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
var resizeObserver = null;
|
|
91
|
+
var mutationObserver = null;
|
|
92
|
+
var onMutation = function () { return updateHeight(); };
|
|
91
93
|
var startAutoResizer = function () {
|
|
92
94
|
updateHeight();
|
|
93
|
-
if (resizeObserver) {
|
|
94
|
-
|
|
95
|
+
if (!resizeObserver) {
|
|
96
|
+
resizeObserver = new ResizeObserver(onMutation);
|
|
97
|
+
resizeObserver.observe(document.documentElement);
|
|
98
|
+
}
|
|
99
|
+
if (!mutationObserver) {
|
|
100
|
+
mutationObserver = new MutationObserver(onMutation);
|
|
101
|
+
mutationObserver.observe(window.document.body, {
|
|
102
|
+
attributes: true,
|
|
103
|
+
childList: true,
|
|
104
|
+
subtree: true,
|
|
105
|
+
characterData: true,
|
|
106
|
+
});
|
|
95
107
|
}
|
|
96
|
-
resizeObserver = new ResizeObserver(function () {
|
|
97
|
-
// entries[entries.length - 1].borderBoxSize[0].blockSize;
|
|
98
|
-
updateHeight();
|
|
99
|
-
});
|
|
100
|
-
resizeObserver.observe(document.documentElement);
|
|
101
108
|
};
|
|
102
109
|
var stopAutoResizer = function () {
|
|
103
|
-
if (
|
|
104
|
-
|
|
110
|
+
if (resizeObserver) {
|
|
111
|
+
resizeObserver.disconnect();
|
|
112
|
+
resizeObserver = null;
|
|
113
|
+
}
|
|
114
|
+
if (mutationObserver) {
|
|
115
|
+
mutationObserver.disconnect();
|
|
116
|
+
mutationObserver = null;
|
|
105
117
|
}
|
|
106
|
-
resizeObserver.disconnect();
|
|
107
|
-
resizeObserver = null;
|
|
108
118
|
};
|
|
109
119
|
return { updateHeight: updateHeight, startAutoResizer: startAutoResizer, stopAutoResizer: stopAutoResizer };
|
|
110
120
|
};
|
package/dist/cjs/connect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/connect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAAyD;AAoCzD,mCAWkB;AA2SlB,SAAS,YAAY,CACnB,EAA+D;IAE/D,OAAO,UACL,MAAe,EACf,GAA6B;QAE7B,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,EAAE,CAAC;SACX;QAED,IAAM,MAAM,GAA2B,EAAE,CAAC;QAE1C,KAAoB,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE;YAAvB,IAAM,KAAK,eAAA;YACd,IAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAC5B,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAC1B,CAAC;YACd,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,wBAAO,GAAG,KAAE,QAAQ,UAAA,IAAG,CAAC;SACpD;QAED,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC;AAOD,IAAM,gBAAgB,GAAG,UAAC,MAA+C;IACvE,IAAI,SAAS,GAAkB,IAAI,CAAC;IAEpC,IAAM,YAAY,GAAG,UAAC,MAAe;QACnC,IAAM,UAAU,GACd,MAAM,KAAK,SAAS;YAClB,CAAC,CAAC,IAAI,CAAC,GAAG,CACN,QAAQ,CAAC,IAAI,CAAC,Y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EAAE;gCACvC,OAAO;6BACR;4BAED,aAAa,CAAC,oBAAoB,CAAC,QAAQ,CAAC,gBAAgB,iCACvD,MAAM,GACN,QAAQ,GACR,aAAW,EACd,CAAC;wBACL,CAAC,CAAC;wBAEF,QAAQ,GAAG,MAAM,CAAC;wBAClB,MAAM,CAAC,eAA2B,CAAC,CAAC;qBACrC;oBAED,IAAI,IAAA,uDAA8C,EAAC,MAAM,EAAE,eAAe,CAAC,EAAE;wBAKrE,gBAAc,gBAAgB,CAAC,MAAM,CAAC,CAAC;wBAEvC,MAAM,GAAG,UAAC,QAAkB;4BAChC,IAAI,CAAC,aAAa,CAAC,sCAAsC,EAAE;gCACzD,OAAO;6BACR;4BAED,aAAa,CAAC,sCAAsC,CAClD,QAAQ,CAAC,gBAAgB,iCAEpB,MAAM,GACN,QAAQ,GACR,aAAW,EAEjB,CAAC;wBACJ,CAAC,CAAC;wBAEF,QAAQ,GAAG,MAAM,CAAC;wBAClB,MAAM,CAAC,eAA2B,CAAC,CAAC;qBACrC;;;;;CACF;AA1RD,0BA0RC"}
|
package/dist/esm/connect.js
CHANGED
|
@@ -82,23 +82,33 @@ var buildRenderUtils = function (parent) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
var resizeObserver = null;
|
|
85
|
+
var mutationObserver = null;
|
|
86
|
+
var onMutation = function () { return updateHeight(); };
|
|
85
87
|
var startAutoResizer = function () {
|
|
86
88
|
updateHeight();
|
|
87
|
-
if (resizeObserver) {
|
|
88
|
-
|
|
89
|
+
if (!resizeObserver) {
|
|
90
|
+
resizeObserver = new ResizeObserver(onMutation);
|
|
91
|
+
resizeObserver.observe(document.documentElement);
|
|
92
|
+
}
|
|
93
|
+
if (!mutationObserver) {
|
|
94
|
+
mutationObserver = new MutationObserver(onMutation);
|
|
95
|
+
mutationObserver.observe(window.document.body, {
|
|
96
|
+
attributes: true,
|
|
97
|
+
childList: true,
|
|
98
|
+
subtree: true,
|
|
99
|
+
characterData: true,
|
|
100
|
+
});
|
|
89
101
|
}
|
|
90
|
-
resizeObserver = new ResizeObserver(function () {
|
|
91
|
-
// entries[entries.length - 1].borderBoxSize[0].blockSize;
|
|
92
|
-
updateHeight();
|
|
93
|
-
});
|
|
94
|
-
resizeObserver.observe(document.documentElement);
|
|
95
102
|
};
|
|
96
103
|
var stopAutoResizer = function () {
|
|
97
|
-
if (
|
|
98
|
-
|
|
104
|
+
if (resizeObserver) {
|
|
105
|
+
resizeObserver.disconnect();
|
|
106
|
+
resizeObserver = null;
|
|
107
|
+
}
|
|
108
|
+
if (mutationObserver) {
|
|
109
|
+
mutationObserver.disconnect();
|
|
110
|
+
mutationObserver = null;
|
|
99
111
|
}
|
|
100
|
-
resizeObserver.disconnect();
|
|
101
|
-
resizeObserver = null;
|
|
102
112
|
};
|
|
103
113
|
return { updateHeight: updateHeight, startAutoResizer: startAutoResizer, stopAutoResizer: stopAutoResizer };
|
|
104
114
|
};
|
package/dist/esm/connect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/connect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,eAAe,MAAM,4BAA4B,CAAC;AAoCzD,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,EAC5B,8CAA8C,EAC9C,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,GAE3B,MAAM,UAAU,CAAC;AA2SlB,SAAS,YAAY,CACnB,EAA+D;IAE/D,OAAO,UACL,MAAe,EACf,GAA6B;QAE7B,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,EAAE,CAAC;SACX;QAED,IAAM,MAAM,GAA2B,EAAE,CAAC;QAE1C,KAAoB,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE;YAAvB,IAAM,KAAK,eAAA;YACd,IAA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,CAAC;qBACrC;;;;;CACF"}
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BlockNodeTypeWithCustomStyle } from 'datocms-structured-text-utils';
|
|
3
3
|
import { Account, Organization, Field, Fieldset, Item, ItemType, Plugin, Role, Site, SsoUser, Upload, User } from './SiteApiSchema';
|
|
4
|
-
export declare type Icon =
|
|
4
|
+
export declare type Icon = AwesomeFont5IconIdentifier | {
|
|
5
5
|
type: 'svg';
|
|
6
6
|
viewBox: string;
|
|
7
7
|
content: string;
|
|
@@ -1484,3 +1484,4 @@ export declare type OnBootAdditionalMethods = {
|
|
|
1484
1484
|
};
|
|
1485
1485
|
export declare type OnBootMethods = RenderMethods & OnBootAdditionalMethods;
|
|
1486
1486
|
export declare type OnBootPropertiesAndMethods = OnBootMethods & OnBootProperties;
|
|
1487
|
+
export declare type AwesomeFont5IconIdentifier = 'abacus' | 'acorn' | 'ad' | 'address-book' | 'address-card' | 'adjust' | 'air-freshener' | 'alarm-clock' | 'alicorn' | 'align-center' | 'align-justify' | 'align-left' | 'align-right' | 'allergies' | 'ambulance' | 'american-sign-language-interpreting' | 'analytics' | 'anchor' | 'angel' | 'angle-double-down' | 'angle-double-left' | 'angle-double-right' | 'angle-double-up' | 'angle-down' | 'angle-left' | 'angle-right' | 'angle-up' | 'angry' | 'ankh' | 'apple-alt' | 'apple-crate' | 'archive' | 'archway' | 'arrow-alt-circle-down' | 'arrow-alt-circle-left' | 'arrow-alt-circle-right' | 'arrow-alt-circle-up' | 'arrow-alt-down' | 'arrow-alt-from-bottom' | 'arrow-alt-from-left' | 'arrow-alt-from-right' | 'arrow-alt-from-top' | 'arrow-alt-left' | 'arrow-alt-right' | 'arrow-alt-square-down' | 'arrow-alt-square-left' | 'arrow-alt-square-right' | 'arrow-alt-square-up' | 'arrow-alt-to-bottom' | 'arrow-alt-to-left' | 'arrow-alt-to-right' | 'arrow-alt-to-top' | 'arrow-alt-up' | 'arrow-circle-down' | 'arrow-circle-left' | 'arrow-circle-right' | 'arrow-circle-up' | 'arrow-down' | 'arrow-from-bottom' | 'arrow-from-left' | 'arrow-from-right' | 'arrow-from-top' | 'arrow-left' | 'arrow-right' | 'arrow-square-down' | 'arrow-square-left' | 'arrow-square-right' | 'arrow-square-up' | 'arrow-to-bottom' | 'arrow-to-left' | 'arrow-to-right' | 'arrow-to-top' | 'arrow-up' | 'arrows-alt-h' | 'arrows-alt-v' | 'arrows-alt' | 'arrows-h' | 'arrows-v' | 'arrows' | 'assistive-listening-systems' | 'asterisk' | 'at' | 'atlas' | 'atom-alt' | 'atom' | 'audio-description' | 'award' | 'axe-battle' | 'axe' | 'baby-carriage' | 'baby' | 'backpack' | 'backspace' | 'backward' | 'bacon' | 'badge-check' | 'badge-dollar' | 'badge-percent' | 'badge' | 'badger-honey' | 'balance-scale-left' | 'balance-scale-right' | 'balance-scale' | 'ball-pile' | 'ballot-check' | 'ballot' | 'ban' | 'band-aid' | 'barcode-alt' | 'barcode-read' | 'barcode-scan' | 'barcode' | 'bars' | 'baseball-ball' | 'baseball' | 'basketball-ball' | 'basketball-hoop' | 'bat' | 'bath' | 'battery-bolt' | 'battery-empty' | 'battery-full' | 'battery-half' | 'battery-quarter' | 'battery-slash' | 'battery-three-quarters' | 'bed' | 'beer' | 'bell-school-slash' | 'bell-school' | 'bell-slash' | 'bell' | 'bells' | 'bezier-curve' | 'bible' | 'bicycle' | 'binoculars' | 'biohazard' | 'birthday-cake' | 'blanket' | 'blender-phone' | 'blender' | 'blind' | 'blog' | 'bold' | 'bolt' | 'bomb' | 'bone-break' | 'bone' | 'bong' | 'book-alt' | 'book-dead' | 'book-heart' | 'book-medical' | 'book-open' | 'book-reader' | 'book-spells' | 'book-user' | 'book' | 'bookmark' | 'books-medical' | 'books' | 'boot' | 'booth-curtain' | 'bow-arrow' | 'bowling-ball' | 'bowling-pins' | 'box-alt' | 'box-ballot' | 'box-check' | 'box-fragile' | 'box-full' | 'box-heart' | 'box-open' | 'box-up' | 'box-usd' | 'box' | 'boxes-alt' | 'boxes' | 'boxing-glove' | 'brackets-curly' | 'brackets' | 'braille' | 'brain' | 'bread-loaf' | 'bread-slice' | 'briefcase-medical' | 'briefcase' | 'broadcast-tower' | 'broom' | 'browser' | 'brush' | 'bug' | 'building' | 'bullhorn' | 'bullseye-arrow' | 'bullseye-pointer' | 'bullseye' | 'burn' | 'burrito' | 'bus-alt' | 'bus-school' | 'bus' | 'business-time' | 'cabinet-filing' | 'calculator-alt' | 'calculator' | 'calendar-alt' | 'calendar-check' | 'calendar-day' | 'calendar-edit' | 'calendar-exclamation' | 'calendar-minus' | 'calendar-plus' | 'calendar-star' | 'calendar-times' | 'calendar-week' | 'calendar' | 'camera-alt' | 'camera-retro' | 'camera' | 'campfire' | 'campground' | 'candle-holder' | 'candy-cane' | 'candy-corn' | 'cannabis' | 'capsules' | 'car-alt' | 'car-battery' | 'car-bump' | 'car-crash' | 'car-garage' | 'car-mechanic' | 'car-side' | 'car-tilt' | 'car-wash' | 'car' | 'caret-circle-down' | 'caret-circle-left' | 'caret-circle-right' | 'caret-circle-up' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-square-down' | 'caret-square-left' | 'caret-square-right' | 'caret-square-up' | 'caret-up' | 'carrot' | 'cart-arrow-down' | 'cart-plus' | 'cash-register' | 'cat' | 'cauldron' | 'certificate' | 'chair-office' | 'chair' | 'chalkboard-teacher' | 'chalkboard' | 'charging-station' | 'chart-area' | 'chart-bar' | 'chart-line-down' | 'chart-line' | 'chart-network' | 'chart-pie-alt' | 'chart-pie' | 'chart-scatter' | 'check-circle' | 'check-double' | 'check-square' | 'check' | 'cheese-swiss' | 'cheese' | 'cheeseburger' | 'chess-bishop-alt' | 'chess-bishop' | 'chess-board' | 'chess-clock-alt' | 'chess-clock' | 'chess-king-alt' | 'chess-king' | 'chess-knight-alt' | 'chess-knight' | 'chess-pawn-alt' | 'chess-pawn' | 'chess-queen-alt' | 'chess-queen' | 'chess-rook-alt' | 'chess-rook' | 'chess' | 'chevron-circle-down' | 'chevron-circle-left' | 'chevron-circle-right' | 'chevron-circle-up' | 'chevron-double-down' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-double-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-square-down' | 'chevron-square-left' | 'chevron-square-right' | 'chevron-square-up' | 'chevron-up' | 'child' | 'chimney' | 'church' | 'circle-notch' | 'circle' | 'city' | 'claw-marks' | 'clinic-medical' | 'clipboard-check' | 'clipboard-list-check' | 'clipboard-list' | 'clipboard-prescription' | 'clipboard-user' | 'clipboard' | 'clock' | 'clone' | 'closed-captioning' | 'cloud-download-alt' | 'cloud-download' | 'cloud-drizzle' | 'cloud-hail-mixed' | 'cloud-hail' | 'cloud-meatball' | 'cloud-moon-rain' | 'cloud-moon' | 'cloud-rain' | 'cloud-rainbow' | 'cloud-showers-heavy' | 'cloud-showers' | 'cloud-sleet' | 'cloud-snow' | 'cloud-sun-rain' | 'cloud-sun' | 'cloud-upload-alt' | 'cloud-upload' | 'cloud' | 'clouds-moon' | 'clouds-sun' | 'clouds' | 'club' | 'cocktail' | 'code-branch' | 'code-commit' | 'code-merge' | 'code' | 'coffee-togo' | 'coffee' | 'coffin' | 'cog' | 'cogs' | 'coins' | 'columns' | 'comment-alt-check' | 'comment-alt-dollar' | 'comment-alt-dots' | 'comment-alt-edit' | 'comment-alt-exclamation' | 'comment-alt-lines' | 'comment-alt-medical' | 'comment-alt-minus' | 'comment-alt-plus' | 'comment-alt-slash' | 'comment-alt-smile' | 'comment-alt-times' | 'comment-alt' | 'comment-check' | 'comment-dollar' | 'comment-dots' | 'comment-edit' | 'comment-exclamation' | 'comment-lines' | 'comment-medical' | 'comment-minus' | 'comment-plus' | 'comment-slash' | 'comment-smile' | 'comment-times' | 'comment' | 'comments-alt-dollar' | 'comments-alt' | 'comments-dollar' | 'comments' | 'compact-disc' | 'compass-slash' | 'compass' | 'compress-alt' | 'compress-arrows-alt' | 'compress-wide' | 'compress' | 'concierge-bell' | 'container-storage' | 'conveyor-belt-alt' | 'conveyor-belt' | 'cookie-bite' | 'cookie' | 'copy' | 'copyright' | 'corn' | 'couch' | 'cow' | 'credit-card-blank' | 'credit-card-front' | 'credit-card' | 'cricket' | 'croissant' | 'crop-alt' | 'crop' | 'cross' | 'crosshairs' | 'crow' | 'crown' | 'crutch' | 'crutches' | 'cube' | 'cubes' | 'curling' | 'cut' | 'dagger' | 'database' | 'deaf' | 'debug' | 'deer-rudolph' | 'deer' | 'democrat' | 'desktop-alt' | 'desktop' | 'dewpoint' | 'dharmachakra' | 'diagnoses' | 'diamond' | 'dice-d10' | 'dice-d12' | 'dice-d20' | 'dice-d4' | 'dice-d6' | 'dice-d8' | 'dice-five' | 'dice-four' | 'dice-one' | 'dice-six' | 'dice-three' | 'dice-two' | 'dice' | 'digital-tachograph' | 'diploma' | 'directions' | 'disease' | 'divide' | 'dizzy' | 'dna' | 'do-not-enter' | 'dog-leashed' | 'dog' | 'dollar-sign' | 'dolly-empty' | 'dolly-flatbed-alt' | 'dolly-flatbed-empty' | 'dolly-flatbed' | 'dolly' | 'donate' | 'door-closed' | 'door-open' | 'dot-circle' | 'dove' | 'download' | 'drafting-compass' | 'dragon' | 'draw-circle' | 'draw-polygon' | 'draw-square' | 'dreidel' | 'drum-steelpan' | 'drum' | 'drumstick-bite' | 'drumstick' | 'duck' | 'dumbbell' | 'dumpster-fire' | 'dumpster' | 'dungeon' | 'ear-muffs' | 'ear' | 'eclipse-alt' | 'eclipse' | 'edit' | 'egg-fried' | 'egg' | 'eject' | 'elephant' | 'ellipsis-h-alt' | 'ellipsis-h' | 'ellipsis-v-alt' | 'ellipsis-v' | 'empty-set' | 'engine-warning' | 'envelope-open-dollar' | 'envelope-open-text' | 'envelope-open' | 'envelope-square' | 'envelope' | 'equals' | 'eraser' | 'ethernet' | 'euro-sign' | 'exchange-alt' | 'exchange' | 'exclamation-circle' | 'exclamation-square' | 'exclamation-triangle' | 'exclamation' | 'expand-alt' | 'expand-arrows-alt' | 'expand-arrows' | 'expand-wide' | 'expand' | 'external-link-alt' | 'external-link-square-alt' | 'external-link-square' | 'external-link' | 'eye-dropper' | 'eye-evil' | 'eye-slash' | 'eye' | 'fast-backward' | 'fast-forward' | 'fax' | 'feather-alt' | 'feather' | 'female' | 'field-hockey' | 'fighter-jet' | 'file-alt' | 'file-archive' | 'file-audio' | 'file-certificate' | 'file-chart-line' | 'file-chart-pie' | 'file-check' | 'file-code' | 'file-contract' | 'file-csv' | 'file-download' | 'file-edit' | 'file-excel' | 'file-exclamation' | 'file-export' | 'file-image' | 'file-import' | 'file-invoice-dollar' | 'file-invoice' | 'file-medical-alt' | 'file-medical' | 'file-minus' | 'file-pdf' | 'file-plus' | 'file-powerpoint' | 'file-prescription' | 'file-signature' | 'file-spreadsheet' | 'file-times' | 'file-upload' | 'file-user' | 'file-video' | 'file-word' | 'file' | 'files-medical' | 'fill-drip' | 'fill' | 'film-alt' | 'film' | 'filter' | 'fingerprint' | 'fire-alt' | 'fire-extinguisher' | 'fire-smoke' | 'fire' | 'fireplace' | 'first-aid' | 'fish-cooked' | 'fish' | 'fist-raised' | 'flag-alt' | 'flag-checkered' | 'flag-usa' | 'flag' | 'flame' | 'flask-poison' | 'flask-potion' | 'flask' | 'flower-daffodil' | 'flower-tulip' | 'flower' | 'flushed' | 'fog' | 'folder-minus' | 'folder-open' | 'folder-plus' | 'folder-times' | 'folder-tree' | 'folder' | 'folders' | 'font-awesome-logo-full' | 'font' | 'football-ball' | 'football-helmet' | 'forklift' | 'forward' | 'fragile' | 'french-fries' | 'frog' | 'frosty-head' | 'frown-open' | 'frown' | 'function' | 'funnel-dollar' | 'futbol' | 'gamepad' | 'gas-pump-slash' | 'gas-pump' | 'gavel' | 'gem' | 'genderless' | 'ghost' | 'gift-card' | 'gift' | 'gifts' | 'gingerbread-man' | 'glass-champagne' | 'glass-cheers' | 'glass-martini-alt' | 'glass-martini' | 'glass-whiskey-rocks' | 'glass-whiskey' | 'glass' | 'glasses-alt' | 'glasses' | 'globe-africa' | 'globe-americas' | 'globe-asia' | 'globe-europe' | 'globe-snow' | 'globe-stand' | 'globe' | 'golf-ball' | 'golf-club' | 'gopuram' | 'graduation-cap' | 'greater-than-equal' | 'greater-than' | 'grimace' | 'grin-alt' | 'grin-beam-sweat' | 'grin-beam' | 'grin-hearts' | 'grin-squint-tears' | 'grin-squint' | 'grin-stars' | 'grin-tears' | 'grin-tongue-squint' | 'grin-tongue-wink' | 'grin-tongue' | 'grin-wink' | 'grin' | 'grip-horizontal' | 'grip-lines-vertical' | 'grip-lines' | 'grip-vertical' | 'guitar' | 'h-square' | 'h1' | 'h2' | 'h3' | 'hamburger' | 'hammer-war' | 'hammer' | 'hamsa' | 'hand-heart' | 'hand-holding-box' | 'hand-holding-heart' | 'hand-holding-magic' | 'hand-holding-seedling' | 'hand-holding-usd' | 'hand-holding-water' | 'hand-holding' | 'hand-lizard' | 'hand-middle-finger' | 'hand-paper' | 'hand-peace' | 'hand-point-down' | 'hand-point-left' | 'hand-point-right' | 'hand-point-up' | 'hand-pointer' | 'hand-receiving' | 'hand-rock' | 'hand-scissors' | 'hand-spock' | 'hands-heart' | 'hands-helping' | 'hands-usd' | 'hands' | 'handshake-alt' | 'handshake' | 'hanukiah' | 'hard-hat' | 'hashtag' | 'hat-santa' | 'hat-winter' | 'hat-witch' | 'hat-wizard' | 'haykal' | 'hdd' | 'head-side-brain' | 'head-side-medical' | 'head-side' | 'head-vr' | 'heading' | 'headphones-alt' | 'headphones' | 'headset' | 'heart-broken' | 'heart-circle' | 'heart-rate' | 'heart-square' | 'heart' | 'heartbeat' | 'helicopter' | 'helmet-battle' | 'hexagon' | 'highlighter' | 'hiking' | 'hippo' | 'history' | 'hockey-mask' | 'hockey-puck' | 'hockey-sticks' | 'holly-berry' | 'home-alt' | 'home-heart' | 'home-lg-alt' | 'home-lg' | 'home' | 'hood-cloak' | 'horse-head' | 'horse' | 'hospital-alt' | 'hospital-symbol' | 'hospital-user' | 'hospital' | 'hospitals' | 'hot-tub' | 'hotdog' | 'hotel' | 'hourglass-end' | 'hourglass-half' | 'hourglass-start' | 'hourglass' | 'house-damage' | 'house-flood' | 'hryvnia' | 'humidity' | 'hurricane' | 'i-cursor' | 'ice-cream' | 'ice-skate' | 'icicles' | 'id-badge' | 'id-card-alt' | 'id-card' | 'igloo' | 'image' | 'images' | 'inbox-in' | 'inbox-out' | 'inbox' | 'indent' | 'industry-alt' | 'industry' | 'infinity' | 'info-circle' | 'info-square' | 'info' | 'inhaler' | 'integral' | 'intersection' | 'inventory' | 'island-tropical' | 'italic' | 'jack-o-lantern' | 'jedi' | 'joint' | 'journal-whills' | 'kaaba' | 'key-skeleton' | 'key' | 'keyboard' | 'keynote' | 'khanda' | 'kidneys' | 'kiss-beam' | 'kiss-wink-heart' | 'kiss' | 'kite' | 'kiwi-bird' | 'knife-kitchen' | 'lambda' | 'lamp' | 'landmark-alt' | 'landmark' | 'language' | 'laptop-code' | 'laptop-medical' | 'laptop' | 'laugh-beam' | 'laugh-squint' | 'laugh-wink' | 'laugh' | 'layer-group' | 'layer-minus' | 'layer-plus' | 'leaf-heart' | 'leaf-maple' | 'leaf-oak' | 'leaf' | 'lemon' | 'less-than-equal' | 'less-than' | 'level-down-alt' | 'level-down' | 'level-up-alt' | 'level-up' | 'life-ring' | 'lightbulb-dollar' | 'lightbulb-exclamation' | 'lightbulb-on' | 'lightbulb-slash' | 'lightbulb' | 'lights-holiday' | 'link' | 'lips' | 'lira-sign' | 'list-alt' | 'list-ol' | 'list-ul' | 'list' | 'location-arrow' | 'location-circle' | 'location-slash' | 'location' | 'lock-alt' | 'lock-open-alt' | 'lock-open' | 'lock' | 'long-arrow-alt-down' | 'long-arrow-alt-left' | 'long-arrow-alt-right' | 'long-arrow-alt-up' | 'long-arrow-down' | 'long-arrow-left' | 'long-arrow-right' | 'long-arrow-up' | 'loveseat' | 'low-vision' | 'luchador' | 'luggage-cart' | 'lungs' | 'mace' | 'magic' | 'magnet' | 'mail-bulk' | 'mailbox' | 'male' | 'mandolin' | 'map-marked-alt' | 'map-marked' | 'map-marker-alt-slash' | 'map-marker-alt' | 'map-marker-check' | 'map-marker-edit' | 'map-marker-exclamation' | 'map-marker-minus' | 'map-marker-plus' | 'map-marker-question' | 'map-marker-slash' | 'map-marker-smile' | 'map-marker-times' | 'map-marker' | 'map-pin' | 'map-signs' | 'map' | 'marker' | 'mars-double' | 'mars-stroke-h' | 'mars-stroke-v' | 'mars-stroke' | 'mars' | 'mask' | 'meat' | 'medal' | 'medkit' | 'megaphone' | 'meh-blank' | 'meh-rolling-eyes' | 'meh' | 'memory' | 'menorah' | 'mercury' | 'meteor' | 'microchip' | 'microphone-alt-slash' | 'microphone-alt' | 'microphone-slash' | 'microphone' | 'microscope' | 'mind-share' | 'minus-circle' | 'minus-hexagon' | 'minus-octagon' | 'minus-square' | 'minus' | 'mistletoe' | 'mitten' | 'mobile-alt' | 'mobile-android-alt' | 'mobile-android' | 'mobile' | 'money-bill-alt' | 'money-bill-wave-alt' | 'money-bill-wave' | 'money-bill' | 'money-check-alt' | 'money-check' | 'monitor-heart-rate' | 'monkey' | 'monument' | 'moon-cloud' | 'moon-stars' | 'moon' | 'mortar-pestle' | 'mosque' | 'motorcycle' | 'mountain' | 'mountains' | 'mouse-pointer' | 'mug-hot' | 'mug-marshmallows' | 'music' | 'narwhal' | 'network-wired' | 'neuter' | 'newspaper' | 'not-equal' | 'notes-medical' | 'object-group' | 'object-ungroup' | 'octagon' | 'oil-can' | 'oil-temp' | 'om' | 'omega' | 'ornament' | 'otter' | 'outdent' | 'pager' | 'paint-brush-alt' | 'paint-brush' | 'paint-roller' | 'palette' | 'pallet-alt' | 'pallet' | 'paper-plane' | 'paperclip' | 'parachute-box' | 'paragraph' | 'parking-circle-slash' | 'parking-circle' | 'parking-slash' | 'parking' | 'passport' | 'pastafarianism' | 'paste' | 'pause-circle' | 'pause' | 'paw-alt' | 'paw-claws' | 'paw' | 'peace' | 'pegasus' | 'pen-alt' | 'pen-fancy' | 'pen-nib' | 'pen-square' | 'pen' | 'pencil-alt' | 'pencil-paintbrush' | 'pencil-ruler' | 'pencil' | 'pennant' | 'people-carry' | 'pepper-hot' | 'percent' | 'percentage' | 'person-booth' | 'person-carry' | 'person-dolly-empty' | 'person-dolly' | 'person-sign' | 'phone-office' | 'phone-plus' | 'phone-slash' | 'phone-square' | 'phone-volume' | 'phone' | 'pi' | 'pie' | 'pig' | 'piggy-bank' | 'pills' | 'pizza-slice' | 'pizza' | 'place-of-worship' | 'plane-alt' | 'plane-arrival' | 'plane-departure' | 'plane' | 'play-circle' | 'play' | 'plug' | 'plus-circle' | 'plus-hexagon' | 'plus-octagon' | 'plus-square' | 'plus' | 'podcast' | 'podium-star' | 'podium' | 'poll-h' | 'poll-people' | 'poll' | 'poo-storm' | 'poo' | 'poop' | 'popcorn' | 'portrait' | 'pound-sign' | 'power-off' | 'pray' | 'praying-hands' | 'prescription-bottle-alt' | 'prescription-bottle' | 'prescription' | 'presentation' | 'print-search' | 'print-slash' | 'print' | 'procedures' | 'project-diagram' | 'pumpkin' | 'puzzle-piece' | 'qrcode' | 'question-circle' | 'question-square' | 'question' | 'quidditch' | 'quote-left' | 'quote-right' | 'quran' | 'rabbit-fast' | 'rabbit' | 'racquet' | 'radiation-alt' | 'radiation' | 'rainbow' | 'raindrops' | 'ram' | 'ramp-loading' | 'random' | 'receipt' | 'rectangle-landscape' | 'rectangle-portrait' | 'rectangle-wide' | 'recycle' | 'redo-alt' | 'redo' | 'registered' | 'repeat-1-alt' | 'repeat-1' | 'repeat-alt' | 'repeat' | 'reply-all' | 'reply' | 'republican' | 'restroom' | 'retweet-alt' | 'retweet' | 'ribbon' | 'ring' | 'rings-wedding' | 'road' | 'robot' | 'rocket' | 'route-highway' | 'route-interstate' | 'route' | 'rss-square' | 'rss' | 'ruble-sign' | 'ruler-combined' | 'ruler-horizontal' | 'ruler-triangle' | 'ruler-vertical' | 'ruler' | 'running' | 'rupee-sign' | 'rv' | 'sack-dollar' | 'sack' | 'sad-cry' | 'sad-tear' | 'salad' | 'sandwich' | 'satellite-dish' | 'satellite' | 'sausage' | 'save' | 'scalpel-path' | 'scalpel' | 'scanner-keyboard' | 'scanner-touchscreen' | 'scanner' | 'scarecrow' | 'scarf' | 'school' | 'screwdriver' | 'scroll-old' | 'scroll' | 'scrubber' | 'scythe' | 'sd-card' | 'search-dollar' | 'search-location' | 'search-minus' | 'search-plus' | 'search' | 'seedling' | 'server' | 'shapes' | 'share-all' | 'share-alt-square' | 'share-alt' | 'share-square' | 'share' | 'sheep' | 'shekel-sign' | 'shield-alt' | 'shield-check' | 'shield-cross' | 'shield' | 'ship' | 'shipping-fast' | 'shipping-timed' | 'shish-kebab' | 'shoe-prints' | 'shopping-bag' | 'shopping-basket' | 'shopping-cart' | 'shovel-snow' | 'shovel' | 'shower' | 'shredder' | 'shuttle-van' | 'shuttlecock' | 'sickle' | 'sigma' | 'sign-in-alt' | 'sign-in' | 'sign-language' | 'sign-out-alt' | 'sign-out' | 'sign' | 'signal-1' | 'signal-2' | 'signal-3' | 'signal-4' | 'signal-alt-1' | 'signal-alt-2' | 'signal-alt-3' | 'signal-alt-slash' | 'signal-alt' | 'signal-slash' | 'signal' | 'signature' | 'sim-card' | 'sitemap' | 'skating' | 'skeleton' | 'ski-jump' | 'ski-lift' | 'skiing-nordic' | 'skiing' | 'skull-crossbones' | 'skull' | 'slash' | 'sledding' | 'sleigh' | 'sliders-h-square' | 'sliders-h' | 'sliders-v-square' | 'sliders-v' | 'smile-beam' | 'smile-plus' | 'smile-wink' | 'smile' | 'smog' | 'smoke' | 'smoking-ban' | 'smoking' | 'sms' | 'snake' | 'snow-blowing' | 'snowboarding' | 'snowflake' | 'snowflakes' | 'snowman' | 'snowmobile' | 'snowplow' | 'socks' | 'solar-panel' | 'sort-alpha-down' | 'sort-alpha-up' | 'sort-amount-down' | 'sort-amount-up' | 'sort-down' | 'sort-numeric-down' | 'sort-numeric-up' | 'sort-up' | 'sort' | 'soup' | 'spa' | 'space-shuttle' | 'spade' | 'spider-black-widow' | 'spider-web' | 'spider' | 'spinner-third' | 'spinner' | 'splotch' | 'spray-can' | 'square-full' | 'square-root-alt' | 'square-root' | 'square' | 'squirrel' | 'staff' | 'stamp' | 'star-and-crescent' | 'star-christmas' | 'star-exclamation' | 'star-half-alt' | 'star-half' | 'star-of-david' | 'star-of-life' | 'star' | 'stars' | 'steak' | 'steering-wheel' | 'step-backward' | 'step-forward' | 'stethoscope' | 'sticky-note' | 'stocking' | 'stomach' | 'stop-circle' | 'stop' | 'stopwatch' | 'store-alt' | 'store' | 'stream' | 'street-view' | 'stretcher' | 'strikethrough' | 'stroopwafel' | 'subscript' | 'subway' | 'suitcase-rolling' | 'suitcase' | 'sun-cloud' | 'sun-dust' | 'sun-haze' | 'sun' | 'sunrise' | 'sunset' | 'superscript' | 'surprise' | 'swatchbook' | 'swimmer' | 'swimming-pool' | 'sword' | 'swords' | 'synagogue' | 'sync-alt' | 'sync' | 'syringe' | 'table-tennis' | 'table' | 'tablet-alt' | 'tablet-android-alt' | 'tablet-android' | 'tablet-rugged' | 'tablet' | 'tablets' | 'tachometer-alt-average' | 'tachometer-alt-fast' | 'tachometer-alt-fastest' | 'tachometer-alt-slow' | 'tachometer-alt-slowest' | 'tachometer-alt' | 'tachometer-average' | 'tachometer-fast' | 'tachometer-fastest' | 'tachometer-slow' | 'tachometer-slowest' | 'tachometer' | 'taco' | 'tag' | 'tags' | 'tally' | 'tanakh' | 'tape' | 'tasks-alt' | 'tasks' | 'taxi' | 'teeth-open' | 'teeth' | 'temperature-frigid' | 'temperature-high' | 'temperature-hot' | 'temperature-low' | 'tenge' | 'tennis-ball' | 'terminal' | 'text-height' | 'text-width' | 'th-large' | 'th-list' | 'th' | 'theater-masks' | 'thermometer-empty' | 'thermometer-full' | 'thermometer-half' | 'thermometer-quarter' | 'thermometer-three-quarters' | 'thermometer' | 'theta' | 'thumbs-down' | 'thumbs-up' | 'thumbtack' | 'thunderstorm-moon' | 'thunderstorm-sun' | 'thunderstorm' | 'ticket-alt' | 'ticket' | 'tilde' | 'times-circle' | 'times-hexagon' | 'times-octagon' | 'times-square' | 'times' | 'tint-slash' | 'tint' | 'tire-flat' | 'tire-pressure-warning' | 'tire-rugged' | 'tire' | 'tired' | 'toggle-off' | 'toggle-on' | 'toilet-paper-alt' | 'toilet-paper' | 'toilet' | 'tombstone-alt' | 'tombstone' | 'toolbox' | 'tools' | 'tooth' | 'toothbrush' | 'torah' | 'torii-gate' | 'tornado' | 'tractor' | 'trademark' | 'traffic-cone' | 'traffic-light-go' | 'traffic-light-slow' | 'traffic-light-stop' | 'traffic-light' | 'train' | 'tram' | 'transgender-alt' | 'transgender' | 'trash-alt' | 'trash-restore-alt' | 'trash-restore' | 'trash' | 'treasure-chest' | 'tree-alt' | 'tree-christmas' | 'tree-decorated' | 'tree-large' | 'tree-palm' | 'tree' | 'trees' | 'triangle' | 'trophy-alt' | 'trophy' | 'truck-container' | 'truck-couch' | 'truck-loading' | 'truck-monster' | 'truck-moving' | 'truck-pickup' | 'truck-plow' | 'truck-ramp' | 'truck' | 'tshirt' | 'tty' | 'turkey' | 'turtle' | 'tv-retro' | 'tv' | 'umbrella-beach' | 'umbrella' | 'underline' | 'undo-alt' | 'undo' | 'unicorn' | 'union' | 'universal-access' | 'university' | 'unlink' | 'unlock-alt' | 'unlock' | 'upload' | 'usd-circle' | 'usd-square' | 'user-alt-slash' | 'user-alt' | 'user-astronaut' | 'user-chart' | 'user-check' | 'user-circle' | 'user-clock' | 'user-cog' | 'user-crown' | 'user-edit' | 'user-friends' | 'user-graduate' | 'user-hard-hat' | 'user-headset' | 'user-injured' | 'user-lock' | 'user-md-chat' | 'user-md' | 'user-minus' | 'user-ninja' | 'user-nurse' | 'user-plus' | 'user-secret' | 'user-shield' | 'user-slash' | 'user-tag' | 'user-tie' | 'user-times' | 'user' | 'users-class' | 'users-cog' | 'users-crown' | 'users-medical' | 'users' | 'utensil-fork' | 'utensil-knife' | 'utensil-spoon' | 'utensils-alt' | 'utensils' | 'value-absolute' | 'vector-square' | 'venus-double' | 'venus-mars' | 'venus' | 'vial' | 'vials' | 'video-plus' | 'video-slash' | 'video' | 'vihara' | 'volcano' | 'volleyball-ball' | 'volume-down' | 'volume-mute' | 'volume-off' | 'volume-slash' | 'volume-up' | 'volume' | 'vote-nay' | 'vote-yea' | 'vr-cardboard' | 'walker' | 'walking' | 'wallet' | 'wand-magic' | 'wand' | 'warehouse-alt' | 'warehouse' | 'watch-fitness' | 'watch' | 'water-lower' | 'water-rise' | 'water' | 'wave-square' | 'webcam-slash' | 'webcam' | 'weight-hanging' | 'weight' | 'whale' | 'wheat' | 'wheelchair' | 'whistle' | 'wifi-1' | 'wifi-2' | 'wifi-slash' | 'wifi' | 'wind-warning' | 'wind' | 'window-alt' | 'window-close' | 'window-maximize' | 'window-minimize' | 'window-restore' | 'window' | 'windsock' | 'wine-bottle' | 'wine-glass-alt' | 'wine-glass' | 'won-sign' | 'wreath' | 'wrench' | 'x-ray' | 'yen-sign' | 'yin-yang';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BlockNodeTypeWithCustomStyle } from 'datocms-structured-text-utils';
|
|
3
3
|
import { Account, Organization, Field, Fieldset, Item, ItemType, Plugin, Role, Site, SsoUser, Upload, User } from './SiteApiSchema';
|
|
4
|
-
export declare type Icon =
|
|
4
|
+
export declare type Icon = AwesomeFont5IconIdentifier | {
|
|
5
5
|
type: 'svg';
|
|
6
6
|
viewBox: string;
|
|
7
7
|
content: string;
|
|
@@ -1484,3 +1484,4 @@ export declare type OnBootAdditionalMethods = {
|
|
|
1484
1484
|
};
|
|
1485
1485
|
export declare type OnBootMethods = RenderMethods & OnBootAdditionalMethods;
|
|
1486
1486
|
export declare type OnBootPropertiesAndMethods = OnBootMethods & OnBootProperties;
|
|
1487
|
+
export declare type AwesomeFont5IconIdentifier = 'abacus' | 'acorn' | 'ad' | 'address-book' | 'address-card' | 'adjust' | 'air-freshener' | 'alarm-clock' | 'alicorn' | 'align-center' | 'align-justify' | 'align-left' | 'align-right' | 'allergies' | 'ambulance' | 'american-sign-language-interpreting' | 'analytics' | 'anchor' | 'angel' | 'angle-double-down' | 'angle-double-left' | 'angle-double-right' | 'angle-double-up' | 'angle-down' | 'angle-left' | 'angle-right' | 'angle-up' | 'angry' | 'ankh' | 'apple-alt' | 'apple-crate' | 'archive' | 'archway' | 'arrow-alt-circle-down' | 'arrow-alt-circle-left' | 'arrow-alt-circle-right' | 'arrow-alt-circle-up' | 'arrow-alt-down' | 'arrow-alt-from-bottom' | 'arrow-alt-from-left' | 'arrow-alt-from-right' | 'arrow-alt-from-top' | 'arrow-alt-left' | 'arrow-alt-right' | 'arrow-alt-square-down' | 'arrow-alt-square-left' | 'arrow-alt-square-right' | 'arrow-alt-square-up' | 'arrow-alt-to-bottom' | 'arrow-alt-to-left' | 'arrow-alt-to-right' | 'arrow-alt-to-top' | 'arrow-alt-up' | 'arrow-circle-down' | 'arrow-circle-left' | 'arrow-circle-right' | 'arrow-circle-up' | 'arrow-down' | 'arrow-from-bottom' | 'arrow-from-left' | 'arrow-from-right' | 'arrow-from-top' | 'arrow-left' | 'arrow-right' | 'arrow-square-down' | 'arrow-square-left' | 'arrow-square-right' | 'arrow-square-up' | 'arrow-to-bottom' | 'arrow-to-left' | 'arrow-to-right' | 'arrow-to-top' | 'arrow-up' | 'arrows-alt-h' | 'arrows-alt-v' | 'arrows-alt' | 'arrows-h' | 'arrows-v' | 'arrows' | 'assistive-listening-systems' | 'asterisk' | 'at' | 'atlas' | 'atom-alt' | 'atom' | 'audio-description' | 'award' | 'axe-battle' | 'axe' | 'baby-carriage' | 'baby' | 'backpack' | 'backspace' | 'backward' | 'bacon' | 'badge-check' | 'badge-dollar' | 'badge-percent' | 'badge' | 'badger-honey' | 'balance-scale-left' | 'balance-scale-right' | 'balance-scale' | 'ball-pile' | 'ballot-check' | 'ballot' | 'ban' | 'band-aid' | 'barcode-alt' | 'barcode-read' | 'barcode-scan' | 'barcode' | 'bars' | 'baseball-ball' | 'baseball' | 'basketball-ball' | 'basketball-hoop' | 'bat' | 'bath' | 'battery-bolt' | 'battery-empty' | 'battery-full' | 'battery-half' | 'battery-quarter' | 'battery-slash' | 'battery-three-quarters' | 'bed' | 'beer' | 'bell-school-slash' | 'bell-school' | 'bell-slash' | 'bell' | 'bells' | 'bezier-curve' | 'bible' | 'bicycle' | 'binoculars' | 'biohazard' | 'birthday-cake' | 'blanket' | 'blender-phone' | 'blender' | 'blind' | 'blog' | 'bold' | 'bolt' | 'bomb' | 'bone-break' | 'bone' | 'bong' | 'book-alt' | 'book-dead' | 'book-heart' | 'book-medical' | 'book-open' | 'book-reader' | 'book-spells' | 'book-user' | 'book' | 'bookmark' | 'books-medical' | 'books' | 'boot' | 'booth-curtain' | 'bow-arrow' | 'bowling-ball' | 'bowling-pins' | 'box-alt' | 'box-ballot' | 'box-check' | 'box-fragile' | 'box-full' | 'box-heart' | 'box-open' | 'box-up' | 'box-usd' | 'box' | 'boxes-alt' | 'boxes' | 'boxing-glove' | 'brackets-curly' | 'brackets' | 'braille' | 'brain' | 'bread-loaf' | 'bread-slice' | 'briefcase-medical' | 'briefcase' | 'broadcast-tower' | 'broom' | 'browser' | 'brush' | 'bug' | 'building' | 'bullhorn' | 'bullseye-arrow' | 'bullseye-pointer' | 'bullseye' | 'burn' | 'burrito' | 'bus-alt' | 'bus-school' | 'bus' | 'business-time' | 'cabinet-filing' | 'calculator-alt' | 'calculator' | 'calendar-alt' | 'calendar-check' | 'calendar-day' | 'calendar-edit' | 'calendar-exclamation' | 'calendar-minus' | 'calendar-plus' | 'calendar-star' | 'calendar-times' | 'calendar-week' | 'calendar' | 'camera-alt' | 'camera-retro' | 'camera' | 'campfire' | 'campground' | 'candle-holder' | 'candy-cane' | 'candy-corn' | 'cannabis' | 'capsules' | 'car-alt' | 'car-battery' | 'car-bump' | 'car-crash' | 'car-garage' | 'car-mechanic' | 'car-side' | 'car-tilt' | 'car-wash' | 'car' | 'caret-circle-down' | 'caret-circle-left' | 'caret-circle-right' | 'caret-circle-up' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-square-down' | 'caret-square-left' | 'caret-square-right' | 'caret-square-up' | 'caret-up' | 'carrot' | 'cart-arrow-down' | 'cart-plus' | 'cash-register' | 'cat' | 'cauldron' | 'certificate' | 'chair-office' | 'chair' | 'chalkboard-teacher' | 'chalkboard' | 'charging-station' | 'chart-area' | 'chart-bar' | 'chart-line-down' | 'chart-line' | 'chart-network' | 'chart-pie-alt' | 'chart-pie' | 'chart-scatter' | 'check-circle' | 'check-double' | 'check-square' | 'check' | 'cheese-swiss' | 'cheese' | 'cheeseburger' | 'chess-bishop-alt' | 'chess-bishop' | 'chess-board' | 'chess-clock-alt' | 'chess-clock' | 'chess-king-alt' | 'chess-king' | 'chess-knight-alt' | 'chess-knight' | 'chess-pawn-alt' | 'chess-pawn' | 'chess-queen-alt' | 'chess-queen' | 'chess-rook-alt' | 'chess-rook' | 'chess' | 'chevron-circle-down' | 'chevron-circle-left' | 'chevron-circle-right' | 'chevron-circle-up' | 'chevron-double-down' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-double-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-square-down' | 'chevron-square-left' | 'chevron-square-right' | 'chevron-square-up' | 'chevron-up' | 'child' | 'chimney' | 'church' | 'circle-notch' | 'circle' | 'city' | 'claw-marks' | 'clinic-medical' | 'clipboard-check' | 'clipboard-list-check' | 'clipboard-list' | 'clipboard-prescription' | 'clipboard-user' | 'clipboard' | 'clock' | 'clone' | 'closed-captioning' | 'cloud-download-alt' | 'cloud-download' | 'cloud-drizzle' | 'cloud-hail-mixed' | 'cloud-hail' | 'cloud-meatball' | 'cloud-moon-rain' | 'cloud-moon' | 'cloud-rain' | 'cloud-rainbow' | 'cloud-showers-heavy' | 'cloud-showers' | 'cloud-sleet' | 'cloud-snow' | 'cloud-sun-rain' | 'cloud-sun' | 'cloud-upload-alt' | 'cloud-upload' | 'cloud' | 'clouds-moon' | 'clouds-sun' | 'clouds' | 'club' | 'cocktail' | 'code-branch' | 'code-commit' | 'code-merge' | 'code' | 'coffee-togo' | 'coffee' | 'coffin' | 'cog' | 'cogs' | 'coins' | 'columns' | 'comment-alt-check' | 'comment-alt-dollar' | 'comment-alt-dots' | 'comment-alt-edit' | 'comment-alt-exclamation' | 'comment-alt-lines' | 'comment-alt-medical' | 'comment-alt-minus' | 'comment-alt-plus' | 'comment-alt-slash' | 'comment-alt-smile' | 'comment-alt-times' | 'comment-alt' | 'comment-check' | 'comment-dollar' | 'comment-dots' | 'comment-edit' | 'comment-exclamation' | 'comment-lines' | 'comment-medical' | 'comment-minus' | 'comment-plus' | 'comment-slash' | 'comment-smile' | 'comment-times' | 'comment' | 'comments-alt-dollar' | 'comments-alt' | 'comments-dollar' | 'comments' | 'compact-disc' | 'compass-slash' | 'compass' | 'compress-alt' | 'compress-arrows-alt' | 'compress-wide' | 'compress' | 'concierge-bell' | 'container-storage' | 'conveyor-belt-alt' | 'conveyor-belt' | 'cookie-bite' | 'cookie' | 'copy' | 'copyright' | 'corn' | 'couch' | 'cow' | 'credit-card-blank' | 'credit-card-front' | 'credit-card' | 'cricket' | 'croissant' | 'crop-alt' | 'crop' | 'cross' | 'crosshairs' | 'crow' | 'crown' | 'crutch' | 'crutches' | 'cube' | 'cubes' | 'curling' | 'cut' | 'dagger' | 'database' | 'deaf' | 'debug' | 'deer-rudolph' | 'deer' | 'democrat' | 'desktop-alt' | 'desktop' | 'dewpoint' | 'dharmachakra' | 'diagnoses' | 'diamond' | 'dice-d10' | 'dice-d12' | 'dice-d20' | 'dice-d4' | 'dice-d6' | 'dice-d8' | 'dice-five' | 'dice-four' | 'dice-one' | 'dice-six' | 'dice-three' | 'dice-two' | 'dice' | 'digital-tachograph' | 'diploma' | 'directions' | 'disease' | 'divide' | 'dizzy' | 'dna' | 'do-not-enter' | 'dog-leashed' | 'dog' | 'dollar-sign' | 'dolly-empty' | 'dolly-flatbed-alt' | 'dolly-flatbed-empty' | 'dolly-flatbed' | 'dolly' | 'donate' | 'door-closed' | 'door-open' | 'dot-circle' | 'dove' | 'download' | 'drafting-compass' | 'dragon' | 'draw-circle' | 'draw-polygon' | 'draw-square' | 'dreidel' | 'drum-steelpan' | 'drum' | 'drumstick-bite' | 'drumstick' | 'duck' | 'dumbbell' | 'dumpster-fire' | 'dumpster' | 'dungeon' | 'ear-muffs' | 'ear' | 'eclipse-alt' | 'eclipse' | 'edit' | 'egg-fried' | 'egg' | 'eject' | 'elephant' | 'ellipsis-h-alt' | 'ellipsis-h' | 'ellipsis-v-alt' | 'ellipsis-v' | 'empty-set' | 'engine-warning' | 'envelope-open-dollar' | 'envelope-open-text' | 'envelope-open' | 'envelope-square' | 'envelope' | 'equals' | 'eraser' | 'ethernet' | 'euro-sign' | 'exchange-alt' | 'exchange' | 'exclamation-circle' | 'exclamation-square' | 'exclamation-triangle' | 'exclamation' | 'expand-alt' | 'expand-arrows-alt' | 'expand-arrows' | 'expand-wide' | 'expand' | 'external-link-alt' | 'external-link-square-alt' | 'external-link-square' | 'external-link' | 'eye-dropper' | 'eye-evil' | 'eye-slash' | 'eye' | 'fast-backward' | 'fast-forward' | 'fax' | 'feather-alt' | 'feather' | 'female' | 'field-hockey' | 'fighter-jet' | 'file-alt' | 'file-archive' | 'file-audio' | 'file-certificate' | 'file-chart-line' | 'file-chart-pie' | 'file-check' | 'file-code' | 'file-contract' | 'file-csv' | 'file-download' | 'file-edit' | 'file-excel' | 'file-exclamation' | 'file-export' | 'file-image' | 'file-import' | 'file-invoice-dollar' | 'file-invoice' | 'file-medical-alt' | 'file-medical' | 'file-minus' | 'file-pdf' | 'file-plus' | 'file-powerpoint' | 'file-prescription' | 'file-signature' | 'file-spreadsheet' | 'file-times' | 'file-upload' | 'file-user' | 'file-video' | 'file-word' | 'file' | 'files-medical' | 'fill-drip' | 'fill' | 'film-alt' | 'film' | 'filter' | 'fingerprint' | 'fire-alt' | 'fire-extinguisher' | 'fire-smoke' | 'fire' | 'fireplace' | 'first-aid' | 'fish-cooked' | 'fish' | 'fist-raised' | 'flag-alt' | 'flag-checkered' | 'flag-usa' | 'flag' | 'flame' | 'flask-poison' | 'flask-potion' | 'flask' | 'flower-daffodil' | 'flower-tulip' | 'flower' | 'flushed' | 'fog' | 'folder-minus' | 'folder-open' | 'folder-plus' | 'folder-times' | 'folder-tree' | 'folder' | 'folders' | 'font-awesome-logo-full' | 'font' | 'football-ball' | 'football-helmet' | 'forklift' | 'forward' | 'fragile' | 'french-fries' | 'frog' | 'frosty-head' | 'frown-open' | 'frown' | 'function' | 'funnel-dollar' | 'futbol' | 'gamepad' | 'gas-pump-slash' | 'gas-pump' | 'gavel' | 'gem' | 'genderless' | 'ghost' | 'gift-card' | 'gift' | 'gifts' | 'gingerbread-man' | 'glass-champagne' | 'glass-cheers' | 'glass-martini-alt' | 'glass-martini' | 'glass-whiskey-rocks' | 'glass-whiskey' | 'glass' | 'glasses-alt' | 'glasses' | 'globe-africa' | 'globe-americas' | 'globe-asia' | 'globe-europe' | 'globe-snow' | 'globe-stand' | 'globe' | 'golf-ball' | 'golf-club' | 'gopuram' | 'graduation-cap' | 'greater-than-equal' | 'greater-than' | 'grimace' | 'grin-alt' | 'grin-beam-sweat' | 'grin-beam' | 'grin-hearts' | 'grin-squint-tears' | 'grin-squint' | 'grin-stars' | 'grin-tears' | 'grin-tongue-squint' | 'grin-tongue-wink' | 'grin-tongue' | 'grin-wink' | 'grin' | 'grip-horizontal' | 'grip-lines-vertical' | 'grip-lines' | 'grip-vertical' | 'guitar' | 'h-square' | 'h1' | 'h2' | 'h3' | 'hamburger' | 'hammer-war' | 'hammer' | 'hamsa' | 'hand-heart' | 'hand-holding-box' | 'hand-holding-heart' | 'hand-holding-magic' | 'hand-holding-seedling' | 'hand-holding-usd' | 'hand-holding-water' | 'hand-holding' | 'hand-lizard' | 'hand-middle-finger' | 'hand-paper' | 'hand-peace' | 'hand-point-down' | 'hand-point-left' | 'hand-point-right' | 'hand-point-up' | 'hand-pointer' | 'hand-receiving' | 'hand-rock' | 'hand-scissors' | 'hand-spock' | 'hands-heart' | 'hands-helping' | 'hands-usd' | 'hands' | 'handshake-alt' | 'handshake' | 'hanukiah' | 'hard-hat' | 'hashtag' | 'hat-santa' | 'hat-winter' | 'hat-witch' | 'hat-wizard' | 'haykal' | 'hdd' | 'head-side-brain' | 'head-side-medical' | 'head-side' | 'head-vr' | 'heading' | 'headphones-alt' | 'headphones' | 'headset' | 'heart-broken' | 'heart-circle' | 'heart-rate' | 'heart-square' | 'heart' | 'heartbeat' | 'helicopter' | 'helmet-battle' | 'hexagon' | 'highlighter' | 'hiking' | 'hippo' | 'history' | 'hockey-mask' | 'hockey-puck' | 'hockey-sticks' | 'holly-berry' | 'home-alt' | 'home-heart' | 'home-lg-alt' | 'home-lg' | 'home' | 'hood-cloak' | 'horse-head' | 'horse' | 'hospital-alt' | 'hospital-symbol' | 'hospital-user' | 'hospital' | 'hospitals' | 'hot-tub' | 'hotdog' | 'hotel' | 'hourglass-end' | 'hourglass-half' | 'hourglass-start' | 'hourglass' | 'house-damage' | 'house-flood' | 'hryvnia' | 'humidity' | 'hurricane' | 'i-cursor' | 'ice-cream' | 'ice-skate' | 'icicles' | 'id-badge' | 'id-card-alt' | 'id-card' | 'igloo' | 'image' | 'images' | 'inbox-in' | 'inbox-out' | 'inbox' | 'indent' | 'industry-alt' | 'industry' | 'infinity' | 'info-circle' | 'info-square' | 'info' | 'inhaler' | 'integral' | 'intersection' | 'inventory' | 'island-tropical' | 'italic' | 'jack-o-lantern' | 'jedi' | 'joint' | 'journal-whills' | 'kaaba' | 'key-skeleton' | 'key' | 'keyboard' | 'keynote' | 'khanda' | 'kidneys' | 'kiss-beam' | 'kiss-wink-heart' | 'kiss' | 'kite' | 'kiwi-bird' | 'knife-kitchen' | 'lambda' | 'lamp' | 'landmark-alt' | 'landmark' | 'language' | 'laptop-code' | 'laptop-medical' | 'laptop' | 'laugh-beam' | 'laugh-squint' | 'laugh-wink' | 'laugh' | 'layer-group' | 'layer-minus' | 'layer-plus' | 'leaf-heart' | 'leaf-maple' | 'leaf-oak' | 'leaf' | 'lemon' | 'less-than-equal' | 'less-than' | 'level-down-alt' | 'level-down' | 'level-up-alt' | 'level-up' | 'life-ring' | 'lightbulb-dollar' | 'lightbulb-exclamation' | 'lightbulb-on' | 'lightbulb-slash' | 'lightbulb' | 'lights-holiday' | 'link' | 'lips' | 'lira-sign' | 'list-alt' | 'list-ol' | 'list-ul' | 'list' | 'location-arrow' | 'location-circle' | 'location-slash' | 'location' | 'lock-alt' | 'lock-open-alt' | 'lock-open' | 'lock' | 'long-arrow-alt-down' | 'long-arrow-alt-left' | 'long-arrow-alt-right' | 'long-arrow-alt-up' | 'long-arrow-down' | 'long-arrow-left' | 'long-arrow-right' | 'long-arrow-up' | 'loveseat' | 'low-vision' | 'luchador' | 'luggage-cart' | 'lungs' | 'mace' | 'magic' | 'magnet' | 'mail-bulk' | 'mailbox' | 'male' | 'mandolin' | 'map-marked-alt' | 'map-marked' | 'map-marker-alt-slash' | 'map-marker-alt' | 'map-marker-check' | 'map-marker-edit' | 'map-marker-exclamation' | 'map-marker-minus' | 'map-marker-plus' | 'map-marker-question' | 'map-marker-slash' | 'map-marker-smile' | 'map-marker-times' | 'map-marker' | 'map-pin' | 'map-signs' | 'map' | 'marker' | 'mars-double' | 'mars-stroke-h' | 'mars-stroke-v' | 'mars-stroke' | 'mars' | 'mask' | 'meat' | 'medal' | 'medkit' | 'megaphone' | 'meh-blank' | 'meh-rolling-eyes' | 'meh' | 'memory' | 'menorah' | 'mercury' | 'meteor' | 'microchip' | 'microphone-alt-slash' | 'microphone-alt' | 'microphone-slash' | 'microphone' | 'microscope' | 'mind-share' | 'minus-circle' | 'minus-hexagon' | 'minus-octagon' | 'minus-square' | 'minus' | 'mistletoe' | 'mitten' | 'mobile-alt' | 'mobile-android-alt' | 'mobile-android' | 'mobile' | 'money-bill-alt' | 'money-bill-wave-alt' | 'money-bill-wave' | 'money-bill' | 'money-check-alt' | 'money-check' | 'monitor-heart-rate' | 'monkey' | 'monument' | 'moon-cloud' | 'moon-stars' | 'moon' | 'mortar-pestle' | 'mosque' | 'motorcycle' | 'mountain' | 'mountains' | 'mouse-pointer' | 'mug-hot' | 'mug-marshmallows' | 'music' | 'narwhal' | 'network-wired' | 'neuter' | 'newspaper' | 'not-equal' | 'notes-medical' | 'object-group' | 'object-ungroup' | 'octagon' | 'oil-can' | 'oil-temp' | 'om' | 'omega' | 'ornament' | 'otter' | 'outdent' | 'pager' | 'paint-brush-alt' | 'paint-brush' | 'paint-roller' | 'palette' | 'pallet-alt' | 'pallet' | 'paper-plane' | 'paperclip' | 'parachute-box' | 'paragraph' | 'parking-circle-slash' | 'parking-circle' | 'parking-slash' | 'parking' | 'passport' | 'pastafarianism' | 'paste' | 'pause-circle' | 'pause' | 'paw-alt' | 'paw-claws' | 'paw' | 'peace' | 'pegasus' | 'pen-alt' | 'pen-fancy' | 'pen-nib' | 'pen-square' | 'pen' | 'pencil-alt' | 'pencil-paintbrush' | 'pencil-ruler' | 'pencil' | 'pennant' | 'people-carry' | 'pepper-hot' | 'percent' | 'percentage' | 'person-booth' | 'person-carry' | 'person-dolly-empty' | 'person-dolly' | 'person-sign' | 'phone-office' | 'phone-plus' | 'phone-slash' | 'phone-square' | 'phone-volume' | 'phone' | 'pi' | 'pie' | 'pig' | 'piggy-bank' | 'pills' | 'pizza-slice' | 'pizza' | 'place-of-worship' | 'plane-alt' | 'plane-arrival' | 'plane-departure' | 'plane' | 'play-circle' | 'play' | 'plug' | 'plus-circle' | 'plus-hexagon' | 'plus-octagon' | 'plus-square' | 'plus' | 'podcast' | 'podium-star' | 'podium' | 'poll-h' | 'poll-people' | 'poll' | 'poo-storm' | 'poo' | 'poop' | 'popcorn' | 'portrait' | 'pound-sign' | 'power-off' | 'pray' | 'praying-hands' | 'prescription-bottle-alt' | 'prescription-bottle' | 'prescription' | 'presentation' | 'print-search' | 'print-slash' | 'print' | 'procedures' | 'project-diagram' | 'pumpkin' | 'puzzle-piece' | 'qrcode' | 'question-circle' | 'question-square' | 'question' | 'quidditch' | 'quote-left' | 'quote-right' | 'quran' | 'rabbit-fast' | 'rabbit' | 'racquet' | 'radiation-alt' | 'radiation' | 'rainbow' | 'raindrops' | 'ram' | 'ramp-loading' | 'random' | 'receipt' | 'rectangle-landscape' | 'rectangle-portrait' | 'rectangle-wide' | 'recycle' | 'redo-alt' | 'redo' | 'registered' | 'repeat-1-alt' | 'repeat-1' | 'repeat-alt' | 'repeat' | 'reply-all' | 'reply' | 'republican' | 'restroom' | 'retweet-alt' | 'retweet' | 'ribbon' | 'ring' | 'rings-wedding' | 'road' | 'robot' | 'rocket' | 'route-highway' | 'route-interstate' | 'route' | 'rss-square' | 'rss' | 'ruble-sign' | 'ruler-combined' | 'ruler-horizontal' | 'ruler-triangle' | 'ruler-vertical' | 'ruler' | 'running' | 'rupee-sign' | 'rv' | 'sack-dollar' | 'sack' | 'sad-cry' | 'sad-tear' | 'salad' | 'sandwich' | 'satellite-dish' | 'satellite' | 'sausage' | 'save' | 'scalpel-path' | 'scalpel' | 'scanner-keyboard' | 'scanner-touchscreen' | 'scanner' | 'scarecrow' | 'scarf' | 'school' | 'screwdriver' | 'scroll-old' | 'scroll' | 'scrubber' | 'scythe' | 'sd-card' | 'search-dollar' | 'search-location' | 'search-minus' | 'search-plus' | 'search' | 'seedling' | 'server' | 'shapes' | 'share-all' | 'share-alt-square' | 'share-alt' | 'share-square' | 'share' | 'sheep' | 'shekel-sign' | 'shield-alt' | 'shield-check' | 'shield-cross' | 'shield' | 'ship' | 'shipping-fast' | 'shipping-timed' | 'shish-kebab' | 'shoe-prints' | 'shopping-bag' | 'shopping-basket' | 'shopping-cart' | 'shovel-snow' | 'shovel' | 'shower' | 'shredder' | 'shuttle-van' | 'shuttlecock' | 'sickle' | 'sigma' | 'sign-in-alt' | 'sign-in' | 'sign-language' | 'sign-out-alt' | 'sign-out' | 'sign' | 'signal-1' | 'signal-2' | 'signal-3' | 'signal-4' | 'signal-alt-1' | 'signal-alt-2' | 'signal-alt-3' | 'signal-alt-slash' | 'signal-alt' | 'signal-slash' | 'signal' | 'signature' | 'sim-card' | 'sitemap' | 'skating' | 'skeleton' | 'ski-jump' | 'ski-lift' | 'skiing-nordic' | 'skiing' | 'skull-crossbones' | 'skull' | 'slash' | 'sledding' | 'sleigh' | 'sliders-h-square' | 'sliders-h' | 'sliders-v-square' | 'sliders-v' | 'smile-beam' | 'smile-plus' | 'smile-wink' | 'smile' | 'smog' | 'smoke' | 'smoking-ban' | 'smoking' | 'sms' | 'snake' | 'snow-blowing' | 'snowboarding' | 'snowflake' | 'snowflakes' | 'snowman' | 'snowmobile' | 'snowplow' | 'socks' | 'solar-panel' | 'sort-alpha-down' | 'sort-alpha-up' | 'sort-amount-down' | 'sort-amount-up' | 'sort-down' | 'sort-numeric-down' | 'sort-numeric-up' | 'sort-up' | 'sort' | 'soup' | 'spa' | 'space-shuttle' | 'spade' | 'spider-black-widow' | 'spider-web' | 'spider' | 'spinner-third' | 'spinner' | 'splotch' | 'spray-can' | 'square-full' | 'square-root-alt' | 'square-root' | 'square' | 'squirrel' | 'staff' | 'stamp' | 'star-and-crescent' | 'star-christmas' | 'star-exclamation' | 'star-half-alt' | 'star-half' | 'star-of-david' | 'star-of-life' | 'star' | 'stars' | 'steak' | 'steering-wheel' | 'step-backward' | 'step-forward' | 'stethoscope' | 'sticky-note' | 'stocking' | 'stomach' | 'stop-circle' | 'stop' | 'stopwatch' | 'store-alt' | 'store' | 'stream' | 'street-view' | 'stretcher' | 'strikethrough' | 'stroopwafel' | 'subscript' | 'subway' | 'suitcase-rolling' | 'suitcase' | 'sun-cloud' | 'sun-dust' | 'sun-haze' | 'sun' | 'sunrise' | 'sunset' | 'superscript' | 'surprise' | 'swatchbook' | 'swimmer' | 'swimming-pool' | 'sword' | 'swords' | 'synagogue' | 'sync-alt' | 'sync' | 'syringe' | 'table-tennis' | 'table' | 'tablet-alt' | 'tablet-android-alt' | 'tablet-android' | 'tablet-rugged' | 'tablet' | 'tablets' | 'tachometer-alt-average' | 'tachometer-alt-fast' | 'tachometer-alt-fastest' | 'tachometer-alt-slow' | 'tachometer-alt-slowest' | 'tachometer-alt' | 'tachometer-average' | 'tachometer-fast' | 'tachometer-fastest' | 'tachometer-slow' | 'tachometer-slowest' | 'tachometer' | 'taco' | 'tag' | 'tags' | 'tally' | 'tanakh' | 'tape' | 'tasks-alt' | 'tasks' | 'taxi' | 'teeth-open' | 'teeth' | 'temperature-frigid' | 'temperature-high' | 'temperature-hot' | 'temperature-low' | 'tenge' | 'tennis-ball' | 'terminal' | 'text-height' | 'text-width' | 'th-large' | 'th-list' | 'th' | 'theater-masks' | 'thermometer-empty' | 'thermometer-full' | 'thermometer-half' | 'thermometer-quarter' | 'thermometer-three-quarters' | 'thermometer' | 'theta' | 'thumbs-down' | 'thumbs-up' | 'thumbtack' | 'thunderstorm-moon' | 'thunderstorm-sun' | 'thunderstorm' | 'ticket-alt' | 'ticket' | 'tilde' | 'times-circle' | 'times-hexagon' | 'times-octagon' | 'times-square' | 'times' | 'tint-slash' | 'tint' | 'tire-flat' | 'tire-pressure-warning' | 'tire-rugged' | 'tire' | 'tired' | 'toggle-off' | 'toggle-on' | 'toilet-paper-alt' | 'toilet-paper' | 'toilet' | 'tombstone-alt' | 'tombstone' | 'toolbox' | 'tools' | 'tooth' | 'toothbrush' | 'torah' | 'torii-gate' | 'tornado' | 'tractor' | 'trademark' | 'traffic-cone' | 'traffic-light-go' | 'traffic-light-slow' | 'traffic-light-stop' | 'traffic-light' | 'train' | 'tram' | 'transgender-alt' | 'transgender' | 'trash-alt' | 'trash-restore-alt' | 'trash-restore' | 'trash' | 'treasure-chest' | 'tree-alt' | 'tree-christmas' | 'tree-decorated' | 'tree-large' | 'tree-palm' | 'tree' | 'trees' | 'triangle' | 'trophy-alt' | 'trophy' | 'truck-container' | 'truck-couch' | 'truck-loading' | 'truck-monster' | 'truck-moving' | 'truck-pickup' | 'truck-plow' | 'truck-ramp' | 'truck' | 'tshirt' | 'tty' | 'turkey' | 'turtle' | 'tv-retro' | 'tv' | 'umbrella-beach' | 'umbrella' | 'underline' | 'undo-alt' | 'undo' | 'unicorn' | 'union' | 'universal-access' | 'university' | 'unlink' | 'unlock-alt' | 'unlock' | 'upload' | 'usd-circle' | 'usd-square' | 'user-alt-slash' | 'user-alt' | 'user-astronaut' | 'user-chart' | 'user-check' | 'user-circle' | 'user-clock' | 'user-cog' | 'user-crown' | 'user-edit' | 'user-friends' | 'user-graduate' | 'user-hard-hat' | 'user-headset' | 'user-injured' | 'user-lock' | 'user-md-chat' | 'user-md' | 'user-minus' | 'user-ninja' | 'user-nurse' | 'user-plus' | 'user-secret' | 'user-shield' | 'user-slash' | 'user-tag' | 'user-tie' | 'user-times' | 'user' | 'users-class' | 'users-cog' | 'users-crown' | 'users-medical' | 'users' | 'utensil-fork' | 'utensil-knife' | 'utensil-spoon' | 'utensils-alt' | 'utensils' | 'value-absolute' | 'vector-square' | 'venus-double' | 'venus-mars' | 'venus' | 'vial' | 'vials' | 'video-plus' | 'video-slash' | 'video' | 'vihara' | 'volcano' | 'volleyball-ball' | 'volume-down' | 'volume-mute' | 'volume-off' | 'volume-slash' | 'volume-up' | 'volume' | 'vote-nay' | 'vote-yea' | 'vr-cardboard' | 'walker' | 'walking' | 'wallet' | 'wand-magic' | 'wand' | 'warehouse-alt' | 'warehouse' | 'watch-fitness' | 'watch' | 'water-lower' | 'water-rise' | 'water' | 'wave-square' | 'webcam-slash' | 'webcam' | 'weight-hanging' | 'weight' | 'whale' | 'wheat' | 'wheelchair' | 'whistle' | 'wifi-1' | 'wifi-2' | 'wifi-slash' | 'wifi' | 'wind-warning' | 'wind' | 'window-alt' | 'window-close' | 'window-maximize' | 'window-minimize' | 'window-restore' | 'window' | 'windsock' | 'wine-bottle' | 'wine-glass-alt' | 'wine-glass' | 'won-sign' | 'wreath' | 'wrench' | 'x-ray' | 'yen-sign' | 'yin-yang';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typedoc": "^0.23.20"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ead3ed4f2d0cd599b6aea29d867101e055be1802"
|
|
47
47
|
}
|
package/src/connect.ts
CHANGED
|
@@ -395,29 +395,39 @@ const buildRenderUtils = (parent: { setHeight: (number: number) => void }) => {
|
|
|
395
395
|
};
|
|
396
396
|
|
|
397
397
|
let resizeObserver: ResizeObserver | null = null;
|
|
398
|
+
let mutationObserver: MutationObserver | null = null;
|
|
399
|
+
const onMutation = () => updateHeight();
|
|
398
400
|
|
|
399
401
|
const startAutoResizer = () => {
|
|
400
402
|
updateHeight();
|
|
401
403
|
|
|
402
|
-
if (resizeObserver) {
|
|
403
|
-
|
|
404
|
+
if (!resizeObserver) {
|
|
405
|
+
resizeObserver = new ResizeObserver(onMutation);
|
|
406
|
+
resizeObserver.observe(document.documentElement);
|
|
404
407
|
}
|
|
405
408
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
updateHeight();
|
|
409
|
-
});
|
|
409
|
+
if (!mutationObserver) {
|
|
410
|
+
mutationObserver = new MutationObserver(onMutation);
|
|
410
411
|
|
|
411
|
-
|
|
412
|
+
mutationObserver.observe(window.document.body, {
|
|
413
|
+
attributes: true,
|
|
414
|
+
childList: true,
|
|
415
|
+
subtree: true,
|
|
416
|
+
characterData: true,
|
|
417
|
+
});
|
|
418
|
+
}
|
|
412
419
|
};
|
|
413
420
|
|
|
414
421
|
const stopAutoResizer = () => {
|
|
415
|
-
if (
|
|
416
|
-
|
|
422
|
+
if (resizeObserver) {
|
|
423
|
+
resizeObserver.disconnect();
|
|
424
|
+
resizeObserver = null;
|
|
417
425
|
}
|
|
418
426
|
|
|
419
|
-
|
|
420
|
-
|
|
427
|
+
if (mutationObserver) {
|
|
428
|
+
mutationObserver.disconnect();
|
|
429
|
+
mutationObserver = null;
|
|
430
|
+
}
|
|
421
431
|
};
|
|
422
432
|
|
|
423
433
|
return { updateHeight, startAutoResizer, stopAutoResizer };
|