lucent-ui 0.19.1 → 0.21.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/dist/index.cjs +78 -35
- package/dist/index.d.ts +73 -0
- package/dist/index.js +1226 -814
- package/dist-cli/cli/entry.js +0 -0
- package/dist-cli/cli/index.js +0 -0
- package/dist-server/server/index.js +0 -0
- package/dist-server/src/components/atoms/Progress/Progress.manifest.js +33 -0
- package/dist-server/src/components/atoms/Row/Row.manifest.js +102 -0
- package/dist-server/src/components/atoms/Stack/Stack.manifest.js +101 -0
- package/dist-server/src/manifest/validate.test.js +28 -0
- package/package.json +15 -13
package/dist/index.d.ts
CHANGED
|
@@ -940,6 +940,25 @@ export declare type PresetProp = PresetName | {
|
|
|
940
940
|
shadow?: ShadowName | ShadowPreset;
|
|
941
941
|
};
|
|
942
942
|
|
|
943
|
+
export declare function Progress({ value, max, variant, size, warnAt, dangerAt, label, style, }: ProgressProps): JSX_2.Element;
|
|
944
|
+
|
|
945
|
+
export declare const ProgressManifest: ComponentManifest;
|
|
946
|
+
|
|
947
|
+
export declare interface ProgressProps {
|
|
948
|
+
value: number;
|
|
949
|
+
max?: number;
|
|
950
|
+
variant?: ProgressVariant;
|
|
951
|
+
size?: ProgressSize;
|
|
952
|
+
warnAt?: number;
|
|
953
|
+
dangerAt?: number;
|
|
954
|
+
label?: boolean | ReactNode;
|
|
955
|
+
style?: CSSProperties;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export declare type ProgressSize = 'sm' | 'md' | 'lg';
|
|
959
|
+
|
|
960
|
+
export declare type ProgressVariant = 'accent' | 'success' | 'warning' | 'danger';
|
|
961
|
+
|
|
943
962
|
export declare interface PropDescriptor {
|
|
944
963
|
/** Prop name as it appears in the component API */
|
|
945
964
|
name: string;
|
|
@@ -1014,6 +1033,33 @@ export declare const rosePalette: ColorPalette;
|
|
|
1014
1033
|
|
|
1015
1034
|
export declare const roundedShape: ShapePreset;
|
|
1016
1035
|
|
|
1036
|
+
export declare function Row({ gap, align, justify, as, wrap, children, style, ...rest }: RowProps): JSX_2.Element;
|
|
1037
|
+
|
|
1038
|
+
export declare type RowAlign = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
1039
|
+
|
|
1040
|
+
export declare type RowAs = 'div' | 'section' | 'nav' | 'form' | 'fieldset' | 'ul' | 'ol';
|
|
1041
|
+
|
|
1042
|
+
export declare type RowGap = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12' | '16' | '20' | '24';
|
|
1043
|
+
|
|
1044
|
+
export declare type RowJustify = 'start' | 'center' | 'end' | 'between' | 'around';
|
|
1045
|
+
|
|
1046
|
+
export declare const RowManifest: ComponentManifest;
|
|
1047
|
+
|
|
1048
|
+
export declare interface RowProps {
|
|
1049
|
+
gap?: RowGap;
|
|
1050
|
+
align?: RowAlign;
|
|
1051
|
+
justify?: RowJustify;
|
|
1052
|
+
as?: RowAs;
|
|
1053
|
+
wrap?: boolean;
|
|
1054
|
+
children: ReactNode;
|
|
1055
|
+
style?: CSSProperties;
|
|
1056
|
+
className?: string;
|
|
1057
|
+
id?: string;
|
|
1058
|
+
role?: string;
|
|
1059
|
+
'aria-label'?: string;
|
|
1060
|
+
'aria-labelledby'?: string;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1017
1063
|
export declare function SearchInput({ value, onChange, placeholder, size, label, helperText, errorText, results, onResultSelect, isLoading, disabled, id, style, }: SearchInputProps): JSX_2.Element;
|
|
1018
1064
|
|
|
1019
1065
|
export declare const SearchInputManifest: ComponentManifest;
|
|
@@ -1220,6 +1266,33 @@ export declare interface SpinnerProps {
|
|
|
1220
1266
|
|
|
1221
1267
|
export declare type SpinnerSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
1222
1268
|
|
|
1269
|
+
export declare function Stack({ gap, align, justify, as, wrap, children, style, ...rest }: StackProps): JSX_2.Element;
|
|
1270
|
+
|
|
1271
|
+
export declare type StackAlign = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
1272
|
+
|
|
1273
|
+
export declare type StackAs = 'div' | 'section' | 'nav' | 'form' | 'fieldset' | 'ul' | 'ol';
|
|
1274
|
+
|
|
1275
|
+
export declare type StackGap = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12' | '16' | '20' | '24';
|
|
1276
|
+
|
|
1277
|
+
export declare type StackJustify = 'start' | 'center' | 'end' | 'between' | 'around';
|
|
1278
|
+
|
|
1279
|
+
export declare const StackManifest: ComponentManifest;
|
|
1280
|
+
|
|
1281
|
+
export declare interface StackProps {
|
|
1282
|
+
gap?: StackGap;
|
|
1283
|
+
align?: StackAlign;
|
|
1284
|
+
justify?: StackJustify;
|
|
1285
|
+
as?: StackAs;
|
|
1286
|
+
wrap?: boolean;
|
|
1287
|
+
children: ReactNode;
|
|
1288
|
+
style?: CSSProperties;
|
|
1289
|
+
className?: string;
|
|
1290
|
+
id?: string;
|
|
1291
|
+
role?: string;
|
|
1292
|
+
'aria-label'?: string;
|
|
1293
|
+
'aria-labelledby'?: string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1223
1296
|
export declare const subtleShadow: ShadowPreset;
|
|
1224
1297
|
|
|
1225
1298
|
export declare interface TabItem {
|