@concretecms/bedrock 1.4.7 → 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
|
-
|
|
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
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
div.ccm-ui {
|
|
2
2
|
.modal-header {
|
|
3
3
|
background-color: $blue;
|
|
4
|
-
color: $modal-title-color;
|
|
5
|
-
font-weight: 400;
|
|
6
4
|
|
|
7
5
|
.modal-title {
|
|
6
|
+
color: $modal-title-color;
|
|
8
7
|
font-size: $modal-title-font-size;
|
|
9
8
|
font-weight: $modal-title-font-weight;
|
|
10
9
|
letter-spacing: $modal-title-letter-spacing;
|
|
@@ -182,7 +182,7 @@ $h6-font-size: 1rem * 0.8;
|
|
|
182
182
|
$modal-header-bg: $blue;
|
|
183
183
|
$modal-title-font-size: 1.5rem;
|
|
184
184
|
$modal-title-font-weight: 400;
|
|
185
|
-
$modal-title-letter-spacing:
|
|
185
|
+
$modal-title-letter-spacing: inherit;
|
|
186
186
|
$modal-title-color: white;
|
|
187
187
|
|
|
188
188
|
/* additional tab colors */
|
package/package.json
CHANGED