@concretecms/bedrock 1.4.8 → 1.4.9

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/README.md CHANGED
@@ -1,14 +1,5 @@
1
1
  # Concrete CMS Bedrock
2
- Bedrock is Concrete's front end library
2
+ Bedrock is Concrete's front end library. It is used to support Concrete itself, Concrete's backend (the "Dashboard" theme that's built-in to Concrete CMS), Concrete's shipping theme (Atomik) and third party themes that want to ensure that they remain compatible with all major Concrete features. It is a superset of Bootstrap 5.
3
3
 
4
-
5
- ### Developing Components
6
- This repository makes use of [storybook](https://storybook.js.org/docs/basics/introduction/) to allow for a clean development environment as well as a reference for how components should be used.
7
- Run `npm run storybook` to begin working with storybook.
8
-
9
- #### Adding a story
10
- If you're working on an existing component it's worth checking for a `.stories.js` file for it in `/stories/` before creating a new one.
11
-
12
- 1. Create a new `something.stories.js` file in `/stories/` underneath a directory that makes sense
13
- 2. Copy the contents of `/stories/stories.js.sample` into your new file as a boilerplate
14
- 3. Update component name and other placeholder values to match the component you're working on
4
+ ## More Information
5
+ https://documentation.concretecms.org/tutorials/submitting-user-interface-pull-requests-for-concrete-cms-version-9
@@ -82,6 +82,8 @@
82
82
  ConcreteEvent.publish('AjaxFormSubmitSuccess', { response: r, form: my.$form.attr('data-dialog-form') })
83
83
  if (r.redirectURL) {
84
84
  window.location.href = r.redirectURL
85
+ } else if (r.reloadCurrentPage) {
86
+ window.location.reload()
85
87
  } else {
86
88
  if (my.$form.attr('data-dialog-form')) {
87
89
  $.fn.dialog.closeTop()
@@ -390,6 +390,12 @@
390
390
  directoryId = parseInt(fileUploader.options.folderID())
391
391
  }
392
392
 
393
+ // Fix in #11691
394
+ const $directoryInput = $('<input />').attr('type', 'hidden').attr('name', 'fileUploaderDirectoryId').val(directoryId)
395
+ $column.append($directoryInput)
396
+
397
+ /*
398
+ // Commented out for the time being to fix #11691
393
399
  const $directoryContainer = $('<div/>')
394
400
  .attr('style', 'min-height: 200px')
395
401
  $directoryContainer.html('<concrete-file-directory-input input-label="Upload files to" :directory-id="' + directoryId + '" input-name="uploadDirectoryId" :show-add-directory-button="true" @change="currentFolder = $event"></concrete-file-directory-input>')
@@ -411,6 +417,7 @@
411
417
  }
412
418
  })
413
419
  })
420
+ */
414
421
 
415
422
  $row.append($column)
416
423
 
@@ -93,7 +93,7 @@
93
93
  })
94
94
  }
95
95
 
96
- var menuSelect = new TomSelect($menu.get(0))
96
+ var menuSelect = new TomSelect($menu.get(0), { maxOptions: null })
97
97
 
98
98
  menuSelect.on('change', function (treeID) {
99
99
  var source = my.getTree().options.source
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@concretecms/bedrock",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "The asset framework and dependencies for Concrete CMS.",
5
5
  "scripts": {
6
6
  "lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",