@pingux/astro 2.121.0-alpha.0 → 2.121.0-alpha.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/lib/cjs/components/Icon/Icon.js +13 -10
- package/lib/cjs/components/IconButton/IconButton.styles.d.ts +37 -0
- package/lib/cjs/components/IconButton/IconButton.styles.js +6 -1
- package/lib/cjs/components/IconWrapper/iconWrapperAttributes.js +1 -1
- package/lib/cjs/components/ListView/ListView.js +5 -0
- package/lib/cjs/components/ListView/ListView.stories.d.ts +3 -3
- package/lib/cjs/components/ListView/ListView.stories.js +27 -458
- package/lib/cjs/components/ListView/ListViewExpandableItem.js +1 -0
- package/lib/cjs/components/ListView/ListViewItem.js +4 -1
- package/lib/cjs/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js → components/ListView/stories/ListView.chromatic.stories.js} +2 -2
- package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.js +144 -0
- package/lib/cjs/{styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js → components/ListView/stories/ListViewOnyxDark.stories.js} +3 -3
- package/lib/cjs/components/ListViewItem/ListViewItem.js +16 -5
- package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +40 -3
- package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +15 -1
- package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.js +1 -1
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.js +9 -3
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.test.js +1 -0
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.js +5 -1
- package/lib/cjs/components/Pagination/Pagination.stories.js +3 -3
- package/lib/cjs/components/SearchField/SearchField.js +2 -8
- package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +4 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +4 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.d.ts +58 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/{lsitview.js → listview.js} +37 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +23 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +34 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +4 -3
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +2 -1
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +4 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +2 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +123 -18
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +24 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +12 -1
- package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +79 -17
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +89 -24
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +13 -1
- package/lib/cjs/styles/themes/next-gen/variants/text.js +16 -4
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +82 -17
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +8 -1
- package/lib/cjs/types/iconWrapper.d.ts +1 -1
- package/lib/cjs/utils/devUtils/constants/animals.js +449 -1
- package/lib/components/Icon/Icon.js +13 -10
- package/lib/components/IconButton/IconButton.styles.js +6 -1
- package/lib/components/IconWrapper/iconWrapperAttributes.js +1 -1
- package/lib/components/ListView/ListView.js +5 -0
- package/lib/components/ListView/ListView.stories.js +25 -455
- package/lib/components/ListView/ListViewExpandableItem.js +1 -0
- package/lib/components/ListView/ListViewItem.js +4 -1
- package/lib/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js → components/ListView/stories/ListView.chromatic.stories.js} +2 -2
- package/lib/components/ListView/stories/ListViewNextGenComponent.js +130 -0
- package/lib/{styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js → components/ListView/stories/ListViewOnyxDark.stories.js} +3 -3
- package/lib/components/ListViewItem/ListViewItem.js +18 -7
- package/lib/components/ListViewItem/ListViewItem.stories.js +40 -3
- package/lib/components/ListViewItem/ListViewItem.styles.js +15 -1
- package/lib/components/ListViewItem/controls/ListViewItemEditButton.js +1 -1
- package/lib/components/ListViewItem/controls/ListViewItemMenu.js +9 -3
- package/lib/components/ListViewItem/controls/ListViewItemMenu.test.js +1 -0
- package/lib/components/ListViewItem/controls/chart/ListViewItemChart.js +5 -1
- package/lib/components/Pagination/Pagination.stories.js +1 -1
- package/lib/components/SearchField/SearchField.js +2 -8
- package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +4 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +58 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +15 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -1
- package/lib/styles/themes/astro/customProperties/icons.js +2 -1
- package/lib/styles/themes/next-gen/colors/iconWrapper.js +4 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/styles/themes/next-gen/customProperties/icons.js +2 -1
- package/lib/styles/themes/next-gen/variants/button.js +12 -1
- package/lib/styles/themes/next-gen/variants/listview.js +84 -22
- package/lib/styles/themes/next-gen/variants/text.js +16 -4
- package/lib/styles/themes/next-gen/variants/variants.js +9 -2
- package/lib/utils/devUtils/constants/animals.js +449 -1
- package/package.json +1 -1
- package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +0 -23
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/lsitview.d.ts +0 -24
- package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.d.ts +0 -29
- package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.js +0 -84
- package/lib/cjs/styles/themes/next-gen/stories/ListViewNextGenComponent.js +0 -67
- package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.d.ts +0 -6
- package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +0 -35
- package/lib/recipes/NextGen/ListViewNextGen.stories.js +0 -13
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/lsitview.js +0 -24
- package/lib/styles/themes/next-gen/stories/ListViewItemNextGen.js +0 -75
- package/lib/styles/themes/next-gen/stories/ListViewNextGenComponent.js +0 -58
- package/lib/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +0 -25
- /package/lib/cjs/{styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.d.ts → components/ListView/stories/ListView.chromatic.stories.d.ts} +0 -0
- /package/lib/cjs/{styles/themes/next-gen → components/ListView}/stories/ListViewNextGenComponent.d.ts +0 -0
- /package/lib/cjs/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.d.ts → components/ListView/stories/ListViewOnyxDark.stories.d.ts} +0 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
export declare const listViewItem: {
|
2
|
+
styledListItem: {
|
3
|
+
'&.has-separator': {
|
4
|
+
borderBottom: string;
|
5
|
+
borderBottomColor: string;
|
6
|
+
};
|
7
|
+
bg: string;
|
8
|
+
'&.is-selected': {
|
9
|
+
bg: string;
|
10
|
+
};
|
11
|
+
'&.is-hovered': {
|
12
|
+
bg: string;
|
13
|
+
};
|
14
|
+
'&.is-focused': {
|
15
|
+
boxShadow: string;
|
16
|
+
bg: string;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
expandableStyledListItem: {
|
20
|
+
'&.is-hovered': {
|
21
|
+
bg: string;
|
22
|
+
};
|
23
|
+
'&.is-selected': {
|
24
|
+
bg: string;
|
25
|
+
};
|
26
|
+
'&.is-focused': {
|
27
|
+
bg: string;
|
28
|
+
};
|
29
|
+
};
|
30
|
+
expandIcon: {
|
31
|
+
color: string;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
export declare const listView: {
|
35
|
+
container: {
|
36
|
+
borderColor: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
export declare const lisViewItemChart: {
|
40
|
+
title: {
|
41
|
+
color: string;
|
42
|
+
};
|
43
|
+
count: {
|
44
|
+
color: string;
|
45
|
+
};
|
46
|
+
countLabel: {
|
47
|
+
color: string;
|
48
|
+
};
|
49
|
+
chartLabel: {
|
50
|
+
color: string;
|
51
|
+
};
|
52
|
+
trend: {
|
53
|
+
color: string;
|
54
|
+
};
|
55
|
+
chartButton: {
|
56
|
+
color: string;
|
57
|
+
};
|
58
|
+
};
|
@@ -4,7 +4,7 @@ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/obje
|
|
4
4
|
_Object$defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports.listViewItem = exports.listView = void 0;
|
7
|
+
exports.listViewItem = exports.listView = exports.lisViewItemChart = void 0;
|
8
8
|
var listViewItem = {
|
9
9
|
styledListItem: {
|
10
10
|
'&.has-separator': {
|
@@ -22,6 +22,20 @@ var listViewItem = {
|
|
22
22
|
boxShadow: '0 0 0 3px inset #1a73e8',
|
23
23
|
bg: 'background.hover'
|
24
24
|
}
|
25
|
+
},
|
26
|
+
expandableStyledListItem: {
|
27
|
+
'&.is-hovered': {
|
28
|
+
bg: 'background.hover'
|
29
|
+
},
|
30
|
+
'&.is-selected': {
|
31
|
+
bg: 'background.hover'
|
32
|
+
},
|
33
|
+
'&.is-focused': {
|
34
|
+
bg: 'background.hover'
|
35
|
+
}
|
36
|
+
},
|
37
|
+
expandIcon: {
|
38
|
+
color: 'gray-400'
|
25
39
|
}
|
26
40
|
};
|
27
41
|
exports.listViewItem = listViewItem;
|
@@ -30,4 +44,25 @@ var listView = {
|
|
30
44
|
borderColor: 'border.base'
|
31
45
|
}
|
32
46
|
};
|
33
|
-
exports.listView = listView;
|
47
|
+
exports.listView = listView;
|
48
|
+
var lisViewItemChart = {
|
49
|
+
title: {
|
50
|
+
color: 'gray-100'
|
51
|
+
},
|
52
|
+
count: {
|
53
|
+
color: 'gray-100'
|
54
|
+
},
|
55
|
+
countLabel: {
|
56
|
+
color: 'gray-100'
|
57
|
+
},
|
58
|
+
chartLabel: {
|
59
|
+
color: 'gray-100'
|
60
|
+
},
|
61
|
+
trend: {
|
62
|
+
color: 'gray-100'
|
63
|
+
},
|
64
|
+
chartButton: {
|
65
|
+
color: 'gray-100'
|
66
|
+
}
|
67
|
+
};
|
68
|
+
exports.lisViewItemChart = lisViewItemChart;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.text = void 0;
|
8
|
+
var text = {
|
9
|
+
listViewItemText: {
|
10
|
+
color: 'text.secondary'
|
11
|
+
},
|
12
|
+
listViewItemTextSelected: {
|
13
|
+
color: 'gray-100'
|
14
|
+
},
|
15
|
+
listViewItemSubtext: {
|
16
|
+
color: 'gray-400'
|
17
|
+
},
|
18
|
+
itemTitle: {
|
19
|
+
fontWeight: 2,
|
20
|
+
color: 'text.secondary'
|
21
|
+
}
|
22
|
+
};
|
23
|
+
exports.text = text;
|
@@ -144,12 +144,46 @@ declare const _default: {
|
|
144
144
|
bg: string;
|
145
145
|
};
|
146
146
|
};
|
147
|
+
expandableStyledListItem: {
|
148
|
+
'&.is-hovered': {
|
149
|
+
bg: string;
|
150
|
+
};
|
151
|
+
'&.is-selected': {
|
152
|
+
bg: string;
|
153
|
+
};
|
154
|
+
'&.is-focused': {
|
155
|
+
bg: string;
|
156
|
+
};
|
157
|
+
};
|
158
|
+
expandIcon: {
|
159
|
+
color: string;
|
160
|
+
};
|
147
161
|
};
|
148
162
|
listView: {
|
149
163
|
container: {
|
150
164
|
borderColor: string;
|
151
165
|
};
|
152
166
|
};
|
167
|
+
lisViewItemChart: {
|
168
|
+
title: {
|
169
|
+
color: string;
|
170
|
+
};
|
171
|
+
count: {
|
172
|
+
color: string;
|
173
|
+
};
|
174
|
+
countLabel: {
|
175
|
+
color: string;
|
176
|
+
};
|
177
|
+
chartLabel: {
|
178
|
+
color: string;
|
179
|
+
};
|
180
|
+
trend: {
|
181
|
+
color: string;
|
182
|
+
};
|
183
|
+
chartButton: {
|
184
|
+
color: string;
|
185
|
+
};
|
186
|
+
};
|
153
187
|
navBar: {
|
154
188
|
container: {
|
155
189
|
width: string;
|
@@ -8,7 +8,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
8
8
|
exports["default"] = void 0;
|
9
9
|
var _avatar = require("./avatar");
|
10
10
|
var _iconBadge = _interopRequireDefault(require("./iconBadge"));
|
11
|
-
var
|
11
|
+
var _listview = require("./listview");
|
12
12
|
var _menu = require("./menu");
|
13
13
|
var _message = require("./message");
|
14
14
|
var _navbar = require("./navbar");
|
@@ -74,8 +74,9 @@ var _default = {
|
|
74
74
|
message: _message.message,
|
75
75
|
menu: _menu.menu,
|
76
76
|
menuItem: _menu.menuItem,
|
77
|
-
listViewItem:
|
78
|
-
listView:
|
77
|
+
listViewItem: _listview.listViewItem,
|
78
|
+
listView: _listview.listView,
|
79
|
+
lisViewItemChart: _listview.lisViewItemChart,
|
79
80
|
navBar: _navbar.navBar,
|
80
81
|
listBox: listBox,
|
81
82
|
modal: modal,
|
@@ -4,5 +4,6 @@ declare const _default: {
|
|
4
4
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
5
5
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
6
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
7
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
7
8
|
};
|
8
9
|
export default _default;
|
@@ -13,11 +13,12 @@ var _CheckCircleIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckCi
|
|
13
13
|
var _InformationIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationIcon"));
|
14
14
|
var _MenuDownIcon = _interopRequireDefault(require("@pingux/mdi-react/MenuDownIcon"));
|
15
15
|
var _MenuUpIcon = _interopRequireDefault(require("@pingux/mdi-react/MenuUpIcon"));
|
16
|
+
var _MoreVertIcon = _interopRequireDefault(require("@pingux/mdi-react/MoreVertIcon"));
|
16
17
|
var _logos = require("../../../../utils/devUtils/constants/logos");
|
17
18
|
var _statuses = _interopRequireDefault(require("../../../../utils/devUtils/constants/statuses"));
|
18
19
|
var _MenuDown$MenuUp$stat;
|
19
20
|
var _default = (_MenuDown$MenuUp$stat = {
|
20
21
|
MenuDown: _MenuDownIcon["default"],
|
21
22
|
MenuUp: _MenuUpIcon["default"]
|
22
|
-
}, (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].DEFAULT, _InformationIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].ERROR, _AlertCircleIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].WARNING, _AlertIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), _MenuDown$MenuUp$stat);
|
23
|
+
}, (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].DEFAULT, _InformationIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].ERROR, _AlertCircleIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].WARNING, _AlertIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "listViewMenu", _MoreVertIcon["default"]), _MenuDown$MenuUp$stat);
|
23
24
|
exports["default"] = _default;
|
@@ -5,6 +5,7 @@ export declare const astroThemeValues: {
|
|
5
5
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
6
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
7
7
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
8
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
8
9
|
};
|
9
10
|
styles: {
|
10
11
|
navButtonEstHeight: number;
|
@@ -62,6 +62,8 @@ declare const colors: {
|
|
62
62
|
red: string;
|
63
63
|
yellow: string;
|
64
64
|
teal: string;
|
65
|
+
blue: string;
|
66
|
+
indigo: string;
|
65
67
|
lightBlue: string;
|
66
68
|
lightPink: string;
|
67
69
|
lightGreen: string;
|
@@ -77,6 +79,8 @@ declare const colors: {
|
|
77
79
|
red: string;
|
78
80
|
yellow: string;
|
79
81
|
teal: string;
|
82
|
+
blue: string;
|
83
|
+
indigo: string;
|
80
84
|
lightBlue: string;
|
81
85
|
lightPink: string;
|
82
86
|
lightGreen: string;
|
@@ -8,6 +8,8 @@ export declare const iconWrapper: {
|
|
8
8
|
red: string;
|
9
9
|
yellow: string;
|
10
10
|
teal: string;
|
11
|
+
blue: string;
|
12
|
+
indigo: string;
|
11
13
|
lightBlue: string;
|
12
14
|
lightPink: string;
|
13
15
|
lightGreen: string;
|
@@ -23,6 +25,8 @@ export declare const iconWrapper: {
|
|
23
25
|
red: string;
|
24
26
|
yellow: string;
|
25
27
|
teal: string;
|
28
|
+
blue: string;
|
29
|
+
indigo: string;
|
26
30
|
lightBlue: string;
|
27
31
|
lightPink: string;
|
28
32
|
lightGreen: string;
|
@@ -16,6 +16,8 @@ var iconWrapper = {
|
|
16
16
|
red: _colorTokens.nextGenColors['red-100'],
|
17
17
|
yellow: _colorTokens.nextGenColors['yellow-100'],
|
18
18
|
teal: _colorTokens.nextGenColors['teal-100'],
|
19
|
+
blue: _colorTokens.nextGenColors['blue-100'],
|
20
|
+
indigo: _colorTokens.nextGenColors['indigo-100'],
|
19
21
|
lightBlue: _colorTokens.nextGenColors['blue-100'],
|
20
22
|
lightPink: _colorTokens.nextGenColors['pink-100'],
|
21
23
|
lightGreen: _colorTokens.nextGenColors['green-100'],
|
@@ -31,6 +33,8 @@ var iconWrapper = {
|
|
31
33
|
red: _colorTokens.nextGenColors['red-800'],
|
32
34
|
yellow: _colorTokens.nextGenColors['yellow-800'],
|
33
35
|
teal: _colorTokens.nextGenColors['teal-800'],
|
36
|
+
blue: _colorTokens.nextGenColors['blue-600'],
|
37
|
+
indigo: _colorTokens.nextGenColors['indigo-700'],
|
34
38
|
lightBlue: _colorTokens.nextGenColors['blue-500'],
|
35
39
|
lightPink: _colorTokens.nextGenColors['pink-600'],
|
36
40
|
lightGreen: _colorTokens.nextGenColors['green-800'],
|
@@ -5,7 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
6
6
|
});
|
7
7
|
exports.nextGenOnlyComponents = exports["default"] = exports.componentSpecificNextGenBlacklist = exports.astroBlacklistStory = void 0;
|
8
|
-
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'IconWrapper', 'ComboBoxField', 'CodeView', 'Sticker Sheet', 'NextGen ListViewItem', 'Skeleton', 'Pagination'];
|
8
|
+
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'IconWrapper', 'ComboBoxField', 'CodeView', 'Sticker Sheet', 'NextGen ListViewItem', 'Skeleton', 'ListViewItem', 'Pagination'];
|
9
9
|
var componentSpecificNextGenBlacklist = {
|
10
10
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
11
11
|
Badge: ['Status Badge Variants', 'Badge With Left Slot And Icon', 'Callout Badges', 'Removable'],
|
@@ -4,5 +4,6 @@ declare const _default: {
|
|
4
4
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
5
5
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
6
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
7
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
7
8
|
};
|
8
9
|
export default _default;
|
@@ -12,6 +12,7 @@ var _AlertOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/AlertO
|
|
12
12
|
var _CheckCircleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckCircleOutlineIcon"));
|
13
13
|
var _ChevronDownIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronDownIcon"));
|
14
14
|
var _ChevronUpIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronUpIcon"));
|
15
|
+
var _DotsHorizontalIcon = _interopRequireDefault(require("@pingux/mdi-react/DotsHorizontalIcon"));
|
15
16
|
var _InformationOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationOutlineIcon"));
|
16
17
|
var _logos = require("../../../../utils/devUtils/constants/logos");
|
17
18
|
var _statuses = _interopRequireDefault(require("../../../../utils/devUtils/constants/statuses"));
|
@@ -19,5 +20,5 @@ var _MenuDown$MenuUp$stat;
|
|
19
20
|
var _default = (_MenuDown$MenuUp$stat = {
|
20
21
|
MenuDown: _ChevronDownIcon["default"],
|
21
22
|
MenuUp: _ChevronUpIcon["default"]
|
22
|
-
}, (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].DEFAULT, _InformationOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].ERROR, _AlertCircleOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].SUCCESS, _CheckCircleOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].WARNING, _AlertOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmall), _MenuDown$MenuUp$stat);
|
23
|
+
}, (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].DEFAULT, _InformationOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].ERROR, _AlertCircleOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].SUCCESS, _CheckCircleOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].WARNING, _AlertOutlineIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmall), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "listViewMenu", _DotsHorizontalIcon["default"]), _MenuDown$MenuUp$stat);
|
23
24
|
exports["default"] = _default;
|
@@ -8,6 +8,7 @@ export declare const nextGenThemeValues: {
|
|
8
8
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
9
9
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
10
10
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
11
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
11
12
|
};
|
12
13
|
tShirtSizes: {
|
13
14
|
xxs: string;
|
@@ -50,6 +50,8 @@ declare const _default: {
|
|
50
50
|
red: string;
|
51
51
|
yellow: string;
|
52
52
|
teal: string;
|
53
|
+
blue: string;
|
54
|
+
indigo: string;
|
53
55
|
lightBlue: string;
|
54
56
|
lightPink: string;
|
55
57
|
lightGreen: string;
|
@@ -65,6 +67,8 @@ declare const _default: {
|
|
65
67
|
red: string;
|
66
68
|
yellow: string;
|
67
69
|
teal: string;
|
70
|
+
blue: string;
|
71
|
+
indigo: string;
|
68
72
|
lightBlue: string;
|
69
73
|
lightPink: string;
|
70
74
|
lightGreen: string;
|
@@ -1012,6 +1016,30 @@ declare const _default: {
|
|
1012
1016
|
backgroundColor: string;
|
1013
1017
|
};
|
1014
1018
|
};
|
1019
|
+
searchClearButton: {
|
1020
|
+
border: string;
|
1021
|
+
'&.is-hovered': {
|
1022
|
+
bg: string;
|
1023
|
+
};
|
1024
|
+
'&.is-pressed': {
|
1025
|
+
bg: string;
|
1026
|
+
};
|
1027
|
+
position: string;
|
1028
|
+
right: number;
|
1029
|
+
cursor: string;
|
1030
|
+
transition: string;
|
1031
|
+
outline: string;
|
1032
|
+
borderRadius: string;
|
1033
|
+
borderColor: string;
|
1034
|
+
path: {
|
1035
|
+
fill: string;
|
1036
|
+
};
|
1037
|
+
'&.is-focused': {
|
1038
|
+
outline: string;
|
1039
|
+
outlineColor: string;
|
1040
|
+
outlineOffset: string;
|
1041
|
+
};
|
1042
|
+
};
|
1015
1043
|
};
|
1016
1044
|
modalCloseButton: {
|
1017
1045
|
position: string;
|
@@ -1324,14 +1352,26 @@ declare const _default: {
|
|
1324
1352
|
lineHeight: string;
|
1325
1353
|
};
|
1326
1354
|
listViewItemText: {
|
1355
|
+
fontFamily: string;
|
1327
1356
|
color: string;
|
1328
1357
|
fontWeight: number;
|
1358
|
+
mb: string;
|
1359
|
+
fontSize: string;
|
1329
1360
|
};
|
1330
|
-
|
1361
|
+
listViewItemSubtext: {
|
1331
1362
|
fontSize: string;
|
1363
|
+
lineHeight: string;
|
1364
|
+
color: string;
|
1365
|
+
};
|
1366
|
+
itemTitle: {
|
1367
|
+
fontWeight: number;
|
1332
1368
|
color: string;
|
1369
|
+
};
|
1370
|
+
small: {
|
1371
|
+
fontSize: string;
|
1333
1372
|
fontFamily: string;
|
1334
1373
|
lineHeight: string;
|
1374
|
+
color: string;
|
1335
1375
|
};
|
1336
1376
|
response: {
|
1337
1377
|
color: string;
|
@@ -2544,12 +2584,14 @@ declare const _default: {
|
|
2544
2584
|
};
|
2545
2585
|
listViewItem: {
|
2546
2586
|
rightOfData: {
|
2547
|
-
flexShrink: number;
|
2548
2587
|
whiteSpace: string;
|
2549
2588
|
};
|
2550
2589
|
iconContainer: {
|
2551
2590
|
ml: string;
|
2552
2591
|
};
|
2592
|
+
imageWrapper: {
|
2593
|
+
ml: string;
|
2594
|
+
};
|
2553
2595
|
styledListItem: {
|
2554
2596
|
bg: string;
|
2555
2597
|
'&.is-selected': {
|
@@ -2567,10 +2609,19 @@ declare const _default: {
|
|
2567
2609
|
boxShadow: string;
|
2568
2610
|
bg: string;
|
2569
2611
|
};
|
2612
|
+
'&.is-first-item': {
|
2613
|
+
borderTopLeftRadius: string;
|
2614
|
+
borderTopRightRadius: string;
|
2615
|
+
};
|
2616
|
+
'&.is-last-item': {
|
2617
|
+
borderBottomLeftRadius: string;
|
2618
|
+
borderBottomRightRadius: string;
|
2619
|
+
'&.has-separator': {
|
2620
|
+
border: string;
|
2621
|
+
};
|
2622
|
+
};
|
2570
2623
|
};
|
2571
2624
|
styledContainer: {
|
2572
|
-
py: string;
|
2573
|
-
px: string;
|
2574
2625
|
bg: string;
|
2575
2626
|
'&.is-hovered': {
|
2576
2627
|
bg: string;
|
@@ -2578,17 +2629,58 @@ declare const _default: {
|
|
2578
2629
|
};
|
2579
2630
|
};
|
2580
2631
|
expandableStyledListItem: {
|
2581
|
-
|
2582
|
-
|
2632
|
+
px: string;
|
2633
|
+
bg: string;
|
2634
|
+
'&.is-first-item': {
|
2635
|
+
borderTopLeftRadius: string;
|
2636
|
+
borderTopRightRadius: string;
|
2637
|
+
};
|
2638
|
+
'&.is-last-item': {
|
2639
|
+
borderBottomLeftRadius: string;
|
2640
|
+
borderBottomRightRadius: string;
|
2641
|
+
'&.is-hovered, &.is-expanded': {
|
2642
|
+
borderBottomLeftRadius: string;
|
2643
|
+
borderBottomRightRadius: string;
|
2644
|
+
};
|
2645
|
+
};
|
2646
|
+
'&.is-hovered': {
|
2647
|
+
bg: string;
|
2648
|
+
};
|
2649
|
+
'&.is-selected': {
|
2650
|
+
bg: string;
|
2651
|
+
};
|
2652
|
+
'&.is-focused': {
|
2653
|
+
boxShadow: string;
|
2654
|
+
bg: string;
|
2655
|
+
};
|
2583
2656
|
};
|
2584
2657
|
expandableItemBody: {
|
2585
2658
|
px: string;
|
2659
|
+
outline: string;
|
2660
|
+
'&.is-last-item-body': {
|
2661
|
+
borderBottomLeftRadius: string;
|
2662
|
+
borderBottomRightRadius: string;
|
2663
|
+
};
|
2664
|
+
'&.is-focused': {
|
2665
|
+
boxShadow: string;
|
2666
|
+
};
|
2586
2667
|
};
|
2587
2668
|
expandableRow: {
|
2588
2669
|
'&.has-separator': {
|
2589
2670
|
borderBottom: string;
|
2590
2671
|
borderBottomColor: string;
|
2591
2672
|
};
|
2673
|
+
'&.has-separator.is-last-row': {
|
2674
|
+
border: string;
|
2675
|
+
};
|
2676
|
+
};
|
2677
|
+
editIcon: {
|
2678
|
+
width: string;
|
2679
|
+
height: string;
|
2680
|
+
};
|
2681
|
+
menuIcon: {
|
2682
|
+
width: string;
|
2683
|
+
height: string;
|
2592
2684
|
};
|
2593
2685
|
};
|
2594
2686
|
progressBar: {
|
@@ -2609,18 +2701,26 @@ declare const _default: {
|
|
2609
2701
|
borderRadius: string;
|
2610
2702
|
border: string;
|
2611
2703
|
borderColor: string;
|
2612
|
-
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
|
2618
|
-
|
2619
|
-
|
2620
|
-
|
2621
|
-
|
2622
|
-
|
2623
|
-
|
2704
|
+
};
|
2705
|
+
};
|
2706
|
+
lisViewItemChart: {
|
2707
|
+
title: {
|
2708
|
+
color: string;
|
2709
|
+
};
|
2710
|
+
count: {
|
2711
|
+
color: string;
|
2712
|
+
};
|
2713
|
+
countLabel: {
|
2714
|
+
color: string;
|
2715
|
+
};
|
2716
|
+
chartLabel: {
|
2717
|
+
color: string;
|
2718
|
+
};
|
2719
|
+
trend: {
|
2720
|
+
color: string;
|
2721
|
+
};
|
2722
|
+
chartButton: {
|
2723
|
+
color: string;
|
2624
2724
|
};
|
2625
2725
|
};
|
2626
2726
|
dataTable: {
|
@@ -3094,6 +3194,11 @@ declare const _default: {
|
|
3094
3194
|
};
|
3095
3195
|
};
|
3096
3196
|
};
|
3197
|
+
loader: {
|
3198
|
+
withinListView: {
|
3199
|
+
color: string;
|
3200
|
+
};
|
3201
|
+
};
|
3097
3202
|
};
|
3098
3203
|
images: {
|
3099
3204
|
avatar: {};
|
@@ -769,6 +769,30 @@ declare const buttons: {
|
|
769
769
|
backgroundColor: string;
|
770
770
|
};
|
771
771
|
};
|
772
|
+
searchClearButton: {
|
773
|
+
border: string;
|
774
|
+
'&.is-hovered': {
|
775
|
+
bg: string;
|
776
|
+
};
|
777
|
+
'&.is-pressed': {
|
778
|
+
bg: string;
|
779
|
+
};
|
780
|
+
position: string;
|
781
|
+
right: number;
|
782
|
+
cursor: string;
|
783
|
+
transition: string;
|
784
|
+
outline: string;
|
785
|
+
borderRadius: string;
|
786
|
+
borderColor: string;
|
787
|
+
path: {
|
788
|
+
fill: string;
|
789
|
+
};
|
790
|
+
'&.is-focused': {
|
791
|
+
outline: string;
|
792
|
+
outlineColor: string;
|
793
|
+
outlineOffset: string;
|
794
|
+
};
|
795
|
+
};
|
772
796
|
};
|
773
797
|
modalCloseButton: {
|
774
798
|
position: string;
|
@@ -341,7 +341,18 @@ var iconButtons = {
|
|
341
341
|
'&.is-disabled': {
|
342
342
|
backgroundColor: 'gray-300'
|
343
343
|
}
|
344
|
-
}
|
344
|
+
},
|
345
|
+
searchClearButton: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
346
|
+
border: 'none',
|
347
|
+
'&.is-hovered': {
|
348
|
+
bg: 'background.hover'
|
349
|
+
},
|
350
|
+
'&.is-pressed': {
|
351
|
+
bg: 'background.hover'
|
352
|
+
},
|
353
|
+
position: 'absolute',
|
354
|
+
right: 10
|
355
|
+
})
|
345
356
|
};
|
346
357
|
var buttons = {
|
347
358
|
neutral: neutral,
|