ui-beyable 1.0.35-beta.0 → 1.0.35-beta.10
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/lib/cjs/components/Kpi/Kpi.d.ts +4 -2
- package/lib/cjs/components/Kpi/types.d.ts +10 -1
- package/lib/cjs/index.d.ts +2 -1
- package/lib/cjs/index.js +322 -237
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/Kpi/Kpi.d.ts +4 -2
- package/lib/esm/components/Kpi/types.d.ts +10 -1
- package/lib/esm/index.d.ts +2 -1
- package/lib/esm/index.js +321 -238
- package/lib/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IKpiItem } from './types';
|
|
3
|
-
|
|
2
|
+
import { IKpiList, IKpiItem } from './types';
|
|
3
|
+
declare function KpiList({ children }: IKpiList): JSX.Element;
|
|
4
|
+
declare function KpiItem({ name, value, unit, variation, variationNbDecimal, variationPosition, variationStatus, size, tooltip, tooltipHTML }: IKpiItem): JSX.Element;
|
|
5
|
+
export { KpiList, KpiItem };
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
interface IKpiList {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
2
5
|
interface IKpiItem {
|
|
3
6
|
name: React.ReactNode | string;
|
|
4
7
|
value: number;
|
|
5
8
|
unit?: string;
|
|
6
9
|
variation?: number;
|
|
10
|
+
variationNbDecimal?: number;
|
|
11
|
+
variationPosition?: 'bottom' | 'right';
|
|
12
|
+
variationStatus?: 'auto' | 'up' | 'down' | 'warning' | 'neutral';
|
|
13
|
+
size?: 'l' | 'm' | 's';
|
|
14
|
+
tooltip?: string;
|
|
15
|
+
tooltipHTML?: React.ReactNode;
|
|
7
16
|
}
|
|
8
|
-
export { IKpiItem };
|
|
17
|
+
export { IKpiList, IKpiItem };
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { Dropdown, DropdownSection } from './components/Dropdown/Dropdown';
|
|
|
8
8
|
import { EmptyState } from './components/EmptyState/EmptyState';
|
|
9
9
|
import { Fieldset } from './components/Fieldset/Fieldset';
|
|
10
10
|
import { IconBtn } from './components/IconBtn/IconBtn';
|
|
11
|
+
import { KpiList, KpiItem } from './components/Kpi/Kpi';
|
|
11
12
|
import { List, ListItem } from './components/List/List';
|
|
12
13
|
import { Listbox, ListboxItem, ListboxSep } from './components/Listbox/Listbox';
|
|
13
14
|
import { Mask } from './components/Mask/Mask';
|
|
@@ -23,4 +24,4 @@ import { TabBar, TabItem } from './components/Tabs/Tabs';
|
|
|
23
24
|
import { Textfield, TextfieldIcon, SearchBar } from './components/Textfield/Textfield';
|
|
24
25
|
declare const Theme: any;
|
|
25
26
|
export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, BtnGroup, Checkbox, CheckboxList, Collapse, // Not OK
|
|
26
|
-
Confirm, Dropdown, DropdownSection, EmptyState, Fieldset, IconBtn, List, ListItem, Listbox, ListboxItem, ListboxSep, Mask, Message, Modal, ModalHeader, ModalBody, ModalFooter, Panel, PanelClose, PanelHeader, PanelBody, PanelSection, Picto, Portal, Radio, SearchBar, Section, Select, Spinner, Switch, TabBar, TabItem, Textfield, TextfieldIcon };
|
|
27
|
+
Confirm, Dropdown, DropdownSection, EmptyState, Fieldset, IconBtn, KpiList, KpiItem, List, ListItem, Listbox, ListboxItem, ListboxSep, Mask, Message, Modal, ModalHeader, ModalBody, ModalFooter, Panel, PanelClose, PanelHeader, PanelBody, PanelSection, Picto, Portal, Radio, SearchBar, Section, Select, Spinner, Switch, TabBar, TabItem, Textfield, TextfieldIcon };
|