@pingux/astro 2.199.1-alpha.0 → 2.200.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/Button/Buttons.styles.d.ts +86 -0
- package/lib/cjs/components/Button/Buttons.styles.js +12 -2
- package/lib/cjs/components/LinkSelectField/LinkSelectField.js +15 -12
- package/lib/cjs/components/ListBox/ListBoxSection.js +1 -3
- package/lib/cjs/components/ListBox/Option.js +1 -1
- package/lib/cjs/components/Separator/Separator.styles.js +2 -2
- package/lib/cjs/components/Text/Text.styles.d.ts +11 -0
- package/lib/cjs/components/Text/Text.styles.js +12 -7
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.d.ts +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.js +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +2 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +1 -3
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +3 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +1 -1
- package/lib/cjs/styles/themes/next-gen/forms.d.ts +2 -4
- package/lib/cjs/styles/themes/next-gen/forms.js +1 -2
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +46 -17
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +25 -1
- package/lib/cjs/styles/themes/next-gen/variants/button.js +23 -2
- package/lib/cjs/styles/themes/next-gen/variants/menu.d.ts +0 -2
- package/lib/cjs/styles/themes/next-gen/variants/menu.js +1 -3
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.d.ts +3 -0
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.js +4 -1
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +8 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +13 -14
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +10 -12
- package/lib/components/Button/Buttons.styles.js +11 -1
- package/lib/components/LinkSelectField/LinkSelectField.js +14 -11
- package/lib/components/ListBox/ListBoxSection.js +1 -3
- package/lib/components/ListBox/Option.js +1 -1
- package/lib/components/Separator/Separator.styles.js +2 -2
- package/lib/components/Text/Text.styles.js +12 -7
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/menu.js +1 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +1 -3
- package/lib/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/styles/themes/next-gen/customProperties/customSizes.js +3 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +1 -1
- package/lib/styles/themes/next-gen/forms.js +1 -2
- package/lib/styles/themes/next-gen/variants/button.js +23 -2
- package/lib/styles/themes/next-gen/variants/menu.js +1 -3
- package/lib/styles/themes/next-gen/variants/popoverMenu.js +4 -1
- package/lib/styles/themes/next-gen/variants/text.js +8 -1
- package/lib/styles/themes/next-gen/variants/variants.js +10 -12
- package/package.json +1 -1
|
@@ -474,7 +474,7 @@ declare const buttons: {
|
|
|
474
474
|
transition: string;
|
|
475
475
|
};
|
|
476
476
|
link: {
|
|
477
|
-
color:
|
|
477
|
+
color: any;
|
|
478
478
|
transition: string;
|
|
479
479
|
fontSize: string;
|
|
480
480
|
textDecoration: string;
|
|
@@ -1482,5 +1482,29 @@ declare const buttons: {
|
|
|
1482
1482
|
};
|
|
1483
1483
|
transition: string;
|
|
1484
1484
|
};
|
|
1485
|
+
selectLink: {
|
|
1486
|
+
textDecoration: string;
|
|
1487
|
+
px: string;
|
|
1488
|
+
'&.is-hovered': {
|
|
1489
|
+
textDecoration: string;
|
|
1490
|
+
};
|
|
1491
|
+
'&.is-pressed': {
|
|
1492
|
+
textDecoration: string;
|
|
1493
|
+
};
|
|
1494
|
+
'&.is-focused': {
|
|
1495
|
+
textDecoration: string;
|
|
1496
|
+
outline: string;
|
|
1497
|
+
'span.link-select-field-placeholder': {
|
|
1498
|
+
textDecoration: string;
|
|
1499
|
+
};
|
|
1500
|
+
'span.material-symbols-outlined': {
|
|
1501
|
+
textDecoration: string;
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
color: any;
|
|
1505
|
+
transition: string;
|
|
1506
|
+
fontSize: string;
|
|
1507
|
+
py: any;
|
|
1508
|
+
};
|
|
1485
1509
|
};
|
|
1486
1510
|
export default buttons;
|
|
@@ -233,7 +233,7 @@ var checkboxActiveButton = _objectSpread(_objectSpread({}, buttonBase), {}, {
|
|
|
233
233
|
color: 'white'
|
|
234
234
|
});
|
|
235
235
|
var link = {
|
|
236
|
-
color:
|
|
236
|
+
color: _onyxTokens.astroTokens.color.font.link,
|
|
237
237
|
transition: 'color, .15s, ease-in-and-out',
|
|
238
238
|
fontSize: 'md',
|
|
239
239
|
textDecoration: 'none',
|
|
@@ -249,6 +249,26 @@ var link = {
|
|
|
249
249
|
outline: 'none'
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
|
+
var selectLink = _objectSpread(_objectSpread({}, link), {}, {
|
|
253
|
+
textDecoration: 'none',
|
|
254
|
+
px: '0',
|
|
255
|
+
'&.is-hovered': {
|
|
256
|
+
textDecoration: 'none'
|
|
257
|
+
},
|
|
258
|
+
'&.is-pressed': {
|
|
259
|
+
textDecoration: 'none'
|
|
260
|
+
},
|
|
261
|
+
'&.is-focused': {
|
|
262
|
+
textDecoration: 'none',
|
|
263
|
+
outline: 'none',
|
|
264
|
+
'span.link-select-field-placeholder': {
|
|
265
|
+
textDecoration: 'underline'
|
|
266
|
+
},
|
|
267
|
+
'span.material-symbols-outlined': {
|
|
268
|
+
textDecoration: 'none'
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
});
|
|
252
272
|
var paginationMenu = _objectSpread(_objectSpread({}, link), {}, {
|
|
253
273
|
px: '0px',
|
|
254
274
|
py: '0px',
|
|
@@ -619,6 +639,7 @@ var buttons = {
|
|
|
619
639
|
modalCloseButton: modalCloseButton,
|
|
620
640
|
aiChat: aiChat,
|
|
621
641
|
paginationMenu: paginationMenu,
|
|
622
|
-
ButtonInputGroupContentRight: ButtonInputGroupContentRight
|
|
642
|
+
ButtonInputGroupContentRight: ButtonInputGroupContentRight,
|
|
643
|
+
selectLink: selectLink
|
|
623
644
|
};
|
|
624
645
|
var _default = exports["default"] = buttons;
|
|
@@ -7,9 +7,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.menuSection = exports.menuItem = exports.menu = void 0;
|
|
8
8
|
var _onyxTokens = require("@pingux/onyx-tokens");
|
|
9
9
|
var menu = exports.menu = {
|
|
10
|
-
p: 'sm'
|
|
11
|
-
border: '1px solid',
|
|
12
|
-
borderColor: 'border.base'
|
|
10
|
+
p: 'sm'
|
|
13
11
|
};
|
|
14
12
|
var menuSection = exports.menuSection = {
|
|
15
13
|
sectionTitle: {
|
|
@@ -9,8 +9,11 @@ var _onyxTokens = require("@pingux/onyx-tokens");
|
|
|
9
9
|
var container = {
|
|
10
10
|
minWidth: '150px',
|
|
11
11
|
maxWidth: '260px',
|
|
12
|
-
boxShadow: '0px 8px 16px 0px rgba(0, 0, 0, 0.
|
|
12
|
+
boxShadow: '0px 8px 16px 0px rgba(0, 0, 0, 0.18)',
|
|
13
13
|
transition: 'opacity 200ms ease',
|
|
14
|
+
border: '1px solid',
|
|
15
|
+
borderColor: _onyxTokens.astroTokens.color.common.border,
|
|
16
|
+
borderRadius: _onyxTokens.astroTokens.radius.md,
|
|
14
17
|
'&.animate': {
|
|
15
18
|
opacity: 0
|
|
16
19
|
},
|
|
@@ -126,6 +126,9 @@ var stepperTabContentHeader = _objectSpread(_objectSpread({}, hTags.H2), {}, {
|
|
|
126
126
|
var modalTitle = _objectSpread(_objectSpread({}, hTags.H3), {}, {
|
|
127
127
|
lineHeight: '2rem'
|
|
128
128
|
});
|
|
129
|
+
var label = {
|
|
130
|
+
fontSize: fontSizes.label
|
|
131
|
+
};
|
|
129
132
|
var text = exports.text = _objectSpread(_objectSpread({
|
|
130
133
|
base: {
|
|
131
134
|
lineHeight: 'body'
|
|
@@ -248,5 +251,9 @@ var text = exports.text = _objectSpread(_objectSpread({
|
|
|
248
251
|
lineHeight: 'body'
|
|
249
252
|
},
|
|
250
253
|
stepperTabContent: stepperTabContent,
|
|
251
|
-
stepperTabContentHeader: stepperTabContentHeader
|
|
254
|
+
stepperTabContentHeader: stepperTabContentHeader,
|
|
255
|
+
label: label,
|
|
256
|
+
linkSelectFieldLabel: _objectSpread(_objectSpread({}, label), {}, {
|
|
257
|
+
color: _onyxTokens.astroTokens.color.font.link
|
|
258
|
+
})
|
|
252
259
|
});
|
|
@@ -824,34 +824,32 @@ declare const _default: {
|
|
|
824
824
|
};
|
|
825
825
|
listBox: {
|
|
826
826
|
container: {
|
|
827
|
-
|
|
828
|
-
pr: number;
|
|
829
|
-
py: string;
|
|
827
|
+
p: any;
|
|
830
828
|
};
|
|
831
829
|
option: {
|
|
832
|
-
py:
|
|
833
|
-
pl:
|
|
834
|
-
pr:
|
|
835
|
-
mr: string;
|
|
830
|
+
py: any;
|
|
831
|
+
pl: any;
|
|
832
|
+
pr: any;
|
|
836
833
|
justifyContent: string;
|
|
837
|
-
borderRadius:
|
|
834
|
+
borderRadius: any;
|
|
838
835
|
lineHeight: string;
|
|
839
836
|
color: string;
|
|
840
837
|
'&.is-focused': {
|
|
841
838
|
color: string;
|
|
842
839
|
bg: string;
|
|
843
|
-
borderRadius:
|
|
840
|
+
borderRadius: any;
|
|
844
841
|
};
|
|
845
842
|
'&.is-focus-visible': {
|
|
846
843
|
boxShadow: string;
|
|
847
|
-
borderRadius:
|
|
844
|
+
borderRadius: any;
|
|
848
845
|
zIndex: number;
|
|
849
846
|
};
|
|
850
847
|
'&.is-selected': {
|
|
848
|
+
fontWeight: string;
|
|
851
849
|
color: string;
|
|
852
850
|
bg: string;
|
|
853
851
|
pl: string;
|
|
854
|
-
borderRadius:
|
|
852
|
+
borderRadius: any;
|
|
855
853
|
'&.is-focused': {
|
|
856
854
|
color: string;
|
|
857
855
|
};
|
|
@@ -864,7 +862,7 @@ declare const _default: {
|
|
|
864
862
|
bg: string;
|
|
865
863
|
};
|
|
866
864
|
'&.is-condensed': {
|
|
867
|
-
pl:
|
|
865
|
+
pl: any;
|
|
868
866
|
bg: string;
|
|
869
867
|
color: string;
|
|
870
868
|
'&.is-selected': {
|
|
@@ -1038,8 +1036,6 @@ declare const _default: {
|
|
|
1038
1036
|
};
|
|
1039
1037
|
menu: {
|
|
1040
1038
|
p: string;
|
|
1041
|
-
border: string;
|
|
1042
|
-
borderColor: string;
|
|
1043
1039
|
};
|
|
1044
1040
|
menuItem: {
|
|
1045
1041
|
item: {
|
|
@@ -1445,6 +1441,9 @@ declare const _default: {
|
|
|
1445
1441
|
maxWidth: string;
|
|
1446
1442
|
boxShadow: string;
|
|
1447
1443
|
transition: string;
|
|
1444
|
+
border: string;
|
|
1445
|
+
borderColor: any;
|
|
1446
|
+
borderRadius: any;
|
|
1448
1447
|
'&.animate': {
|
|
1449
1448
|
opacity: number;
|
|
1450
1449
|
};
|
|
@@ -160,34 +160,32 @@ var modal = {
|
|
|
160
160
|
};
|
|
161
161
|
var listBox = {
|
|
162
162
|
container: {
|
|
163
|
-
|
|
164
|
-
pr: 0,
|
|
165
|
-
py: 'xs'
|
|
163
|
+
p: _onyxTokens.astroTokens.spacing.sm
|
|
166
164
|
},
|
|
167
165
|
option: {
|
|
168
|
-
py:
|
|
169
|
-
pl:
|
|
170
|
-
pr:
|
|
171
|
-
mr: 'sm',
|
|
166
|
+
py: _onyxTokens.astroTokens.spacing['md-s'],
|
|
167
|
+
pl: _onyxTokens.astroTokens.spacing['md-s'],
|
|
168
|
+
pr: _onyxTokens.astroTokens.spacing.md,
|
|
172
169
|
justifyContent: 'space-between',
|
|
173
|
-
borderRadius:
|
|
170
|
+
borderRadius: _onyxTokens.astroTokens.radius.md,
|
|
174
171
|
lineHeight: 'body',
|
|
175
172
|
color: 'gray-700',
|
|
176
173
|
'&.is-focused': {
|
|
177
174
|
color: 'font.hover',
|
|
178
175
|
bg: 'gray-100',
|
|
179
|
-
borderRadius:
|
|
176
|
+
borderRadius: _onyxTokens.astroTokens.radius.md
|
|
180
177
|
},
|
|
181
178
|
'&.is-focus-visible': {
|
|
182
179
|
boxShadow: 'inset 0 0 0 1px #1a73e8',
|
|
183
|
-
borderRadius:
|
|
180
|
+
borderRadius: _onyxTokens.astroTokens.radius.md,
|
|
184
181
|
zIndex: 1
|
|
185
182
|
},
|
|
186
183
|
'&.is-selected': {
|
|
184
|
+
fontWeight: '0',
|
|
187
185
|
color: 'black',
|
|
188
186
|
bg: 'lightblue',
|
|
189
187
|
pl: '.75rem',
|
|
190
|
-
borderRadius:
|
|
188
|
+
borderRadius: _onyxTokens.astroTokens.radius.md,
|
|
191
189
|
'&.is-focused': {
|
|
192
190
|
color: 'text.primary'
|
|
193
191
|
},
|
|
@@ -200,7 +198,7 @@ var listBox = {
|
|
|
200
198
|
bg: 'lightblue'
|
|
201
199
|
},
|
|
202
200
|
'&.is-condensed': {
|
|
203
|
-
pl:
|
|
201
|
+
pl: _onyxTokens.astroTokens.spacing.md,
|
|
204
202
|
bg: 'backgroundBase',
|
|
205
203
|
color: 'gray-700',
|
|
206
204
|
'&.is-selected': {
|
|
@@ -174,6 +174,15 @@ export var link = _objectSpread(_objectSpread({}, text), {}, {
|
|
|
174
174
|
},
|
|
175
175
|
'&.is-focused': _objectSpread({}, focusWithCroppedOutline)
|
|
176
176
|
});
|
|
177
|
+
export var selectLink = _objectSpread(_objectSpread({}, link), {}, {
|
|
178
|
+
textDecoration: 'none',
|
|
179
|
+
'&.is-hovered': {
|
|
180
|
+
textDecoration: 'none'
|
|
181
|
+
},
|
|
182
|
+
'&.is-pressed': {
|
|
183
|
+
textDecoration: 'none'
|
|
184
|
+
}
|
|
185
|
+
});
|
|
177
186
|
var listBoxLink = _objectSpread({}, link);
|
|
178
187
|
var defaultVariant = _objectSpread(_objectSpread({}, base), {}, {
|
|
179
188
|
bg: 'white',
|
|
@@ -328,5 +337,6 @@ export default {
|
|
|
328
337
|
success: success,
|
|
329
338
|
withIcon: withIcon,
|
|
330
339
|
filter: filter,
|
|
331
|
-
searchNavTabLabel: tabLabelButton
|
|
340
|
+
searchNavTabLabel: tabLabelButton,
|
|
341
|
+
selectLink: selectLink
|
|
332
342
|
};
|
|
@@ -13,7 +13,6 @@ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymb
|
|
|
13
13
|
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) { _defineProperty(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; }
|
|
14
14
|
import React, { forwardRef } from 'react';
|
|
15
15
|
import { VisuallyHidden } from 'react-aria';
|
|
16
|
-
import MenuDown from '@pingux/mdi-react/MenuDownIcon';
|
|
17
16
|
import PropTypes from 'prop-types';
|
|
18
17
|
import { v4 as uuid } from 'uuid';
|
|
19
18
|
import { Box, Button, Icon, Loader, Text } from '../..';
|
|
@@ -38,9 +37,10 @@ var LinkSelectField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
38
37
|
var _getAriaAttributeProp = getAriaAttributeProps(props),
|
|
39
38
|
ariaProps = _getAriaAttributeProp.ariaProps;
|
|
40
39
|
var _useGetTheme = useGetTheme(),
|
|
40
|
+
isOnyx = _useGetTheme.themeState.isOnyx,
|
|
41
41
|
linkSelectFieldWidth = _useGetTheme.linkSelectFieldWidth,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
linkSelectFieldIcon = _useGetTheme.linkSelectFieldIcon,
|
|
43
|
+
MenuDown = _useGetTheme.icons.MenuDown;
|
|
44
44
|
var helperTextId = uuid();
|
|
45
45
|
usePropWarning(props, 'disabled', 'isDisabled');
|
|
46
46
|
var _useSelectField = useSelectField(_objectSpread(_objectSpread({
|
|
@@ -60,13 +60,13 @@ var LinkSelectField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
60
60
|
var trigger = ___EmotionJSX(Button, _extends({
|
|
61
61
|
className: fieldControlInputProps.className,
|
|
62
62
|
ref: triggerRef,
|
|
63
|
-
variant: "
|
|
63
|
+
variant: "selectLink",
|
|
64
64
|
tabIndex: isDisabled ? -1 : 0
|
|
65
65
|
}, getPendoID(displayName), triggerProps, raTriggerProps, ariaProps, {
|
|
66
66
|
"aria-describedby": helperText && helperTextId
|
|
67
67
|
}), ___EmotionJSX(Text, {
|
|
68
|
-
variant: "
|
|
69
|
-
|
|
68
|
+
variant: "linkSelectFieldLabel",
|
|
69
|
+
className: "link-select-field-placeholder"
|
|
70
70
|
}, placeholder), ___EmotionJSX(Box, {
|
|
71
71
|
isRow: true
|
|
72
72
|
}, hasInlineLoader && isLoadingInitial && ___EmotionJSX(Loader, {
|
|
@@ -78,12 +78,15 @@ var LinkSelectField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
78
78
|
}, ___EmotionJSX(Icon, _extends({
|
|
79
79
|
icon: MenuDown,
|
|
80
80
|
title: {
|
|
81
|
-
name: '
|
|
82
|
-
}
|
|
81
|
+
name: ''
|
|
82
|
+
},
|
|
83
|
+
color: isOnyx ? 'font.link' : 'active',
|
|
84
|
+
size: linkSelectFieldIcon
|
|
83
85
|
}, iconProps, {
|
|
84
|
-
sx:
|
|
85
|
-
transform: 'rotate(180deg)'
|
|
86
|
-
|
|
86
|
+
sx: _objectSpread({
|
|
87
|
+
transform: state.isOpen ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
88
|
+
transition: 'transform 150ms ease'
|
|
89
|
+
}, iconProps === null || iconProps === void 0 ? void 0 : iconProps.sx)
|
|
87
90
|
})))), ___EmotionJSX(VisuallyHidden, {
|
|
88
91
|
"aria-live": "polite",
|
|
89
92
|
id: helperTextId
|
|
@@ -30,9 +30,7 @@ var ListBoxSection = function ListBoxSection(props) {
|
|
|
30
30
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, {
|
|
31
31
|
ref: headerRef,
|
|
32
32
|
style: layoutInfoToStyle(header.layoutInfo, direction)
|
|
33
|
-
}, item.key !== state.collection.getFirstKey() && ___EmotionJSX(Separator, {
|
|
34
|
-
mt: "0px"
|
|
35
|
-
}), item.rendered && ___EmotionJSX(Box, _extends({}, headingProps, {
|
|
33
|
+
}, item.key !== state.collection.getFirstKey() && ___EmotionJSX(Separator, null), item.rendered && ___EmotionJSX(Box, _extends({}, headingProps, {
|
|
36
34
|
variant: "listBox.sectionTitle"
|
|
37
35
|
}), item.rendered)), ___EmotionJSX(Box, _extends({}, groupProps, {
|
|
38
36
|
style: layoutInfoToStyle(reusableView.layoutInfo, direction)
|
|
@@ -13,12 +13,12 @@ var base = {
|
|
|
13
13
|
bg: 'neutral.80',
|
|
14
14
|
width: '100%',
|
|
15
15
|
height: '1px',
|
|
16
|
-
my: '
|
|
16
|
+
my: 'xs',
|
|
17
17
|
flexShrink: 0,
|
|
18
18
|
'&.is-vertical': {
|
|
19
19
|
width: '1px',
|
|
20
20
|
height: '100%',
|
|
21
|
-
mx: '
|
|
21
|
+
mx: 'xs'
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
var navBarSeparator = _objectSpread(_objectSpread({}, base), {}, {
|
|
@@ -170,6 +170,15 @@ var stepperTabContentHeader = {
|
|
|
170
170
|
fontSize: 'lg',
|
|
171
171
|
fontWeight: 3
|
|
172
172
|
};
|
|
173
|
+
var label = _objectSpread(_objectSpread({}, wordWrap), {}, {
|
|
174
|
+
fontSize: 'sm',
|
|
175
|
+
color: 'text.secondary',
|
|
176
|
+
fontFamily: 'standard',
|
|
177
|
+
fontWeight: 1
|
|
178
|
+
});
|
|
179
|
+
var linkSelectFieldLabel = _objectSpread(_objectSpread({}, label), {}, {
|
|
180
|
+
color: 'active'
|
|
181
|
+
});
|
|
173
182
|
export var text = _objectSpread(_objectSpread(_objectSpread({
|
|
174
183
|
base: base,
|
|
175
184
|
bodyStrong: bodyStrong,
|
|
@@ -229,12 +238,7 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
|
|
|
229
238
|
color: 'text.secondary',
|
|
230
239
|
fontFamily: 'standard'
|
|
231
240
|
}),
|
|
232
|
-
label:
|
|
233
|
-
fontSize: 'sm',
|
|
234
|
-
color: 'text.secondary',
|
|
235
|
-
fontFamily: 'standard',
|
|
236
|
-
fontWeight: 1
|
|
237
|
-
}),
|
|
241
|
+
label: label,
|
|
238
242
|
listTitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
|
|
239
243
|
fontSize: 'md',
|
|
240
244
|
fontWeight: 1,
|
|
@@ -296,5 +300,6 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
|
|
|
296
300
|
stepperLabel: stepperLabel,
|
|
297
301
|
pageHeaderTitle: _objectSpread({}, HTags.H1),
|
|
298
302
|
stepperTabContent: stepperTabContent,
|
|
299
|
-
stepperTabContentHeader: stepperTabContentHeader
|
|
303
|
+
stepperTabContentHeader: stepperTabContentHeader,
|
|
304
|
+
linkSelectFieldLabel: linkSelectFieldLabel
|
|
300
305
|
});
|
|
@@ -14,9 +14,7 @@ import stepper from './stepper';
|
|
|
14
14
|
var listBox = {
|
|
15
15
|
container: {
|
|
16
16
|
backgroundColor: 'backgroundBase',
|
|
17
|
-
|
|
18
|
-
borderColor: 'border.attachment',
|
|
19
|
-
borderRadius: '4px'
|
|
17
|
+
borderRadius: astroTokensDark.radius.md
|
|
20
18
|
},
|
|
21
19
|
option: {
|
|
22
20
|
color: astroTokensDark.color.gray[400],
|
|
@@ -24,6 +24,7 @@ var calendarIconSize = 25;
|
|
|
24
24
|
var navBarIconSize = 18;
|
|
25
25
|
var badgeTextFontSize = '';
|
|
26
26
|
var modalCloseIconSize = 'sm';
|
|
27
|
+
var linkSelectFieldIcon = 'sm';
|
|
27
28
|
export var astroThemeValues = {
|
|
28
29
|
accordionHoveredState: hoveredState,
|
|
29
30
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|
|
@@ -57,5 +58,6 @@ export var astroThemeValues = {
|
|
|
57
58
|
},
|
|
58
59
|
linkSelectFieldWidth: linkSelectFieldWidth,
|
|
59
60
|
badgeTextFontSize: badgeTextFontSize,
|
|
60
|
-
modalCloseIconSize: modalCloseIconSize
|
|
61
|
+
modalCloseIconSize: modalCloseIconSize,
|
|
62
|
+
linkSelectFieldIcon: linkSelectFieldIcon
|
|
61
63
|
};
|
|
@@ -7,6 +7,7 @@ var pageHeaderAddIconMargin = 'md';
|
|
|
7
7
|
var pageHeaderAddIconSize = 'md';
|
|
8
8
|
var defaultLoaderSize = 32;
|
|
9
9
|
var modalCloseIconSize = 'md';
|
|
10
|
+
var linkSelectFieldIcon = 'sm';
|
|
10
11
|
export default {
|
|
11
12
|
copyButtonSize: copyButtonSize,
|
|
12
13
|
breadcrumbIconSize: breadcrumbIconSize,
|
|
@@ -16,5 +17,6 @@ export default {
|
|
|
16
17
|
pageHeaderAddIconMargin: pageHeaderAddIconMargin,
|
|
17
18
|
pageHeaderAddIconSize: pageHeaderAddIconSize,
|
|
18
19
|
defaultLoaderSize: defaultLoaderSize,
|
|
19
|
-
modalCloseIconSize: modalCloseIconSize
|
|
20
|
+
modalCloseIconSize: modalCloseIconSize,
|
|
21
|
+
linkSelectFieldIcon: linkSelectFieldIcon
|
|
20
22
|
};
|
|
@@ -226,7 +226,7 @@ var checkboxActiveButton = _objectSpread(_objectSpread({}, buttonBase), {}, {
|
|
|
226
226
|
color: 'white'
|
|
227
227
|
});
|
|
228
228
|
var link = {
|
|
229
|
-
color:
|
|
229
|
+
color: astroTokens.color.font.link,
|
|
230
230
|
transition: 'color, .15s, ease-in-and-out',
|
|
231
231
|
fontSize: 'md',
|
|
232
232
|
textDecoration: 'none',
|
|
@@ -242,6 +242,26 @@ var link = {
|
|
|
242
242
|
outline: 'none'
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
+
var selectLink = _objectSpread(_objectSpread({}, link), {}, {
|
|
246
|
+
textDecoration: 'none',
|
|
247
|
+
px: '0',
|
|
248
|
+
'&.is-hovered': {
|
|
249
|
+
textDecoration: 'none'
|
|
250
|
+
},
|
|
251
|
+
'&.is-pressed': {
|
|
252
|
+
textDecoration: 'none'
|
|
253
|
+
},
|
|
254
|
+
'&.is-focused': {
|
|
255
|
+
textDecoration: 'none',
|
|
256
|
+
outline: 'none',
|
|
257
|
+
'span.link-select-field-placeholder': {
|
|
258
|
+
textDecoration: 'underline'
|
|
259
|
+
},
|
|
260
|
+
'span.material-symbols-outlined': {
|
|
261
|
+
textDecoration: 'none'
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
});
|
|
245
265
|
var paginationMenu = _objectSpread(_objectSpread({}, link), {}, {
|
|
246
266
|
px: '0px',
|
|
247
267
|
py: '0px',
|
|
@@ -612,6 +632,7 @@ var buttons = {
|
|
|
612
632
|
modalCloseButton: modalCloseButton,
|
|
613
633
|
aiChat: aiChat,
|
|
614
634
|
paginationMenu: paginationMenu,
|
|
615
|
-
ButtonInputGroupContentRight: ButtonInputGroupContentRight
|
|
635
|
+
ButtonInputGroupContentRight: ButtonInputGroupContentRight,
|
|
636
|
+
selectLink: selectLink
|
|
616
637
|
};
|
|
617
638
|
export default buttons;
|
|
@@ -2,8 +2,11 @@ import { astroTokens } from '@pingux/onyx-tokens';
|
|
|
2
2
|
var container = {
|
|
3
3
|
minWidth: '150px',
|
|
4
4
|
maxWidth: '260px',
|
|
5
|
-
boxShadow: '0px 8px 16px 0px rgba(0, 0, 0, 0.
|
|
5
|
+
boxShadow: '0px 8px 16px 0px rgba(0, 0, 0, 0.18)',
|
|
6
6
|
transition: 'opacity 200ms ease',
|
|
7
|
+
border: '1px solid',
|
|
8
|
+
borderColor: astroTokens.color.common.border,
|
|
9
|
+
borderRadius: astroTokens.radius.md,
|
|
7
10
|
'&.animate': {
|
|
8
11
|
opacity: 0
|
|
9
12
|
},
|
|
@@ -119,6 +119,9 @@ var stepperTabContentHeader = _objectSpread(_objectSpread({}, hTags.H2), {}, {
|
|
|
119
119
|
var modalTitle = _objectSpread(_objectSpread({}, hTags.H3), {}, {
|
|
120
120
|
lineHeight: '2rem'
|
|
121
121
|
});
|
|
122
|
+
var label = {
|
|
123
|
+
fontSize: fontSizes.label
|
|
124
|
+
};
|
|
122
125
|
export var text = _objectSpread(_objectSpread({
|
|
123
126
|
base: {
|
|
124
127
|
lineHeight: 'body'
|
|
@@ -241,5 +244,9 @@ export var text = _objectSpread(_objectSpread({
|
|
|
241
244
|
lineHeight: 'body'
|
|
242
245
|
},
|
|
243
246
|
stepperTabContent: stepperTabContent,
|
|
244
|
-
stepperTabContentHeader: stepperTabContentHeader
|
|
247
|
+
stepperTabContentHeader: stepperTabContentHeader,
|
|
248
|
+
label: label,
|
|
249
|
+
linkSelectFieldLabel: _objectSpread(_objectSpread({}, label), {}, {
|
|
250
|
+
color: astroTokens.color.font.link
|
|
251
|
+
})
|
|
245
252
|
});
|