@helpwave/hightide 0.3.0 → 0.4.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.d.mts +10 -13
- package/dist/index.d.ts +10 -13
- package/dist/index.js +251 -282
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +251 -282
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +430 -459
- package/dist/style/uncompiled/theme/breakpoints.css +0 -1
- package/dist/style/uncompiled/theme/{colors-component.css → colors/component.css} +1 -2
- package/dist/style/uncompiled/theme/colors/index.css +5 -0
- package/dist/style/uncompiled/theme/{colors-semantic.css → colors/semantic.css} +1 -2
- package/dist/style/uncompiled/theme/colors/utilities.css +65 -0
- package/dist/style/uncompiled/theme/components.css +97 -18
- package/dist/style/uncompiled/theme/index.css +3 -5
- package/dist/style/uncompiled/theme/shadow.css +7 -0
- package/dist/style/uncompiled/utitlity/coloring.css +0 -68
- package/dist/style/uncompiled/utitlity/shadow.css +0 -10
- package/package.json +1 -1
- /package/dist/style/uncompiled/theme/{colors-basic.css → colors/basic.css} +0 -0
- /package/dist/style/uncompiled/theme/{variants.css → colors/variants.css} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -249,7 +249,6 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
249
249
|
onChangeText?: (text: string) => void;
|
|
250
250
|
onEditCompleted?: (text: string) => void;
|
|
251
251
|
editCompleteOptions?: EditCompleteOptions;
|
|
252
|
-
defaultStyle?: boolean;
|
|
253
252
|
};
|
|
254
253
|
/**
|
|
255
254
|
* A Component for inputting text or other information
|
|
@@ -261,7 +260,6 @@ declare const Input: React__default.ForwardRefExoticComponent<InputHTMLAttribute
|
|
|
261
260
|
onChangeText?: (text: string) => void;
|
|
262
261
|
onEditCompleted?: (text: string) => void;
|
|
263
262
|
editCompleteOptions?: EditCompleteOptions;
|
|
264
|
-
defaultStyle?: boolean;
|
|
265
263
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
266
264
|
/**
|
|
267
265
|
* A Component for inputting text or other information
|
|
@@ -1037,11 +1035,12 @@ type TableSortButtonProps = ButtonProps & {
|
|
|
1037
1035
|
*/
|
|
1038
1036
|
declare const TableSortButton: ({ sortDirection, invert, color, size, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1039
1037
|
|
|
1040
|
-
type CheckBoxSize = '
|
|
1038
|
+
type CheckBoxSize = 'small' | 'medium' | 'large';
|
|
1041
1039
|
type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
|
|
1042
1040
|
checked?: boolean;
|
|
1043
1041
|
disabled?: boolean;
|
|
1044
1042
|
indeterminate?: boolean;
|
|
1043
|
+
invalid?: boolean;
|
|
1045
1044
|
onCheckedChange?: (checked: boolean) => void;
|
|
1046
1045
|
size?: CheckBoxSize;
|
|
1047
1046
|
};
|
|
@@ -1050,7 +1049,7 @@ type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
1050
1049
|
*
|
|
1051
1050
|
* The state is managed by the parent
|
|
1052
1051
|
*/
|
|
1053
|
-
declare const Checkbox: ({ disabled, checked, indeterminate, onCheckedChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1052
|
+
declare const Checkbox: ({ disabled, checked, indeterminate, invalid, onCheckedChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1054
1053
|
type CheckboxUncontrolledProps = CheckboxProps;
|
|
1055
1054
|
/**
|
|
1056
1055
|
* A Tristate checkbox
|
|
@@ -1155,13 +1154,6 @@ type ScrollPickerProps<T> = {
|
|
|
1155
1154
|
*/
|
|
1156
1155
|
declare const ScrollPicker: <T>({ options, mapping, selected, onChange, disabled, }: ScrollPickerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1157
1156
|
|
|
1158
|
-
type SearchBarProps = InputProps & {
|
|
1159
|
-
onSearch?: () => void;
|
|
1160
|
-
disableOnSearch?: boolean;
|
|
1161
|
-
containerClassName?: string;
|
|
1162
|
-
};
|
|
1163
|
-
declare const SearchBar: ({ placeholder, onSearch, disableOnSearch, containerClassName, ...inputProps }: SearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
1164
|
-
|
|
1165
1157
|
type SelectIconAppearance = 'left' | 'right' | 'none';
|
|
1166
1158
|
type SelectRootProps = PropsWithChildren<{
|
|
1167
1159
|
id?: string;
|
|
@@ -1268,7 +1260,6 @@ type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'value'>
|
|
|
1268
1260
|
onChangeText?: (text: string) => void;
|
|
1269
1261
|
onEditCompleted?: (text: string) => void;
|
|
1270
1262
|
saveDelayOptions?: UseDelayOptions;
|
|
1271
|
-
defaultStyle?: boolean;
|
|
1272
1263
|
};
|
|
1273
1264
|
/**
|
|
1274
1265
|
* A Textarea component for inputting longer texts
|
|
@@ -1282,7 +1273,6 @@ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaHTMLAttribu
|
|
|
1282
1273
|
onChangeText?: (text: string) => void;
|
|
1283
1274
|
onEditCompleted?: (text: string) => void;
|
|
1284
1275
|
saveDelayOptions?: UseDelayOptions;
|
|
1285
|
-
defaultStyle?: boolean;
|
|
1286
1276
|
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1287
1277
|
/**
|
|
1288
1278
|
* A Textarea component that is not controlled by its parent
|
|
@@ -1339,6 +1329,13 @@ declare const InsideLabelInput: React.ForwardRefExoticComponent<Omit<InputProps,
|
|
|
1339
1329
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1340
1330
|
declare const InsideLabelInputUncontrolled: ({ value: initialValue, ...props }: InsideLabelInputProps) => react_jsx_runtime.JSX.Element;
|
|
1341
1331
|
|
|
1332
|
+
type SearchBarProps = InputProps & {
|
|
1333
|
+
onSearch?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
1334
|
+
searchButtonProps?: Omit<ButtonProps, 'onClick'>;
|
|
1335
|
+
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
1336
|
+
};
|
|
1337
|
+
declare const SearchBar: ({ onSearch, searchButtonProps, containerProps, ...inputProps }: SearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
+
|
|
1342
1339
|
type ToggleableInputProps = Omit<InputProps, 'defaultStyle'> & {
|
|
1343
1340
|
initialState?: 'editing' | 'display';
|
|
1344
1341
|
editCompleteOptions?: Omit<EditCompleteOptions, 'allowEnterComplete'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -249,7 +249,6 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
249
249
|
onChangeText?: (text: string) => void;
|
|
250
250
|
onEditCompleted?: (text: string) => void;
|
|
251
251
|
editCompleteOptions?: EditCompleteOptions;
|
|
252
|
-
defaultStyle?: boolean;
|
|
253
252
|
};
|
|
254
253
|
/**
|
|
255
254
|
* A Component for inputting text or other information
|
|
@@ -261,7 +260,6 @@ declare const Input: React__default.ForwardRefExoticComponent<InputHTMLAttribute
|
|
|
261
260
|
onChangeText?: (text: string) => void;
|
|
262
261
|
onEditCompleted?: (text: string) => void;
|
|
263
262
|
editCompleteOptions?: EditCompleteOptions;
|
|
264
|
-
defaultStyle?: boolean;
|
|
265
263
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
266
264
|
/**
|
|
267
265
|
* A Component for inputting text or other information
|
|
@@ -1037,11 +1035,12 @@ type TableSortButtonProps = ButtonProps & {
|
|
|
1037
1035
|
*/
|
|
1038
1036
|
declare const TableSortButton: ({ sortDirection, invert, color, size, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1039
1037
|
|
|
1040
|
-
type CheckBoxSize = '
|
|
1038
|
+
type CheckBoxSize = 'small' | 'medium' | 'large';
|
|
1041
1039
|
type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
|
|
1042
1040
|
checked?: boolean;
|
|
1043
1041
|
disabled?: boolean;
|
|
1044
1042
|
indeterminate?: boolean;
|
|
1043
|
+
invalid?: boolean;
|
|
1045
1044
|
onCheckedChange?: (checked: boolean) => void;
|
|
1046
1045
|
size?: CheckBoxSize;
|
|
1047
1046
|
};
|
|
@@ -1050,7 +1049,7 @@ type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
1050
1049
|
*
|
|
1051
1050
|
* The state is managed by the parent
|
|
1052
1051
|
*/
|
|
1053
|
-
declare const Checkbox: ({ disabled, checked, indeterminate, onCheckedChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1052
|
+
declare const Checkbox: ({ disabled, checked, indeterminate, invalid, onCheckedChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1054
1053
|
type CheckboxUncontrolledProps = CheckboxProps;
|
|
1055
1054
|
/**
|
|
1056
1055
|
* A Tristate checkbox
|
|
@@ -1155,13 +1154,6 @@ type ScrollPickerProps<T> = {
|
|
|
1155
1154
|
*/
|
|
1156
1155
|
declare const ScrollPicker: <T>({ options, mapping, selected, onChange, disabled, }: ScrollPickerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1157
1156
|
|
|
1158
|
-
type SearchBarProps = InputProps & {
|
|
1159
|
-
onSearch?: () => void;
|
|
1160
|
-
disableOnSearch?: boolean;
|
|
1161
|
-
containerClassName?: string;
|
|
1162
|
-
};
|
|
1163
|
-
declare const SearchBar: ({ placeholder, onSearch, disableOnSearch, containerClassName, ...inputProps }: SearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
1164
|
-
|
|
1165
1157
|
type SelectIconAppearance = 'left' | 'right' | 'none';
|
|
1166
1158
|
type SelectRootProps = PropsWithChildren<{
|
|
1167
1159
|
id?: string;
|
|
@@ -1268,7 +1260,6 @@ type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'value'>
|
|
|
1268
1260
|
onChangeText?: (text: string) => void;
|
|
1269
1261
|
onEditCompleted?: (text: string) => void;
|
|
1270
1262
|
saveDelayOptions?: UseDelayOptions;
|
|
1271
|
-
defaultStyle?: boolean;
|
|
1272
1263
|
};
|
|
1273
1264
|
/**
|
|
1274
1265
|
* A Textarea component for inputting longer texts
|
|
@@ -1282,7 +1273,6 @@ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaHTMLAttribu
|
|
|
1282
1273
|
onChangeText?: (text: string) => void;
|
|
1283
1274
|
onEditCompleted?: (text: string) => void;
|
|
1284
1275
|
saveDelayOptions?: UseDelayOptions;
|
|
1285
|
-
defaultStyle?: boolean;
|
|
1286
1276
|
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1287
1277
|
/**
|
|
1288
1278
|
* A Textarea component that is not controlled by its parent
|
|
@@ -1339,6 +1329,13 @@ declare const InsideLabelInput: React.ForwardRefExoticComponent<Omit<InputProps,
|
|
|
1339
1329
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1340
1330
|
declare const InsideLabelInputUncontrolled: ({ value: initialValue, ...props }: InsideLabelInputProps) => react_jsx_runtime.JSX.Element;
|
|
1341
1331
|
|
|
1332
|
+
type SearchBarProps = InputProps & {
|
|
1333
|
+
onSearch?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
1334
|
+
searchButtonProps?: Omit<ButtonProps, 'onClick'>;
|
|
1335
|
+
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
1336
|
+
};
|
|
1337
|
+
declare const SearchBar: ({ onSearch, searchButtonProps, containerProps, ...inputProps }: SearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
+
|
|
1342
1339
|
type ToggleableInputProps = Omit<InputProps, 'defaultStyle'> & {
|
|
1343
1340
|
initialState?: 'editing' | 'display';
|
|
1344
1341
|
editCompleteOptions?: Omit<EditCompleteOptions, 'allowEnterComplete'>;
|