@rt-tools/ui-kit 0.6.0 → 0.7.0

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
@@ -33,12 +33,21 @@ bootstrapApplication(AppComponent, {
33
33
  providers: [
34
34
  provideRtUi({
35
35
  global: { theme: 'auto', design: 'custom' },
36
- components: { button: { size: 'md', appearance: 'solid' } },
36
+ components: {
37
+ button: { size: 'md', appearance: 'solid' },
38
+ aside: { closeOnEscape: true },
39
+ },
37
40
  }),
38
41
  ],
39
42
  });
40
43
  ```
41
44
 
45
+ Since 0.5.0 Esc does not close an open aside curtain: the key is pressed to lift a hint or to leave a
46
+ field, and the whole panel closed together with what was entered. The signature did not change, so an
47
+ existing call keeps compiling and silently loses the closing by a key. An application that needs the
48
+ former behaviour names `components.aside.closeOnEscape` once, as above; a single call names
49
+ `closeOnEscape` in its own argument, and that argument wins over the setting.
50
+
42
51
  Import the design-token stylesheet so components and your own styles share the same `--rt-*` variables:
43
52
 
44
53
  ```scss