avo-rhino_field 0.0.13 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/builds/avo-rhino_field.css +15 -2
- data/app/assets/builds/avo-rhino_field.css.map +1 -1
- data/app/assets/builds/avo-rhino_field.js +11 -292
- data/app/assets/builds/avo-rhino_field.js.map +4 -4
- data/app/components/avo/fields/rhino_field/edit_component.html.erb +4 -4
- data/app/components/avo/fields/rhino_field/show_component.html.erb +19 -12
- data/lib/avo/rhino_field/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dced660939a28fe73134a9589503cb5f7576bf05e4c748d58e0653477a18d090
|
4
|
+
data.tar.gz: dc79f46874bc2b66b2f11ff402dbd8c8623d9b5a7299fb635f9d1418e3604692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d4475e23ed9ec812a4153616badce70949cb9c8556aa455e3759c344afcda0dfbc44f557b86b7b2f9136d185b92ec336d514b8114877341f4ae4e0fdecafb5d
|
7
|
+
data.tar.gz: b682824f1e486574ef6144f18ea5bba43873acc7e9514c6af0b4c0a1b65706521cfd38bdea0b20c2923057a669eb54b46c64f59d1f19d644f009db073352ad9b
|
@@ -959,22 +959,35 @@ video {
|
|
959
959
|
overflow-x: auto;
|
960
960
|
}
|
961
961
|
|
962
|
+
.border-none {
|
963
|
+
border-style: none;
|
964
|
+
}
|
965
|
+
|
962
966
|
.bg-transparent {
|
963
967
|
background-color: transparent;
|
964
968
|
}
|
965
969
|
|
970
|
+
.px-0 {
|
971
|
+
padding-left: 0px;
|
972
|
+
padding-right: 0px;
|
973
|
+
}
|
974
|
+
|
966
975
|
.py-2 {
|
967
976
|
padding-top: 0.5rem;
|
968
977
|
padding-bottom: 0.5rem;
|
969
978
|
}
|
970
979
|
|
980
|
+
.pt-3 {
|
981
|
+
padding-top: 0.75rem;
|
982
|
+
}
|
983
|
+
|
971
984
|
.text-sm {
|
972
985
|
font-size: 0.875rem;
|
973
986
|
line-height: 1.25rem;
|
974
987
|
}
|
975
988
|
|
976
|
-
.font-
|
977
|
-
font-weight:
|
989
|
+
.font-semibold {
|
990
|
+
font-weight: 600;
|
978
991
|
}
|
979
992
|
|
980
993
|
.rhino-editor .rhino-toolbar-button,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/rhino-editor/exports/styles/trix.css","../../../node_modules/rhino-editor/src/exports/styles/trix.css","../stylesheets/avo-rhino_field.css"],"names":[],"mappings":"AAAA,gCAAgC;;ACKhC;EACE,2CAAsB;EACtB,4EAAsD;EACtD,SAAQ;EACR,oBAAe;EACf,iBAAY;EACZ,oBAAS;EACT,yBAAe;EACf,sBAAY;AACd;;AAEA;EAEE,qBAAa;AACf;;AAEA;EACE,qDAAkB;AACpB;;AAEA;EACE,WAAO;EACP,eAAW;EACX,YAAQ;EACR,cAAS;AACX;;AAEA;EACE,UAAS;EACT,SAAQ;AACV;;AAEA;EACE,kBAAU;AACZ;;AAEA;EACE,oBAAY;EACZ,qBAAS;EACT,mBAAa;EACb,WAAO;EACP,SAAQ;EACR,UAAS;EACT,kBAAW;EACX,oBAAa;EACb,oBAAa;EACb,cAAO;EACP,kBAAY;EACZ,mBAAgB;EAChB,YAAQ;EACR,aAAS;EACT,wBAAoB;EACpB,qBAAiB;EACjB,gBAAY;AACd;;AAGA;EACE,yBAAa;AACf;;AAEA;EACE,sCAAkC;AACpC;;AAGA;EAGE,oBAAS;EACT,mCAAgB;AAClB;;AAEA;;EAEE,aAAS;AACX;;AAEA;;EAME,aAAS;AACX;;AAEA;EACE,kBAAU;EACV,oBAAgB;EAChB,0CAAW;EACX,YAAQ;EACR,WAAS;AACX;;AACA;EACE,kBAAU;AACZ;;AAEA;;EAIE,0CAAW;EACX,+BAAc;EACd,oBAAgB;AACl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B;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA,mBAAmB;EAAnB;AAAmB;;AAAnB;EAAA,mBAAmB;EAAnB;AAAmB;;AAAnB;EAAA;AAAmB;;AAEnB;;EAEE,+BAA+B;EAC/B,aAAmD;EAAnD,mBAAmD;EAAnD,uBAAmD;EAAnD,kBAAmD;AAKrD;;AAFI;IAAA,kBAA8B;IAA9B;EAA8B;;AAA9B;IAAA,sBAA8B;IAA9B,8BAA8B;IAA9B;EAA8B;;AAKhC;EAAA;AAAc","file":"avo-rhino_field.css","sourcesContent":["/* src/exports/styles/trix.css */\n.trix-content {\n border: 1px solid var(--rhino-border-color);\n border-radius: 0px 0px var(--rhino-border-radius) var(--rhino-border-radius);\n margin: 0;\n padding: 0.4em 0.6em;\n min-height: 200px;\n outline: transparent;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n.trix-content[contenteditable=true] {\n white-space: pre-wrap;\n}\n.trix-content:is(:focus, :focus-within) {\n border-color: var(--rhino-button-active-border-color);\n}\n.trix-content :is(img, svg, figure) {\n width: 100%;\n max-width: 100%;\n height: auto;\n display: block;\n}\n.trix-content :is(figure, p) {\n padding: 0;\n margin: 0;\n}\n.trix-content figure {\n position: relative;\n}\n.trix-content figcaption {\n line-break: anywhere;\n display: inline-block;\n white-space: normal;\n width: 100%;\n margin: 0;\n padding: 0;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n color: inherit;\n text-align: center;\n vertical-align: top;\n border: none;\n outline: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.trix-content[contenteditable=true] figcaption {\n white-space: break-spaces;\n}\n.trix-content .rhino-upload-error {\n background-color: rgba(255, 0, 0, 0.3);\n}\n.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) :nth-child(2) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n}\n.rhino-attachment-editor::part(delete-button),\n.rhino-attachment-editor::part(file-metadata) {\n display: none;\n}\n.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) .rhino-attachment-editor::part(delete-button),\n.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) .rhino-attachment-editor::part(file-metadata) {\n display: flex;\n}\n.trix-content .placeholder {\n position: absolute;\n pointer-events: none;\n color: var(--rhino-placeholder-text-color);\n cursor: text;\n content: \"\";\n}\n.trix-content figure.attachment figcaption {\n position: relative;\n}\n.trix-content p.is-editor-empty:first-child::before,\n.trix-content figure[data-trix-attachment].has-focus figcaption.is-empty::before {\n color: var(--rhino-placeholder-text-color);\n content: attr(data-placeholder);\n pointer-events: none;\n}\n.trix-content figure[data-trix-attachment]:not(.has-focus) figcaption.is-empty::before {\n content: attr(data-default-caption);\n pointer-events: none;\n}\n.trix-content ul {\n list-style: disc;\n}\n.trix-content figure[data-trix-attachment].has-focus figcaption.is-empty::before {\n position: absolute;\n left: 50%;\n top: 0;\n transform: translate(-50%, 0%);\n}\n.trix-content p.is-editor-empty:first-child::before {\n float: left;\n height: 0;\n pointer-events: none;\n}\n.trix-content {\n box-sizing: border-box;\n}\n.trix-content * {\n box-sizing: inherit;\n margin: 0;\n padding: 0;\n}\n.trix-content h1 {\n font-size: 1.2em;\n line-height: 1.2;\n}\n.trix-content blockquote {\n border: 0 solid #ccc;\n border-inline-start-width: 0.3em;\n margin-inline-start: 0.3em;\n padding-inline-start: 0.6em;\n}\n.trix-content li {\n margin-inline-start: 1em;\n}\n.trix-content :where(pre) {\n display: inline-block;\n width: 100%;\n vertical-align: top;\n font-family: monospace;\n font-size: 0.9em;\n padding: 0.5em;\n white-space: pre;\n background-color: #eee;\n overflow-x: auto;\n}\n.trix-content img {\n max-width: 100%;\n height: auto;\n}\n.trix-content .attachment {\n display: block;\n position: relative;\n max-width: 100%;\n}\n.trix-content .attachment a {\n color: inherit;\n text-decoration: none;\n}\n.trix-content .attachment a:hover,\n.trix-content .attachment a:visited:hover {\n color: inherit;\n}\n.trix-content .attachment__caption {\n text-align: center;\n margin-top: 0.5em;\n}\n.trix-content .attachment__caption .attachment__name + .attachment__size::before {\n content: \" \\b7 \";\n}\n.trix-content .attachment--preview {\n width: 100%;\n text-align: center;\n margin: 0.6em 0;\n}\n.trix-content .attachment--preview .attachment__caption {\n color: #666;\n font-size: 0.9em;\n line-height: 1.2;\n}\n.trix-content .attachment.attachment--file {\n color: #333;\n line-height: 1;\n margin: 0 2px 2px 2px;\n padding: 0.4em 1em;\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n}\n.trix-content .attachment-gallery {\n display: flex;\n flex-wrap: wrap;\n position: relative;\n}\n.trix-content figure.attachment {\n display: inline-block;\n position: relative;\n white-space: normal;\n}\n.trix-content .attachment-gallery > p {\n width: 0px;\n padding: 0;\n flex-basis: 0%;\n max-width: 0%;\n flex-shrink: 1;\n flex-grow: 0;\n}\n.trix-content .attachment-gallery .attachment {\n flex: 1 0 100%;\n padding: 0 0.5em;\n max-width: 100%;\n white-space: normal;\n}\n.trix-content .attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]) {\n flex: 1 0 33%;\n padding: 0 0.5em;\n max-width: 33%;\n white-space: normal;\n}\n.trix-content .attachment-gallery > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) ~ :is(.attachment, action-text-attachment),\n.trix-content .attachment-gallery > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) {\n padding: 0;\n flex-basis: 100%;\n max-width: 100%;\n}\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(2),\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(2) ~ :is(.attachment--preview, action-text-attachment[previewable=true]),\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(4),\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(4) ~ :is(.attachment--preview, action-text-attachment[previewable=true]) {\n flex-basis: 50%;\n max-width: 50%;\n}\n.trix-content .attachment-gallery.attachment-gallery--2 action-text-attachment > .attachment,\n.trix-content .attachment-gallery.attachment-gallery--4 action-text-attachment > .attachment,\n.trix-content .attachment-gallery action-text-attachment > .attachment {\n max-width: 100%;\n}\n.trix-content {\n --rhino-focus-ring: 0px 0px 4px 1px var(--rhino-button-active-border-color);\n --rhino-border-radius: 4px;\n --rhino-danger-border-color: red;\n --rhino-danger-background-color: #ffdddd;\n --rhino-text-color: #374151;\n --rhino-border-color: #cecece;\n --rhino-placeholder-text-color: #cecece;\n --rhino-button-text-color: #889;\n --rhino-button-border-color: #cecece;\n --rhino-button-disabled-text-color: #d1d5db;\n --rhino-button-disabled-border-color: #d1d5db;\n --rhino-button-disabled-background-color: #d1d5db;\n --rhino-button-active-border-color: #005a9c;\n --rhino-button-active-background-color: rgb(226 239 255);\n --rhino-toolbar-text-color: hsl(219, 6%, 43%);\n --rhino-toolbar-icon-size: 24px;\n --rhino-dialog-border-color: hsl( var(--rhino-button-focus-background-color-hsl) / 50% );\n --rhino-button-focus-background-color: hsl( var(--rhino-button-focus-background-color-hsl) );\n --rhino-button-focus-background-color-hsl: 219 26% 95%;\n display: block;\n color: var(--rhino-text-color);\n}\n.rhino-toolbar-button {\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n padding: 0.2em 0.4em;\n color: inherit;\n}\n.rhino-toolbar-button:is([aria-disabled=true], :disabled) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n}\n.rhino-toolbar-button[aria-disabled=true]:focus {\n border-color: var(--rhino-button-disabled-border-color);\n}\n.rhino-toolbar-button svg {\n min-height: var(--rhino-toolbar-icon-size);\n min-width: var(--rhino-toolbar-icon-size);\n max-height: var(--rhino-toolbar-icon-size);\n max-width: var(--rhino-toolbar-icon-size);\n}\n.rhino-toolbar-button:is(:focus, :hover):not([aria-disabled=true], :disabled) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n border-color: var(--rhino-button-active-border-color);\n}\n.rhino-toolbar-button:is(:focus, :hover):not([aria-disabled=true], :disabled, [aria-pressed=true], [part~=toolbar__button--active]) {\n background-color: var(--rhino-button-focus-background-color);\n}\n.rhino-toolbar-button:is([aria-disabled=true], :disabled):not([part~=toolbar__button--active]) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n}\n.rhino-toolbar-button:is(:focus, :hover):is([aria-disabled=true], :disabled):not([part~=toolbar__button--active]) {\n outline: transparent;\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n box-shadow: 0 0 0 1px var(--rhino-button-disabled-border-color);\n}\n/*# sourceMappingURL=trix.css.map */\n","/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT BY HAND! */\n/* These all come from Trix / ActionText. This should probably be cleaned up into\n a regular .css for users to include.\n*/\n\n.trix-content {\n border: 1px solid var(--rhino-border-color);\n border-radius: 0px 0px var(--rhino-border-radius) var(--rhino-border-radius);\n margin: 0;\n padding: 0.4em 0.6em;\n min-height: 200px;\n outline: transparent;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n\n.trix-content[contenteditable=\"true\"] {\n /* Required by Prosemirror / TipTap */\n white-space: pre-wrap;\n}\n\n.trix-content:is(:focus, :focus-within) {\n border-color: var(--rhino-button-active-border-color);\n}\n\n.trix-content :is(img, svg, figure) {\n width: 100%;\n max-width: 100%;\n height: auto;\n display: block;\n}\n\n.trix-content :is(figure, p) {\n padding: 0;\n margin: 0;\n}\n\n.trix-content figure {\n position: relative;\n}\n\n.trix-content figcaption {\n line-break: anywhere;\n display: inline-block;\n white-space: normal;\n width: 100%;\n margin: 0;\n padding: 0;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n color: inherit;\n text-align: center;\n vertical-align: top;\n border: none;\n outline: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n/* If you use white-space: normal; in firefox you cant add blank space to the figcaption */\n.trix-content[contenteditable=\"true\"] figcaption {\n white-space: break-spaces;\n}\n\n.trix-content .rhino-upload-error {\n background-color: rgba(255, 0, 0, 0.3);\n}\n\n/* Attachments */\n.trix-content:not([readonly])\n figure:is(:focus-within, :focus, .has-focus)\n :nth-child(2) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n}\n\n.rhino-attachment-editor::part(delete-button),\n.rhino-attachment-editor::part(file-metadata) {\n display: none;\n}\n\n.trix-content:not([readonly])\n figure:is(:focus-within, :focus, .has-focus)\n .rhino-attachment-editor::part(delete-button),\n.trix-content:not([readonly])\n figure:is(:focus-within, :focus, .has-focus)\n .rhino-attachment-editor::part(file-metadata) {\n display: flex;\n}\n\n.trix-content .placeholder {\n position: absolute;\n pointer-events: none;\n color: var(--rhino-placeholder-text-color);\n cursor: text;\n content: \"\";\n}\n.trix-content figure.attachment figcaption {\n position: relative;\n}\n\n.trix-content p.is-editor-empty:first-child::before,\n.trix-content\n figure[data-trix-attachment].has-focus\n figcaption.is-empty::before {\n color: var(--rhino-placeholder-text-color);\n content: attr(data-placeholder);\n pointer-events: none;\n}\n\n.trix-content\n figure[data-trix-attachment]:not(.has-focus)\n figcaption.is-empty::before {\n content: attr(data-default-caption);\n pointer-events: none;\n}\n\n.trix-content ul {\n list-style: disc;\n}\n\n.trix-content\n figure[data-trix-attachment].has-focus\n figcaption.is-empty::before {\n position: absolute;\n left: 50%;\n top: 0;\n transform: translate(-50%, 0%);\n}\n\n.trix-content p.is-editor-empty:first-child::before {\n float: left;\n height: 0;\n pointer-events: none;\n}\n\n.trix-content {\n box-sizing: border-box;\n}\n.trix-content * {\n box-sizing: inherit;\n margin: 0;\n padding: 0;\n}\n.trix-content h1 {\n font-size: 1.2em;\n line-height: 1.2;\n}\n.trix-content blockquote {\n border: 0 solid #ccc;\n border-inline-start-width: 0.3em;\n margin-inline-start: 0.3em;\n padding-inline-start: 0.6em;\n}\n.trix-content li {\n margin-inline-start: 1em;\n}\n.trix-content :where(pre) {\n display: inline-block;\n width: 100%;\n vertical-align: top;\n font-family: monospace;\n font-size: 0.9em;\n padding: 0.5em;\n white-space: pre;\n background-color: #eee;\n overflow-x: auto;\n}\n.trix-content img {\n max-width: 100%;\n height: auto;\n}\n.trix-content .attachment {\n display: block;\n position: relative;\n max-width: 100%;\n}\n.trix-content .attachment a {\n color: inherit;\n text-decoration: none;\n}\n.trix-content .attachment a:hover,\n.trix-content .attachment a:visited:hover {\n color: inherit;\n}\n.trix-content .attachment__caption {\n text-align: center;\n margin-top: 0.5em;\n}\n.trix-content\n .attachment__caption\n .attachment__name\n + .attachment__size::before {\n content: \" · \";\n}\n.trix-content .attachment--preview {\n width: 100%;\n text-align: center;\n margin: 0.6em 0;\n}\n.trix-content .attachment--preview .attachment__caption {\n color: #666;\n font-size: 0.9em;\n line-height: 1.2;\n}\n.trix-content .attachment.attachment--file {\n color: #333;\n line-height: 1;\n margin: 0 2px 2px 2px;\n padding: 0.4em 1em;\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n}\n.trix-content .attachment-gallery {\n display: flex;\n flex-wrap: wrap;\n position: relative;\n}\n\n/* For if galleries are disabled */\n.trix-content figure.attachment {\n display: inline-block;\n position: relative;\n white-space: normal;\n}\n\n/* This is a cheap easy way to allow us to show <p> tags in galleries */\n.trix-content .attachment-gallery > p {\n width: 0px;\n padding: 0;\n flex-basis: 0%;\n max-width: 0%;\n flex-shrink: 1;\n flex-grow: 0;\n}\n\n.trix-content .attachment-gallery .attachment {\n flex: 1 0 100%;\n padding: 0 0.5em;\n max-width: 100%;\n white-space: normal;\n}\n\n.trix-content\n .attachment-gallery\n > :is(.attachment--preview, action-text-attachment[previewable=\"true\"]) {\n flex: 1 0 33%;\n padding: 0 0.5em;\n max-width: 33%;\n white-space: normal;\n}\n\n/* 1 / 3 / n item[s] */\n.trix-content\n .attachment-gallery\n > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1)\n ~ :is(.attachment, action-text-attachment),\n.trix-content\n .attachment-gallery\n > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) {\n padding: 0;\n flex-basis: 100%;\n max-width: 100%;\n}\n\n/* 2 items / 4 items */\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(2),\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(2)\n ~ :is(.attachment--preview, action-text-attachment[previewable=\"true\"]),\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(4),\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(4)\n ~ :is(.attachment--preview, action-text-attachment[previewable=\"true\"]) {\n flex-basis: 50%;\n max-width: 50%;\n}\n\n/** This carry over from Trix's gallery for backwards compat */\n.trix-content\n .attachment-gallery.attachment-gallery--2\n action-text-attachment\n > .attachment,\n.trix-content\n .attachment-gallery.attachment-gallery--4\n action-text-attachment\n > .attachment,\n.trix-content .attachment-gallery action-text-attachment > .attachment {\n max-width: 100%;\n}\n\n/* src/exports/styles/editor.js:hostStyles */\n.trix-content {\n \n /* General tokens */\n --rhino-focus-ring: 0px 0px 4px 1px var(--rhino-button-active-border-color);\n --rhino-border-radius: 4px;\n\n --rhino-danger-border-color: red;\n --rhino-danger-background-color: #ffdddd;\n\n /* Editor tokens */\n --rhino-text-color: #374151;\n --rhino-border-color: #cecece;\n --rhino-placeholder-text-color: #cecece;\n\n /* Regular buttons */\n --rhino-button-text-color: #889;\n --rhino-button-border-color: #cecece;\n\n /** Disabled Buttons */\n --rhino-button-disabled-text-color: #d1d5db;\n --rhino-button-disabled-border-color: #d1d5db;\n --rhino-button-disabled-background-color: #d1d5db;\n\n /** Active buttons */\n --rhino-button-active-border-color: #005a9c;\n --rhino-button-active-background-color: rgb(226 239 255);\n\n --rhino-toolbar-text-color: hsl(219, 6%, 43%);\n --rhino-toolbar-icon-size: 24px;\n\n --rhino-dialog-border-color: hsl(\n var(--rhino-button-focus-background-color-hsl) / 50%\n );\n\n /** Focus buttons */\n --rhino-button-focus-background-color: hsl(\n var(--rhino-button-focus-background-color-hsl)\n );\n\n --rhino-button-focus-background-color-hsl: 219 26% 95%;\n\n display: block;\n color: var(--rhino-text-color);\n\n}\n\n/* src/exports/styles/editor.js:toolbarButtonStyles */\n\n .rhino-toolbar-button {\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n padding: 0.2em 0.4em;\n color: inherit;\n }\n\n .rhino-toolbar-button:is([aria-disabled=\"true\"], :disabled) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n }\n\n .rhino-toolbar-button[aria-disabled=\"true\"]:focus {\n border-color: var(--rhino-button-disabled-border-color);\n }\n\n .rhino-toolbar-button svg {\n min-height: var(--rhino-toolbar-icon-size);\n min-width: var(--rhino-toolbar-icon-size);\n\n /* max-height / max-width needs to be set for safari */\n max-height: var(--rhino-toolbar-icon-size);\n max-width: var(--rhino-toolbar-icon-size);\n }\n\n .rhino-toolbar-button:is(:focus, :hover):not(\n [aria-disabled=\"true\"],\n :disabled\n ) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n border-color: var(--rhino-button-active-border-color);\n }\n\n /* Only change the background color in certain scenarios */\n .rhino-toolbar-button:is(:focus, :hover):not(\n [aria-disabled=\"true\"],\n :disabled,\n [aria-pressed=\"true\"],\n [part~=\"toolbar__button--active\"]\n ) {\n background-color: var(--rhino-button-focus-background-color);\n }\n\n .rhino-toolbar-button:is([aria-disabled=\"true\"], :disabled):not(\n [part~=\"toolbar__button--active\"]\n ) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n }\n\n .rhino-toolbar-button:is(:focus, :hover):is(\n [aria-disabled=\"true\"],\n :disabled\n ):not([part~=\"toolbar__button--active\"]) {\n outline: transparent;\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n box-shadow: 0 0 0 1px var(--rhino-button-disabled-border-color);\n }\n\n","@import \"./../../../node_modules/rhino-editor/exports/styles/trix.css\";\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n.rhino-editor .rhino-toolbar-button,\n.rhino-editor::part(toolbar__button) {\n --rhino-toolbar-icon-size: 18px;\n @apply flex items-center justify-center border-none;\n\n &:hover {\n @apply shadow-none bg-gray-100;\n }\n}\n\n.hidden-until-rhino-boots-up {\n @apply !hidden;\n}\n"]}
|
1
|
+
{"version":3,"sources":["../../../node_modules/rhino-editor/exports/styles/trix.css","../../../node_modules/rhino-editor/src/exports/styles/trix.css","../stylesheets/avo-rhino_field.css"],"names":[],"mappings":"AAAA,gCAAgC;;ACKhC;EACE,2CAAsB;EACtB,4EAAsD;EACtD,SAAQ;EACR,oBAAe;EACf,iBAAY;EACZ,oBAAS;EACT,yBAAe;EACf,sBAAY;AACd;;AAEA;EAEE,qBAAa;AACf;;AAEA;EACE,qDAAkB;AACpB;;AAEA;EACE,WAAO;EACP,eAAW;EACX,YAAQ;EACR,cAAS;AACX;;AAEA;EACE,UAAS;EACT,SAAQ;AACV;;AAEA;EACE,kBAAU;AACZ;;AAEA;EACE,oBAAY;EACZ,qBAAS;EACT,mBAAa;EACb,WAAO;EACP,SAAQ;EACR,UAAS;EACT,kBAAW;EACX,oBAAa;EACb,oBAAa;EACb,cAAO;EACP,kBAAY;EACZ,mBAAgB;EAChB,YAAQ;EACR,aAAS;EACT,wBAAoB;EACpB,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Ac;EAAd,mBAAc;EAAd,qBAAc;EAAd,2BAAc;EAAd,yBAAc;EAAd,0BAAc;EAAd,2BAAc;EAAd,uBAAc;EAAd,wBAAc;EAAd,yBAAc;EAAd,sBAAc;EAAd,oBAAc;EAAd,sBAAc;EAAd,qBAAc;EAAd;AAAc;;AAEd;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA,iBAAmB;EAAnB;AAAmB;;AAAnB;EAAA,mBAAmB;EAAnB;AAAmB;;AAAnB;EAAA;AAAmB;;AAAnB;EAAA,mBAAmB;EAAnB;AAAmB;;AAAnB;EAAA;AAAmB;;AAEnB;;EAEE,+BAA+B;EAC/B,aAAmD;EAAnD,mBAAmD;EAAnD,uBAAmD;EAAnD,kBAAmD;AAKrD;;AAFI;IAAA,kBAA8B;IAA9B;EAA8B;;AAA9B;IAAA,sBAA8B;IAA9B,8BAA8B;IAA9B;EAA8B;;AAKhC;EAAA;AAAc","file":"avo-rhino_field.css","sourcesContent":["/* src/exports/styles/trix.css */\n.trix-content {\n border: 1px solid var(--rhino-border-color);\n border-radius: 0px 0px var(--rhino-border-radius) var(--rhino-border-radius);\n margin: 0;\n padding: 0.4em 0.6em;\n min-height: 200px;\n outline: transparent;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n.trix-content[contenteditable=true] {\n white-space: pre-wrap;\n}\n.trix-content:is(:focus, :focus-within) {\n border-color: var(--rhino-button-active-border-color);\n}\n.trix-content :is(img, svg, figure) {\n width: 100%;\n max-width: 100%;\n height: auto;\n display: block;\n}\n.trix-content :is(figure, p) {\n padding: 0;\n margin: 0;\n}\n.trix-content figure {\n position: relative;\n}\n.trix-content figcaption {\n line-break: anywhere;\n display: inline-block;\n white-space: normal;\n width: 100%;\n margin: 0;\n padding: 0;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n color: inherit;\n text-align: center;\n vertical-align: top;\n border: none;\n outline: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.trix-content[contenteditable=true] figcaption {\n white-space: break-spaces;\n}\n.trix-content .rhino-upload-error {\n background-color: rgba(255, 0, 0, 0.3);\n}\n.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) :nth-child(2) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n}\n.rhino-attachment-editor::part(delete-button),\n.rhino-attachment-editor::part(file-metadata) {\n display: none;\n}\n.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) .rhino-attachment-editor::part(delete-button),\n.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) .rhino-attachment-editor::part(file-metadata) {\n display: flex;\n}\n.trix-content .placeholder {\n position: absolute;\n pointer-events: none;\n color: var(--rhino-placeholder-text-color);\n cursor: text;\n content: \"\";\n}\n.trix-content figure.attachment figcaption {\n position: relative;\n}\n.trix-content p.is-editor-empty:first-child::before,\n.trix-content figure[data-trix-attachment].has-focus figcaption.is-empty::before {\n color: var(--rhino-placeholder-text-color);\n content: attr(data-placeholder);\n pointer-events: none;\n}\n.trix-content figure[data-trix-attachment]:not(.has-focus) figcaption.is-empty::before {\n content: attr(data-default-caption);\n pointer-events: none;\n}\n.trix-content ul {\n list-style: disc;\n}\n.trix-content figure[data-trix-attachment].has-focus figcaption.is-empty::before {\n position: absolute;\n left: 50%;\n top: 0;\n transform: translate(-50%, 0%);\n}\n.trix-content p.is-editor-empty:first-child::before {\n float: left;\n height: 0;\n pointer-events: none;\n}\n.trix-content {\n box-sizing: border-box;\n}\n.trix-content * {\n box-sizing: inherit;\n margin: 0;\n padding: 0;\n}\n.trix-content h1 {\n font-size: 1.2em;\n line-height: 1.2;\n}\n.trix-content blockquote {\n border: 0 solid #ccc;\n border-inline-start-width: 0.3em;\n margin-inline-start: 0.3em;\n padding-inline-start: 0.6em;\n}\n.trix-content li {\n margin-inline-start: 1em;\n}\n.trix-content :where(pre) {\n display: inline-block;\n width: 100%;\n vertical-align: top;\n font-family: monospace;\n font-size: 0.9em;\n padding: 0.5em;\n white-space: pre;\n background-color: #eee;\n overflow-x: auto;\n}\n.trix-content img {\n max-width: 100%;\n height: auto;\n}\n.trix-content .attachment {\n display: block;\n position: relative;\n max-width: 100%;\n}\n.trix-content .attachment a {\n color: inherit;\n text-decoration: none;\n}\n.trix-content .attachment a:hover,\n.trix-content .attachment a:visited:hover {\n color: inherit;\n}\n.trix-content .attachment__caption {\n text-align: center;\n margin-top: 0.5em;\n}\n.trix-content .attachment__caption .attachment__name + .attachment__size::before {\n content: \" \\b7 \";\n}\n.trix-content .attachment--preview {\n width: 100%;\n text-align: center;\n margin: 0.6em 0;\n}\n.trix-content .attachment--preview .attachment__caption {\n color: #666;\n font-size: 0.9em;\n line-height: 1.2;\n}\n.trix-content .attachment.attachment--file {\n color: #333;\n line-height: 1;\n margin: 0 2px 2px 2px;\n padding: 0.4em 1em;\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n}\n.trix-content .attachment-gallery {\n display: flex;\n flex-wrap: wrap;\n position: relative;\n}\n.trix-content figure.attachment {\n display: inline-block;\n position: relative;\n white-space: normal;\n}\n.trix-content .attachment-gallery > p {\n width: 0px;\n padding: 0;\n flex-basis: 0%;\n max-width: 0%;\n flex-shrink: 1;\n flex-grow: 0;\n}\n.trix-content .attachment-gallery .attachment {\n flex: 1 0 100%;\n padding: 0 0.5em;\n max-width: 100%;\n white-space: normal;\n}\n.trix-content .attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]) {\n flex: 1 0 33%;\n padding: 0 0.5em;\n max-width: 33%;\n white-space: normal;\n}\n.trix-content .attachment-gallery > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) ~ :is(.attachment, action-text-attachment),\n.trix-content .attachment-gallery > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) {\n padding: 0;\n flex-basis: 100%;\n max-width: 100%;\n}\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(2),\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(2) ~ :is(.attachment--preview, action-text-attachment[previewable=true]),\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(4),\n.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(4) ~ :is(.attachment--preview, action-text-attachment[previewable=true]) {\n flex-basis: 50%;\n max-width: 50%;\n}\n.trix-content .attachment-gallery.attachment-gallery--2 action-text-attachment > .attachment,\n.trix-content .attachment-gallery.attachment-gallery--4 action-text-attachment > .attachment,\n.trix-content .attachment-gallery action-text-attachment > .attachment {\n max-width: 100%;\n}\n.trix-content {\n --rhino-focus-ring: 0px 0px 4px 1px var(--rhino-button-active-border-color);\n --rhino-border-radius: 4px;\n --rhino-danger-border-color: red;\n --rhino-danger-background-color: #ffdddd;\n --rhino-text-color: #374151;\n --rhino-border-color: #cecece;\n --rhino-placeholder-text-color: #cecece;\n --rhino-button-text-color: #889;\n --rhino-button-border-color: #cecece;\n --rhino-button-disabled-text-color: #d1d5db;\n --rhino-button-disabled-border-color: #d1d5db;\n --rhino-button-disabled-background-color: #d1d5db;\n --rhino-button-active-border-color: #005a9c;\n --rhino-button-active-background-color: rgb(226 239 255);\n --rhino-toolbar-text-color: hsl(219, 6%, 43%);\n --rhino-toolbar-icon-size: 24px;\n --rhino-dialog-border-color: hsl( var(--rhino-button-focus-background-color-hsl) / 50% );\n --rhino-button-focus-background-color: hsl( var(--rhino-button-focus-background-color-hsl) );\n --rhino-button-focus-background-color-hsl: 219 26% 95%;\n display: block;\n color: var(--rhino-text-color);\n}\n.rhino-toolbar-button {\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n padding: 0.2em 0.4em;\n color: inherit;\n}\n.rhino-toolbar-button:is([aria-disabled=true], :disabled) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n}\n.rhino-toolbar-button[aria-disabled=true]:focus {\n border-color: var(--rhino-button-disabled-border-color);\n}\n.rhino-toolbar-button svg {\n min-height: var(--rhino-toolbar-icon-size);\n min-width: var(--rhino-toolbar-icon-size);\n max-height: var(--rhino-toolbar-icon-size);\n max-width: var(--rhino-toolbar-icon-size);\n}\n.rhino-toolbar-button:is(:focus, :hover):not([aria-disabled=true], :disabled) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n border-color: var(--rhino-button-active-border-color);\n}\n.rhino-toolbar-button:is(:focus, :hover):not([aria-disabled=true], :disabled, [aria-pressed=true], [part~=toolbar__button--active]) {\n background-color: var(--rhino-button-focus-background-color);\n}\n.rhino-toolbar-button:is([aria-disabled=true], :disabled):not([part~=toolbar__button--active]) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n}\n.rhino-toolbar-button:is(:focus, :hover):is([aria-disabled=true], :disabled):not([part~=toolbar__button--active]) {\n outline: transparent;\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n box-shadow: 0 0 0 1px var(--rhino-button-disabled-border-color);\n}\n/*# sourceMappingURL=trix.css.map */\n","/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT BY HAND! */\n/* These all come from Trix / ActionText. This should probably be cleaned up into\n a regular .css for users to include.\n*/\n\n.trix-content {\n border: 1px solid var(--rhino-border-color);\n border-radius: 0px 0px var(--rhino-border-radius) var(--rhino-border-radius);\n margin: 0;\n padding: 0.4em 0.6em;\n min-height: 200px;\n outline: transparent;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n\n.trix-content[contenteditable=\"true\"] {\n /* Required by Prosemirror / TipTap */\n white-space: pre-wrap;\n}\n\n.trix-content:is(:focus, :focus-within) {\n border-color: var(--rhino-button-active-border-color);\n}\n\n.trix-content :is(img, svg, figure) {\n width: 100%;\n max-width: 100%;\n height: auto;\n display: block;\n}\n\n.trix-content :is(figure, p) {\n padding: 0;\n margin: 0;\n}\n\n.trix-content figure {\n position: relative;\n}\n\n.trix-content figcaption {\n line-break: anywhere;\n display: inline-block;\n white-space: normal;\n width: 100%;\n margin: 0;\n padding: 0;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n color: inherit;\n text-align: center;\n vertical-align: top;\n border: none;\n outline: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n/* If you use white-space: normal; in firefox you cant add blank space to the figcaption */\n.trix-content[contenteditable=\"true\"] figcaption {\n white-space: break-spaces;\n}\n\n.trix-content .rhino-upload-error {\n background-color: rgba(255, 0, 0, 0.3);\n}\n\n/* Attachments */\n.trix-content:not([readonly])\n figure:is(:focus-within, :focus, .has-focus)\n :nth-child(2) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n}\n\n.rhino-attachment-editor::part(delete-button),\n.rhino-attachment-editor::part(file-metadata) {\n display: none;\n}\n\n.trix-content:not([readonly])\n figure:is(:focus-within, :focus, .has-focus)\n .rhino-attachment-editor::part(delete-button),\n.trix-content:not([readonly])\n figure:is(:focus-within, :focus, .has-focus)\n .rhino-attachment-editor::part(file-metadata) {\n display: flex;\n}\n\n.trix-content .placeholder {\n position: absolute;\n pointer-events: none;\n color: var(--rhino-placeholder-text-color);\n cursor: text;\n content: \"\";\n}\n.trix-content figure.attachment figcaption {\n position: relative;\n}\n\n.trix-content p.is-editor-empty:first-child::before,\n.trix-content\n figure[data-trix-attachment].has-focus\n figcaption.is-empty::before {\n color: var(--rhino-placeholder-text-color);\n content: attr(data-placeholder);\n pointer-events: none;\n}\n\n.trix-content\n figure[data-trix-attachment]:not(.has-focus)\n figcaption.is-empty::before {\n content: attr(data-default-caption);\n pointer-events: none;\n}\n\n.trix-content ul {\n list-style: disc;\n}\n\n.trix-content\n figure[data-trix-attachment].has-focus\n figcaption.is-empty::before {\n position: absolute;\n left: 50%;\n top: 0;\n transform: translate(-50%, 0%);\n}\n\n.trix-content p.is-editor-empty:first-child::before {\n float: left;\n height: 0;\n pointer-events: none;\n}\n\n.trix-content {\n box-sizing: border-box;\n}\n.trix-content * {\n box-sizing: inherit;\n margin: 0;\n padding: 0;\n}\n.trix-content h1 {\n font-size: 1.2em;\n line-height: 1.2;\n}\n.trix-content blockquote {\n border: 0 solid #ccc;\n border-inline-start-width: 0.3em;\n margin-inline-start: 0.3em;\n padding-inline-start: 0.6em;\n}\n.trix-content li {\n margin-inline-start: 1em;\n}\n.trix-content :where(pre) {\n display: inline-block;\n width: 100%;\n vertical-align: top;\n font-family: monospace;\n font-size: 0.9em;\n padding: 0.5em;\n white-space: pre;\n background-color: #eee;\n overflow-x: auto;\n}\n.trix-content img {\n max-width: 100%;\n height: auto;\n}\n.trix-content .attachment {\n display: block;\n position: relative;\n max-width: 100%;\n}\n.trix-content .attachment a {\n color: inherit;\n text-decoration: none;\n}\n.trix-content .attachment a:hover,\n.trix-content .attachment a:visited:hover {\n color: inherit;\n}\n.trix-content .attachment__caption {\n text-align: center;\n margin-top: 0.5em;\n}\n.trix-content\n .attachment__caption\n .attachment__name\n + .attachment__size::before {\n content: \" · \";\n}\n.trix-content .attachment--preview {\n width: 100%;\n text-align: center;\n margin: 0.6em 0;\n}\n.trix-content .attachment--preview .attachment__caption {\n color: #666;\n font-size: 0.9em;\n line-height: 1.2;\n}\n.trix-content .attachment.attachment--file {\n color: #333;\n line-height: 1;\n margin: 0 2px 2px 2px;\n padding: 0.4em 1em;\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n}\n.trix-content .attachment-gallery {\n display: flex;\n flex-wrap: wrap;\n position: relative;\n}\n\n/* For if galleries are disabled */\n.trix-content figure.attachment {\n display: inline-block;\n position: relative;\n white-space: normal;\n}\n\n/* This is a cheap easy way to allow us to show <p> tags in galleries */\n.trix-content .attachment-gallery > p {\n width: 0px;\n padding: 0;\n flex-basis: 0%;\n max-width: 0%;\n flex-shrink: 1;\n flex-grow: 0;\n}\n\n.trix-content .attachment-gallery .attachment {\n flex: 1 0 100%;\n padding: 0 0.5em;\n max-width: 100%;\n white-space: normal;\n}\n\n.trix-content\n .attachment-gallery\n > :is(.attachment--preview, action-text-attachment[previewable=\"true\"]) {\n flex: 1 0 33%;\n padding: 0 0.5em;\n max-width: 33%;\n white-space: normal;\n}\n\n/* 1 / 3 / n item[s] */\n.trix-content\n .attachment-gallery\n > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1)\n ~ :is(.attachment, action-text-attachment),\n.trix-content\n .attachment-gallery\n > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) {\n padding: 0;\n flex-basis: 100%;\n max-width: 100%;\n}\n\n/* 2 items / 4 items */\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(2),\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(2)\n ~ :is(.attachment--preview, action-text-attachment[previewable=\"true\"]),\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(4),\n.attachment-gallery\n > :is(\n .attachment--preview,\n action-text-attachment[previewable=\"true\"]\n ):first-of-type:nth-last-of-type(4)\n ~ :is(.attachment--preview, action-text-attachment[previewable=\"true\"]) {\n flex-basis: 50%;\n max-width: 50%;\n}\n\n/** This carry over from Trix's gallery for backwards compat */\n.trix-content\n .attachment-gallery.attachment-gallery--2\n action-text-attachment\n > .attachment,\n.trix-content\n .attachment-gallery.attachment-gallery--4\n action-text-attachment\n > .attachment,\n.trix-content .attachment-gallery action-text-attachment > .attachment {\n max-width: 100%;\n}\n\n/* src/exports/styles/editor.js:hostStyles */\n.trix-content {\n \n /* General tokens */\n --rhino-focus-ring: 0px 0px 4px 1px var(--rhino-button-active-border-color);\n --rhino-border-radius: 4px;\n\n --rhino-danger-border-color: red;\n --rhino-danger-background-color: #ffdddd;\n\n /* Editor tokens */\n --rhino-text-color: #374151;\n --rhino-border-color: #cecece;\n --rhino-placeholder-text-color: #cecece;\n\n /* Regular buttons */\n --rhino-button-text-color: #889;\n --rhino-button-border-color: #cecece;\n\n /** Disabled Buttons */\n --rhino-button-disabled-text-color: #d1d5db;\n --rhino-button-disabled-border-color: #d1d5db;\n --rhino-button-disabled-background-color: #d1d5db;\n\n /** Active buttons */\n --rhino-button-active-border-color: #005a9c;\n --rhino-button-active-background-color: rgb(226 239 255);\n\n --rhino-toolbar-text-color: hsl(219, 6%, 43%);\n --rhino-toolbar-icon-size: 24px;\n\n --rhino-dialog-border-color: hsl(\n var(--rhino-button-focus-background-color-hsl) / 50%\n );\n\n /** Focus buttons */\n --rhino-button-focus-background-color: hsl(\n var(--rhino-button-focus-background-color-hsl)\n );\n\n --rhino-button-focus-background-color-hsl: 219 26% 95%;\n\n display: block;\n color: var(--rhino-text-color);\n\n}\n\n/* src/exports/styles/editor.js:toolbarButtonStyles */\n\n .rhino-toolbar-button {\n border: 1px solid var(--rhino-border-color);\n border-radius: var(--rhino-border-radius);\n padding: 0.2em 0.4em;\n color: inherit;\n }\n\n .rhino-toolbar-button:is([aria-disabled=\"true\"], :disabled) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n }\n\n .rhino-toolbar-button[aria-disabled=\"true\"]:focus {\n border-color: var(--rhino-button-disabled-border-color);\n }\n\n .rhino-toolbar-button svg {\n min-height: var(--rhino-toolbar-icon-size);\n min-width: var(--rhino-toolbar-icon-size);\n\n /* max-height / max-width needs to be set for safari */\n max-height: var(--rhino-toolbar-icon-size);\n max-width: var(--rhino-toolbar-icon-size);\n }\n\n .rhino-toolbar-button:is(:focus, :hover):not(\n [aria-disabled=\"true\"],\n :disabled\n ) {\n outline: transparent;\n box-shadow: var(--rhino-focus-ring);\n border-color: var(--rhino-button-active-border-color);\n }\n\n /* Only change the background color in certain scenarios */\n .rhino-toolbar-button:is(:focus, :hover):not(\n [aria-disabled=\"true\"],\n :disabled,\n [aria-pressed=\"true\"],\n [part~=\"toolbar__button--active\"]\n ) {\n background-color: var(--rhino-button-focus-background-color);\n }\n\n .rhino-toolbar-button:is([aria-disabled=\"true\"], :disabled):not(\n [part~=\"toolbar__button--active\"]\n ) {\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n }\n\n .rhino-toolbar-button:is(:focus, :hover):is(\n [aria-disabled=\"true\"],\n :disabled\n ):not([part~=\"toolbar__button--active\"]) {\n outline: transparent;\n color: var(--rhino-button-disabled-text-color);\n border-color: var(--rhino-button-disabled-border-color);\n box-shadow: 0 0 0 1px var(--rhino-button-disabled-border-color);\n }\n\n","@import \"./../../../node_modules/rhino-editor/exports/styles/trix.css\";\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n.rhino-editor .rhino-toolbar-button,\n.rhino-editor::part(toolbar__button) {\n --rhino-toolbar-icon-size: 18px;\n @apply flex items-center justify-center border-none;\n\n &:hover {\n @apply shadow-none bg-gray-100;\n }\n}\n\n.hidden-until-rhino-boots-up {\n @apply !hidden;\n}\n"]}
|
@@ -29286,287 +29286,6 @@ img.ProseMirror-separator {
|
|
29286
29286
|
}
|
29287
29287
|
};
|
29288
29288
|
|
29289
|
-
// node_modules/@rails/request.js/src/fetch_response.js
|
29290
|
-
var FetchResponse = class {
|
29291
|
-
constructor(response) {
|
29292
|
-
this.response = response;
|
29293
|
-
}
|
29294
|
-
get statusCode() {
|
29295
|
-
return this.response.status;
|
29296
|
-
}
|
29297
|
-
get redirected() {
|
29298
|
-
return this.response.redirected;
|
29299
|
-
}
|
29300
|
-
get ok() {
|
29301
|
-
return this.response.ok;
|
29302
|
-
}
|
29303
|
-
get unauthenticated() {
|
29304
|
-
return this.statusCode === 401;
|
29305
|
-
}
|
29306
|
-
get unprocessableEntity() {
|
29307
|
-
return this.statusCode === 422;
|
29308
|
-
}
|
29309
|
-
get authenticationURL() {
|
29310
|
-
return this.response.headers.get("WWW-Authenticate");
|
29311
|
-
}
|
29312
|
-
get contentType() {
|
29313
|
-
const contentType = this.response.headers.get("Content-Type") || "";
|
29314
|
-
return contentType.replace(/;.*$/, "");
|
29315
|
-
}
|
29316
|
-
get headers() {
|
29317
|
-
return this.response.headers;
|
29318
|
-
}
|
29319
|
-
get html() {
|
29320
|
-
if (this.contentType.match(/^(application|text)\/(html|xhtml\+xml)$/)) {
|
29321
|
-
return this.text;
|
29322
|
-
}
|
29323
|
-
return Promise.reject(new Error(`Expected an HTML response but got "${this.contentType}" instead`));
|
29324
|
-
}
|
29325
|
-
get json() {
|
29326
|
-
if (this.contentType.match(/^application\/.*json$/)) {
|
29327
|
-
return this.responseJson || (this.responseJson = this.response.json());
|
29328
|
-
}
|
29329
|
-
return Promise.reject(new Error(`Expected a JSON response but got "${this.contentType}" instead`));
|
29330
|
-
}
|
29331
|
-
get text() {
|
29332
|
-
return this.responseText || (this.responseText = this.response.text());
|
29333
|
-
}
|
29334
|
-
get isTurboStream() {
|
29335
|
-
return this.contentType.match(/^text\/vnd\.turbo-stream\.html/);
|
29336
|
-
}
|
29337
|
-
get isScript() {
|
29338
|
-
return this.contentType.match(/\b(?:java|ecma)script\b/);
|
29339
|
-
}
|
29340
|
-
async renderTurboStream() {
|
29341
|
-
if (this.isTurboStream) {
|
29342
|
-
if (window.Turbo) {
|
29343
|
-
await window.Turbo.renderStreamMessage(await this.text);
|
29344
|
-
} else {
|
29345
|
-
console.warn("You must set `window.Turbo = Turbo` to automatically process Turbo Stream events with request.js");
|
29346
|
-
}
|
29347
|
-
} else {
|
29348
|
-
return Promise.reject(new Error(`Expected a Turbo Stream response but got "${this.contentType}" instead`));
|
29349
|
-
}
|
29350
|
-
}
|
29351
|
-
async activeScript() {
|
29352
|
-
if (this.isScript) {
|
29353
|
-
const script = document.createElement("script");
|
29354
|
-
const metaTag = document.querySelector("meta[name=csp-nonce]");
|
29355
|
-
const nonce = metaTag && metaTag.content;
|
29356
|
-
if (nonce) {
|
29357
|
-
script.setAttribute("nonce", nonce);
|
29358
|
-
}
|
29359
|
-
script.innerHTML = await this.text;
|
29360
|
-
document.body.appendChild(script);
|
29361
|
-
} else {
|
29362
|
-
return Promise.reject(new Error(`Expected a Script response but got "${this.contentType}" instead`));
|
29363
|
-
}
|
29364
|
-
}
|
29365
|
-
};
|
29366
|
-
|
29367
|
-
// node_modules/@rails/request.js/src/request_interceptor.js
|
29368
|
-
var RequestInterceptor = class {
|
29369
|
-
static register(interceptor) {
|
29370
|
-
this.interceptor = interceptor;
|
29371
|
-
}
|
29372
|
-
static get() {
|
29373
|
-
return this.interceptor;
|
29374
|
-
}
|
29375
|
-
static reset() {
|
29376
|
-
this.interceptor = void 0;
|
29377
|
-
}
|
29378
|
-
};
|
29379
|
-
|
29380
|
-
// node_modules/@rails/request.js/src/lib/utils.js
|
29381
|
-
function getCookie(name) {
|
29382
|
-
const cookies = document.cookie ? document.cookie.split("; ") : [];
|
29383
|
-
const prefix = `${encodeURIComponent(name)}=`;
|
29384
|
-
const cookie = cookies.find((cookie2) => cookie2.startsWith(prefix));
|
29385
|
-
if (cookie) {
|
29386
|
-
const value = cookie.split("=").slice(1).join("=");
|
29387
|
-
if (value) {
|
29388
|
-
return decodeURIComponent(value);
|
29389
|
-
}
|
29390
|
-
}
|
29391
|
-
}
|
29392
|
-
function compact(object) {
|
29393
|
-
const result = {};
|
29394
|
-
for (const key in object) {
|
29395
|
-
const value = object[key];
|
29396
|
-
if (value !== void 0) {
|
29397
|
-
result[key] = value;
|
29398
|
-
}
|
29399
|
-
}
|
29400
|
-
return result;
|
29401
|
-
}
|
29402
|
-
function metaContent(name) {
|
29403
|
-
const element = document.head.querySelector(`meta[name="${name}"]`);
|
29404
|
-
return element && element.content;
|
29405
|
-
}
|
29406
|
-
function stringEntriesFromFormData(formData) {
|
29407
|
-
return [...formData].reduce((entries, [name, value]) => {
|
29408
|
-
return entries.concat(typeof value === "string" ? [[name, value]] : []);
|
29409
|
-
}, []);
|
29410
|
-
}
|
29411
|
-
function mergeEntries(searchParams, entries) {
|
29412
|
-
for (const [name, value] of entries) {
|
29413
|
-
if (value instanceof window.File) continue;
|
29414
|
-
if (searchParams.has(name) && !name.includes("[]")) {
|
29415
|
-
searchParams.delete(name);
|
29416
|
-
searchParams.set(name, value);
|
29417
|
-
} else {
|
29418
|
-
searchParams.append(name, value);
|
29419
|
-
}
|
29420
|
-
}
|
29421
|
-
}
|
29422
|
-
|
29423
|
-
// node_modules/@rails/request.js/src/fetch_request.js
|
29424
|
-
var FetchRequest = class {
|
29425
|
-
constructor(method, url, options = {}) {
|
29426
|
-
this.method = method;
|
29427
|
-
this.options = options;
|
29428
|
-
this.originalUrl = url.toString();
|
29429
|
-
}
|
29430
|
-
async perform() {
|
29431
|
-
try {
|
29432
|
-
const requestInterceptor = RequestInterceptor.get();
|
29433
|
-
if (requestInterceptor) {
|
29434
|
-
await requestInterceptor(this);
|
29435
|
-
}
|
29436
|
-
} catch (error) {
|
29437
|
-
console.error(error);
|
29438
|
-
}
|
29439
|
-
const fetch = this.responseKind === "turbo-stream" && window.Turbo ? window.Turbo.fetch : window.fetch;
|
29440
|
-
const response = new FetchResponse(await fetch(this.url, this.fetchOptions));
|
29441
|
-
if (response.unauthenticated && response.authenticationURL) {
|
29442
|
-
return Promise.reject(window.location.href = response.authenticationURL);
|
29443
|
-
}
|
29444
|
-
if (response.isScript) {
|
29445
|
-
await response.activeScript();
|
29446
|
-
}
|
29447
|
-
const responseStatusIsTurboStreamable = response.ok || response.unprocessableEntity;
|
29448
|
-
if (responseStatusIsTurboStreamable && response.isTurboStream) {
|
29449
|
-
await response.renderTurboStream();
|
29450
|
-
}
|
29451
|
-
return response;
|
29452
|
-
}
|
29453
|
-
addHeader(key, value) {
|
29454
|
-
const headers = this.additionalHeaders;
|
29455
|
-
headers[key] = value;
|
29456
|
-
this.options.headers = headers;
|
29457
|
-
}
|
29458
|
-
sameHostname() {
|
29459
|
-
if (!this.originalUrl.startsWith("http:")) {
|
29460
|
-
return true;
|
29461
|
-
}
|
29462
|
-
try {
|
29463
|
-
return new URL(this.originalUrl).hostname === window.location.hostname;
|
29464
|
-
} catch (_2) {
|
29465
|
-
return true;
|
29466
|
-
}
|
29467
|
-
}
|
29468
|
-
get fetchOptions() {
|
29469
|
-
return {
|
29470
|
-
method: this.method.toUpperCase(),
|
29471
|
-
headers: this.headers,
|
29472
|
-
body: this.formattedBody,
|
29473
|
-
signal: this.signal,
|
29474
|
-
credentials: this.credentials,
|
29475
|
-
redirect: this.redirect
|
29476
|
-
};
|
29477
|
-
}
|
29478
|
-
get headers() {
|
29479
|
-
const baseHeaders = {
|
29480
|
-
"X-Requested-With": "XMLHttpRequest",
|
29481
|
-
"Content-Type": this.contentType,
|
29482
|
-
Accept: this.accept
|
29483
|
-
};
|
29484
|
-
if (this.sameHostname()) {
|
29485
|
-
baseHeaders["X-CSRF-Token"] = this.csrfToken;
|
29486
|
-
}
|
29487
|
-
return compact(
|
29488
|
-
Object.assign(baseHeaders, this.additionalHeaders)
|
29489
|
-
);
|
29490
|
-
}
|
29491
|
-
get csrfToken() {
|
29492
|
-
return getCookie(metaContent("csrf-param")) || metaContent("csrf-token");
|
29493
|
-
}
|
29494
|
-
get contentType() {
|
29495
|
-
if (this.options.contentType) {
|
29496
|
-
return this.options.contentType;
|
29497
|
-
} else if (this.body == null || this.body instanceof window.FormData) {
|
29498
|
-
return void 0;
|
29499
|
-
} else if (this.body instanceof window.File) {
|
29500
|
-
return this.body.type;
|
29501
|
-
}
|
29502
|
-
return "application/json";
|
29503
|
-
}
|
29504
|
-
get accept() {
|
29505
|
-
switch (this.responseKind) {
|
29506
|
-
case "html":
|
29507
|
-
return "text/html, application/xhtml+xml";
|
29508
|
-
case "turbo-stream":
|
29509
|
-
return "text/vnd.turbo-stream.html, text/html, application/xhtml+xml";
|
29510
|
-
case "json":
|
29511
|
-
return "application/json, application/vnd.api+json";
|
29512
|
-
case "script":
|
29513
|
-
return "text/javascript, application/javascript";
|
29514
|
-
default:
|
29515
|
-
return "*/*";
|
29516
|
-
}
|
29517
|
-
}
|
29518
|
-
get body() {
|
29519
|
-
return this.options.body;
|
29520
|
-
}
|
29521
|
-
get query() {
|
29522
|
-
const originalQuery = (this.originalUrl.split("?")[1] || "").split("#")[0];
|
29523
|
-
const params = new URLSearchParams(originalQuery);
|
29524
|
-
let requestQuery = this.options.query;
|
29525
|
-
if (requestQuery instanceof window.FormData) {
|
29526
|
-
requestQuery = stringEntriesFromFormData(requestQuery);
|
29527
|
-
} else if (requestQuery instanceof window.URLSearchParams) {
|
29528
|
-
requestQuery = requestQuery.entries();
|
29529
|
-
} else {
|
29530
|
-
requestQuery = Object.entries(requestQuery || {});
|
29531
|
-
}
|
29532
|
-
mergeEntries(params, requestQuery);
|
29533
|
-
const query = params.toString();
|
29534
|
-
return query.length > 0 ? `?${query}` : "";
|
29535
|
-
}
|
29536
|
-
get url() {
|
29537
|
-
return this.originalUrl.split("?")[0].split("#")[0] + this.query;
|
29538
|
-
}
|
29539
|
-
get responseKind() {
|
29540
|
-
return this.options.responseKind || "html";
|
29541
|
-
}
|
29542
|
-
get signal() {
|
29543
|
-
return this.options.signal;
|
29544
|
-
}
|
29545
|
-
get redirect() {
|
29546
|
-
return this.options.redirect || "follow";
|
29547
|
-
}
|
29548
|
-
get credentials() {
|
29549
|
-
return this.options.credentials || "same-origin";
|
29550
|
-
}
|
29551
|
-
get additionalHeaders() {
|
29552
|
-
return this.options.headers || {};
|
29553
|
-
}
|
29554
|
-
get formattedBody() {
|
29555
|
-
const bodyIsAString = Object.prototype.toString.call(this.body) === "[object String]";
|
29556
|
-
const contentTypeIsJson = this.headers["Content-Type"] === "application/json";
|
29557
|
-
if (contentTypeIsJson && !bodyIsAString) {
|
29558
|
-
return JSON.stringify(this.body);
|
29559
|
-
}
|
29560
|
-
return this.body;
|
29561
|
-
}
|
29562
|
-
};
|
29563
|
-
|
29564
|
-
// node_modules/@rails/request.js/src/verbs.js
|
29565
|
-
async function post(url, options) {
|
29566
|
-
const request = new FetchRequest("post", url, options);
|
29567
|
-
return request.perform();
|
29568
|
-
}
|
29569
|
-
|
29570
29289
|
// app/javascript/controllers/rhino_field_controller.js
|
29571
29290
|
function rgbStyleToHex2(color) {
|
29572
29291
|
if (!color || color.indexOf("rgb") < 0) {
|
@@ -29643,17 +29362,17 @@ img.ProseMirror-separator {
|
|
29643
29362
|
this.textColorInputTarget.value = this.DEFAULT_TEXT_COLOR;
|
29644
29363
|
}
|
29645
29364
|
}
|
29646
|
-
async openGallery() {
|
29647
|
-
|
29648
|
-
|
29649
|
-
|
29650
|
-
|
29651
|
-
|
29652
|
-
|
29653
|
-
|
29654
|
-
|
29655
|
-
|
29656
|
-
}
|
29365
|
+
// async openGallery() {
|
29366
|
+
// post(`${window.Avo.configuration.root_path}/media-library`, {
|
29367
|
+
// query: {
|
29368
|
+
// resource_name: this.resourceNameValue,
|
29369
|
+
// record_id: this.resourceIdValue,
|
29370
|
+
// controller_selector: this.element.dataset.rhinoFieldUniqueSelectorValue,
|
29371
|
+
// controller_name: this.identifier,
|
29372
|
+
// },
|
29373
|
+
// responseKind: 'turbo-stream',
|
29374
|
+
// })
|
29375
|
+
// }
|
29657
29376
|
// Invoked by the other controllers (media-library)
|
29658
29377
|
insertAttachments(attachments, event) {
|
29659
29378
|
console.log("insertAttachment<>", this, event);
|