nfg_ui 6.16.0 → 6.16.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc8922ccf4de5fdaa368640e4fb05b82e795bdc050b0aa4978b6af12f4bc3a8e
4
- data.tar.gz: 7ef4a8469679646b74db275dd9bc165b301bc0bf6b52c370afcfac27a1f5a007
3
+ metadata.gz: 6d864361668c5317d82b786d3aa2279f6e994472e56f321662541ec987f8542c
4
+ data.tar.gz: 3aba84161a5431ee9226a0e76a316efbbc4a924b555f2e3d91939a7193f3ff03
5
5
  SHA512:
6
- metadata.gz: 6acbd5dbd3485d6b9c9eec5f16024e46d210883acc09699e1c94060fc5d41c2783f8d95e1788973831b4f7b0df5484f8b38b0e809c7a5b6a5bf02a26a78a7632
7
- data.tar.gz: 80282e4f4ff3040d4e292aa34a50b14b48a28776b89c22d9f21152900e332e4af44c354d83044bb4b508470f4c0b41bc54787aa4de9535126f4442f3f1edef98
6
+ metadata.gz: a30baaff6ae02c4c070a649b4bb90db13a9fd427629843b3a7eb82a2fffa85ce15c42e0f7df60fc69d34a9583223c6714172f6f34ce9156095af77dc07516c92
7
+ data.tar.gz: 2badcf6d917cc015d9efb25904a548499924f82847b50282f88fb7789547dc91ee49100aa2a3c864267cf596c15dc61a6906dbfe16650c2d32d4e8ed83639ec8
@@ -0,0 +1 @@
1
+ <svg height="104" viewBox="0 0 518 104" width="518" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="#243c6b"><path d="m21.871 87.991-7.724-17.262c-2.531-5.643-5.256-12.004-6.101-14.796.324 3.699.39 9.022.455 12.785l.259 19.273h-8.76v-45.099h10.058l8.632 18.04c2.271 4.799 4.023 9.54 4.931 12.783-.324-3.5-.65-9.276-.713-12.394l-.195-18.429h8.631v45.099z"/><path d="m55.355 67.355c0-2.465-.26-3.763-1.039-4.993-.843-1.298-2.075-1.951-3.827-1.951-3.311 0-5.193 2.597-5.193 7.204v.129h10.059zm-10.188 6.752v.256c0 5.126 2.53 8.049 7.009 8.049 2.985 0 5.773-1.103 8.434-3.31l3.375 5.194c-3.826 3.111-7.853 4.605-12.524 4.605-9.541 0-15.705-6.752-15.705-17.198 0-5.972 1.233-9.926 4.154-13.171 2.726-3.052 6.036-4.478 10.449-4.478 3.827 0 7.463 1.295 9.604 3.505 3.05 3.115 4.411 7.591 4.411 14.533v2.015z"/><path d="m78.652 88.767c-4.414 0-7.917-1.942-8.955-4.865-.518-1.427-.583-2.076-.583-5.129v-18.036h-3.313v-5.968h3.313c0-3.246 0-5.388.324-7.854l8.824-2.207c-.322 3.047-.519 6.683-.519 10.061h7.788l-2.206 5.968h-5.582v16.676c0 4.22.781 5.323 3.766 5.323.78 0 1.556-.195 3.116-.65l1.102 5.194c-2.53 1.039-4.803 1.487-7.075 1.487"/><path d="m123.753 87.991h-7.979l-2.986-11.423c-.715-2.66-1.494-5.839-1.884-8.042-.26-1.558-.323-2.011-.519-3.313-.194 1.429-.258 1.887-.778 4.284-.649 2.858-2.076 8.566-2.856 11.681l-1.687 6.813h-8.113l-9.083-32.642 8.631-.974 2.724 12.785c.843 3.827 1.882 10.318 1.882 10.318s.844-5.906 2.404-11.547l3.113-11.162h8.177l2.662 10.962c1.492 6.164 2.465 11.747 2.465 11.747.196-1.426.907-6.617 1.816-10.836l2.532-11.873h8.956z"/><path d="m152.567 62.295c-.843-1.102-2.204-1.755-3.763-1.755-2.078 0-3.764 1.3-4.477 3.376-.585 1.755-.909 4.086-.909 7.397 0 3.829.388 6.682 1.103 8.373.778 1.816 2.727 2.726 4.415 2.726 3.762 0 5.382-3.373 5.382-11.228 0-4.474-.583-7.397-1.751-8.889zm7.075 21.801c-2.529 2.856-5.841 4.608-10.967 4.608-9.023 0-14.926-6.747-14.926-17.196 0-10.444 5.968-17.391 14.926-17.391 4.737 0 8.438 1.625 11.291 4.999 2.661 3.114 3.831 6.747 3.831 12.132 0 5.715-1.3 9.606-4.155 12.848z"/><path d="m185.729 62.362c-.844-.457-1.557-.654-2.53-.654-1.946 0-3.7.91-5.322 2.794v23.489h-8.695v-22.194c0-4.476-.521-7.852-1.235-9.735l7.788-2.074c.779 1.361 1.232 2.857 1.363 4.737 1.883-2.532 4.542-4.737 7.787-4.737 1.302 0 1.883.129 3.247.713z"/><path d="m210.322 87.991-11.16-18.818 8.501-14.404h10.449l-10.579 13.881 13.045 19.341zm-20.051 0v-37.442c0-2.923-.064-5.194-.584-8.633l8.761-2.142c.39 2.468.519 6.36.519 10.775v37.442z"/><path d="m310.78 46.263c-1.426-.713-2.723-1.232-4.213-1.232-2.728 0-4.351 1.884-4.351 5.192v5.257h8.633l-1.563 4.218h-7.008v28.293h-6.033v-28.293h-3.115v-4.218h3.183c-.136-.648-.136-4.671-.136-5.194 0-4.41 1.886-6.876 3.641-8.11 1.558-1.102 3.504-1.557 5.905-1.557 2.662 0 5.057.52 7.073 1.754z"/><path d="m324.347 59.18c-5.194 0-7.336 3.699-7.336 11.875 0 9.928 2.531 13.241 7.593 13.241 4.544 0 7.336-3.507 7.336-12.009 0-10.057-2.92-13.107-7.593-13.107zm.129 29.721c-8.697 0-14.085-6.62-14.085-17.198 0-10.51 5.388-17.129 13.956-17.129 9.604 0 14.275 7.656 14.275 17.457 0 10.313-5.516 16.87-14.146 16.87z"/><path d="m358.4 60.737c-.587-.197-1.044-.326-1.691-.326-3.634 0-6.749 3.052-6.749 6.622v20.958h-5.969v-23.881c0-3.959-.455-6.094-1.236-8.109l5.778-1.492c.582 1.233 1.103 3.371 1.103 4.997v.586c2.599-3.765 5.386-5.651 8.825-5.651.781 0 1.492.133 2.013.328z"/><path d="m389.139 88.511c-6.749 0-11.743-2.205-15.377-6.878-3.313-4.22-4.805-9.017-4.805-15.77 0-9.536 3.115-16.288 9.407-20.508 3.315-2.205 6.686-3.179 10.972-3.179 5.452 0 10.385 1.753 14.341 5.192l-4.803 5.647c-2.916-2.403-5.97-3.506-9.409-3.506-2.66 0-4.932.777-6.491 2.269-3.047 2.923-3.828 7.789-3.828 14.538 0 6.426 1.104 10.578 3.375 12.85 1.687 1.623 4.152 2.531 7.075 2.531 2.013 0 3.632-.324 5.124-1.101v-10.256h-6.878l-1.169-7.397h17.459v21.545c-4.611 2.728-9.67 4.023-14.993 4.023"/><path d="m426.39 62.295c-.842-1.102-2.205-1.755-3.763-1.755-2.078 0-3.763 1.3-4.481 3.376-.582 1.755-.906 4.086-.906 7.397 0 3.829.39 6.682 1.103 8.373.774 1.816 2.726 2.726 4.415 2.726 3.763 0 5.385-3.373 5.385-11.228 0-4.474-.585-7.397-1.753-8.889zm7.075 21.801c-2.533 2.856-5.842 4.608-10.97 4.608-9.017 0-14.925-6.747-14.925-17.196 0-10.444 5.969-17.391 14.925-17.391 4.739 0 8.437 1.625 11.294 4.999 2.66 3.114 3.828 6.747 3.828 12.132 0 5.715-1.3 9.606-4.152 12.848z"/><path d="m459.552 62.295c-.845-1.102-2.205-1.755-3.768-1.755-2.074 0-3.763 1.3-4.476 3.376-.581 1.755-.906 4.086-.906 7.397 0 3.829.39 6.682 1.103 8.373.779 1.816 2.724 2.726 4.413 2.726 3.765 0 5.384-3.373 5.384-11.228 0-4.474-.582-7.397-1.75-8.889zm7.073 21.801c-2.529 2.856-5.84 4.608-10.965 4.608-9.025 0-14.928-6.747-14.928-17.196 0-10.444 5.968-17.391 14.928-17.391 4.736 0 8.436 1.625 11.29 4.999 2.663 3.114 3.829 6.747 3.829 12.132 0 5.715-1.3 9.606-4.154 12.848z"/><path d="m492.91 63.527c-1.625-1.427-3.181-2.142-4.738-2.142-3.895 0-5.583 3.244-5.583 10.646 0 7.135 1.491 9.471 6.036 9.471 1.623 0 3.441-1.103 4.285-2.142zm1.947 24.464c-.262-.517-.393-1.039-.518-1.943-2.144 1.879-4.675 2.788-7.659 2.788-8.439 0-13.761-6.555-13.761-16.872 0-10.385 5.775-17.523 14.211-17.523 2.402 0 4.284.584 5.907 1.886-.127-.718-.26-2.989-.26-4.936v-11.42l8.63 1.361v34.528c0 8.173.648 10.836 1.235 12.131z"/></g><path d="m292.738 40.856c-3.371-2.755-12.114-.538-12.199-.512-5.447 1.525-7.015-.838-9.618-4.753l-1.108-1.64c-2.538-3.622-9.149-11.72-15.656-8.614l-2.658 1.27 2.724 1.541c4.818 2.728 6.183 3.683 6.573 3.992.197.833 1.783 7.616 1.783 7.616 0 .006.096.295.243.672.057.256.186.822.186.822.019.089 3.677 8.679 10.135 9.306 2.296.223 18.783-2.573 20.482-6.686.438-1.072.11-2.198-.887-3.014" fill="#dd8735"/><path d="m286.958 39.087s-.662-14.317 7.464-18.632c1.286-.675 5.156-1.381 7.282-.255 3.932 2.083 4.082 4.675 4.119 6.287.038 1.619-1.644 5.548-4.229 5.846-2.583.312-8.715.704-10.529 2.848-1.808 2.153-2.086 3.943-2.086 3.943z" fill="#6fa342"/><path d="m283.688 39.007s-.375-7.643-8.535-8.945c-5.942-.953-3.561-7.746-1.652-8.757 2.032-1.077 7.672-2.039 10.153 6.744 1.71 6.018 1.117 10.927 1.117 10.927z" fill="#6fa342"/><path d="m251.697 24.239c-2.939-1.541-7.456-.378-9.952 1.593l-.312.242c-4.734 3.718-11.223 9.003-12.967 11.994l-2.44 4.024c-6.879 11.166-7.404 15.929-5.9 17.936.35.467.897.718 1.508.7073468 2.338-.0593468 6.939-6.2903468 9.62-10.2243468 1.065-1.562 5.172-7.133 6.486-8.26l5.238-4.745.756-.702c.159-.131.744-.408 1.096-.577l1.318-.701c3.28-2.175 3.863-4.859 4.145-6.154 0 0 .021-.101.045-.197.83-.617 2.33-1.999 2.335-3.317 0-.002 0-.002 0-.002 0-.695-.364-1.298-.976-1.617" fill="#6fa342"/><path d="m262.196 21.298c1.263-1.516 3.435-2.562 4.944-3.644 13.988-10.075-1.896-25.352-10.716-10.817-2.865 4.716-2.989 11.683-6.98 15.65-.464.467-.791.58-1.289.758-.643.225-1.521.537-2.405 1.597-3.767 4.523-5.035 12.6-5.873 17.947l-.275 1.715c-.955 5.74-2.045 9.404-3.31 13.652l-.68 2.292c-2.112 7.207-3.481 9.862-4.811 12.426-.744 1.445-1.451 2.805-2.219 4.848l-3.27 8.385c-3.356 8.442-4.887 12.297-3.515 14.568.376.617 1.252 2.053 2.779 2.069 1.564.016 2.75-1.372 4.271-3.781 1.855-2.933 11.259-17.771 14.311-21.475 1.945-2.362 3.144-5.566 4.305-8.67.809-2.158 1.655-4.368 2.704-6.176 2.049 2.015 6.044 13.785 6.044 18.156 0 2.043 2.289 21.348 9.976 23.122 1.187.274 1.945-.216 2.294-.531.737-.68.995-1.733.995-3.162 0-1.368-.237-3.08-.523-5.136-.322-2.3-.681-4.883-.681-7.164 0-.164.002-.331.007-.497.005-.305.01-.617.01-.926 0-4.017-.582-8.633-1.141-13.107l-.133-1.04c-.115-.952-.561-2.267-1.115-3.93-1.126-3.345-2.678-7.95-2.678-12.574 0-1.692.209-3.383.717-5.015 1.501-4.814 1.995-9.002 1.995-12.429 0-2.998-.951-6.034-1.908-8.851-.38-1.117-2.832-4.805-2.85-5.546-.024-1.07.385-1.95 1.02-2.714" fill="#5a7da2"/><path d="m512.288 82.771c-.197-.167-.545-.261-1.032-.261h-.601v2.135h.573c.284 0 .506-.018.67-.065.151-.042.287-.117.39-.221.201-.209.305-.474.305-.81 0-.344-.104-.602-.305-.778zm-.085 4.506c-.221-.408-.412-.741-.591-.992-.174-.253-.352-.469-.53-.654-.068-.066-.124-.113-.183-.146-.059-.03-.138-.056-.244-.063v2.904h-1.131v-6.716h2.032c.376 0 .702.052.971.154.277.099.502.242.676.413.173.174.307.378.389.613.087.234.127.483.127.744 0 .515-.141.952-.43 1.304-.293.356-.691.535-1.196.535.063.033.138.093.219.187.077.089.154.197.239.324.084.122.174.253.269.401.092.143.191.289.284.428l.971 1.613h-1.302zm3.655-4.271c-.251-.603-.593-1.136-1.027-1.588-.435-.451-.943-.808-1.532-1.066-.589-.261-1.213-.389-1.865-.389-.673 0-1.299.128-1.886.389-.582.258-1.089.615-1.521 1.066-.433.452-.769.985-1.017 1.588-.249.61-.376 1.269-.376 1.982 0 .699.127 1.353.376 1.968.248.612.584 1.145 1.017 1.597.432.452.939.81 1.521 1.071.587.267 1.213.398 1.886.398.652 0 1.276-.131 1.865-.398.589-.261 1.097-.619 1.532-1.071.434-.452.776-.985 1.027-1.597.256-.615.38-1.269.38-1.968 0-.713-.124-1.372-.38-1.982zm1.039 4.337c-.316.732-.746 1.368-1.283 1.913-.539.541-1.168.968-1.888 1.275-.725.308-1.492.458-2.292.458-.821 0-1.586-.15-2.309-.458-.717-.307-1.346-.734-1.883-1.275-.533-.545-.955-1.181-1.269-1.913-.313-.734-.465-1.52-.465-2.355 0-.842.152-1.628.465-2.36.314-.732.736-1.371 1.269-1.913.537-.545 1.166-.968 1.883-1.278.723-.305 1.488-.46 2.309-.46.8 0 1.567.155 2.292.46.72.31 1.349.733 1.888 1.278.537.542.967 1.181 1.283 1.913.313.732.477 1.518.477 2.36 0 .835-.164 1.621-.477 2.355z" fill="#243c6b"/></g></svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.38921 12.385V13.7025C2.38879 13.7021 2.38836 13.7017 2.38794 13.7013C1.98365 13.3033 1.62147 12.8626 1.30875 12.3865C1.30841 12.386 1.3081 12.3855 1.30776 12.385H2.38921ZM3.4425 1.42424C3.44247 1.42424 3.44246 1.42427 3.44244 1.42427C3.06578 1.68583 2.71268 1.97891 2.38693 2.29969H3.4425V1.42424ZM7.33663 3.61591V0.0271354C6.03128 0.134271 4.81471 0.554792 3.76232 1.21333V3.61591H7.33663ZM7.66115 11.7487H13.3198V8.97771H12.9204H7.66115V11.7487ZM12.5858 7.02305H15.9409C15.9409 7.02273 15.9409 7.02242 15.9408 7.02213C15.8202 6.03203 15.5186 5.09776 15.0702 4.25338C15.07 4.25294 15.0698 4.2525 15.0695 4.25206H12.5858V7.02305ZM12.5859 14.556C12.9511 14.3 13.294 14.0143 13.6109 13.7024C13.611 13.7023 13.6111 13.7022 13.6113 13.7021H12.5859V14.556ZM2.38874 2.93734H1.80539C0.676992 4.31638 0 6.07911 0 8C0 8.11388 0.00238291 8.22721 0.00709635 8.33992C0.00709635 8.34008 0.00710958 8.34021 0.00710958 8.34036H2.38874V2.93734ZM13.6114 13.0646H14.193C14.1932 13.0643 14.1935 13.0641 14.1937 13.0638C15.3226 11.6846 16 9.9214 16 8C16 7.88625 15.9976 7.77307 15.9929 7.66049H13.6114V13.0646ZM8.69171 12.3862V15.9705C8.69172 15.9705 8.69174 15.9705 8.69177 15.9705C9.99758 15.8587 11.2138 15.4331 12.2648 14.7696C12.2652 14.7694 12.2656 14.7691 12.266 14.7689L12.2648 12.3862H8.69171ZM3.76232 13.0646H7.33663V12.8964V7.66052H3.76232V13.0646ZM12.2648 2.93677H8.69171V8.34091H12.2648V8.01878V2.93677ZM14.692 3.61461C14.6919 3.6145 14.6919 3.61443 14.6918 3.61432C14.3788 3.13771 14.0162 2.69659 13.6114 2.29818L13.6114 3.61461H14.692ZM2.70904 13.7021V14.0006C2.70912 14.0007 2.70918 14.0007 2.70926 14.0008C4.11941 15.245 5.97154 16 8 16H8.00001C8.12461 16 8.24856 15.9972 8.37177 15.9915C8.37185 15.9915 8.37191 15.9915 8.37199 15.9915L8.37177 13.7024L2.70904 13.7021ZM3.44249 8.97771H0.0591538C0.0591929 8.97802 0.0592189 8.97831 0.059258 8.97859C0.180078 9.96924 0.481992 10.904 0.930873 11.7487H3.44249V8.97771ZM13.2915 2.2987V1.99987C11.8812 0.755234 10.0288 0 8.00001 0H8C7.88647 0 7.77351 0.00236979 7.66115 0.00705729C7.65961 0.00710937 7.65809 0.00721355 7.65656 0.00729167L7.66115 2.2987H13.2915ZM8.3719 4.25336H8.04277H2.70859V7.02435H8.3719V4.25336Z" fill="#420C7D"/>
3
+ </svg>
@@ -0,0 +1,12 @@
1
+ - bonterra = false if local_assigns[:bonterra].nil?
2
+
3
+ - if bonterra
4
+ = link_to 'https://www.bonterratech.com', title: 'Powered by Bonterra', class: 'd-inline-block text-decoration-none align-middle' do
5
+ = ui.nfg :image, image: "#{image_path('nfg_ui/logo/logo-symbol-indigo-bonterra.svg')}", alt: 'Powered by Bonterra', height: '16', responsive: false
6
+ = ui.nfg :typeface, :caption, class: 'd-inline-block mb-0' do
7
+ %span{ style: "color: #14022D;"}Powered by
8
+ %span{ style: "color: #726F76;"}Bonterra
9
+
10
+ - else
11
+ = link_to 'http://www.networkforgood.com', target: '_blank', title: 'Network for Good. Simple. Smart. Fundraising Software.', class: 'd-inline-block' do
12
+ = ui.nfg :image, image: "#{image_path('nfg_ui/logo/logo-full-color-nfg.svg')}", alt: 'Network for Good. Simple. Smart. Fundraising Software.', height: '24', responsive: false
@@ -40,7 +40,7 @@ module NfgUi
40
40
  # It is undesirable that every Tooltipable component also received
41
41
  # the disableable functionality as well.
42
42
  include Bootstrap::Utilities::Disableable
43
-
43
+
44
44
  def tooltip
45
45
  options.fetch(:tooltip, nil)
46
46
  end
@@ -70,7 +70,7 @@ module NfgUi
70
70
  def disabled_component_tooltip_wrapper_html_options
71
71
  { data: tooltip_data_attributes,
72
72
  title: tooltip,
73
- class: 'd-inline-block',
73
+ class: options[:block] ? 'd-block' : 'd-inline-block',
74
74
  tabindex: '0' }
75
75
  end
76
76
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NfgUi
4
- VERSION = '6.16.0'
4
+ VERSION = '6.16.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nfg_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.16.0
4
+ version: 6.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Roehm
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-04-12 00:00:00.000000000 Z
12
+ date: 2023-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap
@@ -388,6 +388,8 @@ files:
388
388
  - app/assets/images/nfg_ui/engagement_banners/flowers-bg.png
389
389
  - app/assets/images/nfg_ui/engagement_banners/hearts-bg.gif
390
390
  - app/assets/images/nfg_ui/engagement_banners/snow-bg.gif
391
+ - app/assets/images/nfg_ui/logo/logo-full-color-nfg.svg
392
+ - app/assets/images/nfg_ui/logo/logo-symbol-indigo-bonterra.svg
391
393
  - app/assets/javascripts/nfg_ui/application.coffee
392
394
  - app/assets/javascripts/nfg_ui/collapsible_toggle.coffee
393
395
  - app/assets/javascripts/nfg_ui/datepicker.coffee
@@ -598,6 +600,7 @@ files:
598
600
  - app/helpers/nfg_ui/components/resource_themes_helper.rb
599
601
  - app/helpers/nfg_ui/components/tooltip_helper.rb
600
602
  - app/views/nfg_ui/_entity_branding_styles.html.haml
603
+ - app/views/nfg_ui/_logo.html.haml
601
604
  - app/views/nfg_ui/app_icons/_icons.html.haml
602
605
  - app/views/nfg_ui/email/README.md
603
606
  - app/views/nfg_ui/email/_alert.html.inky-haml