@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
|
@@ -126,6 +126,49 @@ export declare const link: {
|
|
|
126
126
|
flexShrink: number;
|
|
127
127
|
whiteSpace: string;
|
|
128
128
|
};
|
|
129
|
+
export declare const selectLink: {
|
|
130
|
+
textDecoration: string;
|
|
131
|
+
'&.is-hovered': {
|
|
132
|
+
textDecoration: string;
|
|
133
|
+
};
|
|
134
|
+
'&.is-pressed': {
|
|
135
|
+
textDecoration: string;
|
|
136
|
+
};
|
|
137
|
+
lineHeight: string;
|
|
138
|
+
display: string;
|
|
139
|
+
justifyContent: string;
|
|
140
|
+
width: string;
|
|
141
|
+
'&.is-current': {
|
|
142
|
+
cursor: string;
|
|
143
|
+
color: string;
|
|
144
|
+
};
|
|
145
|
+
'&.is-focused': {
|
|
146
|
+
boxShadow: string;
|
|
147
|
+
outline: string;
|
|
148
|
+
outlineColor: string;
|
|
149
|
+
outlineOffset: string;
|
|
150
|
+
};
|
|
151
|
+
bg: string;
|
|
152
|
+
border: string;
|
|
153
|
+
borderColor: string;
|
|
154
|
+
color: string;
|
|
155
|
+
height: string;
|
|
156
|
+
padding: string;
|
|
157
|
+
fontSize: string;
|
|
158
|
+
fontWeight: number;
|
|
159
|
+
fontFamily: string;
|
|
160
|
+
overflowWrap: import("../..").overflowWrap;
|
|
161
|
+
maxWidth: string;
|
|
162
|
+
wordWrap: import("../..").wordWrap;
|
|
163
|
+
wordBreak: import("../..").wordBreak;
|
|
164
|
+
cursor: string;
|
|
165
|
+
minWidth: string;
|
|
166
|
+
outline: string;
|
|
167
|
+
alignItems: string;
|
|
168
|
+
borderRadius: string;
|
|
169
|
+
flexShrink: number;
|
|
170
|
+
whiteSpace: string;
|
|
171
|
+
};
|
|
129
172
|
declare const _default: {
|
|
130
173
|
colorBlock: {
|
|
131
174
|
bg: string;
|
|
@@ -1877,5 +1920,48 @@ declare const _default: {
|
|
|
1877
1920
|
variant?: string;
|
|
1878
1921
|
label?: string;
|
|
1879
1922
|
};
|
|
1923
|
+
selectLink: {
|
|
1924
|
+
textDecoration: string;
|
|
1925
|
+
'&.is-hovered': {
|
|
1926
|
+
textDecoration: string;
|
|
1927
|
+
};
|
|
1928
|
+
'&.is-pressed': {
|
|
1929
|
+
textDecoration: string;
|
|
1930
|
+
};
|
|
1931
|
+
lineHeight: string;
|
|
1932
|
+
display: string;
|
|
1933
|
+
justifyContent: string;
|
|
1934
|
+
width: string;
|
|
1935
|
+
'&.is-current': {
|
|
1936
|
+
cursor: string;
|
|
1937
|
+
color: string;
|
|
1938
|
+
};
|
|
1939
|
+
'&.is-focused': {
|
|
1940
|
+
boxShadow: string;
|
|
1941
|
+
outline: string;
|
|
1942
|
+
outlineColor: string;
|
|
1943
|
+
outlineOffset: string;
|
|
1944
|
+
};
|
|
1945
|
+
bg: string;
|
|
1946
|
+
border: string;
|
|
1947
|
+
borderColor: string;
|
|
1948
|
+
color: string;
|
|
1949
|
+
height: string;
|
|
1950
|
+
padding: string;
|
|
1951
|
+
fontSize: string;
|
|
1952
|
+
fontWeight: number;
|
|
1953
|
+
fontFamily: string;
|
|
1954
|
+
overflowWrap: import("../..").overflowWrap;
|
|
1955
|
+
maxWidth: string;
|
|
1956
|
+
wordWrap: import("../..").wordWrap;
|
|
1957
|
+
wordBreak: import("../..").wordBreak;
|
|
1958
|
+
cursor: string;
|
|
1959
|
+
minWidth: string;
|
|
1960
|
+
outline: string;
|
|
1961
|
+
alignItems: string;
|
|
1962
|
+
borderRadius: string;
|
|
1963
|
+
flexShrink: number;
|
|
1964
|
+
whiteSpace: string;
|
|
1965
|
+
};
|
|
1880
1966
|
};
|
|
1881
1967
|
export default _default;
|
|
@@ -12,7 +12,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
|
|
|
12
12
|
_Object$defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
exports.text = exports.quiet = exports.link = exports.focusWithCroppedOutline = exports.defaultHover = exports.defaultFocus = exports.defaultActive = exports["default"] = exports.base = void 0;
|
|
15
|
+
exports.text = exports.selectLink = exports.quiet = exports.link = exports.focusWithCroppedOutline = exports.defaultHover = exports.defaultFocus = exports.defaultActive = exports["default"] = exports.base = void 0;
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
17
17
|
var _Text = require("../Text/Text.styles");
|
|
18
18
|
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; }
|
|
@@ -181,6 +181,15 @@ var link = exports.link = _objectSpread(_objectSpread({}, text), {}, {
|
|
|
181
181
|
},
|
|
182
182
|
'&.is-focused': _objectSpread({}, focusWithCroppedOutline)
|
|
183
183
|
});
|
|
184
|
+
var selectLink = exports.selectLink = _objectSpread(_objectSpread({}, link), {}, {
|
|
185
|
+
textDecoration: 'none',
|
|
186
|
+
'&.is-hovered': {
|
|
187
|
+
textDecoration: 'none'
|
|
188
|
+
},
|
|
189
|
+
'&.is-pressed': {
|
|
190
|
+
textDecoration: 'none'
|
|
191
|
+
}
|
|
192
|
+
});
|
|
184
193
|
var listBoxLink = _objectSpread({}, link);
|
|
185
194
|
var defaultVariant = _objectSpread(_objectSpread({}, base), {}, {
|
|
186
195
|
bg: 'white',
|
|
@@ -335,5 +344,6 @@ var _default = exports["default"] = {
|
|
|
335
344
|
success: success,
|
|
336
345
|
withIcon: withIcon,
|
|
337
346
|
filter: filter,
|
|
338
|
-
searchNavTabLabel: tabLabelButton
|
|
347
|
+
searchNavTabLabel: tabLabelButton,
|
|
348
|
+
selectLink: selectLink
|
|
339
349
|
};
|
|
@@ -20,7 +20,6 @@ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime-
|
|
|
20
20
|
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
21
21
|
var _react = _interopRequireWildcard(require("react"));
|
|
22
22
|
var _reactAria = require("react-aria");
|
|
23
|
-
var _MenuDownIcon = _interopRequireDefault(require("@pingux/mdi-react/MenuDownIcon"));
|
|
24
23
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
25
24
|
var _uuid = require("uuid");
|
|
26
25
|
var _ = require("../..");
|
|
@@ -48,9 +47,10 @@ var LinkSelectField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
48
47
|
var _getAriaAttributeProp = (0, _ariaAttributes.getAriaAttributeProps)(props),
|
|
49
48
|
ariaProps = _getAriaAttributeProp.ariaProps;
|
|
50
49
|
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
|
50
|
+
isOnyx = _useGetTheme.themeState.isOnyx,
|
|
51
51
|
linkSelectFieldWidth = _useGetTheme.linkSelectFieldWidth,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
linkSelectFieldIcon = _useGetTheme.linkSelectFieldIcon,
|
|
53
|
+
MenuDown = _useGetTheme.icons.MenuDown;
|
|
54
54
|
var helperTextId = (0, _uuid.v4)();
|
|
55
55
|
(0, _hooks.usePropWarning)(props, 'disabled', 'isDisabled');
|
|
56
56
|
var _useSelectField = (0, _hooks.useSelectField)(_objectSpread(_objectSpread({
|
|
@@ -70,13 +70,13 @@ var LinkSelectField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
70
70
|
var trigger = (0, _react2.jsx)(_.Button, (0, _extends2["default"])({
|
|
71
71
|
className: fieldControlInputProps.className,
|
|
72
72
|
ref: triggerRef,
|
|
73
|
-
variant: "
|
|
73
|
+
variant: "selectLink",
|
|
74
74
|
tabIndex: isDisabled ? -1 : 0
|
|
75
75
|
}, (0, _pendoID.getPendoID)(displayName), triggerProps, raTriggerProps, ariaProps, {
|
|
76
76
|
"aria-describedby": helperText && helperTextId
|
|
77
77
|
}), (0, _react2.jsx)(_.Text, {
|
|
78
|
-
variant: "
|
|
79
|
-
|
|
78
|
+
variant: "linkSelectFieldLabel",
|
|
79
|
+
className: "link-select-field-placeholder"
|
|
80
80
|
}, placeholder), (0, _react2.jsx)(_.Box, {
|
|
81
81
|
isRow: true
|
|
82
82
|
}, hasInlineLoader && isLoadingInitial && (0, _react2.jsx)(_.Loader, {
|
|
@@ -86,14 +86,17 @@ var LinkSelectField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
86
86
|
"aria-hidden": "true",
|
|
87
87
|
variant: "forms.select.arrow"
|
|
88
88
|
}, (0, _react2.jsx)(_.Icon, (0, _extends2["default"])({
|
|
89
|
-
icon:
|
|
89
|
+
icon: MenuDown,
|
|
90
90
|
title: {
|
|
91
|
-
name: '
|
|
92
|
-
}
|
|
91
|
+
name: ''
|
|
92
|
+
},
|
|
93
|
+
color: isOnyx ? 'font.link' : 'active',
|
|
94
|
+
size: linkSelectFieldIcon
|
|
93
95
|
}, iconProps, {
|
|
94
|
-
sx:
|
|
95
|
-
transform: 'rotate(180deg)'
|
|
96
|
-
|
|
96
|
+
sx: _objectSpread({
|
|
97
|
+
transform: state.isOpen ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
98
|
+
transition: 'transform 150ms ease'
|
|
99
|
+
}, iconProps === null || iconProps === void 0 ? void 0 : iconProps.sx)
|
|
97
100
|
})))), (0, _react2.jsx)(_reactAria.VisuallyHidden, {
|
|
98
101
|
"aria-live": "polite",
|
|
99
102
|
id: helperTextId
|
|
@@ -42,9 +42,7 @@ var ListBoxSection = function ListBoxSection(props) {
|
|
|
42
42
|
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Box["default"], {
|
|
43
43
|
ref: headerRef,
|
|
44
44
|
style: (0, _virtualizer.layoutInfoToStyle)(header.layoutInfo, direction)
|
|
45
|
-
}, item.key !== state.collection.getFirstKey() && (0, _react2.jsx)(_Separator["default"], {
|
|
46
|
-
mt: "0px"
|
|
47
|
-
}), item.rendered && (0, _react2.jsx)(_Box["default"], (0, _extends2["default"])({}, headingProps, {
|
|
45
|
+
}, item.key !== state.collection.getFirstKey() && (0, _react2.jsx)(_Separator["default"], null), item.rendered && (0, _react2.jsx)(_Box["default"], (0, _extends2["default"])({}, headingProps, {
|
|
48
46
|
variant: "listBox.sectionTitle"
|
|
49
47
|
}), item.rendered)), (0, _react2.jsx)(_Box["default"], (0, _extends2["default"])({}, groupProps, {
|
|
50
48
|
style: (0, _virtualizer.layoutInfoToStyle)(reusableView.layoutInfo, direction)
|
|
@@ -20,12 +20,12 @@ var base = {
|
|
|
20
20
|
bg: 'neutral.80',
|
|
21
21
|
width: '100%',
|
|
22
22
|
height: '1px',
|
|
23
|
-
my: '
|
|
23
|
+
my: 'xs',
|
|
24
24
|
flexShrink: 0,
|
|
25
25
|
'&.is-vertical': {
|
|
26
26
|
width: '1px',
|
|
27
27
|
height: '100%',
|
|
28
|
-
mx: '
|
|
28
|
+
mx: 'xs'
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
var navBarSeparator = _objectSpread(_objectSpread({}, base), {}, {
|
|
@@ -6460,6 +6460,17 @@ export declare const text: {
|
|
|
6460
6460
|
fontSize: string;
|
|
6461
6461
|
fontWeight: number;
|
|
6462
6462
|
};
|
|
6463
|
+
linkSelectFieldLabel: {
|
|
6464
|
+
color: string;
|
|
6465
|
+
fontSize: string;
|
|
6466
|
+
fontFamily: string;
|
|
6467
|
+
fontWeight: number;
|
|
6468
|
+
display: string;
|
|
6469
|
+
overflowWrap: overflowWrap;
|
|
6470
|
+
maxWidth: string;
|
|
6471
|
+
wordWrap: wordWrapText;
|
|
6472
|
+
wordBreak: wordBreak;
|
|
6473
|
+
};
|
|
6463
6474
|
H1: {
|
|
6464
6475
|
lineHeight: string;
|
|
6465
6476
|
fontWeight: number;
|
|
@@ -177,6 +177,15 @@ var stepperTabContentHeader = {
|
|
|
177
177
|
fontSize: 'lg',
|
|
178
178
|
fontWeight: 3
|
|
179
179
|
};
|
|
180
|
+
var label = _objectSpread(_objectSpread({}, wordWrap), {}, {
|
|
181
|
+
fontSize: 'sm',
|
|
182
|
+
color: 'text.secondary',
|
|
183
|
+
fontFamily: 'standard',
|
|
184
|
+
fontWeight: 1
|
|
185
|
+
});
|
|
186
|
+
var linkSelectFieldLabel = _objectSpread(_objectSpread({}, label), {}, {
|
|
187
|
+
color: 'active'
|
|
188
|
+
});
|
|
180
189
|
var text = exports.text = _objectSpread(_objectSpread(_objectSpread({
|
|
181
190
|
base: base,
|
|
182
191
|
bodyStrong: bodyStrong,
|
|
@@ -236,12 +245,7 @@ var text = exports.text = _objectSpread(_objectSpread(_objectSpread({
|
|
|
236
245
|
color: 'text.secondary',
|
|
237
246
|
fontFamily: 'standard'
|
|
238
247
|
}),
|
|
239
|
-
label:
|
|
240
|
-
fontSize: 'sm',
|
|
241
|
-
color: 'text.secondary',
|
|
242
|
-
fontFamily: 'standard',
|
|
243
|
-
fontWeight: 1
|
|
244
|
-
}),
|
|
248
|
+
label: label,
|
|
245
249
|
listTitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
|
|
246
250
|
fontSize: 'md',
|
|
247
251
|
fontWeight: 1,
|
|
@@ -303,5 +307,6 @@ var text = exports.text = _objectSpread(_objectSpread(_objectSpread({
|
|
|
303
307
|
stepperLabel: stepperLabel,
|
|
304
308
|
pageHeaderTitle: _objectSpread({}, HTags.H1),
|
|
305
309
|
stepperTabContent: stepperTabContent,
|
|
306
|
-
stepperTabContentHeader: stepperTabContentHeader
|
|
310
|
+
stepperTabContentHeader: stepperTabContentHeader,
|
|
311
|
+
linkSelectFieldLabel: linkSelectFieldLabel
|
|
307
312
|
});
|
|
@@ -102,6 +102,7 @@ declare const useGetTheme: () => {
|
|
|
102
102
|
linkSelectFieldWidth: string;
|
|
103
103
|
badgeTextFontSize: string;
|
|
104
104
|
modalCloseIconSize: import("../..").IconSize;
|
|
105
|
+
linkSelectFieldIcon: import("../..").IconSize;
|
|
105
106
|
themeState: {
|
|
106
107
|
isAstro: boolean;
|
|
107
108
|
isOnyx: boolean;
|
|
@@ -173,6 +174,7 @@ declare const useGetTheme: () => {
|
|
|
173
174
|
pageHeaderAddIconSize: string;
|
|
174
175
|
defaultLoaderSize: number;
|
|
175
176
|
modalCloseIconSize: import("../..").IconSize;
|
|
177
|
+
linkSelectFieldIcon: import("../..").IconSize;
|
|
176
178
|
accordionHoveredState: {
|
|
177
179
|
'&.is-hovered': {
|
|
178
180
|
color: string;
|
|
@@ -62,6 +62,7 @@ export declare const nextGenDarkThemeValues: {
|
|
|
62
62
|
pageHeaderAddIconSize: string;
|
|
63
63
|
defaultLoaderSize: number;
|
|
64
64
|
modalCloseIconSize: import("../../../..").IconSize;
|
|
65
|
+
linkSelectFieldIcon: import("../../../..").IconSize;
|
|
65
66
|
accordionHoveredState: {
|
|
66
67
|
'&.is-hovered': {
|
|
67
68
|
color: string;
|
|
@@ -180,8 +180,7 @@ declare const _default: {
|
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
182
|
menu: {
|
|
183
|
-
backgroundColor:
|
|
184
|
-
borderColor: string;
|
|
183
|
+
backgroundColor: any;
|
|
185
184
|
};
|
|
186
185
|
menuItem: {
|
|
187
186
|
item: {
|
|
@@ -418,9 +417,7 @@ declare const _default: {
|
|
|
418
417
|
listBox: {
|
|
419
418
|
container: {
|
|
420
419
|
backgroundColor: string;
|
|
421
|
-
|
|
422
|
-
borderColor: string;
|
|
423
|
-
borderRadius: string;
|
|
420
|
+
borderRadius: any;
|
|
424
421
|
};
|
|
425
422
|
option: {
|
|
426
423
|
color: any;
|
|
@@ -22,9 +22,7 @@ var _stepper = _interopRequireDefault(require("./stepper"));
|
|
|
22
22
|
var listBox = {
|
|
23
23
|
container: {
|
|
24
24
|
backgroundColor: 'backgroundBase',
|
|
25
|
-
|
|
26
|
-
borderColor: 'border.attachment',
|
|
27
|
-
borderRadius: '4px'
|
|
25
|
+
borderRadius: _onyxTokens.astroTokensDark.radius.md
|
|
28
26
|
},
|
|
29
27
|
option: {
|
|
30
28
|
color: _onyxTokens.astroTokensDark.color.gray[400],
|
|
@@ -36,6 +36,7 @@ var calendarIconSize = 25;
|
|
|
36
36
|
var navBarIconSize = 18;
|
|
37
37
|
var badgeTextFontSize = '';
|
|
38
38
|
var modalCloseIconSize = 'sm';
|
|
39
|
+
var linkSelectFieldIcon = 'sm';
|
|
39
40
|
var astroThemeValues = exports.astroThemeValues = {
|
|
40
41
|
accordionHoveredState: _Accordion.hoveredState,
|
|
41
42
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|
|
@@ -69,5 +70,6 @@ var astroThemeValues = exports.astroThemeValues = {
|
|
|
69
70
|
},
|
|
70
71
|
linkSelectFieldWidth: linkSelectFieldWidth,
|
|
71
72
|
badgeTextFontSize: badgeTextFontSize,
|
|
72
|
-
modalCloseIconSize: modalCloseIconSize
|
|
73
|
+
modalCloseIconSize: modalCloseIconSize,
|
|
74
|
+
linkSelectFieldIcon: linkSelectFieldIcon
|
|
73
75
|
};
|
|
@@ -14,6 +14,7 @@ var pageHeaderAddIconMargin = 'md';
|
|
|
14
14
|
var pageHeaderAddIconSize = 'md';
|
|
15
15
|
var defaultLoaderSize = 32;
|
|
16
16
|
var modalCloseIconSize = 'md';
|
|
17
|
+
var linkSelectFieldIcon = 'sm';
|
|
17
18
|
var _default = exports["default"] = {
|
|
18
19
|
copyButtonSize: copyButtonSize,
|
|
19
20
|
breadcrumbIconSize: breadcrumbIconSize,
|
|
@@ -23,5 +24,6 @@ var _default = exports["default"] = {
|
|
|
23
24
|
pageHeaderAddIconMargin: pageHeaderAddIconMargin,
|
|
24
25
|
pageHeaderAddIconSize: pageHeaderAddIconSize,
|
|
25
26
|
defaultLoaderSize: defaultLoaderSize,
|
|
26
|
-
modalCloseIconSize: modalCloseIconSize
|
|
27
|
+
modalCloseIconSize: modalCloseIconSize,
|
|
28
|
+
linkSelectFieldIcon: linkSelectFieldIcon
|
|
27
29
|
};
|
|
@@ -21,10 +21,9 @@ export declare const select: {
|
|
|
21
21
|
color: string;
|
|
22
22
|
};
|
|
23
23
|
arrow: {
|
|
24
|
-
width: string;
|
|
25
|
-
height: string;
|
|
26
24
|
alignItems: string;
|
|
27
25
|
justifyContent: string;
|
|
26
|
+
ml: string;
|
|
28
27
|
'& > svg': {
|
|
29
28
|
minWidth: string;
|
|
30
29
|
width: string;
|
|
@@ -1087,10 +1086,9 @@ declare const _default: {
|
|
|
1087
1086
|
color: string;
|
|
1088
1087
|
};
|
|
1089
1088
|
arrow: {
|
|
1090
|
-
width: string;
|
|
1091
|
-
height: string;
|
|
1092
1089
|
alignItems: string;
|
|
1093
1090
|
justifyContent: string;
|
|
1091
|
+
ml: string;
|
|
1094
1092
|
'& > svg': {
|
|
1095
1093
|
minWidth: string;
|
|
1096
1094
|
width: string;
|
|
@@ -46,10 +46,9 @@ var select = exports.select = {
|
|
|
46
46
|
color: 'text.primary'
|
|
47
47
|
},
|
|
48
48
|
arrow: {
|
|
49
|
-
width: '20px',
|
|
50
|
-
height: '20px',
|
|
51
49
|
alignItems: 'center',
|
|
52
50
|
justifyContent: 'center',
|
|
51
|
+
ml: 'xs',
|
|
53
52
|
'& > svg': {
|
|
54
53
|
minWidth: _tShirtSizes["default"].xs,
|
|
55
54
|
width: _tShirtSizes["default"].xs,
|
|
@@ -777,7 +777,7 @@ declare const _default: {
|
|
|
777
777
|
transition: string;
|
|
778
778
|
};
|
|
779
779
|
link: {
|
|
780
|
-
color:
|
|
780
|
+
color: any;
|
|
781
781
|
transition: string;
|
|
782
782
|
fontSize: string;
|
|
783
783
|
textDecoration: string;
|
|
@@ -1785,6 +1785,30 @@ declare const _default: {
|
|
|
1785
1785
|
};
|
|
1786
1786
|
transition: string;
|
|
1787
1787
|
};
|
|
1788
|
+
selectLink: {
|
|
1789
|
+
textDecoration: string;
|
|
1790
|
+
px: string;
|
|
1791
|
+
'&.is-hovered': {
|
|
1792
|
+
textDecoration: string;
|
|
1793
|
+
};
|
|
1794
|
+
'&.is-pressed': {
|
|
1795
|
+
textDecoration: string;
|
|
1796
|
+
};
|
|
1797
|
+
'&.is-focused': {
|
|
1798
|
+
textDecoration: string;
|
|
1799
|
+
outline: string;
|
|
1800
|
+
'span.link-select-field-placeholder': {
|
|
1801
|
+
textDecoration: string;
|
|
1802
|
+
};
|
|
1803
|
+
'span.material-symbols-outlined': {
|
|
1804
|
+
textDecoration: string;
|
|
1805
|
+
};
|
|
1806
|
+
};
|
|
1807
|
+
color: any;
|
|
1808
|
+
transition: string;
|
|
1809
|
+
fontSize: string;
|
|
1810
|
+
py: any;
|
|
1811
|
+
};
|
|
1788
1812
|
};
|
|
1789
1813
|
forms: {
|
|
1790
1814
|
input: import("theme-ui").ThemeUICSSObject;
|
|
@@ -1823,10 +1847,9 @@ declare const _default: {
|
|
|
1823
1847
|
color: string;
|
|
1824
1848
|
};
|
|
1825
1849
|
arrow: {
|
|
1826
|
-
width: string;
|
|
1827
|
-
height: string;
|
|
1828
1850
|
alignItems: string;
|
|
1829
1851
|
justifyContent: string;
|
|
1852
|
+
ml: string;
|
|
1830
1853
|
'& > svg': {
|
|
1831
1854
|
minWidth: string;
|
|
1832
1855
|
width: string;
|
|
@@ -2964,6 +2987,13 @@ declare const _default: {
|
|
|
2964
2987
|
fontWeight: number;
|
|
2965
2988
|
fontFamily: string;
|
|
2966
2989
|
};
|
|
2990
|
+
label: {
|
|
2991
|
+
fontSize: any;
|
|
2992
|
+
};
|
|
2993
|
+
linkSelectFieldLabel: {
|
|
2994
|
+
color: any;
|
|
2995
|
+
fontSize: any;
|
|
2996
|
+
};
|
|
2967
2997
|
H1: {
|
|
2968
2998
|
lineHeight: string;
|
|
2969
2999
|
fontSize: any;
|
|
@@ -5479,34 +5509,32 @@ declare const _default: {
|
|
|
5479
5509
|
};
|
|
5480
5510
|
listBox: {
|
|
5481
5511
|
container: {
|
|
5482
|
-
|
|
5483
|
-
pr: number;
|
|
5484
|
-
py: string;
|
|
5512
|
+
p: any;
|
|
5485
5513
|
};
|
|
5486
5514
|
option: {
|
|
5487
|
-
py:
|
|
5488
|
-
pl:
|
|
5489
|
-
pr:
|
|
5490
|
-
mr: string;
|
|
5515
|
+
py: any;
|
|
5516
|
+
pl: any;
|
|
5517
|
+
pr: any;
|
|
5491
5518
|
justifyContent: string;
|
|
5492
|
-
borderRadius:
|
|
5519
|
+
borderRadius: any;
|
|
5493
5520
|
lineHeight: string;
|
|
5494
5521
|
color: string;
|
|
5495
5522
|
'&.is-focused': {
|
|
5496
5523
|
color: string;
|
|
5497
5524
|
bg: string;
|
|
5498
|
-
borderRadius:
|
|
5525
|
+
borderRadius: any;
|
|
5499
5526
|
};
|
|
5500
5527
|
'&.is-focus-visible': {
|
|
5501
5528
|
boxShadow: string;
|
|
5502
|
-
borderRadius:
|
|
5529
|
+
borderRadius: any;
|
|
5503
5530
|
zIndex: number;
|
|
5504
5531
|
};
|
|
5505
5532
|
'&.is-selected': {
|
|
5533
|
+
fontWeight: string;
|
|
5506
5534
|
color: string;
|
|
5507
5535
|
bg: string;
|
|
5508
5536
|
pl: string;
|
|
5509
|
-
borderRadius:
|
|
5537
|
+
borderRadius: any;
|
|
5510
5538
|
'&.is-focused': {
|
|
5511
5539
|
color: string;
|
|
5512
5540
|
};
|
|
@@ -5519,7 +5547,7 @@ declare const _default: {
|
|
|
5519
5547
|
bg: string;
|
|
5520
5548
|
};
|
|
5521
5549
|
'&.is-condensed': {
|
|
5522
|
-
pl:
|
|
5550
|
+
pl: any;
|
|
5523
5551
|
bg: string;
|
|
5524
5552
|
color: string;
|
|
5525
5553
|
'&.is-selected': {
|
|
@@ -5693,8 +5721,6 @@ declare const _default: {
|
|
|
5693
5721
|
};
|
|
5694
5722
|
menu: {
|
|
5695
5723
|
p: string;
|
|
5696
|
-
border: string;
|
|
5697
|
-
borderColor: string;
|
|
5698
5724
|
};
|
|
5699
5725
|
menuItem: {
|
|
5700
5726
|
item: {
|
|
@@ -6100,6 +6126,9 @@ declare const _default: {
|
|
|
6100
6126
|
maxWidth: string;
|
|
6101
6127
|
boxShadow: string;
|
|
6102
6128
|
transition: string;
|
|
6129
|
+
border: string;
|
|
6130
|
+
borderColor: any;
|
|
6131
|
+
borderRadius: any;
|
|
6103
6132
|
'&.animate': {
|
|
6104
6133
|
opacity: number;
|
|
6105
6134
|
};
|