@pingux/astro 2.120.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/AIComponents/Attachment/Attachment.d.ts +1 -6
- package/lib/cjs/components/AIComponents/Attachment/Attachment.js +10 -15
- package/lib/cjs/components/AIComponents/Attachment/Attachment.test.d.ts +1 -0
- package/lib/cjs/components/AIComponents/Attachment/Attachment.test.js +67 -0
- package/lib/cjs/components/AIComponents/Attachment/constants.d.ts +38 -0
- package/lib/cjs/components/AIComponents/Attachment/constants.js +51 -0
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.js +2 -4
- 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/components/Text/Text.styles.d.ts +840 -0
- package/lib/cjs/components/Text/Text.styles.js +5 -1
- 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 +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +18 -3
- 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/buttons.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +7 -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 +40 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +11 -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 +14 -0
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.d.ts +14 -0
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +16 -2
- 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 +136 -24
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +27 -6
- package/lib/cjs/styles/themes/next-gen/variants/button.js +17 -3
- 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/AIComponents/Attachment/Attachment.js +10 -15
- package/lib/components/AIComponents/Attachment/Attachment.test.js +64 -0
- package/lib/components/AIComponents/Attachment/constants.js +42 -0
- package/lib/components/AIComponents/PromptInput/PromptInput.stories.js +3 -5
- 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/components/Text/Text.styles.js +5 -1
- package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +18 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +7 -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 +9 -1
- package/lib/styles/themes/astro/customProperties/icons.js +2 -1
- package/lib/styles/themes/next-gen/colors/iconWrapper.js +16 -2
- 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 +17 -3
- 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
@@ -129,6 +129,9 @@ var HTags = {
|
|
129
129
|
lineHeight: '16px'
|
130
130
|
})
|
131
131
|
};
|
132
|
+
var attachmentTitle = _objectSpread(_objectSpread(_objectSpread({}, base), textEllipsis), {}, {
|
133
|
+
fontWeight: 2
|
134
|
+
});
|
132
135
|
var text = _objectSpread(_objectSpread(_objectSpread({
|
133
136
|
base: base,
|
134
137
|
bodyStrong: bodyStrong,
|
@@ -235,6 +238,7 @@ var text = _objectSpread(_objectSpread(_objectSpread({
|
|
235
238
|
fontFamily: 'standard'
|
236
239
|
}),
|
237
240
|
textEllipsis: textEllipsis,
|
238
|
-
title: title
|
241
|
+
title: title,
|
242
|
+
attachmentTitle: attachmentTitle
|
239
243
|
});
|
240
244
|
exports.text = text;
|
@@ -165,15 +165,21 @@ var useExpandableListViewItem = function useExpandableListViewItem(props) {
|
|
165
165
|
isHovered: isSelectable && item.key === state.hover.hoveredItem,
|
166
166
|
isSelected: isSelected,
|
167
167
|
isExpanded: isExpanded,
|
168
|
-
isFocused: isDisabled ? false : isFocusVisible || isFocusVisibleWithin && !isFocusEscaped && !isFocusVisibleContainer
|
168
|
+
isFocused: isDisabled ? false : isFocusVisible || isFocusVisibleWithin && !isFocusEscaped && !isFocusVisibleContainer,
|
169
|
+
isFirstItem: item.index === 0,
|
170
|
+
isLastItem: item.index === state.collection.size - 1
|
169
171
|
}),
|
170
172
|
classNames = _useStatusClasses.classNames;
|
171
173
|
var _useStatusClasses2 = (0, _.useStatusClasses)('', {
|
172
|
-
isFocused: isFocusVisibleContainer
|
174
|
+
isFocused: isFocusVisibleContainer,
|
175
|
+
isFirstItemBody: item.index === 0,
|
176
|
+
isLastItemBody: item.index === state.collection.size - 1
|
173
177
|
}),
|
174
178
|
focusContainerClassName = _useStatusClasses2.classNames;
|
175
179
|
var _useStatusClasses3 = (0, _.useStatusClasses)('', {
|
176
|
-
hasSeparator: hasSeparator
|
180
|
+
hasSeparator: hasSeparator,
|
181
|
+
isFirstRow: item.index === 0,
|
182
|
+
isLastRow: item.index === state.collection.size - 1
|
177
183
|
}),
|
178
184
|
rowClassName = _useStatusClasses3.classNames;
|
179
185
|
var expandableRowProps = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
|
@@ -14,6 +14,7 @@ declare const useGetTheme: () => {
|
|
14
14
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
15
15
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
16
16
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
17
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
17
18
|
};
|
18
19
|
tShirtSizes: {
|
19
20
|
xxs: string;
|
@@ -48,6 +49,7 @@ declare const useGetTheme: () => {
|
|
48
49
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
49
50
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
50
51
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
52
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
51
53
|
};
|
52
54
|
styles: {
|
53
55
|
navButtonEstHeight: number;
|
@@ -49,6 +49,7 @@ export declare const colors: {
|
|
49
49
|
dark: string;
|
50
50
|
input: string;
|
51
51
|
separator: string;
|
52
|
+
attachment: string;
|
52
53
|
};
|
53
54
|
iconWrapper: {
|
54
55
|
wrapper: {
|
@@ -60,6 +61,13 @@ export declare const colors: {
|
|
60
61
|
red: string;
|
61
62
|
yellow: string;
|
62
63
|
teal: string;
|
64
|
+
blue: string;
|
65
|
+
indigo: string;
|
66
|
+
lightBlue: string;
|
67
|
+
lightPink: string;
|
68
|
+
lightGreen: string;
|
69
|
+
lightYellow: string;
|
70
|
+
lightIndigo: string;
|
63
71
|
};
|
64
72
|
icon: {
|
65
73
|
orange: string;
|
@@ -70,6 +78,13 @@ export declare const colors: {
|
|
70
78
|
red: string;
|
71
79
|
yellow: string;
|
72
80
|
teal: string;
|
81
|
+
blue: string;
|
82
|
+
indigo: string;
|
83
|
+
lightBlue: string;
|
84
|
+
lightPink: string;
|
85
|
+
lightGreen: string;
|
86
|
+
lightYellow: string;
|
87
|
+
lightIndigo: string;
|
73
88
|
};
|
74
89
|
};
|
75
90
|
};
|
@@ -30,7 +30,8 @@ var border = {
|
|
30
30
|
base: _chromaJs["default"].mix('#23282e', 'white', 0.15, 'rgb').hex(),
|
31
31
|
dark: _chromaJs["default"].mix('#23282e', 'white', 0.25, 'rgb').hex(),
|
32
32
|
input: _colorTokens.nextGenColors['gray-500'],
|
33
|
-
separator: _chromaJs["default"].mix('#23282e', 'white', 0.15, 'rgb').hex()
|
33
|
+
separator: _chromaJs["default"].mix('#23282e', 'white', 0.15, 'rgb').hex(),
|
34
|
+
attachment: '#39414b'
|
34
35
|
};
|
35
36
|
var iconWrapper = {
|
36
37
|
wrapper: {
|
@@ -41,7 +42,14 @@ var iconWrapper = {
|
|
41
42
|
pink: _colorTokens.nextGenColors['pink-500'],
|
42
43
|
red: _colorTokens.nextGenColors['red-500'],
|
43
44
|
yellow: _colorTokens.nextGenColors['yellow-500'],
|
44
|
-
teal: _colorTokens.nextGenColors['teal-500']
|
45
|
+
teal: _colorTokens.nextGenColors['teal-500'],
|
46
|
+
blue: _colorTokens.nextGenColors['blue-500'],
|
47
|
+
indigo: _colorTokens.nextGenColors['indigo-500'],
|
48
|
+
lightBlue: _colorTokens.nextGenColors['blue-600'],
|
49
|
+
lightPink: _colorTokens.nextGenColors['pink-600'],
|
50
|
+
lightGreen: _colorTokens.nextGenColors['green-800'],
|
51
|
+
lightYellow: _colorTokens.nextGenColors['yellow-800'],
|
52
|
+
lightIndigo: _colorTokens.nextGenColors['indigo-700']
|
45
53
|
},
|
46
54
|
icon: {
|
47
55
|
orange: 'black',
|
@@ -51,7 +59,14 @@ var iconWrapper = {
|
|
51
59
|
pink: 'black',
|
52
60
|
red: 'black',
|
53
61
|
yellow: 'black',
|
54
|
-
teal: 'black'
|
62
|
+
teal: 'black',
|
63
|
+
blue: 'black',
|
64
|
+
indigo: 'black',
|
65
|
+
lightBlue: _colorTokens.nextGenColors['blue-100'],
|
66
|
+
lightPink: _colorTokens.nextGenColors['pink-100'],
|
67
|
+
lightGreen: _colorTokens.nextGenColors['green-100'],
|
68
|
+
lightYellow: _colorTokens.nextGenColors['yellow-100'],
|
69
|
+
lightIndigo: _colorTokens.nextGenColors['indigo-100']
|
55
70
|
}
|
56
71
|
};
|
57
72
|
var colors = _objectSpread(_objectSpread({
|
@@ -3,5 +3,6 @@ declare const _default: {
|
|
3
3
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
4
4
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
5
5
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
7
|
};
|
7
8
|
export default _default;
|
@@ -4,6 +4,7 @@ export declare const nextGenDarkThemeValues: {
|
|
4
4
|
pingLogoHorizontalSmall: import("react").JSX.Element;
|
5
5
|
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
6
|
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
7
|
+
listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
|
7
8
|
};
|
8
9
|
styles: {
|
9
10
|
navButtonEstHeight: number;
|
@@ -14,6 +14,7 @@ var _buttons = _interopRequireDefault(require("./variants/buttons"));
|
|
14
14
|
var _cards = _interopRequireDefault(require("./variants/cards"));
|
15
15
|
var _forms = _interopRequireDefault(require("./variants/forms"));
|
16
16
|
var _links = _interopRequireDefault(require("./variants/links"));
|
17
|
+
var _text = require("./variants/text");
|
17
18
|
var _variants = _interopRequireDefault(require("./variants/variants"));
|
18
19
|
var _colors = require("./colors");
|
19
20
|
var override = {
|
@@ -24,6 +25,7 @@ var override = {
|
|
24
25
|
badges: _badges["default"],
|
25
26
|
links: _links["default"],
|
26
27
|
cards: _cards["default"],
|
28
|
+
text: _text.text,
|
27
29
|
name: _themes.themes.NEXT_GEN_DARK
|
28
30
|
};
|
29
31
|
var NextGenDarkTheme = (0, _themeUi.merge)(_nextGen["default"], override);
|
@@ -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;
|
@@ -1,4 +1,10 @@
|
|
1
1
|
declare const _default: {
|
2
|
+
attachment: {
|
3
|
+
container: {
|
4
|
+
backgroundColor: string;
|
5
|
+
borderColor: string;
|
6
|
+
};
|
7
|
+
};
|
2
8
|
avatar: {
|
3
9
|
backgroundColor: string;
|
4
10
|
color: string;
|
@@ -138,12 +144,46 @@ declare const _default: {
|
|
138
144
|
bg: string;
|
139
145
|
};
|
140
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
|
+
};
|
141
161
|
};
|
142
162
|
listView: {
|
143
163
|
container: {
|
144
164
|
borderColor: string;
|
145
165
|
};
|
146
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
|
+
};
|
147
187
|
navBar: {
|
148
188
|
container: {
|
149
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");
|
@@ -62,13 +62,21 @@ var modal = {
|
|
62
62
|
bg: 'background.base'
|
63
63
|
}
|
64
64
|
};
|
65
|
+
var attachment = {
|
66
|
+
container: {
|
67
|
+
backgroundColor: 'background.secondary',
|
68
|
+
borderColor: 'border.attachment'
|
69
|
+
}
|
70
|
+
};
|
65
71
|
var _default = {
|
72
|
+
attachment: attachment,
|
66
73
|
avatar: _avatar.avatar,
|
67
74
|
message: _message.message,
|
68
75
|
menu: _menu.menu,
|
69
76
|
menuItem: _menu.menuItem,
|
70
|
-
listViewItem:
|
71
|
-
listView:
|
77
|
+
listViewItem: _listview.listViewItem,
|
78
|
+
listView: _listview.listView,
|
79
|
+
lisViewItemChart: _listview.lisViewItemChart,
|
72
80
|
navBar: _navbar.navBar,
|
73
81
|
listBox: listBox,
|
74
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,13 @@ declare const colors: {
|
|
62
62
|
red: string;
|
63
63
|
yellow: string;
|
64
64
|
teal: string;
|
65
|
+
blue: string;
|
66
|
+
indigo: string;
|
67
|
+
lightBlue: string;
|
68
|
+
lightPink: string;
|
69
|
+
lightGreen: string;
|
70
|
+
lightYellow: string;
|
71
|
+
lightIndigo: string;
|
65
72
|
};
|
66
73
|
icon: {
|
67
74
|
orange: string;
|
@@ -72,6 +79,13 @@ declare const colors: {
|
|
72
79
|
red: string;
|
73
80
|
yellow: string;
|
74
81
|
teal: string;
|
82
|
+
blue: string;
|
83
|
+
indigo: string;
|
84
|
+
lightBlue: string;
|
85
|
+
lightPink: string;
|
86
|
+
lightGreen: string;
|
87
|
+
lightYellow: string;
|
88
|
+
lightIndigo: string;
|
75
89
|
};
|
76
90
|
};
|
77
91
|
neutral: {
|
@@ -8,6 +8,13 @@ export declare const iconWrapper: {
|
|
8
8
|
red: string;
|
9
9
|
yellow: string;
|
10
10
|
teal: string;
|
11
|
+
blue: string;
|
12
|
+
indigo: string;
|
13
|
+
lightBlue: string;
|
14
|
+
lightPink: string;
|
15
|
+
lightGreen: string;
|
16
|
+
lightYellow: string;
|
17
|
+
lightIndigo: string;
|
11
18
|
};
|
12
19
|
icon: {
|
13
20
|
orange: string;
|
@@ -18,5 +25,12 @@ export declare const iconWrapper: {
|
|
18
25
|
red: string;
|
19
26
|
yellow: string;
|
20
27
|
teal: string;
|
28
|
+
blue: string;
|
29
|
+
indigo: string;
|
30
|
+
lightBlue: string;
|
31
|
+
lightPink: string;
|
32
|
+
lightGreen: string;
|
33
|
+
lightYellow: string;
|
34
|
+
lightIndigo: string;
|
21
35
|
};
|
22
36
|
};
|
@@ -15,7 +15,14 @@ var iconWrapper = {
|
|
15
15
|
pink: _colorTokens.nextGenColors['pink-100'],
|
16
16
|
red: _colorTokens.nextGenColors['red-100'],
|
17
17
|
yellow: _colorTokens.nextGenColors['yellow-100'],
|
18
|
-
teal: _colorTokens.nextGenColors['teal-100']
|
18
|
+
teal: _colorTokens.nextGenColors['teal-100'],
|
19
|
+
blue: _colorTokens.nextGenColors['blue-100'],
|
20
|
+
indigo: _colorTokens.nextGenColors['indigo-100'],
|
21
|
+
lightBlue: _colorTokens.nextGenColors['blue-100'],
|
22
|
+
lightPink: _colorTokens.nextGenColors['pink-100'],
|
23
|
+
lightGreen: _colorTokens.nextGenColors['green-100'],
|
24
|
+
lightYellow: _colorTokens.nextGenColors['yellow-100'],
|
25
|
+
lightIndigo: _colorTokens.nextGenColors['indigo-100']
|
19
26
|
},
|
20
27
|
icon: {
|
21
28
|
orange: _colorTokens.nextGenColors['orange-800'],
|
@@ -25,7 +32,14 @@ var iconWrapper = {
|
|
25
32
|
pink: _colorTokens.nextGenColors['pink-800'],
|
26
33
|
red: _colorTokens.nextGenColors['red-800'],
|
27
34
|
yellow: _colorTokens.nextGenColors['yellow-800'],
|
28
|
-
teal: _colorTokens.nextGenColors['teal-800']
|
35
|
+
teal: _colorTokens.nextGenColors['teal-800'],
|
36
|
+
blue: _colorTokens.nextGenColors['blue-600'],
|
37
|
+
indigo: _colorTokens.nextGenColors['indigo-700'],
|
38
|
+
lightBlue: _colorTokens.nextGenColors['blue-500'],
|
39
|
+
lightPink: _colorTokens.nextGenColors['pink-600'],
|
40
|
+
lightGreen: _colorTokens.nextGenColors['green-800'],
|
41
|
+
lightYellow: _colorTokens.nextGenColors['yellow-800'],
|
42
|
+
lightIndigo: _colorTokens.nextGenColors['indigo-700']
|
29
43
|
}
|
30
44
|
};
|
31
45
|
exports.iconWrapper = iconWrapper;
|
@@ -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;
|