@uniformdev/design-system 16.1.1-alpha.169 → 16.1.1-alpha.238
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/esm/index.js +153 -119
- package/dist/index.d.ts +35 -3
- package/dist/index.js +154 -120
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -228,7 +228,7 @@ declare type InputInlineSelectProps = Omit<React$1.HTMLAttributes<HTMLButtonElem
|
|
|
228
228
|
*/
|
|
229
229
|
declare const InputInlineSelect: ({ classNameContainer, options, value, onChange, disabled, ...props }: InputInlineSelectProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
230
230
|
|
|
231
|
-
interface InputKeywordSearchProps {
|
|
231
|
+
interface InputKeywordSearchProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
232
232
|
/** function that takes a string value */
|
|
233
233
|
onSearchTextChanged: (searchText: string) => void;
|
|
234
234
|
/** (optional) sets the input field disabled state
|
|
@@ -254,7 +254,7 @@ interface InputKeywordSearchProps {
|
|
|
254
254
|
* Component used for keyword search functionality
|
|
255
255
|
* @example <InlineSelectInput disabled={index > 1} value={currentValue ?? '&'} options={[{ label: 'AND', value: '&' }, { label: 'OR', value: '|' }]} onChange={(s) => {setState(s.value)}} />
|
|
256
256
|
*/
|
|
257
|
-
declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, }: InputKeywordSearchProps) => React$1.ReactElement;
|
|
257
|
+
declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, ...props }: InputKeywordSearchProps) => React$1.ReactElement;
|
|
258
258
|
|
|
259
259
|
declare type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
260
260
|
/** (optional) sets the first item in the options list with empty value */
|
|
@@ -660,4 +660,36 @@ declare type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement
|
|
|
660
660
|
*/
|
|
661
661
|
declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, ...buttonProps }: AddListButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
662
662
|
|
|
663
|
-
|
|
663
|
+
declare type TextAlignProps = 'left' | 'right' | 'center';
|
|
664
|
+
declare type BoxHeightProps = 'auto' | 'sm' | 'md' | 'lg';
|
|
665
|
+
declare type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
666
|
+
/** React child elements */
|
|
667
|
+
children: React$1.ReactNode;
|
|
668
|
+
/** (optional) - sets the text alignment */
|
|
669
|
+
textAlign?: TextAlignProps;
|
|
670
|
+
/** (optional) - sets the background color */
|
|
671
|
+
bgColor?: 'transparent' | 'white';
|
|
672
|
+
/** (optional) - sets the minimum box height */
|
|
673
|
+
boxHeight?: BoxHeightProps;
|
|
674
|
+
};
|
|
675
|
+
/**
|
|
676
|
+
* Uniform Dashed Box Component
|
|
677
|
+
* @example <DashedBox bgColor="white" boxHeight="md" textAlign="center"><h1>hello world</h1></DashedBox>
|
|
678
|
+
*/
|
|
679
|
+
declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
680
|
+
|
|
681
|
+
declare type LimitsBarProps = {
|
|
682
|
+
/** The current value of used limits */
|
|
683
|
+
current: number;
|
|
684
|
+
/** The maximum number of limits */
|
|
685
|
+
max: number;
|
|
686
|
+
/** Text value used for the label text */
|
|
687
|
+
label: string;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Uniform Limits Bar Component
|
|
691
|
+
* @example <LimitsBar current="3" max="5" label="signals" />
|
|
692
|
+
*/
|
|
693
|
+
declare const LimitsBar: ({ current, max, label }: LimitsBarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
694
|
+
|
|
695
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, ChildFunction, ComboBoxGroupBase, DashedBox, DashedBoxProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, Icon, IconColor, IconProps, IconType, IconsProvider, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkProps, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuProps, Paragraph, ParagraphProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, input, inputError, inputSelect, labelText, mq, scrollbarStyles, useIconContext, useMenuContext };
|