@pingux/astro 2.179.0-alpha.0 → 2.181.3-alpha.0
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/Box/Box.test.js +1 -1
- package/lib/cjs/components/Icon/Icon.stories.js +8 -8
- package/lib/cjs/hooks/useLoadPrev/useLoadPrev.test.js +1 -1
- package/lib/cjs/libs/astro/src/types/overlayPanel.d.ts +1 -1
- package/lib/cjs/libs/astro/tsconfig.lib.tsbuildinfo +1 -1
- package/lib/components/Box/Box.test.js +1 -1
- package/lib/components/Icon/Icon.stories.js +8 -8
- package/lib/hooks/useLoadPrev/useLoadPrev.test.js +1 -1
- package/package.json +6 -11
|
@@ -7,7 +7,7 @@ import { universalComponentTests } from '../../utils/testUtils/universalComponen
|
|
|
7
7
|
import Box from '.';
|
|
8
8
|
|
|
9
9
|
// Emotion Cache added as test fails otherwise, root cause of this failure is unknown.
|
|
10
|
-
// Failure
|
|
10
|
+
// Failure occurred with ThemeUI refactor.
|
|
11
11
|
// https://github.com/emotion-js/emotion/issues/1105#issuecomment-557726922
|
|
12
12
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
13
13
|
var emotionCache = createCache({
|
|
@@ -111,44 +111,44 @@ export var Sizes = function Sizes() {
|
|
|
111
111
|
borderBottom: 'unset'
|
|
112
112
|
}
|
|
113
113
|
}, ___EmotionJSX(TableRow, {
|
|
114
|
-
height: "
|
|
114
|
+
height: "auto",
|
|
115
115
|
bg: "transparent !important"
|
|
116
116
|
}, ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, null, "XXS | 9px")), ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, {
|
|
117
117
|
fontFamily: "monospace"
|
|
118
|
-
}, '<Icon icon={SearchIcon}
|
|
118
|
+
}, '<Icon icon={SearchIcon} size="xxs"/>')), ___EmotionJSX(TableCell, null, ___EmotionJSX(Icon, {
|
|
119
119
|
icon: SearchIcon,
|
|
120
120
|
size: "xxs",
|
|
121
121
|
title: {
|
|
122
122
|
name: 'Search Icon'
|
|
123
123
|
}
|
|
124
124
|
}))), ___EmotionJSX(TableRow, {
|
|
125
|
-
height: "
|
|
125
|
+
height: "auto",
|
|
126
126
|
bg: "transparent !important"
|
|
127
127
|
}, ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, null, "XS | 15px")), ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, {
|
|
128
128
|
fontFamily: "monospace"
|
|
129
|
-
}, '<Icon icon={SearchIcon}
|
|
129
|
+
}, '<Icon icon={SearchIcon} size="xs"/>')), ___EmotionJSX(TableCell, null, ___EmotionJSX(Icon, {
|
|
130
130
|
icon: SearchIcon,
|
|
131
131
|
size: "xs",
|
|
132
132
|
title: {
|
|
133
133
|
name: 'Search Icon'
|
|
134
134
|
}
|
|
135
135
|
}))), ___EmotionJSX(TableRow, {
|
|
136
|
-
height: "
|
|
136
|
+
height: "auto",
|
|
137
137
|
bg: "transparent !important"
|
|
138
138
|
}, ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, null, "SM | 20px")), ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, {
|
|
139
139
|
fontFamily: "monospace"
|
|
140
|
-
}, '<Icon icon={SearchIcon}
|
|
140
|
+
}, '<Icon icon={SearchIcon} size="sm"/>')), ___EmotionJSX(TableCell, null, ___EmotionJSX(Icon, {
|
|
141
141
|
icon: SearchIcon,
|
|
142
142
|
size: "sm",
|
|
143
143
|
title: {
|
|
144
144
|
name: 'Search Icon'
|
|
145
145
|
}
|
|
146
146
|
}))), ___EmotionJSX(TableRow, {
|
|
147
|
-
height: "
|
|
147
|
+
height: "auto",
|
|
148
148
|
bg: "transparent !important"
|
|
149
149
|
}, ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, null, "MD | 25px")), ___EmotionJSX(TableCell, null, ___EmotionJSX(Text, {
|
|
150
150
|
fontFamily: "monospace"
|
|
151
|
-
}, '<Icon icon={SearchIcon}
|
|
151
|
+
}, '<Icon icon={SearchIcon} size="md"/>')), ___EmotionJSX(TableCell, null, ___EmotionJSX(Icon, {
|
|
152
152
|
icon: SearchIcon,
|
|
153
153
|
size: "md",
|
|
154
154
|
title: {
|
|
@@ -59,7 +59,7 @@ describe('useLoadPrev', function () {
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
expect(onLoadPrev).toHaveBeenCalledTimes(1);
|
|
62
|
-
// will call
|
|
62
|
+
// will call because props have changed.
|
|
63
63
|
rerender(___EmotionJSX(TestComponent, {
|
|
64
64
|
items: [1, 2, 3, 4, 5]
|
|
65
65
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pingux/astro",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.181.3-alpha.0",
|
|
4
4
|
"description": "React component library for Ping Identity's design system",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"@babel/runtime-corejs3": "7.13.8",
|
|
37
37
|
"@emotion/react": "^11.1.1",
|
|
38
38
|
"@emotion/styled": "^11.1.1",
|
|
39
|
-
"@faker-js/faker": "~7.5.0",
|
|
40
39
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
41
40
|
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
|
42
41
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
@@ -44,7 +43,6 @@
|
|
|
44
43
|
"@internationalized/date": "^3.5.3",
|
|
45
44
|
"@internationalized/number": "^3.6.0",
|
|
46
45
|
"@material-symbols/font-400": "^0.40.2",
|
|
47
|
-
"@mdx-js/react": "^2.0.0",
|
|
48
46
|
"@monaco-editor/react": "4.4.2",
|
|
49
47
|
"@pingux/mdi-react": "^1.2.0",
|
|
50
48
|
"@pingux/onyx-tokens": "^0.18.0",
|
|
@@ -99,28 +97,23 @@
|
|
|
99
97
|
"@react-types/combobox": "^3.13.8",
|
|
100
98
|
"@react-types/slider": "^3.7.9",
|
|
101
99
|
"@styled-system/prop-types": "^5.1.5",
|
|
102
|
-
"@styled-system/props": "^5.1.5",
|
|
103
100
|
"@styled-system/should-forward-prop": "^5.1.5",
|
|
104
101
|
"@styled-system/theme-get": "^5.1.2",
|
|
105
102
|
"chroma-js": "^2.1.0",
|
|
106
|
-
"chromatic": "^6.5.3",
|
|
107
103
|
"classnames": "^2.2.6",
|
|
108
104
|
"countries-list": "^2.6.1",
|
|
109
105
|
"deepmerge": "^4.3.1",
|
|
110
106
|
"emotion-normalize": "^11.0.1",
|
|
111
|
-
"globals": "^13.19.0",
|
|
112
107
|
"listbox-layout": "npm:@react-stately/layout@3.9.0",
|
|
113
108
|
"listbox-virtualizer": "npm:@react-aria/virtualizer@3.6.0",
|
|
114
109
|
"lodash": "^4.17.23",
|
|
115
110
|
"markdown-to-jsx": "^7.7.4",
|
|
116
|
-
"moment": "^2.29.4",
|
|
117
111
|
"monaco-editor": "0.34.1",
|
|
118
112
|
"pluralize": "^8.0.0",
|
|
119
113
|
"prism-react-renderer": "1.2.1",
|
|
120
114
|
"prismjs": "^1.27.0",
|
|
121
115
|
"prop-types": "^15.7.2",
|
|
122
116
|
"react-aria": "~3.19.0",
|
|
123
|
-
"react-calendar": "^3.4.0",
|
|
124
117
|
"react-color": "^2.19.3",
|
|
125
118
|
"react-dropzone": "^11.4.2",
|
|
126
119
|
"react-stately": "^3.31.0",
|
|
@@ -162,7 +155,6 @@
|
|
|
162
155
|
"@storybook/addons": "^7.1.0",
|
|
163
156
|
"@storybook/react": "^7.1.0",
|
|
164
157
|
"@storybook/react-vite": "^7.1.0",
|
|
165
|
-
"@storybook/react-webpack5": "^7.1.0",
|
|
166
158
|
"@storybook/theming": "^7.1.0",
|
|
167
159
|
"@testing-library/jest-dom": "^5.11.4",
|
|
168
160
|
"@testing-library/react": "15.0.6",
|
|
@@ -199,7 +191,6 @@
|
|
|
199
191
|
"storybook-addon-designs": "beta",
|
|
200
192
|
"ts-jest": "^29.0.0",
|
|
201
193
|
"typescript": "~5.5.2",
|
|
202
|
-
"use-resize-observer": "^8.0.0",
|
|
203
194
|
"vite-plugin-dts": "~3.8.1",
|
|
204
195
|
"vitest": "^1.3.1",
|
|
205
196
|
"whatwg-fetch": "^3.2.0",
|
|
@@ -222,7 +213,11 @@
|
|
|
222
213
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
223
214
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
224
215
|
"eslint-plugin-testing-library": "^7.0.0",
|
|
225
|
-
"
|
|
216
|
+
"@faker-js/faker": "~7.5.0",
|
|
217
|
+
"@nx/vite": "20.0.5",
|
|
218
|
+
"globals": "^13.19.0",
|
|
219
|
+
"@mdx-js/react": "^2.0.0",
|
|
220
|
+
"chromatic": "^6.5.3"
|
|
226
221
|
},
|
|
227
222
|
"peerDependencies": {
|
|
228
223
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0",
|