Skip to content

Releases: clay/clay-kiln

v8.15.0

23 Oct 19:49
Compare
Choose a tag to compare

Release's Pull Request

Improvements

  • Handle keys args in select input #1477
  • Simple list: Update count when removing item #1483

Fixes

  • Change regular function to arrow function - Magic button - moreMagic #1482

Dependency bump

25 Sep 19:20
Compare
Choose a tag to compare
v8.14.1

8.14.1

Feature: Adding disable input capabilities

10 Sep 15:26
9806b6a
Compare
Choose a tag to compare
  • Adds support to disable Kiln inputs by passing a disabled prop in the schema or setting it in kiln.js

Feature: Subsite Support

19 Aug 19:01
Compare
Choose a tag to compare
  • Added support to be able to syndicate to/from subsites.
  • Updated queries to look for subsites, allowing pages to be filtered by site & subsite

v8.12.0

18 Jul 15:52
Compare
Choose a tag to compare

Now

  • UiPopover component
  • UiConfirm component

are available to be used through window.kiln.utils.components

Bugfix: Adds archive event to metadata history

21 May 18:07
Compare
Choose a tag to compare

Bugfixes:

  • Adds a new property to determined when the archive/unarchive events are triggered

v8.7.0

03 Apr 22:07
Compare
Choose a tag to compare

1) Add keypress functionality to simple-list-input

Now we have the possibility to receive the event object through emitting the keypress function from inside the simple-list-input. This allows us to add any type of rule to the value that is been added.

2) Custom global validators #1369

This opens the possibility to add custom metadata validators to all the pages.

To enable this include scope: metadata in object and on type indicate if is error or warning.

e.g.

'use strict';

module.exports = {
  label: 'Lorem Ipsum',
  description: 'Lorem ipsum dolor sit amet, consectetur...',
  type: 'error',
  scope: 'metadata',
  validate(metadata) {
    if (metadata.authors.length < 1) {
      return [{
        preview: 'Validation message'
      }];
    }

    return [];
  }
};
  • Custom Metadata validation for specific page: This allows validations for specific pages taking in count the uri used.

To use it include scope: 'metadata' in object and include uri:<URI>

e.g.

'use strict';

module.exports = {
  label: 'Lorem ipsum',
  description: 'Lorem ipsum dolor sit amet, consectetur...',
  type: 'error',
  scope: 'metadata',
  uri: 'cjp2sl6c50000cyv2gt73xbwt',
  validate(metadata) {
    if (metadata.authors.length < 1) {
      return [{
        preview: 'Blah blah'
      }];
    }

    return [];
  }
};

Export UiAlert component

11 Mar 20:28
Compare
Choose a tag to compare

Now UiAlert component is available in window.kiln.utils.components

Deep-linking

01 Mar 16:35
Compare
Choose a tag to compare

Left and Right Nav Drawers are now deep-linkable. When opening drawers, hashes are appended to the url so that any section of the nav ui can be bookmarked or shared via url, and not just the nav elements in the left drawer. Any kiln plugins can also be deep-linked to, and will automatically be so, if they use the openDrawer/toggleDrawer functions.

Also includes converting drag n drop functionality from dragula to sortablejs to allow better mobile drag and dropping experience. And a version upgrade of keen-ui to remove calendar bug, as well as some tweaks to the way keen-ui css is included in the project to prevent duplication.

v8.3.5-0

01 Mar 16:24
Compare
Choose a tag to compare
v8.3.5-0 Pre-release
Pre-release
8.3.5-0