@uniformdev/design-system 16.1.1-alpha.139 → 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/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 */
@@ -638,4 +638,58 @@ declare const TableRow: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedH
638
638
  declare const TableCellHead: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "key" | keyof React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>> & React$1.RefAttributes<HTMLTableCellElement>>;
639
639
  declare const TableCellData: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "key" | keyof React$1.TdHTMLAttributes<HTMLTableDataCellElement>> & React$1.RefAttributes<HTMLTableCellElement>>;
640
640
 
641
- export { ActionButtonsProps, AddButton, AddButtonProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, ChildFunction, ComboBoxGroupBase, 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, 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, Textarea, TextareaProps, Theme, ThemeProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, input, inputError, inputSelect, labelText, mq, scrollbarStyles, useIconContext, useMenuContext };
641
+ declare type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
642
+ /** (optional) - sets the button text and title value
643
+ * @default 'Add Item'
644
+ */
645
+ buttonText?: string;
646
+ /** sets the function action of the button */
647
+ onButtonClick: () => void;
648
+ /** (optional) - sets whether the button is disabled or not
649
+ * @default undefined
650
+ */
651
+ disabled?: boolean;
652
+ /** (optional) - sets the icon within the button, requires the icon provider to work
653
+ * @default 'add'
654
+ */
655
+ icon?: 'math-plus' | 'add' | 'add-r';
656
+ };
657
+ /**
658
+ * Uniform Add List Button Component
659
+ * @example <AddListButton buttonText="my text" onButtonClick={() => console.log('button clicked')} icon="add" />
660
+ */
661
+ declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, ...buttonProps }: AddListButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
662
+
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 };