@pingux/astro 2.199.0-alpha.0 → 2.200.0-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/Button/Buttons.styles.d.ts +86 -0
- package/lib/cjs/components/Button/Buttons.styles.js +12 -2
- package/lib/cjs/components/Icon/IconSymbol.js +1 -1
- package/lib/cjs/components/Icon/IconSymbol.test.js +8 -1
- package/lib/cjs/components/Icon/MaterialSymbolIcon.stories.js +133 -135
- 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/index.d.ts +1 -1
- package/lib/cjs/index.js +1 -1
- 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/cjs/types/icon.d.ts +1 -1
- package/lib/cjs/types/navBar.d.ts +1 -1
- package/lib/cjs/utils/docUtils/iconSizeProps.d.ts +10 -2
- package/lib/cjs/utils/docUtils/iconSizeProps.js +17 -5
- package/lib/components/Button/Buttons.styles.js +11 -1
- package/lib/components/Icon/IconSymbol.js +1 -1
- package/lib/components/Icon/IconSymbol.test.js +8 -1
- package/lib/components/Icon/MaterialSymbolIcon.stories.js +131 -134
- 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/index.js +1 -1
- 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/lib/utils/docUtils/iconSizeProps.js +17 -5
- package/package.json +2 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import 'material-symbols/outlined.css';
|
|
2
2
|
export { default as AccordionGridGroup } from './components/AccordionGridGroup';
|
|
3
3
|
export * from './components/AccordionGridGroup';
|
|
4
4
|
export { default as AccordionGridItem } from './components/AccordionGridItem';
|
package/lib/cjs/index.js
CHANGED
|
@@ -1189,7 +1189,7 @@ _Object$defineProperty(exports, "useTreeData", {
|
|
|
1189
1189
|
return _reactStately.useTreeData;
|
|
1190
1190
|
}
|
|
1191
1191
|
});
|
|
1192
|
-
require("
|
|
1192
|
+
require("material-symbols/outlined.css");
|
|
1193
1193
|
var _AccordionGridGroup = _interopRequireWildcard(require("./components/AccordionGridGroup"));
|
|
1194
1194
|
_forEachInstanceProperty(_context = _Object$keys(_AccordionGridGroup)).call(_context, function (key) {
|
|
1195
1195
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -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
|
};
|
|
@@ -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': {
|
package/lib/cjs/types/icon.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import type { MaterialSymbol } from '@material-symbols/font-400';
|
|
3
2
|
import type { MdiReactIconComponentType } from '@pingux/mdi-react';
|
|
3
|
+
import type { MaterialSymbol } from 'material-symbols';
|
|
4
4
|
import { TestingAttributes } from './shared/test';
|
|
5
5
|
import { DOMAttributes, IconSize, StyleProps } from './shared';
|
|
6
6
|
export type SVGComponentProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Key } from 'react';
|
|
2
|
-
import type { MaterialSymbol } from '
|
|
2
|
+
import type { MaterialSymbol } from 'material-symbols';
|
|
3
3
|
import { ThemeUICSSObject } from 'theme-ui';
|
|
4
4
|
import { IconProps, IconTypeExtended } from './icon';
|
|
5
5
|
import { DOMAttributes, StyleProps } from './shared';
|