Skip to content

Commit

Permalink
Added CSS to hide file input type that was causing issues in some env…
Browse files Browse the repository at this point in the history
…ironments.
  • Loading branch information
michaelsharman committed Jul 16, 2024
1 parent c0e265d commit 71f6830
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 5,330 deletions.
185 changes: 1 addition & 184 deletions dist/assessment/core.js

Large diffs are not rendered by default.

694 changes: 2 additions & 692 deletions dist/assessment/index.js

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions dist/assessment/index.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*!
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
*
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/

/*!
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/

/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
145 changes: 1 addition & 144 deletions dist/authoring/core.js

Large diffs are not rendered by default.

4,308 changes: 2 additions & 4,306 deletions dist/authoring/index.js

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions dist/authoring/index.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* Compressor.js v1.2.1
* https://fengyuanchen.github.io/compressorjs
*
* Copyright 2018-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2023-02-28T14:09:41.732Z
*/

/*!
* Cropper.js v1.5.7
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2020-05-23T05:23:00.081Z
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

/**
* Takes a string with placeholder variables like `%{smart_count} file selected`
* and replaces it with values from options `{smart_count: 5}`
*
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
*
* @param phrase that needs interpolation, with placeholders
* @param options with values that will be used to replace placeholders
*/
2 changes: 1 addition & 1 deletion dist/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.14.0';
export const version = '2.14.1';
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@caspingus/lt",
"version": "2.14.0",
"version": "2.14.1",
"description": "A utility library of helpers and tools for working with Learnosity APIs.",
"author": "michael@learnosity.com",
"license": "MIT",
Expand Down
4 changes: 4 additions & 0 deletions src/authoring/extensions/ui/imageUploader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ function injectCSS() {
border-color: #96b7cb;
background: #96b7cb;
}
.lrn .uppy-Dashboard-input[type=file] {
display: none;
}
`;

elStyle.textContent = css;
Expand Down

0 comments on commit 71f6830

Please sign in to comment.