@longline/aqua-ui 1.0.195 → 1.0.196
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/containers/Anchor/Anchor.d.ts +6 -3
- package/containers/Anchor/Anchor.js +1 -0
- package/containers/Dock/Dock.d.ts +3 -3
- package/containers/Dock/Dockable.d.ts +3 -3
- package/containers/DragBar/DragBar.d.ts +3 -3
- package/containers/Form/Field.d.ts +3 -3
- package/containers/Form/Form.d.ts +5 -4
- package/containers/Form/Form.js +1 -0
- package/containers/GlassPane/GlassPane.d.ts +3 -3
- package/containers/InfoBox/InfoBox.d.ts +3 -3
- package/containers/List/List.d.ts +3 -3
- package/containers/Message/Message.d.ts +3 -3
- package/containers/Tabs/Pane.d.ts +6 -3
- package/containers/Tabs/Pane.js +1 -0
- package/containers/Tabs/Tabs.d.ts +8 -4
- package/containers/Tabs/Tabs.js +1 -0
- package/controls/Chip/Chip.d.ts +3 -3
- package/controls/Dropzone/Dropzone.d.ts +3 -3
- package/controls/Fab/Fab.d.ts +3 -3
- package/controls/FilterButton/FilterButton.d.ts +3 -3
- package/controls/Ghost/Ghost.d.ts +5 -2
- package/controls/Ghost/Ghost.js +14 -1
- package/controls/Gradient/Gradient.d.ts +3 -3
- package/controls/Key/Key.d.ts +3 -3
- package/controls/LinearChart/LinearChart.d.ts +3 -3
- package/controls/ListView/ListView.d.ts +1 -1
- package/controls/Mouse/Mouse.d.ts +3 -3
- package/controls/PrimaryButton/PrimaryButton.d.ts +3 -3
- package/controls/Progress/Progress.d.ts +6 -3
- package/controls/Progress/Progress.js +1 -0
- package/controls/SecondaryButton/SecondaryButton.d.ts +3 -3
- package/controls/TabBar/Tab.d.ts +3 -3
- package/controls/TabBar/TabBar.d.ts +4 -4
- package/controls/TabBar/Underliner.d.ts +2 -2
- package/controls/TabBar/Underliner.js +3 -1
- package/controls/TertiaryButton/TertiaryButton.d.ts +3 -3
- package/controls/View/View.d.ts +3 -3
- package/inputs/DateInput/DateInput.d.ts +6 -3
- package/inputs/DateInput/DateInput.js +1 -0
- package/inputs/Dropdown/Dropdown.d.ts +1 -0
- package/inputs/Dropdown/Dropdown.js +1 -0
- package/inputs/Editor/Editor.d.ts +6 -3
- package/inputs/Editor/Editor.js +2 -1
- package/inputs/Input/Input.d.ts +6 -3
- package/inputs/Input/Input.js +14 -1
- package/inputs/MonthRange/MonthRange.d.ts +6 -3
- package/inputs/MonthRange/MonthRange.js +1 -0
- package/inputs/Selector/Selector.d.ts +4 -1
- package/inputs/Selector/Selector.js +1 -0
- package/inputs/Slider/Slider.d.ts +4 -1
- package/inputs/Slider/Slider.js +1 -0
- package/inputs/Textarea/Textarea.d.ts +6 -3
- package/inputs/Textarea/Textarea.js +1 -0
- package/map/Map/Map.d.ts +6 -3
- package/map/Map/Map.js +1 -0
- package/map/PositionsManager/PositionBox.d.ts +6 -3
- package/map/PositionsManager/PositionBox.js +1 -0
- package/map/PositionsManager/PositionsManager.d.ts +6 -3
- package/map/PositionsManager/PositionsManager.js +1 -0
- package/map/controls/CompassButton/CompassButton.d.ts +6 -3
- package/map/controls/CompassButton/CompassButton.js +1 -0
- package/map/controls/FullscreenButton/FullscreenButton.d.ts +6 -3
- package/map/controls/FullscreenButton/FullscreenButton.js +1 -0
- package/map/controls/Geocoder/Geocoder.d.ts +4 -1
- package/map/controls/Geocoder/Geocoder.js +1 -0
- package/map/controls/Graticule/Graticule.d.ts +4 -1
- package/map/controls/Graticule/Graticule.js +1 -0
- package/map/controls/MapLoader/MapLoader.d.ts +6 -3
- package/map/controls/MapLoader/MapLoader.js +1 -0
- package/map/controls/ScaleControl/ScaleControl.d.ts +6 -3
- package/map/controls/ScaleControl/ScaleControl.js +1 -0
- package/map/controls/ZoomInButton/ZoomInButton.d.ts +4 -1
- package/map/controls/ZoomInButton/ZoomInButton.js +1 -0
- package/map/controls/ZoomOutButton/ZoomOutButton.d.ts +4 -1
- package/map/controls/ZoomOutButton/ZoomOutButton.js +1 -0
- package/map/layers/ClusterLayer/ClusterLayer.d.ts +6 -3
- package/map/layers/ClusterLayer/ClusterLayer.js +1 -0
- package/map/layers/HtmlMarkerLayer/HtmlMarkerLayer.d.ts +6 -3
- package/map/layers/HtmlMarkerLayer/HtmlMarkerLayer.js +1 -0
- package/map/layers/InterpolationLayer/InterpolationLayer.d.ts +6 -3
- package/map/layers/InterpolationLayer/InterpolationLayer.js +1 -0
- package/map/layers/ParticlesLayer/ParticlesLayer.d.ts +6 -3
- package/map/layers/ParticlesLayer/ParticlesLayer.js +1 -0
- package/map/markers/ClusterMarker/ClusterMarker.d.ts +6 -3
- package/map/markers/ClusterMarker/ClusterMarker.js +1 -0
- package/map/markers/RiskMarker/RiskMarker.d.ts +6 -3
- package/map/markers/RiskMarker/RiskMarker.js +1 -0
- package/modules/Filter/Filter.d.ts +6 -3
- package/modules/Filter/Filter.js +1 -0
- package/modules/Globe/Globe.d.ts +6 -3
- package/modules/Globe/Globe.js +1 -0
- package/modules/MainMenu/MainMenu.d.ts +4 -3
- package/modules/MainMenu/MainMenu.js +1 -0
- package/modules/ParticleGlobe/ParticleGlobe.d.ts +6 -3
- package/modules/ParticleGlobe/ParticleGlobe.js +1 -0
- package/modules/Root/Root.d.ts +6 -3
- package/modules/Root/Root.js +1 -0
- package/package.json +1 -1
- package/services/Dialog/Dialog.d.ts +4 -3
- package/services/Dialog/Dialog.js +1 -0
- package/services/Toast/Toast.d.ts +4 -1
- package/services/Toast/Toast.js +1 -0
- package/services/Toast/ToastContainer.d.ts +6 -3
- package/services/Toast/ToastContainer.js +1 -0
- package/services/Toast/ToastProvider.d.ts +6 -3
- package/services/Toast/ToastProvider.js +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IAnchorProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -59,5 +59,8 @@ interface IProps {
|
|
|
59
59
|
* By default, positioning happens only once (when the anchor mounts), but with
|
|
60
60
|
* the `adapt` prop, positioning happens whenever the page is scrolled.
|
|
61
61
|
*/
|
|
62
|
-
declare const Anchor:
|
|
63
|
-
|
|
62
|
+
declare const Anchor: {
|
|
63
|
+
(props: IAnchorProps): React.JSX.Element;
|
|
64
|
+
displayName: string;
|
|
65
|
+
};
|
|
66
|
+
export { Anchor, IAnchorProps };
|
|
@@ -110,4 +110,5 @@ var Anchor = function (props) {
|
|
|
110
110
|
} },
|
|
111
111
|
React.createElement("div", { ref: contentRef, style: { position: 'absolute', visibility: 'hidden', transition: 'top 250ms ease, left 250ms ease' } }, props.children)));
|
|
112
112
|
};
|
|
113
|
+
Anchor.displayName = 'Anchor';
|
|
113
114
|
export { Anchor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IDockProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** Children are one or more `Dockable`. */
|
|
@@ -42,7 +42,7 @@ interface IProps {
|
|
|
42
42
|
* absolute positioning on the map and do not stick to the Dock.
|
|
43
43
|
*/
|
|
44
44
|
declare const Dock: {
|
|
45
|
-
({ bordered, top, bottom, right, gap, ...props }:
|
|
45
|
+
({ bordered, top, bottom, right, gap, ...props }: IDockProps): React.JSX.Element;
|
|
46
46
|
displayName: string;
|
|
47
47
|
};
|
|
48
|
-
export { Dock };
|
|
48
|
+
export { Dock, IDockProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IDockableProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -65,7 +65,7 @@ interface IProps {
|
|
|
65
65
|
* When a `Dockable` is out of the viewport, it gains the `.offscreen` CSS class.
|
|
66
66
|
*/
|
|
67
67
|
declare const Dockable: {
|
|
68
|
-
({ longitude, latitude, offsetX, offsetY, swappable, alwaysDocked, zIndex, hysteresis, ...props }:
|
|
68
|
+
({ longitude, latitude, offsetX, offsetY, swappable, alwaysDocked, zIndex, hysteresis, ...props }: IDockableProps): React.JSX.Element;
|
|
69
69
|
displayName: string;
|
|
70
70
|
};
|
|
71
|
-
export { Dockable,
|
|
71
|
+
export { Dockable, IDockableProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IDragBarProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -38,7 +38,7 @@ interface IProps {
|
|
|
38
38
|
* set in pixels.
|
|
39
39
|
*/
|
|
40
40
|
declare const DragBar: {
|
|
41
|
-
({ height, navigation, navigationDelta, behavior, ...props }:
|
|
41
|
+
({ height, navigation, navigationDelta, behavior, ...props }: IDragBarProps): React.JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
|
-
export { DragBar };
|
|
44
|
+
export { DragBar, IDragBarProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IValidationProps } from './Validation';
|
|
3
|
-
interface
|
|
3
|
+
interface IFieldProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/** Field name. Required. */
|
|
@@ -98,7 +98,7 @@ interface IProps {
|
|
|
98
98
|
* do not display label or hint. Other wrappers are `simple` and `box`.
|
|
99
99
|
*/
|
|
100
100
|
declare const Field: {
|
|
101
|
-
(props:
|
|
101
|
+
(props: IFieldProps): React.JSX.Element;
|
|
102
102
|
displayName: string;
|
|
103
103
|
};
|
|
104
|
-
export { Field,
|
|
104
|
+
export { Field, IFieldProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IFormProps {
|
|
3
3
|
/**
|
|
4
4
|
* @ignore
|
|
5
5
|
*/
|
|
@@ -42,10 +42,11 @@ interface IProps {
|
|
|
42
42
|
* on every interaction.
|
|
43
43
|
*/
|
|
44
44
|
declare const Form: {
|
|
45
|
-
(props:
|
|
45
|
+
(props: IFormProps): React.JSX.Element;
|
|
46
|
+
displayName: string;
|
|
46
47
|
Field: {
|
|
47
|
-
(props: import("./Field").
|
|
48
|
+
(props: import("./Field").IFieldProps): React.JSX.Element;
|
|
48
49
|
displayName: string;
|
|
49
50
|
};
|
|
50
51
|
};
|
|
51
|
-
export { Form,
|
|
52
|
+
export { Form, IFormProps };
|
package/containers/Form/Form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IGlassPaneProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -42,7 +42,7 @@ interface IProps {
|
|
|
42
42
|
* </GlassPane>*
|
|
43
43
|
*/
|
|
44
44
|
declare const GlassPane: {
|
|
45
|
-
({ bordered, padded, animated, ...props }:
|
|
45
|
+
({ bordered, padded, animated, ...props }: IGlassPaneProps): React.JSX.Element;
|
|
46
46
|
displayName: string;
|
|
47
47
|
};
|
|
48
|
-
export { GlassPane,
|
|
48
|
+
export { GlassPane, IGlassPaneProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IInfoBoxProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -56,7 +56,7 @@ interface IProps {
|
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
58
|
declare const InfoBox: {
|
|
59
|
-
({ width, minHeight, padded, scroll, ...props }:
|
|
59
|
+
({ width, minHeight, padded, scroll, ...props }: IInfoBoxProps): React.JSX.Element;
|
|
60
60
|
displayName: string;
|
|
61
61
|
};
|
|
62
|
-
export { InfoBox,
|
|
62
|
+
export { InfoBox, IInfoBoxProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IListProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -41,5 +41,5 @@ interface IProps {
|
|
|
41
41
|
* A list takes a forward `ref` which will point to the list of rows, so that
|
|
42
42
|
* other code, using the ref, can scroll list items into view.
|
|
43
43
|
*/
|
|
44
|
-
declare const List: React.ForwardRefExoticComponent<
|
|
45
|
-
export { List,
|
|
44
|
+
declare const List: React.ForwardRefExoticComponent<IListProps & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export { List, IListProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IMessageProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -13,7 +13,7 @@ interface IProps {
|
|
|
13
13
|
* includes a button with an action to resolve the situation.
|
|
14
14
|
*/
|
|
15
15
|
declare const Message: {
|
|
16
|
-
(props:
|
|
16
|
+
(props: IMessageProps): React.JSX.Element;
|
|
17
17
|
/**
|
|
18
18
|
* A `NoData` `Message` should be used when there is reallly no data, and no
|
|
19
19
|
* filter is currently active. This Message offers no actions for the user
|
|
@@ -42,4 +42,4 @@ declare const Message: {
|
|
|
42
42
|
};
|
|
43
43
|
displayName: string;
|
|
44
44
|
};
|
|
45
|
-
export { Message };
|
|
45
|
+
export { Message, IMessageProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IPaneProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -25,5 +25,8 @@ interface IProps {
|
|
|
25
25
|
* accommodate maps or images that must be rendered right against the tab bar
|
|
26
26
|
* itself. The `padding` prop can be used to add some top padding.
|
|
27
27
|
*/
|
|
28
|
-
declare const Pane:
|
|
29
|
-
|
|
28
|
+
declare const Pane: {
|
|
29
|
+
(props: IPaneProps): React.JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
32
|
+
export { Pane, IPaneProps };
|
package/containers/Tabs/Pane.js
CHANGED
|
@@ -41,5 +41,6 @@ var PaneStyled = styled(PaneBase)(templateObject_1 || (templateObject_1 = __make
|
|
|
41
41
|
* itself. The `padding` prop can be used to add some top padding.
|
|
42
42
|
*/
|
|
43
43
|
var Pane = function (props) { return React.createElement(PaneStyled, __assign({}, props)); };
|
|
44
|
+
Pane.displayName = 'Tabs.Pane';
|
|
44
45
|
export { Pane };
|
|
45
46
|
var templateObject_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface ITabsProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -54,13 +54,17 @@ interface IProps {
|
|
|
54
54
|
* If you need a tab bar, but not panes, then use the `TabBar` control.
|
|
55
55
|
*/
|
|
56
56
|
declare const Tabs: {
|
|
57
|
-
(props:
|
|
57
|
+
(props: ITabsProps): React.JSX.Element;
|
|
58
|
+
displayName: string;
|
|
58
59
|
/**
|
|
59
60
|
* A single tab pane.
|
|
60
61
|
*
|
|
61
62
|
* The Pane label can contain arbitrary content.
|
|
62
63
|
* To get the content to vertically align properly, a Flex.Quick can help.
|
|
63
64
|
*/
|
|
64
|
-
Pane:
|
|
65
|
+
Pane: {
|
|
66
|
+
(props: import("./Pane").IPaneProps): React.JSX.Element;
|
|
67
|
+
displayName: string;
|
|
68
|
+
};
|
|
65
69
|
};
|
|
66
|
-
export { Tabs,
|
|
70
|
+
export { Tabs, ITabsProps };
|
package/containers/Tabs/Tabs.js
CHANGED
|
@@ -133,6 +133,7 @@ var TabsStyled = styled(TabsBase)(templateObject_2 || (templateObject_2 = __make
|
|
|
133
133
|
* If you need a tab bar, but not panes, then use the `TabBar` control.
|
|
134
134
|
*/
|
|
135
135
|
var Tabs = function (props) { return React.createElement(TabsStyled, __assign({}, props)); };
|
|
136
|
+
Tabs.displayName = 'Tabs';
|
|
136
137
|
/**
|
|
137
138
|
* A single tab pane.
|
|
138
139
|
*
|
package/controls/Chip/Chip.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IChipProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -32,7 +32,7 @@ interface IProps {
|
|
|
32
32
|
* content is no longer ellipsized.
|
|
33
33
|
*/
|
|
34
34
|
declare const Chip: {
|
|
35
|
-
({ disabled, ...props }:
|
|
35
|
+
({ disabled, ...props }: IChipProps): React.JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
|
-
export { Chip,
|
|
38
|
+
export { Chip, IChipProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IDropzoneProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -33,7 +33,7 @@ interface IProps {
|
|
|
33
33
|
* />
|
|
34
34
|
*/
|
|
35
35
|
declare const Dropzone: {
|
|
36
|
-
({ disabled, ...props }:
|
|
36
|
+
({ disabled, ...props }: IDropzoneProps): React.JSX.Element;
|
|
37
37
|
displayName: string;
|
|
38
38
|
};
|
|
39
|
-
export { Dropzone };
|
|
39
|
+
export { Dropzone, IDropzoneProps };
|
package/controls/Fab/Fab.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IIconProps } from '../Icon';
|
|
3
|
-
interface
|
|
3
|
+
interface IFabProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/**
|
|
@@ -71,7 +71,7 @@ interface IProps {
|
|
|
71
71
|
* * The FAB can be in an `active` state where it appears depressed.
|
|
72
72
|
*/
|
|
73
73
|
declare const Fab: {
|
|
74
|
-
({ disabled, positive, negative, active, ...props }:
|
|
74
|
+
({ disabled, positive, negative, active, ...props }: IFabProps): React.JSX.Element;
|
|
75
75
|
displayName: string;
|
|
76
76
|
};
|
|
77
|
-
export { Fab,
|
|
77
|
+
export { Fab, IFabProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IFilterButtonProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -31,5 +31,5 @@ interface IProps {
|
|
|
31
31
|
* "depressed" and "highlighted" states to reflect UI status. It should be
|
|
32
32
|
* combined with a pane to select filter options.
|
|
33
33
|
*/
|
|
34
|
-
declare const FilterButton: React.ForwardRefExoticComponent<
|
|
35
|
-
export { FilterButton,
|
|
34
|
+
declare const FilterButton: React.ForwardRefExoticComponent<IFilterButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
export { FilterButton, IFilterButtonProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CSSProperties } from 'styled-components';
|
|
3
|
-
interface
|
|
3
|
+
interface IGhostProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/**
|
|
@@ -9,5 +9,8 @@ interface IProps {
|
|
|
9
9
|
*/
|
|
10
10
|
style?: CSSProperties;
|
|
11
11
|
}
|
|
12
|
-
declare const Ghost:
|
|
12
|
+
declare const Ghost: {
|
|
13
|
+
(props: IGhostProps): React.JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
13
16
|
export { Ghost };
|
package/controls/Ghost/Ghost.js
CHANGED
|
@@ -2,6 +2,17 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
2
2
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
|
+
var __assign = (this && this.__assign) || function () {
|
|
6
|
+
__assign = Object.assign || function(t) {
|
|
7
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
+
s = arguments[i];
|
|
9
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
10
|
+
t[p] = s[p];
|
|
11
|
+
}
|
|
12
|
+
return t;
|
|
13
|
+
};
|
|
14
|
+
return __assign.apply(this, arguments);
|
|
15
|
+
};
|
|
5
16
|
import * as React from 'react';
|
|
6
17
|
import styled, { keyframes } from 'styled-components';
|
|
7
18
|
var GhostBase = function (props) {
|
|
@@ -15,6 +26,8 @@ var anim = keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObjec
|
|
|
15
26
|
var anim2 = keyframes(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n"], ["\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n"])));
|
|
16
27
|
var Gradient1 = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n opacity: 1;\n background: linear-gradient(-45deg, ", ", ", ");\n animation: ", " 4s infinite linear;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n opacity: 1;\n background: linear-gradient(-45deg, ", ", ", ");\n animation: ", " 4s infinite linear;\n"])), COLOR1, COLOR2, anim2);
|
|
17
28
|
var Gradient2 = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n opacity: 1;\n background: linear-gradient(-45deg, ", ", ", ");\n animation: ", " 4s infinite linear;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n opacity: 1;\n background: linear-gradient(-45deg, ", ", ", ");\n animation: ", " 4s infinite linear;\n"])), COLOR2, COLOR1, anim);
|
|
18
|
-
var
|
|
29
|
+
var GhostStyled = styled(GhostBase)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: relative;\n min-width: 5px;\n min-height: 5px;\n border-radius: ", "px;\n overflow: hidden;\n pointer-events: none;\n opacity: 0.3;\n"], ["\n position: relative;\n min-width: 5px;\n min-height: 5px;\n border-radius: ", "px;\n overflow: hidden;\n pointer-events: none;\n opacity: 0.3;\n"])), function (p) { return p.theme.radius.normal; });
|
|
30
|
+
var Ghost = function (props) { return React.createElement(GhostStyled, __assign({}, props)); };
|
|
31
|
+
Ghost.displayName = 'Ghost';
|
|
19
32
|
export { Ghost };
|
|
20
33
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IGradientStop } from '../../Types';
|
|
3
|
-
interface
|
|
3
|
+
interface IGradientProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/**
|
|
@@ -31,7 +31,7 @@ interface IProps {
|
|
|
31
31
|
* visualization.
|
|
32
32
|
*/
|
|
33
33
|
declare const Gradient: {
|
|
34
|
-
({ thickness, checkered, ...props }:
|
|
34
|
+
({ thickness, checkered, ...props }: IGradientProps): React.JSX.Element;
|
|
35
35
|
displayName: string;
|
|
36
36
|
};
|
|
37
|
-
export { Gradient };
|
|
37
|
+
export { Gradient, IGradientProps };
|
package/controls/Key/Key.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IKeyProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -19,7 +19,7 @@ interface IProps {
|
|
|
19
19
|
* Certain keys (Ctrl on a Mac, arrows) are replaced with icons.
|
|
20
20
|
*/
|
|
21
21
|
declare const Key: {
|
|
22
|
-
(props:
|
|
22
|
+
(props: IKeyProps): React.JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
|
-
export { Key };
|
|
25
|
+
export { Key, IKeyProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface ILinearChartProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -28,7 +28,7 @@ interface IProps {
|
|
|
28
28
|
* A percentage value and a text label are optional.
|
|
29
29
|
*/
|
|
30
30
|
declare const LinearChart: {
|
|
31
|
-
({ numbered, ...props }:
|
|
31
|
+
({ numbered, ...props }: ILinearChartProps): React.JSX.Element;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
|
-
export { LinearChart,
|
|
34
|
+
export { LinearChart, ILinearChartProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IMouseProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -40,7 +40,7 @@ interface IProps {
|
|
|
40
40
|
* - `size`: Scales the mouse height in pixels
|
|
41
41
|
*/
|
|
42
42
|
declare const Mouse: {
|
|
43
|
-
({ left, right, wheel, ...props }:
|
|
43
|
+
({ left, right, wheel, ...props }: IMouseProps): React.JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
|
-
export { Mouse };
|
|
46
|
+
export { Mouse, IMouseProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IIconProps } from '../Icon';
|
|
3
|
-
interface
|
|
3
|
+
interface IPrimaryButtonProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/** Button content. Can be JSX. */
|
|
@@ -57,7 +57,7 @@ interface IProps {
|
|
|
57
57
|
* state where it cannot be clicked.
|
|
58
58
|
*/
|
|
59
59
|
declare const PrimaryButton: {
|
|
60
|
-
({ disabled, positive, negative, ...props }:
|
|
60
|
+
({ disabled, positive, negative, ...props }: IPrimaryButtonProps): React.JSX.Element;
|
|
61
61
|
displayName: string;
|
|
62
62
|
};
|
|
63
|
-
export { PrimaryButton,
|
|
63
|
+
export { PrimaryButton, IPrimaryButtonProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IProgressProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -47,5 +47,8 @@ interface IProps {
|
|
|
47
47
|
* <Progress value={45} numbered color="#00c2a8" thickness={8} />
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
|
-
declare const Progress:
|
|
51
|
-
|
|
50
|
+
declare const Progress: {
|
|
51
|
+
({ thickness, numbered, padded, ...props }: IProgressProps): React.JSX.Element;
|
|
52
|
+
displayName: string;
|
|
53
|
+
};
|
|
54
|
+
export { Progress, IProgressProps };
|
|
@@ -76,5 +76,6 @@ var Progress = function (_a) {
|
|
|
76
76
|
var _b = _a.thickness, thickness = _b === void 0 ? 5 : _b, _c = _a.numbered, numbered = _c === void 0 ? false : _c, _d = _a.padded, padded = _d === void 0 ? false : _d, props = __rest(_a, ["thickness", "numbered", "padded"]);
|
|
77
77
|
return React.createElement(ProgressStyled, __assign({ thickness: thickness, numbered: numbered, padded: padded }, props));
|
|
78
78
|
};
|
|
79
|
+
Progress.displayName = 'Progress';
|
|
79
80
|
export { Progress };
|
|
80
81
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IIconProps } from '../Icon';
|
|
3
|
-
interface
|
|
3
|
+
interface ISecondaryButtonProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/**
|
|
@@ -55,7 +55,7 @@ interface IProps {
|
|
|
55
55
|
* A `disabled` button cannot be clicked at all.
|
|
56
56
|
*/
|
|
57
57
|
declare const SecondaryButton: {
|
|
58
|
-
({ disabled, positive, negative, ...props }:
|
|
58
|
+
({ disabled, positive, negative, ...props }: ISecondaryButtonProps): React.JSX.Element;
|
|
59
59
|
displayName: string;
|
|
60
60
|
};
|
|
61
|
-
export { SecondaryButton,
|
|
61
|
+
export { SecondaryButton, ISecondaryButtonProps };
|
package/controls/TabBar/Tab.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface ITabProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** @ignore */
|
|
@@ -17,5 +17,5 @@ interface IProps {
|
|
|
17
17
|
*/
|
|
18
18
|
onClick?: () => void;
|
|
19
19
|
}
|
|
20
|
-
declare const Tab: React.ForwardRefExoticComponent<
|
|
21
|
-
export { Tab,
|
|
20
|
+
declare const Tab: React.ForwardRefExoticComponent<ITabProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export { Tab, ITabProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Tab } from './Tab';
|
|
3
|
-
interface
|
|
3
|
+
interface ITabBarProps {
|
|
4
4
|
/** @ignore */
|
|
5
5
|
className?: string;
|
|
6
6
|
/**
|
|
@@ -38,8 +38,8 @@ interface IProps {
|
|
|
38
38
|
* This is just a `TabBar`; if you need tabs and panes, use the `Tab` container.
|
|
39
39
|
*/
|
|
40
40
|
declare const TabBar: {
|
|
41
|
-
({ active, ...props }:
|
|
42
|
-
Tab: React.ForwardRefExoticComponent<import("./Tab").
|
|
41
|
+
({ active, ...props }: ITabBarProps): React.JSX.Element;
|
|
42
|
+
Tab: React.ForwardRefExoticComponent<import("./Tab").ITabProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
43
|
displayName: string;
|
|
44
44
|
};
|
|
45
|
-
export { TabBar };
|
|
45
|
+
export { TabBar, ITabBarProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IUnderlinerProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
declare const Underliner: React.ForwardRefExoticComponent<
|
|
6
|
+
declare const Underliner: React.ForwardRefExoticComponent<IUnderlinerProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export { Underliner };
|
|
@@ -22,7 +22,9 @@ var UnderlinerBase = React.forwardRef(function (props, ref) {
|
|
|
22
22
|
* Underliner passes a reference to itself back to its parent.
|
|
23
23
|
*/
|
|
24
24
|
var UnderlinerStyled = styled(UnderlinerBase)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n // Position and size:\n position: absolute;\n left: 0;\n top: 38px;\n width: 0px;\n height: 0px;\n // Appearance:\n border-top: solid 4px ", ";\n box-sizing: border-box;\n transition: transform ease .3s, width ease .3s;\n"], ["\n // Position and size:\n position: absolute;\n left: 0;\n top: 38px;\n width: 0px;\n height: 0px;\n // Appearance:\n border-top: solid 4px ", ";\n box-sizing: border-box;\n transition: transform ease .3s, width ease .3s;\n"])), function (p) { return p.theme.colors.primary[1]; });
|
|
25
|
-
var Underliner = React.forwardRef(function (props, ref) {
|
|
25
|
+
var Underliner = React.forwardRef(function (props, ref) {
|
|
26
|
+
return React.createElement(UnderlinerStyled, __assign({ ref: ref }, props));
|
|
27
|
+
});
|
|
26
28
|
Underliner.displayName = "Underliner";
|
|
27
29
|
export { Underliner };
|
|
28
30
|
var templateObject_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface ITertiaryButtonProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/** Button content. Can be JSX. */
|
|
@@ -26,7 +26,7 @@ interface IProps {
|
|
|
26
26
|
* could force one in).
|
|
27
27
|
*/
|
|
28
28
|
declare const TertiaryButton: {
|
|
29
|
-
({ disabled, ...props }:
|
|
29
|
+
({ disabled, ...props }: ITertiaryButtonProps): React.JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
|
-
export { TertiaryButton,
|
|
32
|
+
export { TertiaryButton, ITertiaryButtonProps };
|
package/controls/View/View.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IViewProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -57,7 +57,7 @@ interface IProps {
|
|
|
57
57
|
* ```
|
|
58
58
|
*/
|
|
59
59
|
declare const View: {
|
|
60
|
-
({ ghost, ...props }:
|
|
60
|
+
({ ghost, ...props }: IViewProps): React.JSX.Element;
|
|
61
61
|
displayName: string;
|
|
62
62
|
};
|
|
63
|
-
export { View,
|
|
63
|
+
export { View, IViewProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
interface IDateInputProps {
|
|
3
3
|
/** @ignore */
|
|
4
4
|
className?: string;
|
|
5
5
|
/**
|
|
@@ -65,5 +65,8 @@ interface IProps {
|
|
|
65
65
|
*/
|
|
66
66
|
onFocus?: () => void;
|
|
67
67
|
}
|
|
68
|
-
declare const DateInput:
|
|
69
|
-
|
|
68
|
+
declare const DateInput: {
|
|
69
|
+
({ direction, noTabIndex, disabled, transparent, fluid, error, clearable, nofuture, ...props }: IDateInputProps): React.JSX.Element;
|
|
70
|
+
displayName: string;
|
|
71
|
+
};
|
|
72
|
+
export { DateInput, IDateInputProps };
|