dga-ui-react 1.3.0 → 1.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/.prettierrc.json +19 -0
- package/README.md +1 -1
- package/charts/cjs/index.js +59 -4
- package/charts/cjs/index.js.map +1 -1
- package/charts/esm/index.js +59 -4
- package/charts/esm/index.js.map +1 -1
- package/charts/index.d.ts +18 -3
- package/dist/cjs/index.js +174 -21
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +190 -37
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +30 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -112,9 +112,11 @@ interface DGA_TextInputProps extends Omit<React.InputHTMLAttributes<HTMLInputEle
|
|
|
112
112
|
style?: Style$3;
|
|
113
113
|
error?: boolean;
|
|
114
114
|
prefix?: React.ReactNode;
|
|
115
|
+
onPrefixClicked?: Function;
|
|
115
116
|
prefixStyle?: "solid" | "subtle";
|
|
116
117
|
suffix?: React.ReactNode;
|
|
117
118
|
suffixStyle?: "solid" | "subtle";
|
|
119
|
+
onSuffixClicked?: Function;
|
|
118
120
|
icon?: React.ReactNode;
|
|
119
121
|
}
|
|
120
122
|
declare const TextInput: React.ForwardRefExoticComponent<DGA_TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -601,4 +603,31 @@ interface DGA_ProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
601
603
|
}
|
|
602
604
|
declare const ProgressBar: React.FC<DGA_ProgressBarProps>;
|
|
603
605
|
|
|
604
|
-
|
|
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 };
|