@kingsimba/nc-ui 0.1.27 → 0.1.29
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 +27 -27
- package/dist/clsx-C11secjj.cjs +2 -0
- package/dist/clsx-C11secjj.cjs.map +1 -0
- package/dist/clsx-OuTLNxxd.js +17 -0
- package/dist/clsx-OuTLNxxd.js.map +1 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -18
- package/dist/index.js +916 -868
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/yaml.cjs +100 -1
- package/dist/yaml.cjs.map +1 -1
- package/dist/yaml.js +4697 -5
- package/dist/yaml.js.map +1 -1
- package/package.json +1 -1
- package/dist/YamlTextArea-Cn98kXG6.cjs +0 -101
- package/dist/YamlTextArea-Cn98kXG6.cjs.map +0 -1
- package/dist/YamlTextArea-ee1d1TLc.js +0 -4713
- package/dist/YamlTextArea-ee1d1TLc.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -409,7 +409,7 @@ export declare interface ComboBoxProps {
|
|
|
409
409
|
/** Size variant */
|
|
410
410
|
size?: 'default' | 'small';
|
|
411
411
|
/** Visual appearance of the closed control */
|
|
412
|
-
appearance?: 'default' | 'transparent';
|
|
412
|
+
appearance?: 'default' | 'transparent' | 'plain';
|
|
413
413
|
/** Horizontal alignment for the selected text and typed query */
|
|
414
414
|
textAlign?: 'left' | 'center' | 'right';
|
|
415
415
|
/** Custom styles */
|
|
@@ -622,7 +622,7 @@ declare interface HyperlinkProps {
|
|
|
622
622
|
size?: 'small' | 'default';
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
export declare function Input({ value: controlledValue, defaultValue, onChange, onEnter, onClear, placeholder, disabled, label, clearable, type, className, size, style, leadingIcon, showPasswordToggle, multiline, rows, validator, showErrorMessage, }: InputProps): JSX_2.Element;
|
|
625
|
+
export declare function Input({ value: controlledValue, defaultValue, onChange, onEnter, onClear, placeholder, disabled, label, clearable, type, className, size, appearance, style, leadingIcon, showPasswordToggle, multiline, rows, validator, showErrorMessage, }: InputProps): JSX_2.Element;
|
|
626
626
|
|
|
627
627
|
export declare interface InputProps {
|
|
628
628
|
/** Current value of the input (controlled mode) */
|
|
@@ -649,6 +649,8 @@ export declare interface InputProps {
|
|
|
649
649
|
className?: string;
|
|
650
650
|
/** Size variant */
|
|
651
651
|
size?: 'default' | 'small';
|
|
652
|
+
/** Visual appearance for single-line inputs */
|
|
653
|
+
appearance?: 'default' | 'plain';
|
|
652
654
|
/** Additional inline styles */
|
|
653
655
|
style?: default_2.CSSProperties;
|
|
654
656
|
/** Custom icon to display on the left side of the input */
|
|
@@ -1158,20 +1160,4 @@ export declare function ViewportProvider({ children }: {
|
|
|
1158
1160
|
children: ReactNode;
|
|
1159
1161
|
}): JSX_2.Element;
|
|
1160
1162
|
|
|
1161
|
-
export declare function YamlTextArea({ value, onChange, onValidationChange, readOnly, minHeight, maxHeight, debounceMs, className, style, language, }: YamlTextAreaProps): JSX_2.Element;
|
|
1162
|
-
|
|
1163
|
-
export declare interface YamlTextAreaProps {
|
|
1164
|
-
value: string;
|
|
1165
|
-
onChange: (value: string) => void;
|
|
1166
|
-
onValidationChange?: (isValid: boolean, error?: string) => void;
|
|
1167
|
-
readOnly?: boolean;
|
|
1168
|
-
minHeight?: number;
|
|
1169
|
-
maxHeight?: number;
|
|
1170
|
-
debounceMs?: number;
|
|
1171
|
-
className?: string;
|
|
1172
|
-
style?: default_2.CSSProperties;
|
|
1173
|
-
/** Language for syntax highlighting and validation. Default: 'yaml'. */
|
|
1174
|
-
language?: 'yaml' | 'json';
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
1163
|
export { }
|