@kingsimba/nc-ui 0.1.40 → 0.1.41
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 +1 -1
- package/dist/yaml.cjs +147 -47
- package/dist/yaml.cjs.map +1 -1
- package/dist/yaml.d.ts +8 -1
- package/dist/yaml.js +5221 -2053
- package/dist/yaml.js.map +1 -1
- package/package.json +3 -4
package/dist/yaml.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
|
-
declare function YamlTextArea({ value, onChange, onValidationChange, readOnly, minHeight, maxHeight, debounceMs, className, style, language, }: YamlTextAreaProps): JSX_2.Element;
|
|
4
|
+
declare function YamlTextArea({ value, onChange, onValidationChange, readOnly, minHeight, maxHeight, debounceMs, className, style, language, allowNull, }: YamlTextAreaProps): JSX_2.Element;
|
|
5
5
|
export { YamlTextArea }
|
|
6
6
|
export default YamlTextArea;
|
|
7
7
|
|
|
@@ -17,6 +17,13 @@ export declare interface YamlTextAreaProps {
|
|
|
17
17
|
style?: default_2.CSSProperties;
|
|
18
18
|
/** Language for syntax highlighting and validation. Default: 'yaml'. */
|
|
19
19
|
language?: 'yaml' | 'json';
|
|
20
|
+
/**
|
|
21
|
+
* Whether null values are considered valid. When false, any null value —
|
|
22
|
+
* explicit (`null`, `~`) or implicit (an empty mapping/list value such as
|
|
23
|
+
* `name:` with nothing after the colon) — is reported as a validation error.
|
|
24
|
+
* Default: true.
|
|
25
|
+
*/
|
|
26
|
+
allowNull?: boolean;
|
|
20
27
|
}
|
|
21
28
|
|
|
22
29
|
export { }
|