dga-ui-react 1.3.1 → 1.4.1

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
@@ -603,4 +603,31 @@ interface DGA_ProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>
603
603
  }
604
604
  declare const ProgressBar: React.FC<DGA_ProgressBarProps>;
605
605
 
606
- export { Accordion, Autocomplete, Avatar, Breadcrumb, Button, Card, Checkbox, Chip, ContentSwitcher, DatePicker, Divider, DropZone, Dropdown, DropdownItem, FileCard, FileUpload, FloatingButton, Grid, HeaderMenuItem, InlineAlert, Link, List, Loading, Menu, MenuItem, MenuItemGroup, Modal, NavigationDrawerItem, Notification, Pagination, ProgressBar, ProgressIndicator, RadialStepper, Radio, RadioGroup, Rating, SearchBox, Skeleton, SkeletonCircle, SkeletonLine, SkeletonRectangle, SkeletonSquare, StatusTag, Switch, Tab, TabList, Table, Tag, TextInput, Textarea, ThemeProvider, Tooltip, toast, useTheme, withRtl };
606
+ type PrefixSuffixStyle = "plus" | "minus";
607
+ interface DGA_NumberInputProps extends Omit<DGA_TextInputProps, "icon"> {
608
+ prefixType?: PrefixSuffixStyle;
609
+ suffixType?: PrefixSuffixStyle;
610
+ }
611
+ declare const NumberInput: React.ForwardRefExoticComponent<DGA_NumberInputProps & React.RefAttributes<HTMLInputElement>>;
612
+
613
+ type SliderSize$1 = "small" | "medium";
614
+ interface DGA_SliderProps$1 extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
615
+ label?: React.ReactNode;
616
+ helperText?: React.ReactNode;
617
+ size?: SliderSize$1;
618
+ percentage?: number;
619
+ onChnage?: Function;
620
+ }
621
+ declare const NormalSlider: React.FC<DGA_SliderProps$1>;
622
+
623
+ type SliderSize = "small" | "medium";
624
+ interface DGA_SliderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
625
+ label?: React.ReactNode;
626
+ helperText?: React.ReactNode;
627
+ size?: SliderSize;
628
+ percentage: [number, number];
629
+ onChnage?: Function;
630
+ }
631
+ declare const RangeSlider: React.FC<DGA_SliderProps>;
632
+
633
+ export { Accordion, Autocomplete, Avatar, Breadcrumb, Button, Card, Checkbox, Chip, ContentSwitcher, DatePicker, Divider, DropZone, Dropdown, DropdownItem, FileCard, FileUpload, FloatingButton, Grid, HeaderMenuItem, InlineAlert, Link, List, Loading, Menu, MenuItem, MenuItemGroup, Modal, NavigationDrawerItem, Notification, NumberInput, Pagination, ProgressBar, ProgressIndicator, RadialStepper, Radio, RadioGroup, RangeSlider, Rating, SearchBox, Skeleton, SkeletonCircle, SkeletonLine, SkeletonRectangle, SkeletonSquare, NormalSlider as Slider, StatusTag, Switch, Tab, TabList, Table, Tag, TextInput, Textarea, ThemeProvider, Tooltip, toast, useTheme, withRtl };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dga-ui-react",
3
- "version": "1.3.1",
3
+ "version": "1.4.1",
4
4
  "description": "DGA ui library",
5
5
  "author": "Ashraf Ainia",
6
6
  "license": "MIT",