@pingux/astro 1.7.0 → 1.8.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/AccordionGridGroup/AccordionGridGroup.js +1 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItem.js +3 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +3 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +10 -4
- package/lib/cjs/components/ArrayField/ArrayField.test.js +13 -0
- package/lib/cjs/components/ArrayField/ArrayFieldDeleteButton.js +3 -8
- package/lib/cjs/components/AstroWrapper/AstroWrapper.js +4 -4
- package/lib/cjs/components/CodeView/CodeView.js +11 -4
- package/lib/cjs/components/CodeView/CodeView.stories.js +33 -2
- package/lib/cjs/components/ComboBoxField/ComboBoxField.js +1 -1
- package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +8 -4
- package/lib/cjs/components/Image/Image.js +132 -11
- package/lib/cjs/components/Image/Image.stories.js +52 -6
- package/lib/cjs/components/Image/Image.test.js +138 -2
- package/lib/cjs/components/Image/imageConstants.js +13 -0
- package/lib/cjs/components/ImageUploadField/ImageUploadField.test.js +27 -8
- package/lib/cjs/components/ListViewItem/ListViewItem.js +2 -1
- package/lib/cjs/components/MultiselectFilter/MultiselectFilter.js +1 -1
- package/lib/cjs/components/MultiselectFilterItem/MultiselectFilterItem.js +32 -11
- package/lib/cjs/components/MultiselectFilterItem/MultiselectFilterItem.test.js +13 -1
- package/lib/cjs/components/NavBar/NavBar.js +20 -8
- package/lib/cjs/components/NavBar/NavBar.stories.js +3 -2
- package/lib/cjs/components/NavBarSection/NavBarItem.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItemButton.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +61 -4
- package/lib/cjs/components/NavBarSection/NavBarItemLink.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarSection.js +5 -2
- package/lib/cjs/components/NumberField/NumberField.js +32 -2
- package/lib/cjs/components/Text/Text.js +5 -1
- package/lib/cjs/components/Text/Text.stories.js +56 -2
- package/lib/cjs/components/Text/Text.test.js +46 -0
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.js +21 -10
- package/lib/cjs/hooks/index.js +10 -1
- package/lib/cjs/hooks/useFallbackImage/index.js +18 -0
- package/lib/cjs/hooks/useFallbackImage/useFallbackImage.js +46 -0
- package/lib/cjs/hooks/useFallbackImage/useFallbackImage.test.js +65 -0
- package/lib/cjs/hooks/useNavBarPress/useNavBarPress.js +3 -3
- package/lib/cjs/hooks/useNavBarPress/useNavBarPress.test.js +4 -4
- package/lib/cjs/recipes/MultiselectListContainer.stories.js +352 -0
- package/lib/cjs/styles/forms/input.js +2 -1
- package/lib/cjs/styles/variants/accordion.js +1 -1
- package/lib/cjs/styles/variants/boxes.js +2 -2
- package/lib/cjs/styles/variants/multiselectListContainer.js +4 -6
- package/lib/cjs/styles/variants/navBar.js +10 -1
- package/lib/cjs/styles/variants/separator.js +3 -3
- package/lib/cjs/styles/variants/text.js +5 -3
- package/lib/components/AccordionGridGroup/AccordionGridGroup.js +1 -0
- package/lib/components/AccordionGridItem/AccordionGridItem.js +3 -0
- package/lib/components/AccordionGridItem/AccordionGridItemBody.js +3 -0
- package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +10 -4
- package/lib/components/ArrayField/ArrayField.test.js +9 -0
- package/lib/components/ArrayField/ArrayFieldDeleteButton.js +3 -8
- package/lib/components/AstroWrapper/AstroWrapper.js +4 -4
- package/lib/components/CodeView/CodeView.js +12 -5
- package/lib/components/CodeView/CodeView.stories.js +26 -0
- package/lib/components/ComboBoxField/ComboBoxField.js +1 -1
- package/lib/components/ComboBoxField/ComboBoxField.test.js +8 -4
- package/lib/components/Image/Image.js +123 -9
- package/lib/components/Image/Image.stories.js +39 -4
- package/lib/components/Image/Image.test.js +118 -1
- package/lib/components/Image/imageConstants.js +2 -0
- package/lib/components/ImageUploadField/ImageUploadField.test.js +27 -7
- package/lib/components/ListViewItem/ListViewItem.js +2 -1
- package/lib/components/MultiselectFilter/MultiselectFilter.js +1 -1
- package/lib/components/MultiselectFilterItem/MultiselectFilterItem.js +35 -12
- package/lib/components/MultiselectFilterItem/MultiselectFilterItem.test.js +11 -1
- package/lib/components/NavBar/NavBar.js +20 -8
- package/lib/components/NavBar/NavBar.stories.js +3 -2
- package/lib/components/NavBarSection/NavBarItem.js +1 -1
- package/lib/components/NavBarSection/NavBarItemButton.js +1 -1
- package/lib/components/NavBarSection/NavBarItemHeader.js +46 -4
- package/lib/components/NavBarSection/NavBarItemLink.js +1 -1
- package/lib/components/NavBarSection/NavBarSection.js +5 -2
- package/lib/components/NumberField/NumberField.js +32 -2
- package/lib/components/Text/Text.js +7 -2
- package/lib/components/Text/Text.stories.js +50 -0
- package/lib/components/Text/Text.test.js +36 -0
- package/lib/components/TimeZonePicker/TimeZonePicker.js +21 -10
- package/lib/hooks/index.js +2 -1
- package/lib/hooks/useFallbackImage/index.js +1 -0
- package/lib/hooks/useFallbackImage/useFallbackImage.js +32 -0
- package/lib/hooks/useFallbackImage/useFallbackImage.test.js +51 -0
- package/lib/hooks/useNavBarPress/useNavBarPress.js +3 -3
- package/lib/hooks/useNavBarPress/useNavBarPress.test.js +4 -4
- package/lib/recipes/MultiselectListContainer.stories.js +306 -0
- package/lib/styles/forms/input.js +2 -1
- package/lib/styles/variants/accordion.js +1 -1
- package/lib/styles/variants/boxes.js +2 -2
- package/lib/styles/variants/multiselectListContainer.js +4 -6
- package/lib/styles/variants/navBar.js +10 -1
- package/lib/styles/variants/separator.js +3 -3
- package/lib/styles/variants/text.js +5 -3
- package/package.json +2 -1
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
var multiselectListContainer = {
|
|
2
|
-
height: '40px',
|
|
3
2
|
overflowX: 'hidden',
|
|
4
3
|
pr: 'sm',
|
|
5
4
|
transition: 'right 500ms',
|
|
6
|
-
'
|
|
7
|
-
height: '100%'
|
|
8
|
-
}
|
|
5
|
+
minHeight: '80vh'
|
|
9
6
|
};
|
|
10
7
|
var multiselectListContent = {
|
|
11
8
|
bg: 'accent.99',
|
|
@@ -22,7 +19,8 @@ var multiselectListContent = {
|
|
|
22
19
|
display: 'flex',
|
|
23
20
|
minHeight: '45px',
|
|
24
21
|
padding: '3px',
|
|
25
|
-
width: '100%'
|
|
22
|
+
width: '100%',
|
|
23
|
+
justifyContent: 'space-between'
|
|
26
24
|
}
|
|
27
25
|
};
|
|
28
26
|
var multiselectListTitle = {
|
|
@@ -35,7 +33,7 @@ var multiselectListTitle = {
|
|
|
35
33
|
padding: '0 10px !important',
|
|
36
34
|
flexWrap: 'wrap',
|
|
37
35
|
maxWidth: 'max-content !important',
|
|
38
|
-
margin: '0
|
|
36
|
+
margin: '0'
|
|
39
37
|
};
|
|
40
38
|
var multiselectListBadge = {
|
|
41
39
|
borderRadius: '5px',
|
|
@@ -26,7 +26,16 @@ var container = {
|
|
|
26
26
|
var itemHeaderContainer = {
|
|
27
27
|
flexGrow: 1,
|
|
28
28
|
alignItems: 'center',
|
|
29
|
-
maxWidth: '
|
|
29
|
+
maxWidth: '230px',
|
|
30
|
+
padding: '10px 15px 10px 15px',
|
|
31
|
+
cursor: 'pointer',
|
|
32
|
+
minHeight: '40px',
|
|
33
|
+
fontWeight: 0,
|
|
34
|
+
fontSize: '16px',
|
|
35
|
+
'&.is-selected': {
|
|
36
|
+
backgroundColor: 'accent.5',
|
|
37
|
+
boxShadow: 'inset 2px 0 0 0 white'
|
|
38
|
+
}
|
|
30
39
|
};
|
|
31
40
|
var sectionContainer = {
|
|
32
41
|
height: '100%',
|
|
@@ -30,10 +30,10 @@ var navBarSeparator = _objectSpread(_objectSpread({}, base), {}, {
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
var navBarSubtitleSeparator = _objectSpread(_objectSpread({}, base), {}, {
|
|
33
|
-
mt: '
|
|
34
|
-
mb: '
|
|
33
|
+
mt: '15px',
|
|
34
|
+
mb: '15px',
|
|
35
35
|
ml: '45px',
|
|
36
|
-
width: 'calc(100% -
|
|
36
|
+
width: 'calc(100% - 60px)',
|
|
37
37
|
backgroundColor: 'neutral.60'
|
|
38
38
|
});
|
|
39
39
|
|
|
@@ -132,18 +132,20 @@ var environmentBreadcrumb = _objectSpread(_objectSpread({}, base), {}, {
|
|
|
132
132
|
});
|
|
133
133
|
|
|
134
134
|
var navBarSubtitle = {
|
|
135
|
-
my: 'md',
|
|
136
135
|
ml: 'md',
|
|
136
|
+
mb: '15px',
|
|
137
137
|
fontWeight: 3,
|
|
138
138
|
fontSize: '11px',
|
|
139
|
-
color: 'accent.80'
|
|
139
|
+
color: 'accent.80',
|
|
140
|
+
zIndex: '100'
|
|
140
141
|
};
|
|
141
142
|
|
|
142
143
|
var navBarHeaderText = _objectSpread(_objectSpread({}, wordWrap), {}, {
|
|
143
144
|
whiteSpace: 'break-spaces',
|
|
144
145
|
lineHeight: '13px',
|
|
145
146
|
fontSize: '13px',
|
|
146
|
-
fontWeight: 1
|
|
147
|
+
fontWeight: 1,
|
|
148
|
+
maxWidth: '150px'
|
|
147
149
|
});
|
|
148
150
|
|
|
149
151
|
var multiselectFilterItem = _objectSpread(_objectSpread({}, wordWrap), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pingux/astro",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0-alpha.2",
|
|
4
4
|
"description": "PingUX themeable React component library",
|
|
5
5
|
"author": "ux-development@pingidentity.com",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -136,6 +136,7 @@
|
|
|
136
136
|
"mdi-react": "^7.4.0",
|
|
137
137
|
"moment": "^2.29.1",
|
|
138
138
|
"prism-react-renderer": "1.2.1",
|
|
139
|
+
"prismjs": "^1.27.0",
|
|
139
140
|
"prop-types": "^15.7.2",
|
|
140
141
|
"react-calendar": "^3.4.0",
|
|
141
142
|
"react-color": "^2.19.3",
|