@pingux/astro 2.161.1-alpha.5 → 2.161.1-alpha.6

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.
Files changed (55) hide show
  1. package/lib/cjs/components/AstroProvider/AstroProvider.js +12 -7
  2. package/lib/cjs/components/NavBar/stories/NavBar.Onyx.stories.d.ts +5 -0
  3. package/lib/cjs/components/NavBar/stories/NavBar.Onyx.stories.js +21 -0
  4. package/lib/cjs/components/NavBar/stories/NavBarNextGenComponent.js +26 -30
  5. package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +1 -1
  6. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +74 -16
  7. package/lib/cjs/hooks/useGetTheme/useGetTheme.js +16 -12
  8. package/lib/cjs/index.d.ts +1 -0
  9. package/lib/cjs/index.js +8 -0
  10. package/lib/cjs/styles/theme.js +2 -0
  11. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +35 -7
  12. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +36 -7
  13. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
  14. package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +269 -0
  15. package/lib/cjs/styles/themeOverrides/onyxSideNav.js +236 -0
  16. package/lib/cjs/styles/themeOverrides/uiLibraryOverride.d.ts +108 -0
  17. package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +35 -7
  18. package/lib/cjs/styles/themes/astro/customProperties/icons.js +25 -10
  19. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +36 -7
  20. package/lib/cjs/styles/themes/astro/customProperties/navBarIcons.d.ts +6 -0
  21. package/lib/cjs/styles/themes/astro/customProperties/navBarIcons.js +145 -0
  22. package/lib/cjs/styles/themes/astro/customProperties/tShirtSizes.d.ts +1 -0
  23. package/lib/cjs/styles/themes/astro/customProperties/tShirtSizes.js +1 -0
  24. package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +37 -9
  25. package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +28 -10
  26. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +36 -7
  27. package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.d.ts +1 -0
  28. package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +2 -1
  29. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +44 -0
  30. package/lib/cjs/styles/themes/next-gen/next-gen.js +2 -0
  31. package/lib/cjs/styles/themes/next-gen/variants/navbar.d.ts +2 -0
  32. package/lib/cjs/styles/themes/next-gen/variants/navbar.js +2 -0
  33. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +2 -0
  34. package/lib/cjs/types/shared/style.d.ts +1 -1
  35. package/lib/cjs/utils/devUtils/constants/tShirtSizes.d.ts +1 -0
  36. package/lib/cjs/utils/devUtils/constants/tShirtSizes.js +2 -1
  37. package/lib/components/AstroProvider/AstroProvider.js +12 -7
  38. package/lib/components/NavBar/stories/NavBar.Onyx.stories.js +13 -0
  39. package/lib/components/NavBar/stories/NavBarNextGenComponent.js +26 -30
  40. package/lib/components/NavBarSection/NavBarItemHeader.js +1 -1
  41. package/lib/hooks/useGetTheme/useGetTheme.js +14 -10
  42. package/lib/index.js +1 -0
  43. package/lib/styles/theme.js +2 -0
  44. package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +2 -0
  45. package/lib/styles/themeOverrides/onyxSideNav.js +229 -0
  46. package/lib/styles/themes/astro/customProperties/icons.js +25 -10
  47. package/lib/styles/themes/astro/customProperties/navBarIcons.js +136 -0
  48. package/lib/styles/themes/astro/customProperties/tShirtSizes.js +1 -0
  49. package/lib/styles/themes/next-gen/customProperties/icons.js +28 -10
  50. package/lib/styles/themes/next-gen/customProperties/tShirtSizes.js +2 -1
  51. package/lib/styles/themes/next-gen/next-gen.js +2 -0
  52. package/lib/styles/themes/next-gen/variants/navbar.js +2 -0
  53. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  54. package/lib/utils/devUtils/constants/tShirtSizes.js +2 -1
  55. package/package.json +1 -1
@@ -1,14 +1,42 @@
1
1
  declare const _default: {
2
2
  pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
3
- ErrorCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
4
- WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
5
- DefaultCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
6
- SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
3
+ aic: (props: any) => import("react/jsx-runtime").JSX.Element;
4
+ applicationsIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
5
+ Ascending: import("@pingux/mdi-react").MdiReactIconComponentType;
6
+ authenticationIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
7
+ clipboard: import("@pingux/mdi-react").MdiReactIconComponentType;
7
8
  CreateIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
9
+ daVinci: import("@pingux/mdi-react").MdiReactIconComponentType;
10
+ DefaultCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
11
+ Descending: import("@pingux/mdi-react").MdiReactIconComponentType;
12
+ ErrorCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
13
+ integrationsIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
14
+ listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
15
+ mdiAccountCog: import("@pingux/mdi-react").MdiReactIconComponentType;
16
+ mdiAccountMultiple: import("@pingux/mdi-react").MdiReactIconComponentType;
17
+ mdiEarth: import("@pingux/mdi-react").MdiReactIconComponentType;
18
+ mdiEmoticonHappyOutline: import("@pingux/mdi-react").MdiReactIconComponentType;
19
+ mdiFingerprint: import("@pingux/mdi-react").MdiReactIconComponentType;
20
+ mdiPlayCircleIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
21
+ mdiScaleBalance: import("@pingux/mdi-react").MdiReactIconComponentType;
22
+ mdiShoCard: import("@pingux/mdi-react").MdiReactIconComponentType;
23
+ mdiTransitConnectionVariant: import("@pingux/mdi-react").MdiReactIconComponentType;
24
+ mdiViewDashboard: import("@pingux/mdi-react").MdiReactIconComponentType;
25
+ mdiWeb: import("@pingux/mdi-react").MdiReactIconComponentType;
8
26
  MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
9
27
  MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
10
- listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
11
- Ascending: import("@pingux/mdi-react").MdiReactIconComponentType;
12
- Descending: import("@pingux/mdi-react").MdiReactIconComponentType;
28
+ monitoringIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
29
+ openInNew: import("@pingux/mdi-react").MdiReactIconComponentType;
30
+ overviewIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
31
+ p1verify: import("@pingux/mdi-react").MdiReactIconComponentType;
32
+ pam: (props: any) => import("react/jsx-runtime").JSX.Element;
33
+ PingAuthorize: import("@pingux/mdi-react").MdiReactIconComponentType;
34
+ protect: (props: any) => import("react/jsx-runtime").JSX.Element;
35
+ rocketLaunchIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
36
+ shareFeedbackIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
37
+ shieldStar: import("@pingux/mdi-react").MdiReactIconComponentType;
38
+ SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
39
+ userExperienceIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
40
+ WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
13
41
  };
14
42
  export default _default;
@@ -3,16 +3,44 @@ export declare const nextGenDarkThemeValues: {
3
3
  iFrameContentDivBackgroundColor: string;
4
4
  icons: {
5
5
  pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
6
- ErrorCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
7
- WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
8
- DefaultCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
9
- SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
6
+ aic: (props: any) => import("react/jsx-runtime").JSX.Element;
7
+ applicationsIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
8
+ Ascending: import("@pingux/mdi-react").MdiReactIconComponentType;
9
+ authenticationIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
10
+ clipboard: import("@pingux/mdi-react").MdiReactIconComponentType;
10
11
  CreateIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
12
+ daVinci: import("@pingux/mdi-react").MdiReactIconComponentType;
13
+ DefaultCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
14
+ Descending: import("@pingux/mdi-react").MdiReactIconComponentType;
15
+ ErrorCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
16
+ integrationsIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
17
+ listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
18
+ mdiAccountCog: import("@pingux/mdi-react").MdiReactIconComponentType;
19
+ mdiAccountMultiple: import("@pingux/mdi-react").MdiReactIconComponentType;
20
+ mdiEarth: import("@pingux/mdi-react").MdiReactIconComponentType;
21
+ mdiEmoticonHappyOutline: import("@pingux/mdi-react").MdiReactIconComponentType;
22
+ mdiFingerprint: import("@pingux/mdi-react").MdiReactIconComponentType;
23
+ mdiPlayCircleIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
24
+ mdiScaleBalance: import("@pingux/mdi-react").MdiReactIconComponentType;
25
+ mdiShoCard: import("@pingux/mdi-react").MdiReactIconComponentType;
26
+ mdiTransitConnectionVariant: import("@pingux/mdi-react").MdiReactIconComponentType;
27
+ mdiViewDashboard: import("@pingux/mdi-react").MdiReactIconComponentType;
28
+ mdiWeb: import("@pingux/mdi-react").MdiReactIconComponentType;
11
29
  MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
12
30
  MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
13
- listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
14
- Ascending: import("@pingux/mdi-react").MdiReactIconComponentType;
15
- Descending: import("@pingux/mdi-react").MdiReactIconComponentType;
31
+ monitoringIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
32
+ openInNew: import("@pingux/mdi-react").MdiReactIconComponentType;
33
+ overviewIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
34
+ p1verify: import("@pingux/mdi-react").MdiReactIconComponentType;
35
+ pam: (props: any) => import("react/jsx-runtime").JSX.Element;
36
+ PingAuthorize: import("@pingux/mdi-react").MdiReactIconComponentType;
37
+ protect: (props: any) => import("react/jsx-runtime").JSX.Element;
38
+ rocketLaunchIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
39
+ shareFeedbackIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
40
+ shieldStar: import("@pingux/mdi-react").MdiReactIconComponentType;
41
+ SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
42
+ userExperienceIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
43
+ WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
16
44
  };
17
45
  defaultIconColor: string;
18
46
  copyButtonSize: import("../../../..").IconSize;
@@ -39,6 +67,7 @@ export declare const nextGenDarkThemeValues: {
39
67
  'icon-700': string;
40
68
  'icon-800': string;
41
69
  'icon-900': string;
70
+ xsm: string;
42
71
  };
43
72
  iconBadgeCircleColor: string;
44
73
  iconWrapperSizes: {
@@ -9,6 +9,7 @@ exports["default"] = void 0;
9
9
  var _themeUi = require("theme-ui");
10
10
  var _themes = require("../../../utils/devUtils/constants/themes");
11
11
  var _nextGen = _interopRequireDefault(require("../../themes/next-gen"));
12
+ var _icons = _interopRequireDefault(require("./customProperties/icons"));
12
13
  var _badges = _interopRequireDefault(require("./variants/badges"));
13
14
  var _buttons = _interopRequireDefault(require("./variants/buttons"));
14
15
  var _cards = _interopRequireDefault(require("./variants/cards"));
@@ -18,6 +19,7 @@ var _text = require("./variants/text");
18
19
  var _variants = _interopRequireDefault(require("./variants/variants"));
19
20
  var _colors = require("./colors");
20
21
  var override = {
22
+ icons: _icons["default"],
21
23
  forms: _forms["default"],
22
24
  colors: _colors.colors,
23
25
  variants: _variants["default"],
@@ -0,0 +1,269 @@
1
+ export declare const navBarSelected: {
2
+ backgroundColor: string;
3
+ boxShadow: string;
4
+ };
5
+ export declare const navBarFocus: {
6
+ outline: string;
7
+ outlineColor: string;
8
+ outlineOffset: string;
9
+ };
10
+ declare const _default: {
11
+ variants: {
12
+ navBar: {
13
+ container: {
14
+ fontFamily: string;
15
+ width: string;
16
+ p: string;
17
+ backgroundColor: string;
18
+ boxShadow: string;
19
+ };
20
+ sectionContainer: {
21
+ pt: string;
22
+ };
23
+ sectionButton: {
24
+ borderRadius: string;
25
+ mb: string;
26
+ height: string;
27
+ '&.is-hovered': {
28
+ backgroundColor: string;
29
+ };
30
+ '&.is-pressed': {
31
+ backgroundColor: string;
32
+ };
33
+ '&.is-focused': {
34
+ outline: string;
35
+ outlineColor: string;
36
+ outlineOffset: string;
37
+ };
38
+ ':focus': {
39
+ border: string;
40
+ };
41
+ '&:not(.disabled):hover': {
42
+ borderRadius: string;
43
+ mb: string;
44
+ height: string;
45
+ '&.is-hovered': {
46
+ backgroundColor: string;
47
+ };
48
+ '&.is-pressed': {
49
+ backgroundColor: string;
50
+ };
51
+ '&.is-focused': {
52
+ outline: string;
53
+ outlineColor: string;
54
+ outlineOffset: string;
55
+ };
56
+ backgroundColor: string;
57
+ };
58
+ };
59
+ itemButton: {
60
+ py: string;
61
+ paddingLeft: string;
62
+ color: string;
63
+ borderRadius: string;
64
+ fontWeight: number;
65
+ fontSize: string;
66
+ mb: string;
67
+ '&:not(.disabled)': {
68
+ fontWeight: number;
69
+ };
70
+ '&:not(.disabled):hover': {
71
+ color: string;
72
+ py: string;
73
+ paddingLeft: string;
74
+ borderRadius: string;
75
+ fontWeight: number;
76
+ fontSize: string;
77
+ mb: string;
78
+ '&.is-focused': {
79
+ outline: string;
80
+ outlineColor: string;
81
+ outlineOffset: string;
82
+ };
83
+ '&.is-hovered': {
84
+ backgroundColor: string;
85
+ fontWeight: number;
86
+ };
87
+ ':focus': {
88
+ border: string;
89
+ };
90
+ '&.is-pressed': {
91
+ backgroundColor: string;
92
+ color: string;
93
+ };
94
+ '&.is-selected': {
95
+ backgroundColor: string;
96
+ boxShadow: string;
97
+ color: string;
98
+ };
99
+ };
100
+ '&.is-focused': {
101
+ outline: string;
102
+ outlineColor: string;
103
+ outlineOffset: string;
104
+ };
105
+ '&.is-hovered': {
106
+ backgroundColor: string;
107
+ };
108
+ ':focus': {
109
+ border: string;
110
+ };
111
+ '&.is-pressed': {
112
+ backgroundColor: string;
113
+ color: string;
114
+ };
115
+ '&.is-selected': {
116
+ backgroundColor: string;
117
+ boxShadow: string;
118
+ color: string;
119
+ };
120
+ };
121
+ subtitle: {
122
+ color: string;
123
+ marginLeft: string;
124
+ textTransform: string;
125
+ fontSize: string;
126
+ letterSpacing: string;
127
+ };
128
+ headerText: {
129
+ color: string;
130
+ fontWeight: number;
131
+ fontSize: string;
132
+ ml: string;
133
+ mr: string;
134
+ maxWidth: string;
135
+ '.is-selected &': {
136
+ color: string;
137
+ };
138
+ };
139
+ headerNav: {
140
+ borderRadius: string;
141
+ color: string;
142
+ '&.is-hovered': {
143
+ backgroundColor: string;
144
+ };
145
+ '&.is-focused': {
146
+ boxShadow: string;
147
+ WebkitBoxShadow: string;
148
+ MozBoxShadow: string;
149
+ };
150
+ };
151
+ item: {
152
+ px: string;
153
+ py: string;
154
+ color: string;
155
+ borderRadius: string;
156
+ mb: string;
157
+ '&.is-hovered': {
158
+ backgroundColor: string;
159
+ };
160
+ '> div > svg': {
161
+ fill: string;
162
+ };
163
+ '&.is-pressed': {
164
+ backgroundColor: string;
165
+ };
166
+ '&.is-selected': {
167
+ '> div > svg': {
168
+ fill: string;
169
+ };
170
+ backgroundColor: string;
171
+ boxShadow: string;
172
+ };
173
+ '&.is-focused': {
174
+ outline: string;
175
+ outlineColor: string;
176
+ outlineOffset: string;
177
+ boxShadow: string;
178
+ WebkitBoxShadow: string;
179
+ MozBoxShadow: string;
180
+ };
181
+ };
182
+ itemHeaderContainer: {
183
+ boxShadow: string;
184
+ maxWidth: string;
185
+ px: string;
186
+ borderRadius: string;
187
+ py: string;
188
+ '&.is-selected': {
189
+ '> svg': {
190
+ fill: string;
191
+ };
192
+ '> div > svg': {
193
+ fill: string;
194
+ };
195
+ backgroundColor: string;
196
+ boxShadow: string;
197
+ };
198
+ backgroundColor: string;
199
+ '> svg': {
200
+ fill: string;
201
+ };
202
+ '> div > svg': {
203
+ fill: string;
204
+ };
205
+ };
206
+ navBarItemBody: {
207
+ mb: string;
208
+ };
209
+ };
210
+ separator: {
211
+ navBarSeparator: {
212
+ my: string;
213
+ mx: string;
214
+ maxWidth: string;
215
+ backgroundColor: string;
216
+ };
217
+ };
218
+ };
219
+ icons: {
220
+ test: string;
221
+ MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
222
+ MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
223
+ pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
224
+ aic: (props: any) => import("react/jsx-runtime").JSX.Element;
225
+ applicationsIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
226
+ Ascending: import("@pingux/mdi-react").MdiReactIconComponentType;
227
+ authenticationIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
228
+ clipboard: import("@pingux/mdi-react").MdiReactIconComponentType;
229
+ CreateIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
230
+ daVinci: import("@pingux/mdi-react").MdiReactIconComponentType;
231
+ DefaultCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
232
+ Descending: import("@pingux/mdi-react").MdiReactIconComponentType;
233
+ ErrorCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
234
+ integrationsIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
235
+ listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
236
+ mdiAccountCog: import("@pingux/mdi-react").MdiReactIconComponentType;
237
+ mdiAccountMultiple: import("@pingux/mdi-react").MdiReactIconComponentType;
238
+ mdiEarth: import("@pingux/mdi-react").MdiReactIconComponentType;
239
+ mdiEmoticonHappyOutline: import("@pingux/mdi-react").MdiReactIconComponentType;
240
+ mdiFingerprint: import("@pingux/mdi-react").MdiReactIconComponentType;
241
+ mdiPlayCircleIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
242
+ mdiScaleBalance: import("@pingux/mdi-react").MdiReactIconComponentType;
243
+ mdiShoCard: import("@pingux/mdi-react").MdiReactIconComponentType;
244
+ mdiTransitConnectionVariant: import("@pingux/mdi-react").MdiReactIconComponentType;
245
+ mdiViewDashboard: import("@pingux/mdi-react").MdiReactIconComponentType;
246
+ mdiWeb: import("@pingux/mdi-react").MdiReactIconComponentType;
247
+ monitoringIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
248
+ openInNew: import("@pingux/mdi-react").MdiReactIconComponentType;
249
+ overviewIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
250
+ p1verify: import("@pingux/mdi-react").MdiReactIconComponentType;
251
+ pam: (props: any) => import("react/jsx-runtime").JSX.Element;
252
+ PingAuthorize: import("@pingux/mdi-react").MdiReactIconComponentType;
253
+ protect: (props: any) => import("react/jsx-runtime").JSX.Element;
254
+ rocketLaunchIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
255
+ shareFeedbackIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
256
+ shieldStar: import("@pingux/mdi-react").MdiReactIconComponentType;
257
+ SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
258
+ userExperienceIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
259
+ WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
260
+ };
261
+ tShirtSizes: {
262
+ xxs: number;
263
+ xs: number;
264
+ sm: number;
265
+ md: number;
266
+ xsm: number;
267
+ };
268
+ };
269
+ export default _default;
@@ -0,0 +1,236 @@
1
+ "use strict";
2
+
3
+ var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
4
+ var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
5
+ var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
6
+ var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
7
+ var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
8
+ var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
9
+ var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
10
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
11
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
12
+ _Object$defineProperty(exports, "__esModule", {
13
+ value: true
14
+ });
15
+ exports.navBarSelected = exports.navBarFocus = exports["default"] = void 0;
16
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
17
+ var _ChevronDownIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronDownIcon"));
18
+ var _ChevronUpIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronUpIcon"));
19
+ var _logos = require("../../utils/devUtils/constants/logos");
20
+ var _icons = _interopRequireDefault(require("../themes/next-gen/customProperties/icons"));
21
+ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
23
+ var navBarSelected = exports.navBarSelected = {
24
+ backgroundColor: 'rgba(229, 233, 248, .6)',
25
+ boxShadow: 'none'
26
+ };
27
+ var navBarFocus = exports.navBarFocus = {
28
+ outline: '2px solid',
29
+ outlineColor: 'active',
30
+ outlineOffset: '-2px'
31
+ };
32
+ var navBar = {
33
+ container: {
34
+ fontFamily: 'standard',
35
+ width: '230px',
36
+ p: '8px',
37
+ backgroundColor: 'white',
38
+ boxShadow: '0 .5rem 1rem rgba(0, 0, 0, .15)'
39
+ },
40
+ sectionContainer: {
41
+ pt: '0'
42
+ },
43
+ sectionButton: {
44
+ borderRadius: '4px',
45
+ mb: '2px',
46
+ height: 'unset',
47
+ '&.is-hovered': {
48
+ backgroundColor: '#f6f8fa'
49
+ },
50
+ '&.is-pressed': {
51
+ backgroundColor: '#e5e9f8'
52
+ },
53
+ '&.is-focused': _objectSpread({}, navBarFocus),
54
+ ':focus': {
55
+ border: 'none'
56
+ },
57
+ '&:not(.disabled):hover': {
58
+ borderRadius: '4px',
59
+ mb: '2px',
60
+ height: 'unset',
61
+ '&.is-hovered': {
62
+ backgroundColor: '#f6f8fa'
63
+ },
64
+ '&.is-pressed': {
65
+ backgroundColor: '#e5e9f8'
66
+ },
67
+ '&.is-focused': _objectSpread({}, navBarFocus),
68
+ backgroundColor: '#f6f8fa'
69
+ }
70
+ },
71
+ itemButton: {
72
+ py: '.75rem',
73
+ paddingLeft: '50px',
74
+ color: '#455469',
75
+ borderRadius: '4px',
76
+ fontWeight: 0,
77
+ fontSize: '14px',
78
+ mb: '2px',
79
+ '&:not(.disabled)': {
80
+ fontWeight: 0
81
+ },
82
+ '&:not(.disabled):hover': {
83
+ color: '#455469',
84
+ py: '.75rem',
85
+ paddingLeft: '50px',
86
+ borderRadius: '4px',
87
+ fontWeight: 0,
88
+ fontSize: '14px',
89
+ mb: '2px',
90
+ '&.is-focused': _objectSpread({}, navBarFocus),
91
+ '&.is-hovered': {
92
+ backgroundColor: '#f6f8fa',
93
+ fontWeight: 0
94
+ },
95
+ ':focus': {
96
+ border: 'none'
97
+ },
98
+ '&.is-pressed': {
99
+ backgroundColor: '#e5e9f8',
100
+ color: '#455469'
101
+ },
102
+ '&.is-selected': {
103
+ backgroundColor: 'rgba(229, 233, 248, .6)',
104
+ boxShadow: 'none',
105
+ color: 'accent.40'
106
+ }
107
+ },
108
+ '&.is-focused': _objectSpread({}, navBarFocus),
109
+ '&.is-hovered': {
110
+ backgroundColor: '#f6f8fa'
111
+ },
112
+ ':focus': {
113
+ border: 'none'
114
+ },
115
+ '&.is-pressed': {
116
+ backgroundColor: '#e5e9f8',
117
+ color: '#455469'
118
+ },
119
+ '&.is-selected': {
120
+ backgroundColor: 'rgba(229, 233, 248, .6)',
121
+ boxShadow: 'none',
122
+ color: 'accent.40'
123
+ }
124
+ },
125
+ subtitle: {
126
+ color: '#455469',
127
+ marginLeft: '50px !important',
128
+ textTransform: 'uppercase',
129
+ fontSize: '12px',
130
+ letterSpacing: '1px'
131
+ },
132
+ headerText: {
133
+ color: '#455469',
134
+ fontWeight: 0,
135
+ fontSize: '14px',
136
+ ml: '6px',
137
+ mr: '8px',
138
+ maxWidth: '122px',
139
+ '.is-selected &': {
140
+ color: 'accent.40'
141
+ }
142
+ },
143
+ headerNav: {
144
+ borderRadius: '4px',
145
+ color: 'text.primary',
146
+ '&.is-hovered': {
147
+ backgroundColor: '#f6f8fa'
148
+ },
149
+ '&.is-focused': {
150
+ boxShadow: 'none',
151
+ WebkitBoxShadow: 'none',
152
+ MozBoxShadow: 'none'
153
+ }
154
+ },
155
+ item: {
156
+ px: '1rem',
157
+ py: '.75rem',
158
+ color: '#455469',
159
+ borderRadius: '4px',
160
+ mb: '2px',
161
+ '&.is-hovered': {
162
+ backgroundColor: '#f6f8fa'
163
+ },
164
+ '> div > svg': {
165
+ fill: '#455469'
166
+ },
167
+ '&.is-pressed': {
168
+ backgroundColor: '#e5e9f8'
169
+ },
170
+ '&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
171
+ '> div > svg': {
172
+ fill: 'accent.40'
173
+ }
174
+ }),
175
+ '&.is-focused': {
176
+ outline: '2px solid',
177
+ outlineColor: 'active',
178
+ outlineOffset: '-2px',
179
+ boxShadow: 'none',
180
+ WebkitBoxShadow: 'none',
181
+ MozBoxShadow: 'none'
182
+ }
183
+ },
184
+ itemHeaderContainer: {
185
+ boxShadow: 'none',
186
+ maxWidth: '236px',
187
+ px: '1rem',
188
+ borderRadius: '4px',
189
+ py: '.75rem',
190
+ '&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
191
+ '> svg': {
192
+ fill: 'accent.40'
193
+ },
194
+ '> div > svg': {
195
+ fill: '#4462ED !important'
196
+ }
197
+ }),
198
+ backgroundColor: 'transparent',
199
+ '> svg': {
200
+ fill: '#455469'
201
+ },
202
+ '> div > svg': {
203
+ fill: '#455469'
204
+ }
205
+ },
206
+ navBarItemBody: {
207
+ mb: '0px !important'
208
+ }
209
+ };
210
+ var separator = {
211
+ navBarSeparator: {
212
+ my: '.5rem',
213
+ mx: '0px',
214
+ maxWidth: '236px',
215
+ backgroundColor: '#e7eef4'
216
+ }
217
+ };
218
+ var _default = exports["default"] = {
219
+ variants: {
220
+ navBar: navBar,
221
+ separator: separator
222
+ },
223
+ icons: _objectSpread(_objectSpread({}, _icons["default"]), {}, {
224
+ test: 'test',
225
+ MenuDown: _ChevronDownIcon["default"],
226
+ MenuUp: _ChevronUpIcon["default"],
227
+ pingLogoHorizontalSmall: _logos.pingLogoHorizontalSmall
228
+ }),
229
+ tShirtSizes: {
230
+ xxs: 9,
231
+ xs: 15,
232
+ sm: 20,
233
+ md: 25,
234
+ 'xsm': 16
235
+ }
236
+ };