@pingux/astro 2.121.0-alpha.0 → 2.121.0-alpha.2
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/Footer/CopyrightText.d.ts +4 -0
- package/lib/cjs/components/Footer/CopyrightText.js +28 -0
- package/lib/cjs/components/Footer/Footer.d.ts +3 -0
- package/lib/cjs/components/Footer/Footer.js +35 -0
- package/lib/cjs/components/Footer/Footer.mdx +30 -0
- package/lib/cjs/components/Footer/Footer.stories.d.ts +5 -0
- package/lib/cjs/components/Footer/Footer.stories.js +148 -0
- package/lib/cjs/components/Footer/Footer.styles.js +9 -0
- package/lib/cjs/components/Footer/Footer.test.d.ts +1 -0
- package/lib/cjs/components/Footer/Footer.test.js +109 -0
- package/lib/cjs/components/Footer/FooterNav.d.ts +4 -0
- package/lib/cjs/components/Footer/FooterNav.js +25 -0
- package/lib/cjs/components/Footer/FooterNavItem.d.ts +6 -0
- package/lib/cjs/components/Footer/FooterNavItem.js +23 -0
- package/lib/cjs/components/Footer/index.d.ts +4 -0
- package/lib/cjs/components/Footer/index.js +35 -0
- package/lib/cjs/components/Footer/stories/FooterNextGenComponent.d.ts +2 -0
- package/lib/cjs/components/Footer/stories/FooterNextGenComponent.js +126 -0
- package/lib/cjs/{recipes/NextGen/ListViewNextGen.stories.js → components/Footer/stories/NextGenDarkFooterStory.chomatic.stories.js} +6 -7
- package/lib/cjs/components/Footer/stories/NextGenFooterStory.chromatic.stories.js +22 -0
- 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/Link/Link.styles.d.ts +37 -0
- package/lib/cjs/components/Link/Link.styles.js +31 -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/components/ListView/stories/ListViewOnyxDark.stories.d.ts +6 -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 +7 -0
- package/lib/cjs/components/Text/Text.styles.js +8 -0
- package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/index.d.ts +2 -0
- package/lib/cjs/index.js +76 -57
- 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/footer.d.ts +5 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/footer.js +14 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.d.ts +27 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.js +13 -1
- 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 +18 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +26 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +39 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +6 -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 +2 -2
- 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 +175 -18
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +29 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +14 -2
- package/lib/cjs/styles/themes/next-gen/variants/footer.d.ts +31 -0
- package/lib/cjs/styles/themes/next-gen/variants/footer.js +43 -0
- package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +21 -0
- package/lib/cjs/styles/themes/next-gen/variants/links.js +18 -2
- 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 +113 -17
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +10 -1
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/footer.d.ts +11 -0
- package/lib/cjs/types/footer.js +6 -0
- package/lib/cjs/types/iconWrapper.d.ts +1 -1
- package/lib/cjs/types/index.d.ts +1 -0
- package/lib/cjs/types/index.js +53 -42
- package/lib/cjs/utils/devUtils/constants/animals.js +449 -1
- package/lib/cjs/utils/devUtils/constants/images.d.ts +1 -0
- package/lib/cjs/utils/devUtils/constants/images.js +4 -2
- package/lib/components/Footer/CopyrightText.js +19 -0
- package/lib/components/Footer/Footer.js +21 -0
- package/lib/components/Footer/Footer.mdx +30 -0
- package/lib/components/Footer/Footer.stories.js +138 -0
- package/lib/components/Footer/Footer.styles.js +1 -0
- package/lib/components/Footer/Footer.test.js +100 -0
- package/lib/components/Footer/FooterNav.js +16 -0
- package/lib/components/Footer/FooterNavItem.js +14 -0
- package/lib/components/Footer/index.js +4 -0
- package/lib/components/Footer/stories/FooterNextGenComponent.js +117 -0
- package/lib/components/Footer/stories/NextGenDarkFooterStory.chomatic.stories.js +12 -0
- package/lib/components/Footer/stories/NextGenFooterStory.chromatic.stories.js +12 -0
- 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/Link/Link.styles.js +31 -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 +8 -0
- package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +9 -3
- package/lib/index.js +2 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +4 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/footer.js +6 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/links.js +13 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +58 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +18 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +4 -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 +2 -2
- package/lib/styles/themes/next-gen/customProperties/icons.js +2 -1
- package/lib/styles/themes/next-gen/variants/button.js +13 -2
- package/lib/styles/themes/next-gen/variants/footer.js +35 -0
- package/lib/styles/themes/next-gen/variants/links.js +14 -2
- 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 +11 -2
- package/lib/styles/variants/variants.js +2 -0
- package/lib/types/footer.js +1 -0
- package/lib/types/index.js +1 -0
- package/lib/utils/devUtils/constants/animals.js +449 -1
- package/lib/utils/devUtils/constants/images.js +2 -1
- package/package.json +5 -1
- 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.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/Footer/stories/NextGenDarkFooterStory.chomatic.stories.d.ts} +0 -0
- /package/lib/cjs/{styles/themes/next-gen/stories/NextGenListView.chromatic.stories.d.ts → components/Footer/stories/NextGenFooterStory.chromatic.stories.d.ts} +0 -0
- /package/lib/cjs/{styles/themes/next-gen/stories/NextGenListViewItem.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
@@ -4,14 +4,20 @@ 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 = exports.focusBoxShadow = exports.borderRadius = void 0;
|
8
|
+
var focusBoxShadow = '0 0 0 3px inset #1a73e8';
|
9
|
+
exports.focusBoxShadow = focusBoxShadow;
|
10
|
+
var borderRadius = '16px';
|
11
|
+
exports.borderRadius = borderRadius;
|
8
12
|
var listViewItem = {
|
9
13
|
rightOfData: {
|
10
|
-
flexShrink: 4,
|
11
14
|
whiteSpace: 'nowrap'
|
12
15
|
},
|
13
16
|
iconContainer: {
|
14
|
-
ml: '
|
17
|
+
ml: '0'
|
18
|
+
},
|
19
|
+
imageWrapper: {
|
20
|
+
ml: 'md'
|
15
21
|
},
|
16
22
|
styledListItem: {
|
17
23
|
bg: 'white',
|
@@ -27,13 +33,22 @@ var listViewItem = {
|
|
27
33
|
bg: 'gray-100'
|
28
34
|
},
|
29
35
|
'&.is-focused': {
|
30
|
-
boxShadow:
|
36
|
+
boxShadow: focusBoxShadow,
|
31
37
|
bg: 'gray-100'
|
38
|
+
},
|
39
|
+
'&.is-first-item': {
|
40
|
+
borderTopLeftRadius: borderRadius,
|
41
|
+
borderTopRightRadius: borderRadius
|
42
|
+
},
|
43
|
+
'&.is-last-item': {
|
44
|
+
borderBottomLeftRadius: borderRadius,
|
45
|
+
borderBottomRightRadius: borderRadius,
|
46
|
+
'&.has-separator': {
|
47
|
+
border: 'none'
|
48
|
+
}
|
32
49
|
}
|
33
50
|
},
|
34
51
|
styledContainer: {
|
35
|
-
py: 'md',
|
36
|
-
px: 'lg',
|
37
52
|
bg: 'transparent',
|
38
53
|
'&.is-hovered': {
|
39
54
|
bg: 'transparent',
|
@@ -41,37 +56,87 @@ var listViewItem = {
|
|
41
56
|
}
|
42
57
|
},
|
43
58
|
expandableStyledListItem: {
|
44
|
-
|
45
|
-
|
59
|
+
px: 'lg',
|
60
|
+
bg: 'background.base',
|
61
|
+
'&.is-first-item': {
|
62
|
+
borderTopLeftRadius: borderRadius,
|
63
|
+
borderTopRightRadius: borderRadius
|
64
|
+
},
|
65
|
+
'&.is-last-item': {
|
66
|
+
borderBottomLeftRadius: borderRadius,
|
67
|
+
borderBottomRightRadius: borderRadius,
|
68
|
+
'&.is-hovered, &.is-expanded': {
|
69
|
+
borderBottomLeftRadius: '0',
|
70
|
+
borderBottomRightRadius: '0'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
'&.is-hovered': {
|
74
|
+
bg: 'gray-100'
|
75
|
+
},
|
76
|
+
'&.is-selected': {
|
77
|
+
bg: 'gray-100'
|
78
|
+
},
|
79
|
+
'&.is-focused': {
|
80
|
+
boxShadow: focusBoxShadow,
|
81
|
+
bg: 'gray-100'
|
82
|
+
}
|
46
83
|
},
|
47
84
|
expandableItemBody: {
|
48
|
-
px: '
|
85
|
+
px: 'lg',
|
86
|
+
outline: 'none',
|
87
|
+
'&.is-last-item-body': {
|
88
|
+
borderBottomLeftRadius: borderRadius,
|
89
|
+
borderBottomRightRadius: borderRadius
|
90
|
+
},
|
91
|
+
'&.is-focused': {
|
92
|
+
boxShadow: focusBoxShadow
|
93
|
+
}
|
49
94
|
},
|
50
95
|
expandableRow: {
|
51
96
|
'&.has-separator': {
|
52
97
|
borderBottom: '1px solid',
|
53
98
|
borderBottomColor: 'border.base'
|
99
|
+
},
|
100
|
+
'&.has-separator.is-last-row': {
|
101
|
+
border: 'none'
|
54
102
|
}
|
103
|
+
},
|
104
|
+
editIcon: {
|
105
|
+
width: '1.5rem !important',
|
106
|
+
height: '1.5rem !important'
|
107
|
+
},
|
108
|
+
menuIcon: {
|
109
|
+
width: '1.5rem !important',
|
110
|
+
height: '1.5rem !important'
|
55
111
|
}
|
56
112
|
};
|
57
113
|
exports.listViewItem = listViewItem;
|
58
114
|
var listView = {
|
59
115
|
container: {
|
60
|
-
borderRadius:
|
116
|
+
borderRadius: borderRadius,
|
61
117
|
border: '1px solid',
|
62
|
-
borderColor: '#e7eef4'
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
118
|
+
borderColor: '#e7eef4'
|
119
|
+
}
|
120
|
+
};
|
121
|
+
exports.listView = listView;
|
122
|
+
var lisViewItemChart = {
|
123
|
+
title: {
|
124
|
+
color: 'gray-900'
|
125
|
+
},
|
126
|
+
count: {
|
127
|
+
color: 'gray-900'
|
128
|
+
},
|
129
|
+
countLabel: {
|
130
|
+
color: 'gray-900'
|
131
|
+
},
|
132
|
+
chartLabel: {
|
133
|
+
color: 'gray-900'
|
134
|
+
},
|
135
|
+
trend: {
|
136
|
+
color: 'gray-900'
|
137
|
+
},
|
138
|
+
chartButton: {
|
139
|
+
color: 'gray-900'
|
75
140
|
}
|
76
141
|
};
|
77
|
-
exports.
|
142
|
+
exports.lisViewItemChart = lisViewItemChart;
|
@@ -68,14 +68,26 @@ export declare const text: {
|
|
68
68
|
lineHeight: string;
|
69
69
|
};
|
70
70
|
listViewItemText: {
|
71
|
+
fontFamily: string;
|
71
72
|
color: string;
|
72
73
|
fontWeight: number;
|
74
|
+
mb: string;
|
75
|
+
fontSize: string;
|
73
76
|
};
|
74
|
-
|
77
|
+
listViewItemSubtext: {
|
75
78
|
fontSize: string;
|
79
|
+
lineHeight: string;
|
76
80
|
color: string;
|
81
|
+
};
|
82
|
+
itemTitle: {
|
83
|
+
fontWeight: number;
|
84
|
+
color: string;
|
85
|
+
};
|
86
|
+
small: {
|
87
|
+
fontSize: string;
|
77
88
|
fontFamily: string;
|
78
89
|
lineHeight: string;
|
90
|
+
color: string;
|
79
91
|
};
|
80
92
|
response: {
|
81
93
|
color: string;
|
@@ -82,14 +82,26 @@ var text = _objectSpread(_objectSpread({
|
|
82
82
|
lineHeight: 'body'
|
83
83
|
},
|
84
84
|
listViewItemText: {
|
85
|
-
|
86
|
-
|
85
|
+
fontFamily: 'standard',
|
86
|
+
color: 'text.primary',
|
87
|
+
fontWeight: 2,
|
88
|
+
mb: 'xs',
|
89
|
+
fontSize: 'md'
|
90
|
+
},
|
91
|
+
listViewItemSubtext: {
|
92
|
+
fontSize: 'md',
|
93
|
+
lineHeight: 'body',
|
94
|
+
color: 'gray-700'
|
95
|
+
},
|
96
|
+
itemTitle: {
|
97
|
+
fontWeight: 2,
|
98
|
+
color: 'text.primary'
|
87
99
|
},
|
88
100
|
small: {
|
89
101
|
fontSize: 'sm',
|
90
|
-
color: 'text.primary',
|
91
102
|
fontFamily: 'standard',
|
92
|
-
lineHeight: 'md'
|
103
|
+
lineHeight: 'md',
|
104
|
+
color: 'text.primary'
|
93
105
|
},
|
94
106
|
response: {
|
95
107
|
color: 'text.primary',
|
@@ -605,12 +605,14 @@ declare const _default: {
|
|
605
605
|
};
|
606
606
|
listViewItem: {
|
607
607
|
rightOfData: {
|
608
|
-
flexShrink: number;
|
609
608
|
whiteSpace: string;
|
610
609
|
};
|
611
610
|
iconContainer: {
|
612
611
|
ml: string;
|
613
612
|
};
|
613
|
+
imageWrapper: {
|
614
|
+
ml: string;
|
615
|
+
};
|
614
616
|
styledListItem: {
|
615
617
|
bg: string;
|
616
618
|
'&.is-selected': {
|
@@ -628,10 +630,19 @@ declare const _default: {
|
|
628
630
|
boxShadow: string;
|
629
631
|
bg: string;
|
630
632
|
};
|
633
|
+
'&.is-first-item': {
|
634
|
+
borderTopLeftRadius: string;
|
635
|
+
borderTopRightRadius: string;
|
636
|
+
};
|
637
|
+
'&.is-last-item': {
|
638
|
+
borderBottomLeftRadius: string;
|
639
|
+
borderBottomRightRadius: string;
|
640
|
+
'&.has-separator': {
|
641
|
+
border: string;
|
642
|
+
};
|
643
|
+
};
|
631
644
|
};
|
632
645
|
styledContainer: {
|
633
|
-
py: string;
|
634
|
-
px: string;
|
635
646
|
bg: string;
|
636
647
|
'&.is-hovered': {
|
637
648
|
bg: string;
|
@@ -639,17 +650,58 @@ declare const _default: {
|
|
639
650
|
};
|
640
651
|
};
|
641
652
|
expandableStyledListItem: {
|
642
|
-
|
643
|
-
|
653
|
+
px: string;
|
654
|
+
bg: string;
|
655
|
+
'&.is-first-item': {
|
656
|
+
borderTopLeftRadius: string;
|
657
|
+
borderTopRightRadius: string;
|
658
|
+
};
|
659
|
+
'&.is-last-item': {
|
660
|
+
borderBottomLeftRadius: string;
|
661
|
+
borderBottomRightRadius: string;
|
662
|
+
'&.is-hovered, &.is-expanded': {
|
663
|
+
borderBottomLeftRadius: string;
|
664
|
+
borderBottomRightRadius: string;
|
665
|
+
};
|
666
|
+
};
|
667
|
+
'&.is-hovered': {
|
668
|
+
bg: string;
|
669
|
+
};
|
670
|
+
'&.is-selected': {
|
671
|
+
bg: string;
|
672
|
+
};
|
673
|
+
'&.is-focused': {
|
674
|
+
boxShadow: string;
|
675
|
+
bg: string;
|
676
|
+
};
|
644
677
|
};
|
645
678
|
expandableItemBody: {
|
646
679
|
px: string;
|
680
|
+
outline: string;
|
681
|
+
'&.is-last-item-body': {
|
682
|
+
borderBottomLeftRadius: string;
|
683
|
+
borderBottomRightRadius: string;
|
684
|
+
};
|
685
|
+
'&.is-focused': {
|
686
|
+
boxShadow: string;
|
687
|
+
};
|
647
688
|
};
|
648
689
|
expandableRow: {
|
649
690
|
'&.has-separator': {
|
650
691
|
borderBottom: string;
|
651
692
|
borderBottomColor: string;
|
652
693
|
};
|
694
|
+
'&.has-separator.is-last-row': {
|
695
|
+
border: string;
|
696
|
+
};
|
697
|
+
};
|
698
|
+
editIcon: {
|
699
|
+
width: string;
|
700
|
+
height: string;
|
701
|
+
};
|
702
|
+
menuIcon: {
|
703
|
+
width: string;
|
704
|
+
height: string;
|
653
705
|
};
|
654
706
|
};
|
655
707
|
progressBar: {
|
@@ -670,18 +722,26 @@ declare const _default: {
|
|
670
722
|
borderRadius: string;
|
671
723
|
border: string;
|
672
724
|
borderColor: string;
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
725
|
+
};
|
726
|
+
};
|
727
|
+
lisViewItemChart: {
|
728
|
+
title: {
|
729
|
+
color: string;
|
730
|
+
};
|
731
|
+
count: {
|
732
|
+
color: string;
|
733
|
+
};
|
734
|
+
countLabel: {
|
735
|
+
color: string;
|
736
|
+
};
|
737
|
+
chartLabel: {
|
738
|
+
color: string;
|
739
|
+
};
|
740
|
+
trend: {
|
741
|
+
color: string;
|
742
|
+
};
|
743
|
+
chartButton: {
|
744
|
+
color: string;
|
685
745
|
};
|
686
746
|
};
|
687
747
|
dataTable: {
|
@@ -1155,5 +1215,41 @@ declare const _default: {
|
|
1155
1215
|
};
|
1156
1216
|
};
|
1157
1217
|
};
|
1218
|
+
footer: {
|
1219
|
+
container: {
|
1220
|
+
fontFamily: string;
|
1221
|
+
justifyContent: string;
|
1222
|
+
backgroundColor: string;
|
1223
|
+
};
|
1224
|
+
wrapper: {
|
1225
|
+
px: string[];
|
1226
|
+
py: string;
|
1227
|
+
maxWidth: string;
|
1228
|
+
mx: string;
|
1229
|
+
width: string;
|
1230
|
+
flexDirection: string[];
|
1231
|
+
justifyContent: string;
|
1232
|
+
alignItems: string;
|
1233
|
+
};
|
1234
|
+
footerLeftSection: {
|
1235
|
+
columnGap: string;
|
1236
|
+
flexDirection: string[];
|
1237
|
+
};
|
1238
|
+
footerNav: {
|
1239
|
+
listStyle: string;
|
1240
|
+
margin: string;
|
1241
|
+
padding: string;
|
1242
|
+
alignItems: string;
|
1243
|
+
justifyContent: string[];
|
1244
|
+
gap: string;
|
1245
|
+
flexWrap: string;
|
1246
|
+
my: string;
|
1247
|
+
};
|
1248
|
+
};
|
1249
|
+
loader: {
|
1250
|
+
withinListView: {
|
1251
|
+
color: string;
|
1252
|
+
};
|
1253
|
+
};
|
1158
1254
|
};
|
1159
1255
|
export default _default;
|
@@ -20,6 +20,7 @@ var _codeView = _interopRequireDefault(require("../codeView/codeView"));
|
|
20
20
|
var _avatar = require("./avatar");
|
21
21
|
var _button = _interopRequireDefault(require("./button"));
|
22
22
|
var _dataTable = require("./dataTable");
|
23
|
+
var _footer = require("./footer");
|
23
24
|
var _iconWrapper = _interopRequireDefault(require("./iconWrapper"));
|
24
25
|
var _listview = require("./listview");
|
25
26
|
var _menu = require("./menu");
|
@@ -301,6 +302,11 @@ var overlayPanel = {
|
|
301
302
|
backgroundColor: 'background.base'
|
302
303
|
}
|
303
304
|
};
|
305
|
+
var loader = {
|
306
|
+
withinListView: {
|
307
|
+
color: 'active'
|
308
|
+
}
|
309
|
+
};
|
304
310
|
var _default = {
|
305
311
|
attachment: _Attachment["default"],
|
306
312
|
navBar: _navbar.navBar,
|
@@ -316,6 +322,7 @@ var _default = {
|
|
316
322
|
listViewItem: _listview.listViewItem,
|
317
323
|
progressBar: progressBar,
|
318
324
|
listView: _listview.listView,
|
325
|
+
lisViewItemChart: _listview.lisViewItemChart,
|
319
326
|
dataTable: _dataTable.dataTable,
|
320
327
|
codeView: _codeView["default"],
|
321
328
|
prompt: _prompt["default"],
|
@@ -326,6 +333,8 @@ var _default = {
|
|
326
333
|
suggestions: _suggestions["default"],
|
327
334
|
suggestion: _suggestion["default"],
|
328
335
|
response: _response["default"],
|
329
|
-
skeleton: _Skeleton["default"]
|
336
|
+
skeleton: _Skeleton["default"],
|
337
|
+
footer: _footer.footer,
|
338
|
+
loader: loader
|
330
339
|
};
|
331
340
|
exports["default"] = _default;
|
@@ -30,6 +30,7 @@ var _CopyText = _interopRequireDefault(require("../../components/CopyText/CopyTe
|
|
30
30
|
var _DataTable = _interopRequireDefault(require("../../components/DataTable/DataTable.styles"));
|
31
31
|
var _EnvironmentalBreadcrumb = _interopRequireDefault(require("../../components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles"));
|
32
32
|
var _FieldHelperText = _interopRequireDefault(require("../../components/FieldHelperText/FieldHelperText.styles"));
|
33
|
+
var _Footer = _interopRequireDefault(require("../../components/Footer/Footer.styles"));
|
33
34
|
var _HelpHint = _interopRequireDefault(require("../../components/HelpHint/HelpHint.styles"));
|
34
35
|
var _imageUpload = _interopRequireDefault(require("../../components/ImageUploadField/imageUpload"));
|
35
36
|
var _ListBox = _interopRequireDefault(require("../../components/ListBox/ListBox.styles"));
|
@@ -82,6 +83,7 @@ var _default = _objectSpread({
|
|
82
83
|
dataTable: _DataTable["default"],
|
83
84
|
environmentBreadcrumb: _EnvironmentalBreadcrumb["default"],
|
84
85
|
fieldHelperText: _FieldHelperText["default"],
|
86
|
+
footer: _Footer["default"],
|
85
87
|
helpHint: _HelpHint["default"],
|
86
88
|
imageUpload: _imageUpload["default"],
|
87
89
|
listBox: _ListBox["default"],
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { BoxProps } from './box';
|
3
|
+
import { LinkProps } from './link';
|
4
|
+
export type FooterProps = BoxProps;
|
5
|
+
export interface FooterLinkProps extends BoxProps {
|
6
|
+
children?: React.ReactNode;
|
7
|
+
}
|
8
|
+
export interface CopyrightTextProps extends BoxProps {
|
9
|
+
linkProps?: LinkProps;
|
10
|
+
children?: React.ReactNode;
|
11
|
+
}
|
package/lib/cjs/types/index.d.ts
CHANGED