solid-ui 2.4.28-47ef2693 → 2.4.28-4815c38b
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/solid-ui.js +17 -17
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +1 -1
- package/dist/solid-ui.min.js.map +1 -1
- package/lib/media/media-capture.d.ts +1 -1
- package/lib/media/media-capture.js +1 -1
- package/lib/media/media-capture.js.map +1 -1
- package/lib/pad.d.ts +1 -1
- package/lib/pad.js +2 -2
- package/lib/pad.js.map +1 -1
- package/lib/participation.d.ts +2 -2
- package/lib/participation.js +2 -2
- package/lib/participation.js.map +1 -1
- package/lib/styleConstants.js +3 -3
- package/lib/styleConstants.js.map +1 -1
- package/lib/versionInfo.js +4 -4
- package/lib/versionInfo.js.map +1 -1
- package/lib/widgets/dragAndDrop.js +5 -5
- package/lib/widgets/dragAndDrop.js.map +1 -1
- package/package.json +1 -1
package/dist/solid-ui.js
CHANGED
|
@@ -8400,7 +8400,7 @@ function cameraCaptureControl(dom, store, getImageDoc, doneCallback) {
|
|
|
8400
8400
|
* @param {function<Node>} doneCallback - called with the image taken
|
|
8401
8401
|
* @returns {DomElement} - A div element with the button in it
|
|
8402
8402
|
*
|
|
8403
|
-
* This
|
|
8403
|
+
* This expects the button to a large control when it is pressed
|
|
8404
8404
|
*/
|
|
8405
8405
|
|
|
8406
8406
|
function cameraButton(dom, store, getImageDoc, doneCallback) {
|
|
@@ -8924,7 +8924,7 @@ function lightColorHash(author) {
|
|
|
8924
8924
|
/** notepad
|
|
8925
8925
|
*
|
|
8926
8926
|
* @param {HTMLDocument} dom - the web page of the browser
|
|
8927
|
-
* @param {NamedNode} padDoc - the document
|
|
8927
|
+
* @param {NamedNode} padDoc - the document into which the participation should be shown
|
|
8928
8928
|
* @param {NamedNode} subject - the thing in which participation is happening
|
|
8929
8929
|
* @param {NamedNode} me - person who is logged into the pod
|
|
8930
8930
|
* @param {notepadOptions} options - the options that can be passed in consist of statusArea, exists
|
|
@@ -9108,7 +9108,7 @@ function notepad(dom, padDoc, subject, me, options) {
|
|
|
9108
9108
|
// contents need to be sent again
|
|
9109
9109
|
part.state = 4; // delete me
|
|
9110
9110
|
return;
|
|
9111
|
-
case 3: //
|
|
9111
|
+
case 3: // being deleted already
|
|
9112
9112
|
case 4:
|
|
9113
9113
|
// already deleted state
|
|
9114
9114
|
return;
|
|
@@ -9688,7 +9688,7 @@ var store = _solidLogic.solidLogicSingleton.store;
|
|
|
9688
9688
|
* @param {NamedNode} unused1/document - the document to render (this argument is no longer used, but left in for backwards compatibility)
|
|
9689
9689
|
* @param {NamedNode} subject - the thing in which the participation is happening
|
|
9690
9690
|
* @param {NamedNode} unused2/me - user that is logged into the pod (this argument is no longer used, but left in for backwards compatibility)
|
|
9691
|
-
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable
|
|
9691
|
+
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable these are used by the personTR button
|
|
9692
9692
|
*/
|
|
9693
9693
|
function renderParticipants(dom, table, unused1, subject, unused2, options) {
|
|
9694
9694
|
table.setAttribute('style', style.participantsStyle);
|
|
@@ -9834,7 +9834,7 @@ function recordParticipation(subject, padDoc, refreshable) {
|
|
|
9834
9834
|
* @param {NamedNode} document - the document into which the participation should be shown
|
|
9835
9835
|
* @param {NamedNode} subject - the thing in which participation is happening
|
|
9836
9836
|
* @param {NamedNode} me - the logged in user
|
|
9837
|
-
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable
|
|
9837
|
+
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable these are used by the personTR button
|
|
9838
9838
|
*
|
|
9839
9839
|
*/
|
|
9840
9840
|
function manageParticipation(dom, container, padDoc, subject, me, options) {
|
|
@@ -10409,13 +10409,13 @@ var _default = {
|
|
|
10409
10409
|
// Grey-blue, e.g., for field labels linking to ontology
|
|
10410
10410
|
formFieldNameBoxWidth: '8em',
|
|
10411
10411
|
// The fixed amount to get form fields to line up
|
|
10412
|
-
//
|
|
10413
|
-
//
|
|
10412
|
+
// The latter we put in when switching awy from using tables. Getting alignment between
|
|
10413
|
+
// fields in different groups though is hard problem.
|
|
10414
10414
|
|
|
10415
10415
|
mediaModuleCanvasWidth: '640',
|
|
10416
10416
|
mediaModuleCanvasHeight: '480',
|
|
10417
10417
|
textInputSize: 20,
|
|
10418
|
-
//
|
|
10418
|
+
// Default text input size in characters roughly
|
|
10419
10419
|
tabBorderRadius: '0.2em',
|
|
10420
10420
|
textInputBackgroundColor: '#eef',
|
|
10421
10421
|
textInputBackgroundColorUneditable: '#fff',
|
|
@@ -13706,12 +13706,12 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
13706
13706
|
}));
|
|
13707
13707
|
exports.versionInfo = void 0;
|
|
13708
13708
|
var versionInfo = {
|
|
13709
|
-
buildTime: '2023-08-
|
|
13710
|
-
commit: '
|
|
13709
|
+
buildTime: '2023-08-16T07:59:15Z',
|
|
13710
|
+
commit: '4815c38ba613db3e342f60ede131721a37bf8a43',
|
|
13711
13711
|
npmInfo: {
|
|
13712
13712
|
'solid-ui': '2.4.28',
|
|
13713
13713
|
npm: '8.19.4',
|
|
13714
|
-
node: '16.20.
|
|
13714
|
+
node: '16.20.1',
|
|
13715
13715
|
v8: '9.4.146.26-node.26',
|
|
13716
13716
|
uv: '1.43.0',
|
|
13717
13717
|
zlib: '1.2.11',
|
|
@@ -13721,7 +13721,7 @@ var versionInfo = {
|
|
|
13721
13721
|
nghttp2: '1.47.0',
|
|
13722
13722
|
napi: '8',
|
|
13723
13723
|
llhttp: '6.0.11',
|
|
13724
|
-
openssl: '1.1.
|
|
13724
|
+
openssl: '1.1.1u+quic',
|
|
13725
13725
|
cldr: '41.0',
|
|
13726
13726
|
icu: '71.1',
|
|
13727
13727
|
tz: '2022f',
|
|
@@ -15152,19 +15152,19 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
15152
15152
|
/* Drag and drop common functionality
|
|
15153
15153
|
*
|
|
15154
15154
|
* It is easy to make something draggable, or to make it a drag target!
|
|
15155
|
-
* Just call the functions below. In a
|
|
15156
|
-
*
|
|
15155
|
+
* Just call the functions below. In a solid world, any part of the UI which
|
|
15156
|
+
* represent one thing which has a URI, should be made draggable using makeDraggable
|
|
15157
15157
|
* Any list of things should typically allow you to drag new members of the list
|
|
15158
15158
|
* onto it.
|
|
15159
|
-
* The file upload function
|
|
15160
|
-
* desktop
|
|
15159
|
+
* The file upload function uploadFiles is provided as often as someone drags a file from the computer
|
|
15160
|
+
* desktop, you may want to upload it into the pod.
|
|
15161
15161
|
*/
|
|
15162
15162
|
|
|
15163
15163
|
/* global FileReader alert */
|
|
15164
15164
|
|
|
15165
15165
|
function makeDropTarget(ele, droppedURIHandler, droppedFileHandler) {
|
|
15166
15166
|
var dragoverListener = function dragoverListener(e) {
|
|
15167
|
-
e.preventDefault(); // Need
|
|
15167
|
+
e.preventDefault(); // Need else drop does not work [sic]
|
|
15168
15168
|
e.dataTransfer.dropEffect = 'copy';
|
|
15169
15169
|
};
|
|
15170
15170
|
var dragenterListener = function dragenterListener(e) {
|