dga-ui-react 1.5.1 → 1.6.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/Metric/cjs/index.js +102 -0
- package/Metric/cjs/index.js.map +1 -0
- package/Metric/esm/index.js +102 -0
- package/Metric/esm/index.js.map +1 -0
- package/Metric/index.d.ts +27 -0
- package/Metric/package.json +10 -0
- package/charts/package.json +2 -2
- package/dist/cjs/index.js +8 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +8 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/.prettierrc.json +0 -19
package/dist/index.d.ts
CHANGED
|
@@ -263,6 +263,7 @@ interface DGA_MenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
263
263
|
keepOpenOnItemsClicked?: boolean;
|
|
264
264
|
onOpen?: (e: SyntheticEvent) => void;
|
|
265
265
|
onClose?: (e: SyntheticEvent) => void;
|
|
266
|
+
reverseOpeningDirection?: boolean;
|
|
266
267
|
}
|
|
267
268
|
declare const Menu: React.FC<DGA_MenuProps>;
|
|
268
269
|
|
|
@@ -413,7 +414,7 @@ interface DGA_TagProps$1 extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
413
414
|
declare const TabList: React.FC<DGA_TagProps$1>;
|
|
414
415
|
|
|
415
416
|
interface DGA_TagProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "style"> {
|
|
416
|
-
children
|
|
417
|
+
children?: React.ReactNode;
|
|
417
418
|
style?: "neutral" | "success" | "error" | "warning" | "info" | "onColor";
|
|
418
419
|
size?: "xsmall" | "small" | "medium";
|
|
419
420
|
outLine?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dga-ui-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "DGA ui library",
|
|
5
5
|
"author": "Ashraf Ainia",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "jest",
|
|
12
|
-
"build": "rm -rf dist && rm -rf charts && rollup -c --bundleConfigAsCjs && cp src/components/charts/package.json charts/package.json",
|
|
12
|
+
"build": "rm -rf dist && rm -rf charts && rm -rf Metric && rollup -c --bundleConfigAsCjs && cp src/components/charts/package.json charts/package.json && cp src/components/Metric/package.json Metric/package.json",
|
|
13
13
|
"release": "npm run build && npm publish",
|
|
14
14
|
"storybook": "storybook dev -p 6006",
|
|
15
15
|
"dev": "storybook dev -p 6006"
|
package/.prettierrc.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"arrowParens": "always",
|
|
3
|
-
"bracketSpacing": true,
|
|
4
|
-
"endOfLine": "lf",
|
|
5
|
-
"htmlWhitespaceSensitivity": "css",
|
|
6
|
-
"insertPragma": false,
|
|
7
|
-
"jsxBracketSameLine": false,
|
|
8
|
-
"jsxSingleQuote": false,
|
|
9
|
-
"printWidth": 110,
|
|
10
|
-
"proseWrap": "preserve",
|
|
11
|
-
"quoteProps": "as-needed",
|
|
12
|
-
"requirePragma": false,
|
|
13
|
-
"semi": true,
|
|
14
|
-
"singleQuote": false,
|
|
15
|
-
"tabWidth": 2,
|
|
16
|
-
"trailingComma": "es5",
|
|
17
|
-
"useTabs": false,
|
|
18
|
-
"vueIndentScriptAndStyle": false
|
|
19
|
-
}
|