@teamturing/react-kit 2.60.3 → 2.61.1
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/dist/core/GradientText/index.d.ts +3 -285
- package/dist/core/Pagination/index.d.ts +10 -287
- package/dist/core/Text/index.d.ts +7 -285
- package/dist/core/_UnstyledButton.d.ts +1 -280
- package/dist/index.js +695 -1677
- package/esm/core/ActionList/ActionListItem.js +31 -111
- package/esm/core/ActionList/ActionListSectionHeader.js +9 -17
- package/esm/core/ActionList/index.js +4 -7
- package/esm/core/Avatar/index.js +6 -10
- package/esm/core/AvatarGroup/AvatarGroupItem.js +4 -6
- package/esm/core/AvatarGroup/index.js +13 -34
- package/esm/core/BadgeAttacher/index.js +4 -6
- package/esm/core/Breadcrumbs/BreadcrumbsItem.js +10 -27
- package/esm/core/Breadcrumbs/index.js +15 -34
- package/esm/core/Button/index.js +8 -2
- package/esm/core/Card/index.js +6 -11
- package/esm/core/Checkbox/index.js +26 -122
- package/esm/core/CheckboxOrRadioGroupFormControl/CheckboxOrRadioGroupFormControlErrorMessage.js +4 -3
- package/esm/core/CheckboxOrRadioGroupFormControl/CheckboxOrRadioGroupFormControlLabel.js +15 -30
- package/esm/core/CheckboxOrRadioGroupFormControl/CheckboxOrRadioGroupFormControlSuccessMessage.js +4 -3
- package/esm/core/Chip/index.js +4 -1
- package/esm/core/ClickArea/index.js +5 -6
- package/esm/core/CounterBadge/index.js +7 -14
- package/esm/core/Datagrid/DatagridBody.js +5 -19
- package/esm/core/Datagrid/DatagridHeader.js +6 -15
- package/esm/core/Datagrid/DatagridSubheader.js +7 -13
- package/esm/core/Datagrid/index.js +10 -18
- package/esm/core/Dialog/_UnstyledDialogBody.js +5 -9
- package/esm/core/Dialog/_UnstyledDialogFooter.js +5 -8
- package/esm/core/Dialog/_UnstyledDialogHeader.js +5 -8
- package/esm/core/Dialog/index.js +9 -15
- package/esm/core/Drawer/_UnstyledDrawerBody.js +5 -9
- package/esm/core/Drawer/_UnstyledDrawerFooter.js +5 -8
- package/esm/core/Drawer/_UnstyledDrawerHeader.js +5 -8
- package/esm/core/Drawer/index.js +9 -16
- package/esm/core/EmptyState/index.js +12 -31
- package/esm/core/FileItem/index.js +4 -1
- package/esm/core/Flash/index.js +14 -59
- package/esm/core/FormControl/FormControlErrorMessage.js +4 -3
- package/esm/core/FormControl/FormControlLabel.js +15 -30
- package/esm/core/FormControl/FormControlSuccessMessage.js +4 -3
- package/esm/core/GradientText/index.js +15 -3
- package/esm/core/Grid/index.js +4 -1
- package/esm/core/HorizontalDivider/index.js +4 -11
- package/esm/core/IconButton/index.js +4 -1
- package/esm/core/IconToggleButton/index.js +4 -1
- package/esm/core/Image/index.js +4 -4
- package/esm/core/Overlay/index.js +8 -18
- package/esm/core/Pagination/index.js +45 -109
- package/esm/core/Pill/index.js +12 -46
- package/esm/core/Radio/index.js +21 -90
- package/esm/core/SearchSelectInput/index.js +26 -88
- package/esm/core/Select/SelectOption.js +4 -1
- package/esm/core/Select/index.js +30 -96
- package/esm/core/Space/index.js +4 -5
- package/esm/core/Spinner/index.js +10 -10
- package/esm/core/Stack/index.js +4 -1
- package/esm/core/Switch/index.js +17 -65
- package/esm/core/Tab/TabItem.js +4 -1
- package/esm/core/Text/index.js +15 -3
- package/esm/core/TextInput/TextInputTrailingAction.js +10 -31
- package/esm/core/TextInput/index.js +40 -107
- package/esm/core/Textarea/index.js +40 -109
- package/esm/core/Toast/index.js +4 -1
- package/esm/core/Tooltip/BaseTooltip.js +12 -41
- package/esm/core/UploadInput/index.js +22 -90
- package/esm/core/View/index.js +4 -4
- package/esm/core/_UnstyledButton.js +15 -11
- package/esm/core/_UnstyledTable/UnstyledTableBody.js +4 -3
- package/esm/core/_UnstyledTable/UnstyledTableCell.js +4 -3
- package/esm/core/_UnstyledTable/UnstyledTableHead.js +4 -3
- package/esm/core/_UnstyledTable/UnstyledTableRow.js +4 -3
- package/esm/core/_UnstyledTable/index.js +4 -5
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1094,27 +1094,30 @@ const rowGap = system({
|
|
|
1094
1094
|
}
|
|
1095
1095
|
});
|
|
1096
1096
|
|
|
1097
|
-
const UnstyledTableBody = styled__default.default.tbody
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1097
|
+
const UnstyledTableBody = /*#__PURE__*/styled__default.default.tbody.withConfig({
|
|
1098
|
+
displayName: "UnstyledTableBody",
|
|
1099
|
+
componentId: "sc-uj992b-0"
|
|
1100
|
+
})(["", ""], sx);
|
|
1101
|
+
|
|
1102
|
+
const UnstyledTableCell = /*#__PURE__*/styled__default.default.td.withConfig({
|
|
1103
|
+
displayName: "UnstyledTableCell",
|
|
1104
|
+
componentId: "sc-1cmo9z9-0"
|
|
1105
|
+
})(["", ""], sx);
|
|
1106
|
+
|
|
1107
|
+
const UnstyledTableHead = /*#__PURE__*/styled__default.default.thead.withConfig({
|
|
1108
|
+
displayName: "UnstyledTableHead",
|
|
1109
|
+
componentId: "sc-1o3dlyt-0"
|
|
1110
|
+
})(["", ""], sx);
|
|
1111
|
+
|
|
1112
|
+
const UnstyledTableRow = /*#__PURE__*/styled__default.default.tr.withConfig({
|
|
1113
|
+
displayName: "UnstyledTableRow",
|
|
1114
|
+
componentId: "sc-1a9loy1-0"
|
|
1115
|
+
})(["", ""], sx);
|
|
1116
|
+
|
|
1117
|
+
const UnstyledTable = /*#__PURE__*/styled__default.default.table.withConfig({
|
|
1118
|
+
displayName: "_UnstyledTable__UnstyledTable",
|
|
1119
|
+
componentId: "sc-1okwtam-0"
|
|
1120
|
+
})(["border-collapse:collapse;", ""], sx);
|
|
1118
1121
|
var index$f = Object.assign(UnstyledTable, {
|
|
1119
1122
|
Head: UnstyledTableHead,
|
|
1120
1123
|
Body: UnstyledTableBody,
|
|
@@ -1122,10 +1125,10 @@ var index$f = Object.assign(UnstyledTable, {
|
|
|
1122
1125
|
Cell: UnstyledTableCell
|
|
1123
1126
|
});
|
|
1124
1127
|
|
|
1125
|
-
const View = styled__default.default.div
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1128
|
+
const View = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1129
|
+
displayName: "View",
|
|
1130
|
+
componentId: "sc-1v428e-0"
|
|
1131
|
+
})(["", " ", ""], compose(layout, color, flexbox, background, border, position, shadow, gap, columnGap, rowGap), sx);
|
|
1129
1132
|
|
|
1130
1133
|
const Grid = /*#__PURE__*/React.forwardRef(({
|
|
1131
1134
|
children,
|
|
@@ -1146,7 +1149,10 @@ const Grid = /*#__PURE__*/React.forwardRef(({
|
|
|
1146
1149
|
children: children
|
|
1147
1150
|
});
|
|
1148
1151
|
});
|
|
1149
|
-
const BaseGrid = styled__default.default(View)({
|
|
1152
|
+
const BaseGrid = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
1153
|
+
displayName: "Grid__BaseGrid",
|
|
1154
|
+
componentId: "sc-4l957f-0"
|
|
1155
|
+
})({
|
|
1150
1156
|
display: 'flex',
|
|
1151
1157
|
flexDirection: 'row'
|
|
1152
1158
|
}, ({
|
|
@@ -1266,9 +1272,10 @@ const StyledIcon = /*#__PURE__*/React.forwardRef(({
|
|
|
1266
1272
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
1267
1273
|
}));
|
|
1268
1274
|
|
|
1269
|
-
const
|
|
1270
|
-
|
|
1271
|
-
|
|
1275
|
+
const BaseText = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
1276
|
+
displayName: "Text__BaseText",
|
|
1277
|
+
componentId: "sc-yuorjy-0"
|
|
1278
|
+
})({
|
|
1272
1279
|
'display': 'block',
|
|
1273
1280
|
'whiteSpace': 'pre-wrap',
|
|
1274
1281
|
'& > span': {
|
|
@@ -1406,6 +1413,15 @@ const Text = styled__default.default.span.attrs(props => ({
|
|
|
1406
1413
|
}
|
|
1407
1414
|
}
|
|
1408
1415
|
}), compose(wordBreak, whiteSpace, textDecoration, fontSize, fontWeight, lineHeight, color, textAlign), sx);
|
|
1416
|
+
const Text = /*#__PURE__*/React.forwardRef(({
|
|
1417
|
+
color = 'text/neutral',
|
|
1418
|
+
...props
|
|
1419
|
+
}, ref) => /*#__PURE__*/jsxRuntime.jsx(BaseText, {
|
|
1420
|
+
ref: ref,
|
|
1421
|
+
color: color,
|
|
1422
|
+
...props
|
|
1423
|
+
}));
|
|
1424
|
+
Text.displayName = 'Text';
|
|
1409
1425
|
|
|
1410
1426
|
const ActionListItem = ({
|
|
1411
1427
|
variant = 'neutral',
|
|
@@ -1522,8 +1538,10 @@ const ActionListItem = ({
|
|
|
1522
1538
|
})]
|
|
1523
1539
|
});
|
|
1524
1540
|
};
|
|
1525
|
-
const VisualWrapper = styled__default.default(View)
|
|
1526
|
-
|
|
1541
|
+
const VisualWrapper = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
1542
|
+
displayName: "ActionListItem__VisualWrapper",
|
|
1543
|
+
componentId: "sc-cpn5js-0"
|
|
1544
|
+
})(["", ""], variant({
|
|
1527
1545
|
prop: 'variant',
|
|
1528
1546
|
variants: {
|
|
1529
1547
|
neutral: {
|
|
@@ -1539,40 +1557,23 @@ const VisualWrapper = styled__default.default(View)`
|
|
|
1539
1557
|
}
|
|
1540
1558
|
}
|
|
1541
1559
|
}
|
|
1542
|
-
})
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
font-size: ${({
|
|
1560
|
+
}));
|
|
1561
|
+
const BaseActionListItem = /*#__PURE__*/styled__default.default.li.withConfig({
|
|
1562
|
+
displayName: "ActionListItem__BaseActionListItem",
|
|
1563
|
+
componentId: "sc-cpn5js-1"
|
|
1564
|
+
})(["display:flex;align-items:flex-start;font-size:", ";font-weight:", ";line-height:", ";& svg{width:", ";height:", ";}padding:", ";background-color:", ";border-radius:", ";cursor:pointer;transition:background-color 100ms;", " ", " ", ";"], ({
|
|
1549
1565
|
theme
|
|
1550
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
1551
|
-
font-weight: ${({
|
|
1566
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
1552
1567
|
theme
|
|
1553
|
-
}) => theme.fontWeights.medium
|
|
1554
|
-
line-height: ${({
|
|
1568
|
+
}) => theme.fontWeights.medium, ({
|
|
1555
1569
|
theme
|
|
1556
|
-
}) => theme.lineHeights[2]
|
|
1557
|
-
|
|
1558
|
-
& svg {
|
|
1559
|
-
width: ${utils.forcePixelValue(20)};
|
|
1560
|
-
height: ${utils.forcePixelValue(20)};
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
padding: ${({
|
|
1570
|
+
}) => theme.lineHeights[2], utils.forcePixelValue(20), utils.forcePixelValue(20), ({
|
|
1564
1571
|
theme
|
|
1565
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
1566
|
-
background-color: ${({
|
|
1572
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
1567
1573
|
theme
|
|
1568
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
1569
|
-
border-radius: ${({
|
|
1574
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
1570
1575
|
theme
|
|
1571
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
1572
|
-
cursor: pointer;
|
|
1573
|
-
transition: background-color 100ms;
|
|
1574
|
-
|
|
1575
|
-
${({
|
|
1576
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
1576
1577
|
theme,
|
|
1577
1578
|
disabled
|
|
1578
1579
|
}) => disabled ? styled.css`
|
|
@@ -1596,9 +1597,7 @@ const BaseActionListItem = styled__default.default.li`
|
|
|
1596
1597
|
outline-color: ${theme.colors['border/focused']};
|
|
1597
1598
|
outline-offset: ${utils.forcePixelValue(-2)};
|
|
1598
1599
|
}
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
${({
|
|
1600
|
+
`, ({
|
|
1602
1601
|
theme,
|
|
1603
1602
|
disabled,
|
|
1604
1603
|
variant
|
|
@@ -1606,94 +1605,31 @@ const BaseActionListItem = styled__default.default.li`
|
|
|
1606
1605
|
color: ${theme.colors['text/danger']};
|
|
1607
1606
|
` : !disabled && variant === 'neutral' ? styled.css`
|
|
1608
1607
|
color: ${theme.colors['text/neutral']};
|
|
1609
|
-
` : null
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
position: relative;
|
|
1615
|
-
|
|
1616
|
-
width: ${utils.forcePixelValue(20)};
|
|
1617
|
-
height: ${utils.forcePixelValue(20)};
|
|
1618
|
-
|
|
1619
|
-
border-width: ${utils.forcePixelValue(2)};
|
|
1620
|
-
border-style: solid;
|
|
1621
|
-
border-color: ${({
|
|
1608
|
+
` : null, sx);
|
|
1609
|
+
const FakeCheckbox = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1610
|
+
displayName: "ActionListItem__FakeCheckbox",
|
|
1611
|
+
componentId: "sc-cpn5js-2"
|
|
1612
|
+
})(["position:relative;width:", ";height:", ";border-width:", ";border-style:solid;border-color:", ";border-radius:", ";cursor:pointer;transition:visibility 200ms;&::before{visibility:hidden;content:'';display:grid;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:", ";background-color:", ";mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A\");mask-size:100%;-webkit-mask-size:100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;}&[aria-disabled='true']{background-color:", ";border-color:", ";}&[aria-checked='true']{background-color:", ";border-width:0;&::before{visibility:visible;}&[aria-disabled='true']{background-color:", ";border-color:", ";&::before{background-color:", ";}}}", ""], utils.forcePixelValue(20), utils.forcePixelValue(20), utils.forcePixelValue(2), ({
|
|
1622
1613
|
theme
|
|
1623
|
-
}) => theme.colors['border/neutral']
|
|
1624
|
-
border-radius: ${({
|
|
1614
|
+
}) => theme.colors['border/neutral'], ({
|
|
1625
1615
|
theme
|
|
1626
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
1627
|
-
cursor: pointer;
|
|
1628
|
-
|
|
1629
|
-
transition: visibility 200ms;
|
|
1630
|
-
|
|
1631
|
-
&::before {
|
|
1632
|
-
visibility: hidden;
|
|
1633
|
-
|
|
1634
|
-
content: '';
|
|
1635
|
-
display: grid;
|
|
1636
|
-
position: absolute;
|
|
1637
|
-
|
|
1638
|
-
top: 0;
|
|
1639
|
-
right: 0;
|
|
1640
|
-
bottom: 0;
|
|
1641
|
-
left: 0;
|
|
1642
|
-
|
|
1643
|
-
border-radius: ${({
|
|
1616
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
1644
1617
|
theme
|
|
1645
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
1646
|
-
|
|
1647
|
-
background-color: ${({
|
|
1618
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
1648
1619
|
theme
|
|
1649
|
-
}) => theme.colors['icon/inverse']
|
|
1650
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A");
|
|
1651
|
-
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A");
|
|
1652
|
-
mask-size: 100%;
|
|
1653
|
-
-webkit-mask-size: 100%;
|
|
1654
|
-
mask-repeat: no-repeat;
|
|
1655
|
-
-webkit-mask-repeat: no-repeat;
|
|
1656
|
-
mask-position: center;
|
|
1657
|
-
-webkit-mask-position: center;
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
&[aria-disabled='true'] {
|
|
1661
|
-
background-color: ${({
|
|
1620
|
+
}) => theme.colors['icon/inverse'], ({
|
|
1662
1621
|
theme
|
|
1663
|
-
}) => theme.colors['bg/disabled']
|
|
1664
|
-
border-color: ${({
|
|
1622
|
+
}) => theme.colors['bg/disabled'], ({
|
|
1665
1623
|
theme
|
|
1666
|
-
}) => theme.colors['border/disabled']
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
&[aria-checked='true'] {
|
|
1670
|
-
background-color: ${({
|
|
1624
|
+
}) => theme.colors['border/disabled'], ({
|
|
1671
1625
|
theme
|
|
1672
|
-
}) => theme.colors['bg/primary']
|
|
1673
|
-
border-width: 0;
|
|
1674
|
-
|
|
1675
|
-
&::before {
|
|
1676
|
-
visibility: visible;
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
&[aria-disabled='true'] {
|
|
1680
|
-
background-color: ${({
|
|
1626
|
+
}) => theme.colors['bg/primary'], ({
|
|
1681
1627
|
theme
|
|
1682
|
-
}) => theme.colors['bg/disabled']
|
|
1683
|
-
border-color: ${({
|
|
1628
|
+
}) => theme.colors['bg/disabled'], ({
|
|
1684
1629
|
theme
|
|
1685
|
-
}) => theme.colors['border/disabled']
|
|
1686
|
-
|
|
1687
|
-
&::before {
|
|
1688
|
-
background-color: ${({
|
|
1630
|
+
}) => theme.colors['border/disabled'], ({
|
|
1689
1631
|
theme
|
|
1690
|
-
}) => theme.colors['icon/disabled']
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
${sx}
|
|
1696
|
-
`;
|
|
1632
|
+
}) => theme.colors['icon/disabled'], sx);
|
|
1697
1633
|
|
|
1698
1634
|
const HorizontalDivider = ({
|
|
1699
1635
|
className,
|
|
@@ -1708,17 +1644,10 @@ const HorizontalDivider = ({
|
|
|
1708
1644
|
borderBottomColor: color,
|
|
1709
1645
|
...props
|
|
1710
1646
|
});
|
|
1711
|
-
const BaseHorizontalDivider = styled__default.default.hr
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
border: none;
|
|
1716
|
-
|
|
1717
|
-
width: 100%;
|
|
1718
|
-
|
|
1719
|
-
${border}
|
|
1720
|
-
${sx}
|
|
1721
|
-
`;
|
|
1647
|
+
const BaseHorizontalDivider = /*#__PURE__*/styled__default.default.hr.withConfig({
|
|
1648
|
+
displayName: "HorizontalDivider__BaseHorizontalDivider",
|
|
1649
|
+
componentId: "sc-1nsxooh-0"
|
|
1650
|
+
})(["display:block;margin:0;padding:0;border:none;width:100%;", " ", ""], border, sx);
|
|
1722
1651
|
|
|
1723
1652
|
const ActionListSectionDivider = ({
|
|
1724
1653
|
color = 'border/neutral',
|
|
@@ -1746,28 +1675,20 @@ const ActionListSectionHeader = ({
|
|
|
1746
1675
|
...props
|
|
1747
1676
|
});
|
|
1748
1677
|
};
|
|
1749
|
-
const BaseActionListSectionHeader = styled__default.default.div
|
|
1750
|
-
|
|
1678
|
+
const BaseActionListSectionHeader = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1679
|
+
displayName: "ActionListSectionHeader__BaseActionListSectionHeader",
|
|
1680
|
+
componentId: "sc-sx3na3-0"
|
|
1681
|
+
})(["color:", ";font-size:", ";font-weight:", ";line-height:", ";white-space:pre-wrap;padding:", ";", ";"], ({
|
|
1751
1682
|
theme
|
|
1752
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
1753
|
-
font-size: ${({
|
|
1683
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
1754
1684
|
theme
|
|
1755
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
1756
|
-
font-weight: ${({
|
|
1685
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
1757
1686
|
theme
|
|
1758
|
-
}) => theme.fontWeights.bold
|
|
1759
|
-
line-height: ${({
|
|
1687
|
+
}) => theme.fontWeights.bold, ({
|
|
1760
1688
|
theme
|
|
1761
|
-
}) => theme.lineHeights[2]
|
|
1762
|
-
|
|
1763
|
-
white-space: pre-wrap;
|
|
1764
|
-
|
|
1765
|
-
padding: ${({
|
|
1689
|
+
}) => theme.lineHeights[2], ({
|
|
1766
1690
|
theme
|
|
1767
|
-
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[3])}}
|
|
1768
|
-
|
|
1769
|
-
${sx};
|
|
1770
|
-
`;
|
|
1691
|
+
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[3])}}`, sx);
|
|
1771
1692
|
|
|
1772
1693
|
const ActionListContext = /*#__PURE__*/React.createContext({});
|
|
1773
1694
|
const ActionList = ({
|
|
@@ -1787,23 +1708,20 @@ const ActionList = ({
|
|
|
1787
1708
|
})
|
|
1788
1709
|
});
|
|
1789
1710
|
};
|
|
1790
|
-
const BaseActionList = styled__default.default.ul
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
${sx}
|
|
1796
|
-
`;
|
|
1711
|
+
const BaseActionList = /*#__PURE__*/styled__default.default.ul.withConfig({
|
|
1712
|
+
displayName: "ActionList__BaseActionList",
|
|
1713
|
+
componentId: "sc-1epqzss-0"
|
|
1714
|
+
})(["list-style:none;padding:0;margin:0;", ""], sx);
|
|
1797
1715
|
var index$e = Object.assign(ActionList, {
|
|
1798
1716
|
Item: ActionListItem,
|
|
1799
1717
|
SectionDivider: ActionListSectionDivider,
|
|
1800
1718
|
SectionHeader: ActionListSectionHeader
|
|
1801
1719
|
});
|
|
1802
1720
|
|
|
1803
|
-
const Image = styled__default.default.img
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1721
|
+
const Image = /*#__PURE__*/styled__default.default.img.withConfig({
|
|
1722
|
+
displayName: "Image",
|
|
1723
|
+
componentId: "sc-1qz2ku6-0"
|
|
1724
|
+
})(["", " ", ""], layout, sx);
|
|
1807
1725
|
|
|
1808
1726
|
const DEFAULT_AVATAR_URL = 'https://cdn.teamturing.com/cms/uploads/2024-02-21/1708481300_empty-profile.png';
|
|
1809
1727
|
const Avatar = /*#__PURE__*/React.forwardRef(({
|
|
@@ -1821,13 +1739,12 @@ const Avatar = /*#__PURE__*/React.forwardRef(({
|
|
|
1821
1739
|
size: size,
|
|
1822
1740
|
...props
|
|
1823
1741
|
}));
|
|
1824
|
-
const BaseAvatar = styled__default.default(Image)
|
|
1825
|
-
|
|
1742
|
+
const BaseAvatar = /*#__PURE__*/styled__default.default(Image).withConfig({
|
|
1743
|
+
displayName: "Avatar__BaseAvatar",
|
|
1744
|
+
componentId: "sc-1f1ok6x-0"
|
|
1745
|
+
})(["border-radius:", ";object-fit:cover;", " ", ""], ({
|
|
1826
1746
|
theme
|
|
1827
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
1828
|
-
object-fit: cover;
|
|
1829
|
-
|
|
1830
|
-
${variant({
|
|
1747
|
+
}) => utils.forcePixelValue(theme.radii.full), variant({
|
|
1831
1748
|
prop: 'size',
|
|
1832
1749
|
variants: {
|
|
1833
1750
|
xxs: {
|
|
@@ -1863,10 +1780,7 @@ const BaseAvatar = styled__default.default(Image)`
|
|
|
1863
1780
|
height: 64
|
|
1864
1781
|
}
|
|
1865
1782
|
}
|
|
1866
|
-
})
|
|
1867
|
-
|
|
1868
|
-
${sx}
|
|
1869
|
-
`;
|
|
1783
|
+
}), sx);
|
|
1870
1784
|
|
|
1871
1785
|
const Overlay = ({
|
|
1872
1786
|
children,
|
|
@@ -1939,22 +1853,16 @@ const Overlay = ({
|
|
|
1939
1853
|
children: children
|
|
1940
1854
|
}) : null;
|
|
1941
1855
|
};
|
|
1942
|
-
const BaseOverlay = styled__default.default.div
|
|
1943
|
-
|
|
1944
|
-
|
|
1856
|
+
const BaseOverlay = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1857
|
+
displayName: "Overlay__BaseOverlay",
|
|
1858
|
+
componentId: "sc-1k2jlh8-0"
|
|
1859
|
+
})(["position:absolute;box-shadow:", ";background-color:", ";border-radius:", ";overflow:hidden;margin:auto;z-index:99999;", " ", " ", ""], ({
|
|
1945
1860
|
theme
|
|
1946
|
-
}) => theme.shadows['shadow/overlay']
|
|
1947
|
-
background-color: ${({
|
|
1861
|
+
}) => theme.shadows['shadow/overlay'], ({
|
|
1948
1862
|
theme
|
|
1949
|
-
}) => theme.colors['surface/overlay']
|
|
1950
|
-
border-radius: ${({
|
|
1863
|
+
}) => theme.colors['surface/overlay'], ({
|
|
1951
1864
|
theme
|
|
1952
|
-
}) => utils.forcePixelValue(theme.radii.s)
|
|
1953
|
-
overflow: hidden;
|
|
1954
|
-
margin: auto;
|
|
1955
|
-
z-index: 99999;
|
|
1956
|
-
|
|
1957
|
-
${variant({
|
|
1865
|
+
}) => utils.forcePixelValue(theme.radii.s), variant({
|
|
1958
1866
|
prop: 'size',
|
|
1959
1867
|
variants: {
|
|
1960
1868
|
s: {
|
|
@@ -1970,11 +1878,7 @@ const BaseOverlay = styled__default.default.div`
|
|
|
1970
1878
|
width: 'auto'
|
|
1971
1879
|
}
|
|
1972
1880
|
}
|
|
1973
|
-
})
|
|
1974
|
-
|
|
1975
|
-
${maxHeight}
|
|
1976
|
-
${sx}
|
|
1977
|
-
`;
|
|
1881
|
+
}), maxHeight, sx);
|
|
1978
1882
|
var Overlay$1 = /*#__PURE__*/React.forwardRef(Overlay);
|
|
1979
1883
|
|
|
1980
1884
|
const useDelayedFunction = ({
|
|
@@ -2188,23 +2092,24 @@ const OverlayPopper = ({
|
|
|
2188
2092
|
});
|
|
2189
2093
|
};
|
|
2190
2094
|
|
|
2191
|
-
const Space = styled__default.default.div
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
`;
|
|
2196
|
-
|
|
2197
|
-
const UnstyledButton = styled__default.default.button.attrs(props => ({
|
|
2198
|
-
type: props.type ?? 'button'
|
|
2199
|
-
}))`
|
|
2200
|
-
background: none;
|
|
2201
|
-
border: 0;
|
|
2202
|
-
padding: 0;
|
|
2203
|
-
outline: none;
|
|
2204
|
-
cursor: pointer;
|
|
2095
|
+
const Space = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2096
|
+
displayName: "Space",
|
|
2097
|
+
componentId: "sc-4g4g8r-0"
|
|
2098
|
+
})(["width:inherit;", ";", ""], space, sx);
|
|
2205
2099
|
|
|
2206
|
-
|
|
2207
|
-
|
|
2100
|
+
const BaseButton$1 = /*#__PURE__*/styled__default.default.button.withConfig({
|
|
2101
|
+
displayName: "_UnstyledButton__BaseButton",
|
|
2102
|
+
componentId: "sc-j96ib-0"
|
|
2103
|
+
})(["background:none;border:0;padding:0;outline:none;cursor:pointer;", ""], sx);
|
|
2104
|
+
const UnstyledButton = /*#__PURE__*/React.forwardRef(({
|
|
2105
|
+
type = 'button',
|
|
2106
|
+
...props
|
|
2107
|
+
}, ref) => /*#__PURE__*/jsxRuntime.jsx(BaseButton$1, {
|
|
2108
|
+
ref: ref,
|
|
2109
|
+
type: type,
|
|
2110
|
+
...props
|
|
2111
|
+
}));
|
|
2112
|
+
UnstyledButton.displayName = 'UnstyledButton';
|
|
2208
2113
|
|
|
2209
2114
|
function useTooltip({
|
|
2210
2115
|
initialOpen = false,
|
|
@@ -2334,55 +2239,26 @@ const tooltipAppear = styled.keyframes`
|
|
|
2334
2239
|
opacity: 1;
|
|
2335
2240
|
}
|
|
2336
2241
|
`;
|
|
2337
|
-
const StyledBaseTooltipContent = styled__default.default.div
|
|
2338
|
-
|
|
2339
|
-
|
|
2242
|
+
const StyledBaseTooltipContent = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2243
|
+
displayName: "BaseTooltip__StyledBaseTooltipContent",
|
|
2244
|
+
componentId: "sc-1devpfm-0"
|
|
2245
|
+
})(["z-index:99999;background-color:", ";border-radius:", ";box-shadow:", ";padding:", ";font-size:", ";font-weight:", ";line-height:", ";-webkit-font-smoothing:subpixel-antialiased;color:", ";text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;width:max-content;max-width:", ";word-wrap:break-word;white-space:pre-line;border-collapse:separate;animation-name:", ";animation-duration:100ms;animation-fill-mode:forwards;animation-timing-function:ease-in;", ""], ({
|
|
2340
2246
|
theme
|
|
2341
|
-
}) => theme.colors['bg/neutral/bolder']
|
|
2342
|
-
border-radius: ${({
|
|
2247
|
+
}) => theme.colors['bg/neutral/bolder'], ({
|
|
2343
2248
|
theme
|
|
2344
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
2345
|
-
box-shadow: ${({
|
|
2249
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
2346
2250
|
theme
|
|
2347
|
-
}) => theme.shadows['shadow/overlay']
|
|
2348
|
-
padding: ${({
|
|
2251
|
+
}) => theme.shadows['shadow/overlay'], ({
|
|
2349
2252
|
theme
|
|
2350
|
-
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[3])}
|
|
2351
|
-
font-size: ${({
|
|
2253
|
+
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
2352
2254
|
theme
|
|
2353
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
2354
|
-
font-weight: ${({
|
|
2255
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
2355
2256
|
theme
|
|
2356
|
-
}) => theme.fontWeights.medium
|
|
2357
|
-
line-height: ${({
|
|
2257
|
+
}) => theme.fontWeights.medium, ({
|
|
2358
2258
|
theme
|
|
2359
|
-
}) => theme.lineHeights[2]
|
|
2360
|
-
-webkit-font-smoothing: subpixel-antialiased;
|
|
2361
|
-
color: ${({
|
|
2259
|
+
}) => theme.lineHeights[2], ({
|
|
2362
2260
|
theme
|
|
2363
|
-
}) => theme.colors['text/inverse']
|
|
2364
|
-
text-align: center;
|
|
2365
|
-
text-decoration: none;
|
|
2366
|
-
text-shadow: none;
|
|
2367
|
-
text-transform: none;
|
|
2368
|
-
letter-spacing: normal;
|
|
2369
|
-
word-wrap: break-word;
|
|
2370
|
-
white-space: pre;
|
|
2371
|
-
pointer-events: none;
|
|
2372
|
-
|
|
2373
|
-
width: max-content;
|
|
2374
|
-
max-width: ${utils.forcePixelValue(240)};
|
|
2375
|
-
word-wrap: break-word;
|
|
2376
|
-
white-space: pre-line;
|
|
2377
|
-
border-collapse: separate;
|
|
2378
|
-
|
|
2379
|
-
animation-name: ${tooltipAppear};
|
|
2380
|
-
animation-duration: 100ms;
|
|
2381
|
-
animation-fill-mode: forwards;
|
|
2382
|
-
animation-timing-function: ease-in;
|
|
2383
|
-
|
|
2384
|
-
${sx}
|
|
2385
|
-
`;
|
|
2261
|
+
}) => theme.colors['text/inverse'], utils.forcePixelValue(240), tooltipAppear, sx);
|
|
2386
2262
|
|
|
2387
2263
|
const Tooltip = ({
|
|
2388
2264
|
children,
|
|
@@ -2428,12 +2304,10 @@ const AvatarGroupItem = ({
|
|
|
2428
2304
|
})
|
|
2429
2305
|
})
|
|
2430
2306
|
});
|
|
2431
|
-
const BaseAvatarGroupItem = styled__default.default.li
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
margin: 0;
|
|
2436
|
-
`;
|
|
2307
|
+
const BaseAvatarGroupItem = /*#__PURE__*/styled__default.default.li.withConfig({
|
|
2308
|
+
displayName: "AvatarGroupItem__BaseAvatarGroupItem",
|
|
2309
|
+
componentId: "sc-1cmo31h-0"
|
|
2310
|
+
})(["display:inline-flex;list-style:none;padding:0;margin:0;"]);
|
|
2437
2311
|
var AvatarGroupItem$1 = /*#__PURE__*/React.forwardRef(AvatarGroupItem);
|
|
2438
2312
|
|
|
2439
2313
|
const AvatarGroup = ({
|
|
@@ -2504,45 +2378,24 @@ const AvatarGroup = ({
|
|
|
2504
2378
|
}) : null]
|
|
2505
2379
|
});
|
|
2506
2380
|
};
|
|
2507
|
-
const AvatarGroupWrapper = styled__default.default.div
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2381
|
+
const AvatarGroupWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2382
|
+
displayName: "AvatarGroup__AvatarGroupWrapper",
|
|
2383
|
+
componentId: "sc-17ktc6b-0"
|
|
2384
|
+
})(["display:inline-flex;align-items:center;column-gap:", ";"], ({
|
|
2511
2385
|
theme
|
|
2512
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
margin: 0;
|
|
2518
|
-
|
|
2519
|
-
display: inline-flex;
|
|
2520
|
-
flex-direction: row-reverse;
|
|
2521
|
-
align-items: center;
|
|
2522
|
-
|
|
2523
|
-
& > * {
|
|
2524
|
-
position: relative;
|
|
2525
|
-
background-color: ${({
|
|
2386
|
+
}) => utils.forcePixelValue(theme.space[1]));
|
|
2387
|
+
const BaseAvatarGroup = /*#__PURE__*/styled__default.default.ol.withConfig({
|
|
2388
|
+
displayName: "AvatarGroup__BaseAvatarGroup",
|
|
2389
|
+
componentId: "sc-17ktc6b-1"
|
|
2390
|
+
})(["list-style:none;padding:0;margin:0;display:inline-flex;flex-direction:row-reverse;align-items:center;& > *{position:relative;background-color:", ";padding:", ";border-radius:", ";margin-left:", ";&:last-child{margin-left:0;}}", ""], ({
|
|
2526
2391
|
theme
|
|
2527
|
-
}) => theme.colors['border/neutral/subtle']
|
|
2528
|
-
padding: ${({
|
|
2392
|
+
}) => theme.colors['border/neutral/subtle'], ({
|
|
2529
2393
|
theme
|
|
2530
|
-
}) => utils.forcePixelValue(theme.space['0.25'])
|
|
2531
|
-
border-radius: ${({
|
|
2394
|
+
}) => utils.forcePixelValue(theme.space['0.25']), ({
|
|
2532
2395
|
theme
|
|
2533
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
2534
|
-
|
|
2535
|
-
margin-left: ${({
|
|
2396
|
+
}) => utils.forcePixelValue(theme.radii.full), ({
|
|
2536
2397
|
theme
|
|
2537
|
-
}) => utils.forcePixelValue(theme.space[-1])
|
|
2538
|
-
|
|
2539
|
-
&:last-child {
|
|
2540
|
-
margin-left: 0;
|
|
2541
|
-
}
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
${sx}
|
|
2545
|
-
`;
|
|
2398
|
+
}) => utils.forcePixelValue(theme.space[-1]), sx);
|
|
2546
2399
|
var index$d = Object.assign( /*#__PURE__*/React.forwardRef(AvatarGroup), {
|
|
2547
2400
|
Item: AvatarGroupItem$1
|
|
2548
2401
|
});
|
|
@@ -2562,12 +2415,10 @@ const BadgeAttacher = ({
|
|
|
2562
2415
|
}
|
|
2563
2416
|
})]
|
|
2564
2417
|
});
|
|
2565
|
-
const BadgeAttacherWrapper = styled__default.default.div
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
${sx}
|
|
2570
|
-
`;
|
|
2418
|
+
const BadgeAttacherWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2419
|
+
displayName: "BadgeAttacher__BadgeAttacherWrapper",
|
|
2420
|
+
componentId: "sc-9c4lfq-0"
|
|
2421
|
+
})(["position:relative;width:fit-content;", ""], sx);
|
|
2571
2422
|
|
|
2572
2423
|
const BreadcrumbsItem = ({
|
|
2573
2424
|
text,
|
|
@@ -2597,44 +2448,27 @@ const BreadcrumbsItem = ({
|
|
|
2597
2448
|
children: baseBreadCrumbsItem
|
|
2598
2449
|
}) : baseBreadCrumbsItem;
|
|
2599
2450
|
};
|
|
2600
|
-
const BaseBreadcrumbsItem = styled__default.default.a
|
|
2601
|
-
|
|
2602
|
-
|
|
2451
|
+
const BaseBreadcrumbsItem = /*#__PURE__*/styled__default.default.a.withConfig({
|
|
2452
|
+
displayName: "BreadcrumbsItem__BaseBreadcrumbsItem",
|
|
2453
|
+
componentId: "sc-p481rg-0"
|
|
2454
|
+
})(["display:inline-block;font-size:", ";font-weight:", ";line-height:", ";color:", ";cursor:pointer;&:hover{text-decoration:underline;}text-overflow:ellipsis;overflow:hidden;word-break:break-word;white-space:nowrap;max-width:", ";", ""], ({
|
|
2603
2455
|
theme
|
|
2604
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
2605
|
-
font-weight: ${({
|
|
2456
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
2606
2457
|
theme
|
|
2607
|
-
}) => theme.fontWeights.medium
|
|
2608
|
-
line-height: ${({
|
|
2458
|
+
}) => theme.fontWeights.medium, ({
|
|
2609
2459
|
theme
|
|
2610
|
-
}) => theme.lineHeights[2]
|
|
2611
|
-
color: ${({
|
|
2460
|
+
}) => theme.lineHeights[2], ({
|
|
2612
2461
|
theme
|
|
2613
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
2614
|
-
cursor: pointer;
|
|
2615
|
-
|
|
2616
|
-
&:hover {
|
|
2617
|
-
text-decoration: underline;
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
|
-
text-overflow: ellipsis;
|
|
2621
|
-
overflow: hidden;
|
|
2622
|
-
word-break: break-word;
|
|
2623
|
-
white-space: nowrap;
|
|
2624
|
-
|
|
2625
|
-
max-width: ${({
|
|
2462
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
2626
2463
|
truncatedWidth
|
|
2627
|
-
}) => truncatedWidth ? utils.forcePixelValue(truncatedWidth) : ''
|
|
2628
|
-
|
|
2629
|
-
${({
|
|
2464
|
+
}) => truncatedWidth ? utils.forcePixelValue(truncatedWidth) : '', ({
|
|
2630
2465
|
selected
|
|
2631
2466
|
}) => selected ? styled.css`
|
|
2632
2467
|
color: ${({
|
|
2633
2468
|
theme
|
|
2634
2469
|
}) => theme.colors['text/neutral/subtle']};
|
|
2635
2470
|
pointer-events: none;
|
|
2636
|
-
` : ''
|
|
2637
|
-
`;
|
|
2471
|
+
` : '');
|
|
2638
2472
|
|
|
2639
2473
|
const Breadcrumbs = ({
|
|
2640
2474
|
children,
|
|
@@ -2656,47 +2490,28 @@ const Breadcrumbs = ({
|
|
|
2656
2490
|
}))
|
|
2657
2491
|
});
|
|
2658
2492
|
};
|
|
2659
|
-
const BaseBreadcrumbs = styled__default.default.nav
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
flex-wrap: wrap;
|
|
2664
|
-
|
|
2665
|
-
column-gap: ${({
|
|
2493
|
+
const BaseBreadcrumbs = /*#__PURE__*/styled__default.default.nav.withConfig({
|
|
2494
|
+
displayName: "Breadcrumbs__BaseBreadcrumbs",
|
|
2495
|
+
componentId: "sc-1lwv2x7-0"
|
|
2496
|
+
})(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:", ";row-gap:", ";"], ({
|
|
2666
2497
|
theme
|
|
2667
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
2668
|
-
row-gap: ${({
|
|
2498
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
2669
2499
|
theme
|
|
2670
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
&::after {
|
|
2676
|
-
content: '/';
|
|
2677
|
-
font-size: ${({
|
|
2500
|
+
}) => utils.forcePixelValue(theme.space[1]));
|
|
2501
|
+
const BreadcrumbsItemWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
2502
|
+
displayName: "Breadcrumbs__BreadcrumbsItemWrapper",
|
|
2503
|
+
componentId: "sc-1lwv2x7-1"
|
|
2504
|
+
})(["display:inline-flex;&::after{content:'/';font-size:", ";font-weight:", ";line-height:", ";color:", ";margin-left:", ";}&:last-child{&::after{content:none;}}"], ({
|
|
2678
2505
|
theme
|
|
2679
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
2680
|
-
font-weight: ${({
|
|
2506
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
2681
2507
|
theme
|
|
2682
|
-
}) => theme.fontWeights.medium
|
|
2683
|
-
line-height: ${({
|
|
2508
|
+
}) => theme.fontWeights.medium, ({
|
|
2684
2509
|
theme
|
|
2685
|
-
}) => theme.lineHeights[2]
|
|
2686
|
-
color: ${({
|
|
2510
|
+
}) => theme.lineHeights[2], ({
|
|
2687
2511
|
theme
|
|
2688
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
2689
|
-
margin-left: ${({
|
|
2512
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
2690
2513
|
theme
|
|
2691
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
2692
|
-
}
|
|
2693
|
-
|
|
2694
|
-
&:last-child {
|
|
2695
|
-
&::after {
|
|
2696
|
-
content: none;
|
|
2697
|
-
}
|
|
2698
|
-
}
|
|
2699
|
-
`;
|
|
2514
|
+
}) => utils.forcePixelValue(theme.space[2]));
|
|
2700
2515
|
var index$c = Object.assign(Breadcrumbs, {
|
|
2701
2516
|
Item: BreadcrumbsItem
|
|
2702
2517
|
});
|
|
@@ -2709,18 +2524,18 @@ const spin = styled.keyframes`
|
|
|
2709
2524
|
transform: rotate(360deg);
|
|
2710
2525
|
}
|
|
2711
2526
|
`;
|
|
2712
|
-
const ProgressGradientSpinner = styled__default.default(icons.ProgressGradientIcon)
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
})
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
const ProgressLineSpinner = styled__default.default(icons.ProgressLineIcon)
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
})
|
|
2722
|
-
|
|
2723
|
-
|
|
2527
|
+
const ProgressGradientSpinner = /*#__PURE__*/styled__default.default(icons.ProgressGradientIcon).withConfig({
|
|
2528
|
+
displayName: "Spinner__ProgressGradientSpinner",
|
|
2529
|
+
componentId: "sc-13dlgyx-0"
|
|
2530
|
+
})(["color:", ";animation:", " 1000ms infinite steps(8,end);"], ({
|
|
2531
|
+
theme
|
|
2532
|
+
}) => theme.colors['icon/neutral'], spin);
|
|
2533
|
+
const ProgressLineSpinner = /*#__PURE__*/styled__default.default(icons.ProgressLineIcon).withConfig({
|
|
2534
|
+
displayName: "Spinner__ProgressLineSpinner",
|
|
2535
|
+
componentId: "sc-13dlgyx-1"
|
|
2536
|
+
})(["color:", ";animation:", " 1000ms infinite linear;"], ({
|
|
2537
|
+
theme
|
|
2538
|
+
}) => theme.colors['icon/neutral'], spin);
|
|
2724
2539
|
const Spinner = /*#__PURE__*/React.forwardRef(({
|
|
2725
2540
|
variant: propsVariant,
|
|
2726
2541
|
width = 32,
|
|
@@ -2798,7 +2613,10 @@ const Button = /*#__PURE__*/React.forwardRef(({
|
|
|
2798
2613
|
}) : null]
|
|
2799
2614
|
});
|
|
2800
2615
|
});
|
|
2801
|
-
const BaseButton = styled__default.default(UnstyledButton)(
|
|
2616
|
+
const BaseButton = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
2617
|
+
displayName: "Button__BaseButton",
|
|
2618
|
+
componentId: "sc-1yhc0ra-0"
|
|
2619
|
+
})(({
|
|
2802
2620
|
$loading,
|
|
2803
2621
|
$disabled,
|
|
2804
2622
|
fillWidth,
|
|
@@ -3061,7 +2879,10 @@ const BaseButton = styled__default.default(UnstyledButton)(({
|
|
|
3061
2879
|
}
|
|
3062
2880
|
}
|
|
3063
2881
|
}));
|
|
3064
|
-
const BaseSpinner = styled__default.default(Spinner)(
|
|
2882
|
+
const BaseSpinner = /*#__PURE__*/styled__default.default(Spinner).withConfig({
|
|
2883
|
+
displayName: "Button__BaseSpinner",
|
|
2884
|
+
componentId: "sc-1yhc0ra-1"
|
|
2885
|
+
})(variant({
|
|
3065
2886
|
prop: 'size',
|
|
3066
2887
|
variants: {
|
|
3067
2888
|
l: {
|
|
@@ -3103,19 +2924,14 @@ const BaseSpinner = styled__default.default(Spinner)(variant({
|
|
|
3103
2924
|
}
|
|
3104
2925
|
}));
|
|
3105
2926
|
|
|
3106
|
-
const Card = styled__default.default.div
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
2927
|
+
const Card = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2928
|
+
displayName: "Card",
|
|
2929
|
+
componentId: "sc-1eobla7-0"
|
|
2930
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";", " ", ""], utils.forcePixelValue(1), ({
|
|
3110
2931
|
theme
|
|
3111
|
-
}) => theme.colors['border/neutral']
|
|
3112
|
-
border-radius: ${({
|
|
2932
|
+
}) => theme.colors['border/neutral'], ({
|
|
3113
2933
|
theme
|
|
3114
|
-
}) => utils.forcePixelValue(theme.radii['s'])
|
|
3115
|
-
|
|
3116
|
-
${compose(layout, color, flexbox, background, border, position, shadow)}
|
|
3117
|
-
${sx}
|
|
3118
|
-
`;
|
|
2934
|
+
}) => utils.forcePixelValue(theme.radii['s']), compose(layout, color, flexbox, background, border, position, shadow), sx);
|
|
3119
2935
|
|
|
3120
2936
|
const useSafeLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
|
3121
2937
|
|
|
@@ -3138,146 +2954,50 @@ const Checkbox = ({
|
|
|
3138
2954
|
...props
|
|
3139
2955
|
});
|
|
3140
2956
|
};
|
|
3141
|
-
const UnstyledCheckbox = styled__default.default.input.attrs({
|
|
2957
|
+
const UnstyledCheckbox = /*#__PURE__*/styled__default.default.input.attrs({
|
|
3142
2958
|
type: 'checkbox'
|
|
3143
|
-
})
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
width: ${utils.forcePixelValue(20)};
|
|
3152
|
-
height: ${utils.forcePixelValue(20)};
|
|
3153
|
-
|
|
3154
|
-
border-width: ${utils.forcePixelValue(2)};
|
|
3155
|
-
border-style: solid;
|
|
3156
|
-
border-color: ${({
|
|
2959
|
+
}).withConfig({
|
|
2960
|
+
displayName: "Checkbox__UnstyledCheckbox",
|
|
2961
|
+
componentId: "sc-19q1r3f-0"
|
|
2962
|
+
})(["appearance:none;", ""], sx);
|
|
2963
|
+
const BaseCheckbox = /*#__PURE__*/styled__default.default(UnstyledCheckbox).withConfig({
|
|
2964
|
+
displayName: "Checkbox__BaseCheckbox",
|
|
2965
|
+
componentId: "sc-19q1r3f-1"
|
|
2966
|
+
})(["position:relative;width:", ";height:", ";border-width:", ";border-style:solid;border-color:", ";border-radius:", ";cursor:pointer;transition:visibility 200ms;&::before{visibility:hidden;content:'';display:grid;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:", ";background-color:", ";mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A\");mask-size:100%;-webkit-mask-size:100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;}&:disabled{background-color:", ";border-color:", ";cursor:not-allowed;}&:checked{background-color:", ";border-width:0;&::before{visibility:visible;}&:disabled{background-color:", ";border-color:", ";&::before{background-color:", ";}}}&:indeterminate{background-color:", ";border-width:0;&::before{visibility:visible;mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.05 13.2H4.05001C3.73175 13.2 3.42652 13.0736 3.20148 12.8485C2.97643 12.6235 2.85001 12.3182 2.85001 12C2.85001 11.6817 2.97643 11.3765 3.20148 11.1515C3.42652 10.9264 3.73175 10.8 4.05001 10.8H20.05C20.3683 10.8 20.6735 10.9264 20.8985 11.1515C21.1236 11.3765 21.25 11.6817 21.25 12C21.25 12.3182 21.1236 12.6235 20.8985 12.8485C20.6735 13.0736 20.3683 13.2 20.05 13.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.05 13.2H4.05001C3.73175 13.2 3.42652 13.0736 3.20148 12.8485C2.97643 12.6235 2.85001 12.3182 2.85001 12C2.85001 11.6817 2.97643 11.3765 3.20148 11.1515C3.42652 10.9264 3.73175 10.8 4.05001 10.8H20.05C20.3683 10.8 20.6735 10.9264 20.8985 11.1515C21.1236 11.3765 21.25 11.6817 21.25 12C21.25 12.3182 21.1236 12.6235 20.8985 12.8485C20.6735 13.0736 20.3683 13.2 20.05 13.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A\");mask-size:100%;-webkit-mask-size:100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;}&:disabled{background-color:", ";border-color:", ";&::before{background-color:", ";}}}&:focus-visible{outline-width:", ";outline-style:solid;outline-color:", ";}", " ", ""], utils.forcePixelValue(20), utils.forcePixelValue(20), utils.forcePixelValue(2), ({
|
|
3157
2967
|
theme
|
|
3158
|
-
}) => theme.colors['border/neutral']
|
|
3159
|
-
border-radius: ${({
|
|
2968
|
+
}) => theme.colors['border/neutral'], ({
|
|
3160
2969
|
theme
|
|
3161
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
3162
|
-
cursor: pointer;
|
|
3163
|
-
|
|
3164
|
-
transition: visibility 200ms;
|
|
3165
|
-
|
|
3166
|
-
&::before {
|
|
3167
|
-
visibility: hidden;
|
|
3168
|
-
|
|
3169
|
-
content: '';
|
|
3170
|
-
display: grid;
|
|
3171
|
-
position: absolute;
|
|
3172
|
-
|
|
3173
|
-
top: 0;
|
|
3174
|
-
right: 0;
|
|
3175
|
-
bottom: 0;
|
|
3176
|
-
left: 0;
|
|
3177
|
-
|
|
3178
|
-
border-radius: ${({
|
|
2970
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
3179
2971
|
theme
|
|
3180
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
3181
|
-
|
|
3182
|
-
background-color: ${({
|
|
2972
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
3183
2973
|
theme
|
|
3184
|
-
}) => theme.colors['icon/inverse']
|
|
3185
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A");
|
|
3186
|
-
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 17.2C10.3 17.2 10 17.1 9.80001 16.8L5.20001 12.2C4.70001 11.7 4.70001 11 5.20001 10.5C5.70001 9.99998 6.40001 9.99998 6.90001 10.5L10.6 14.2L17.2 7.59998C17.7 7.09998 18.4 7.09998 18.9 7.59998C19.4 8.09998 19.4 8.79998 18.9 9.29998L11.5 16.7C11.2 17.1 10.9 17.2 10.6 17.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A");
|
|
3187
|
-
mask-size: 100%;
|
|
3188
|
-
-webkit-mask-size: 100%;
|
|
3189
|
-
mask-repeat: no-repeat;
|
|
3190
|
-
-webkit-mask-repeat: no-repeat;
|
|
3191
|
-
mask-position: center;
|
|
3192
|
-
-webkit-mask-position: center;
|
|
3193
|
-
}
|
|
3194
|
-
|
|
3195
|
-
&:disabled {
|
|
3196
|
-
background-color: ${({
|
|
2974
|
+
}) => theme.colors['icon/inverse'], ({
|
|
3197
2975
|
theme
|
|
3198
|
-
}) => theme.colors['bg/disabled']
|
|
3199
|
-
border-color: ${({
|
|
2976
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3200
2977
|
theme
|
|
3201
|
-
}) => theme.colors['border/disabled']
|
|
3202
|
-
cursor: not-allowed;
|
|
3203
|
-
}
|
|
3204
|
-
|
|
3205
|
-
&:checked {
|
|
3206
|
-
background-color: ${({
|
|
2978
|
+
}) => theme.colors['border/disabled'], ({
|
|
3207
2979
|
theme
|
|
3208
|
-
}) => theme.colors['bg/primary']
|
|
3209
|
-
border-width: 0;
|
|
3210
|
-
|
|
3211
|
-
&::before {
|
|
3212
|
-
visibility: visible;
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
|
-
&:disabled {
|
|
3216
|
-
background-color: ${({
|
|
2980
|
+
}) => theme.colors['bg/primary'], ({
|
|
3217
2981
|
theme
|
|
3218
|
-
}) => theme.colors['bg/disabled']
|
|
3219
|
-
border-color: ${({
|
|
2982
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3220
2983
|
theme
|
|
3221
|
-
}) => theme.colors['border/disabled']
|
|
3222
|
-
|
|
3223
|
-
&::before {
|
|
3224
|
-
background-color: ${({
|
|
2984
|
+
}) => theme.colors['border/disabled'], ({
|
|
3225
2985
|
theme
|
|
3226
|
-
}) => theme.colors['icon/disabled']
|
|
3227
|
-
}
|
|
3228
|
-
}
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
&:indeterminate {
|
|
3232
|
-
background-color: ${({
|
|
3233
|
-
theme
|
|
3234
|
-
}) => theme.colors['bg/primary']};
|
|
3235
|
-
border-width: 0;
|
|
3236
|
-
|
|
3237
|
-
&::before {
|
|
3238
|
-
visibility: visible;
|
|
3239
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.05 13.2H4.05001C3.73175 13.2 3.42652 13.0736 3.20148 12.8485C2.97643 12.6235 2.85001 12.3182 2.85001 12C2.85001 11.6817 2.97643 11.3765 3.20148 11.1515C3.42652 10.9264 3.73175 10.8 4.05001 10.8H20.05C20.3683 10.8 20.6735 10.9264 20.8985 11.1515C21.1236 11.3765 21.25 11.6817 21.25 12C21.25 12.3182 21.1236 12.6235 20.8985 12.8485C20.6735 13.0736 20.3683 13.2 20.05 13.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A");
|
|
3240
|
-
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.05 13.2H4.05001C3.73175 13.2 3.42652 13.0736 3.20148 12.8485C2.97643 12.6235 2.85001 12.3182 2.85001 12C2.85001 11.6817 2.97643 11.3765 3.20148 11.1515C3.42652 10.9264 3.73175 10.8 4.05001 10.8H20.05C20.3683 10.8 20.6735 10.9264 20.8985 11.1515C21.1236 11.3765 21.25 11.6817 21.25 12C21.25 12.3182 21.1236 12.6235 20.8985 12.8485C20.6735 13.0736 20.3683 13.2 20.05 13.2Z' fill='%238D94A0'/%3E%3C/svg%3E%0A");
|
|
3241
|
-
mask-size: 100%;
|
|
3242
|
-
-webkit-mask-size: 100%;
|
|
3243
|
-
mask-repeat: no-repeat;
|
|
3244
|
-
-webkit-mask-repeat: no-repeat;
|
|
3245
|
-
mask-position: center;
|
|
3246
|
-
-webkit-mask-position: center;
|
|
3247
|
-
}
|
|
3248
|
-
|
|
3249
|
-
&:disabled {
|
|
3250
|
-
background-color: ${({
|
|
2986
|
+
}) => theme.colors['icon/disabled'], ({
|
|
3251
2987
|
theme
|
|
3252
|
-
}) => theme.colors['bg/
|
|
3253
|
-
border-color: ${({
|
|
2988
|
+
}) => theme.colors['bg/primary'], ({
|
|
3254
2989
|
theme
|
|
3255
|
-
}) => theme.colors['
|
|
3256
|
-
|
|
3257
|
-
&::before {
|
|
3258
|
-
background-color: ${({
|
|
2990
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3259
2991
|
theme
|
|
3260
|
-
}) => theme.colors['
|
|
3261
|
-
}
|
|
3262
|
-
}
|
|
3263
|
-
}
|
|
3264
|
-
|
|
3265
|
-
&:focus-visible {
|
|
3266
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
3267
|
-
outline-style: solid;
|
|
3268
|
-
outline-color: ${({
|
|
2992
|
+
}) => theme.colors['border/disabled'], ({
|
|
3269
2993
|
theme
|
|
3270
|
-
}) => theme.colors['
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
2994
|
+
}) => theme.colors['icon/disabled'], utils.forcePixelValue(2), ({
|
|
2995
|
+
theme
|
|
2996
|
+
}) => theme.colors['border/focused'], props => props.validationStatus === 'error' && styled.css`
|
|
3274
2997
|
border-color: ${({
|
|
3275
2998
|
theme
|
|
3276
2999
|
}) => theme.colors['border/danger']};
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
${sx}
|
|
3280
|
-
`;
|
|
3000
|
+
`, sx);
|
|
3281
3001
|
var Checkbox$1 = /*#__PURE__*/React.forwardRef(Checkbox);
|
|
3282
3002
|
|
|
3283
3003
|
function createSafeContext({
|
|
@@ -3345,111 +3065,42 @@ const Radio = ({
|
|
|
3345
3065
|
...props
|
|
3346
3066
|
});
|
|
3347
3067
|
};
|
|
3348
|
-
const UnstyledRadio = styled__default.default.input.attrs({
|
|
3068
|
+
const UnstyledRadio = /*#__PURE__*/styled__default.default.input.attrs({
|
|
3349
3069
|
type: 'radio'
|
|
3350
|
-
})
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
width: ${utils.forcePixelValue(20)};
|
|
3359
|
-
height: ${utils.forcePixelValue(20)};
|
|
3360
|
-
|
|
3361
|
-
border-width: ${utils.forcePixelValue(2)};
|
|
3362
|
-
border-style: solid;
|
|
3363
|
-
border-color: ${({
|
|
3070
|
+
}).withConfig({
|
|
3071
|
+
displayName: "Radio__UnstyledRadio",
|
|
3072
|
+
componentId: "sc-3fie1u-0"
|
|
3073
|
+
})(["appearance:none;", ""], sx);
|
|
3074
|
+
const BaseRadio = /*#__PURE__*/styled__default.default(UnstyledRadio).withConfig({
|
|
3075
|
+
displayName: "Radio__BaseRadio",
|
|
3076
|
+
componentId: "sc-3fie1u-1"
|
|
3077
|
+
})(["position:relative;width:", ";height:", ";border-width:", ";border-style:solid;border-color:", ";border-radius:", ";cursor:pointer;transition:visibility 200ms;&::before{visibility:hidden;content:'';display:grid;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:", ";background-color:", ";mask-image:url(\"data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3C/svg%3E%0A\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3C/svg%3E%0A\");mask-size:40%;-webkit-mask-size:40%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;}&:disabled{background-color:", ";border-color:", ";}&:checked{background-color:", ";border-width:0;&::before{visibility:visible;}&:disabled{background-color:", ";border-color:", ";&::before{background-color:", ";}}}&:focus-visible{outline-width:", ";outline-style:solid;outline-color:", ";}", " ", ""], utils.forcePixelValue(20), utils.forcePixelValue(20), utils.forcePixelValue(2), ({
|
|
3364
3078
|
theme
|
|
3365
|
-
}) => theme.colors['border/neutral']
|
|
3366
|
-
border-radius: ${({
|
|
3079
|
+
}) => theme.colors['border/neutral'], ({
|
|
3367
3080
|
theme
|
|
3368
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
3369
|
-
cursor: pointer;
|
|
3370
|
-
|
|
3371
|
-
transition: visibility 200ms;
|
|
3372
|
-
|
|
3373
|
-
&::before {
|
|
3374
|
-
visibility: hidden;
|
|
3375
|
-
|
|
3376
|
-
content: '';
|
|
3377
|
-
display: grid;
|
|
3378
|
-
position: absolute;
|
|
3379
|
-
|
|
3380
|
-
top: 0;
|
|
3381
|
-
right: 0;
|
|
3382
|
-
bottom: 0;
|
|
3383
|
-
left: 0;
|
|
3384
|
-
|
|
3385
|
-
border-radius: ${({
|
|
3081
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, ({
|
|
3386
3082
|
theme
|
|
3387
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
3388
|
-
|
|
3389
|
-
background-color: ${({
|
|
3083
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, ({
|
|
3390
3084
|
theme
|
|
3391
|
-
}) => theme.colors['icon/inverse']
|
|
3392
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3C/svg%3E%0A");
|
|
3393
|
-
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3C/svg%3E%0A");
|
|
3394
|
-
mask-size: 40%;
|
|
3395
|
-
-webkit-mask-size: 40%;
|
|
3396
|
-
mask-repeat: no-repeat;
|
|
3397
|
-
-webkit-mask-repeat: no-repeat;
|
|
3398
|
-
mask-position: center;
|
|
3399
|
-
-webkit-mask-position: center;
|
|
3400
|
-
}
|
|
3401
|
-
|
|
3402
|
-
&:disabled {
|
|
3403
|
-
background-color: ${({
|
|
3085
|
+
}) => theme.colors['icon/inverse'], ({
|
|
3404
3086
|
theme
|
|
3405
|
-
}) => theme.colors['bg/disabled']
|
|
3406
|
-
border-color: ${({
|
|
3087
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3407
3088
|
theme
|
|
3408
|
-
}) => theme.colors['border/disabled']
|
|
3409
|
-
}
|
|
3410
|
-
|
|
3411
|
-
&:checked {
|
|
3412
|
-
background-color: ${({
|
|
3089
|
+
}) => theme.colors['border/disabled'], ({
|
|
3413
3090
|
theme
|
|
3414
|
-
}) => theme.colors['bg/primary']
|
|
3415
|
-
border-width: 0;
|
|
3416
|
-
|
|
3417
|
-
&::before {
|
|
3418
|
-
visibility: visible;
|
|
3419
|
-
}
|
|
3420
|
-
|
|
3421
|
-
&:disabled {
|
|
3422
|
-
background-color: ${({
|
|
3091
|
+
}) => theme.colors['bg/primary'], ({
|
|
3423
3092
|
theme
|
|
3424
|
-
}) => theme.colors['bg/disabled']
|
|
3425
|
-
border-color: ${({
|
|
3093
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3426
3094
|
theme
|
|
3427
|
-
}) => theme.colors['border/disabled']
|
|
3428
|
-
|
|
3429
|
-
&::before {
|
|
3430
|
-
background-color: ${({
|
|
3095
|
+
}) => theme.colors['border/disabled'], ({
|
|
3431
3096
|
theme
|
|
3432
|
-
}) => theme.colors['icon/disabled']
|
|
3433
|
-
}
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
|
-
&:focus-visible {
|
|
3438
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
3439
|
-
outline-style: solid;
|
|
3440
|
-
outline-color: ${({
|
|
3097
|
+
}) => theme.colors['icon/disabled'], utils.forcePixelValue(2), ({
|
|
3441
3098
|
theme
|
|
3442
|
-
}) => theme.colors['border/focused']
|
|
3443
|
-
}
|
|
3444
|
-
|
|
3445
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3099
|
+
}) => theme.colors['border/focused'], props => props.validationStatus === 'error' && styled.css`
|
|
3446
3100
|
border-color: ${({
|
|
3447
3101
|
theme
|
|
3448
3102
|
}) => theme.colors['border/danger']};
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
${sx}
|
|
3452
|
-
`;
|
|
3103
|
+
`, sx);
|
|
3453
3104
|
var Radio$1 = /*#__PURE__*/React.forwardRef(Radio);
|
|
3454
3105
|
|
|
3455
3106
|
const useResize = resizeCallback => {
|
|
@@ -3556,43 +3207,22 @@ const TextInputTrailingAction = ({
|
|
|
3556
3207
|
"aria-disabled": disabled,
|
|
3557
3208
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
3558
3209
|
});
|
|
3559
|
-
const BaseTextInputTrailingAction = styled__default.default(UnstyledButton)
|
|
3560
|
-
|
|
3561
|
-
|
|
3210
|
+
const BaseTextInputTrailingAction = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
3211
|
+
displayName: "TextInputTrailingAction__BaseTextInputTrailingAction",
|
|
3212
|
+
componentId: "sc-1fgbvb1-0"
|
|
3213
|
+
})(["display:inline-flex;padding:", ";background-color:", ";border-radius:", ";& svg{width:", ";height:", ";color:", ";}&:hover{background-color:", ";}&[aria-disabled='true']{cursor:not-allowed;& svg{color:", ";}}", ""], ({
|
|
3562
3214
|
theme
|
|
3563
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
3564
|
-
background-color: ${({
|
|
3215
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
3565
3216
|
theme
|
|
3566
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
3567
|
-
border-radius: ${({
|
|
3217
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
3568
3218
|
theme
|
|
3569
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
3570
|
-
|
|
3571
|
-
& svg {
|
|
3572
|
-
width: ${utils.forcePixelValue(16)};
|
|
3573
|
-
height: ${utils.forcePixelValue(16)};
|
|
3574
|
-
color: ${({
|
|
3219
|
+
}) => utils.forcePixelValue(theme.radii.full), utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
3575
3220
|
theme
|
|
3576
|
-
}) => theme.colors['icon/neutral/bolder']
|
|
3577
|
-
}
|
|
3578
|
-
|
|
3579
|
-
&:hover {
|
|
3580
|
-
background-color: ${({
|
|
3221
|
+
}) => theme.colors['icon/neutral/bolder'], ({
|
|
3581
3222
|
theme
|
|
3582
|
-
}) => theme.colors['bg/neutral/subtler/hovered']
|
|
3583
|
-
}
|
|
3584
|
-
|
|
3585
|
-
&[aria-disabled='true'] {
|
|
3586
|
-
cursor: not-allowed;
|
|
3587
|
-
& svg {
|
|
3588
|
-
color: ${({
|
|
3223
|
+
}) => theme.colors['bg/neutral/subtler/hovered'], ({
|
|
3589
3224
|
theme
|
|
3590
|
-
}) => theme.colors['icon/disabled']
|
|
3591
|
-
}
|
|
3592
|
-
}
|
|
3593
|
-
|
|
3594
|
-
${sx}
|
|
3595
|
-
`;
|
|
3225
|
+
}) => theme.colors['icon/disabled'], sx);
|
|
3596
3226
|
var TextInputTrailingAction$1 = /*#__PURE__*/React.forwardRef(TextInputTrailingAction);
|
|
3597
3227
|
|
|
3598
3228
|
const TextInput = ({
|
|
@@ -3666,58 +3296,28 @@ const TextInput = ({
|
|
|
3666
3296
|
})]
|
|
3667
3297
|
});
|
|
3668
3298
|
};
|
|
3669
|
-
const TextInputWrapper$1 = styled__default.default.div
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
border-style: solid;
|
|
3674
|
-
border-radius: ${({
|
|
3299
|
+
const TextInputWrapper$1 = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3300
|
+
displayName: "TextInput__TextInputWrapper",
|
|
3301
|
+
componentId: "sc-12wqpup-0"
|
|
3302
|
+
})(["position:relative;width:", ";border-width:", ";border-style:solid;border-radius:", ";border-color:", ";background-color:", ";cursor:text;display:inline-flex;align-items:center;font-size:", ";font-weight:", ";line-height:", ";color:", ";input::placeholder{color:", ";}&:after{content:'';position:absolute;top:", ";right:", ";bottom:", ";left:", ";border:", " solid transparent;border-radius:", ";pointer-events:none;}", " ", " ", " ", ";", " ", " ", " ", " transition:color 100ms,background-color 100ms;&:after{transition:border-color 100ms;}", ""], utils.forcePixelValue('100%'), utils.forcePixelValue(1), ({
|
|
3675
3303
|
theme
|
|
3676
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
3677
|
-
border-color: ${({
|
|
3304
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
3678
3305
|
theme
|
|
3679
|
-
}) => theme.colors['border/input']
|
|
3680
|
-
background-color: ${({
|
|
3306
|
+
}) => theme.colors['border/input'], ({
|
|
3681
3307
|
theme
|
|
3682
|
-
}) => theme.colors['bg/input']
|
|
3683
|
-
cursor: text;
|
|
3684
|
-
display: inline-flex;
|
|
3685
|
-
align-items: center;
|
|
3686
|
-
|
|
3687
|
-
font-size: ${({
|
|
3308
|
+
}) => theme.colors['bg/input'], ({
|
|
3688
3309
|
theme
|
|
3689
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
3690
|
-
font-weight: ${({
|
|
3310
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
3691
3311
|
theme
|
|
3692
|
-
}) => theme.fontWeights.medium
|
|
3693
|
-
line-height: ${({
|
|
3312
|
+
}) => theme.fontWeights.medium, ({
|
|
3694
3313
|
theme
|
|
3695
|
-
}) => theme.lineHeights[2]
|
|
3696
|
-
color: ${({
|
|
3314
|
+
}) => theme.lineHeights[2], ({
|
|
3697
3315
|
theme
|
|
3698
|
-
}) => theme.colors['text/neutral']
|
|
3699
|
-
input::placeholder {
|
|
3700
|
-
color: ${({
|
|
3316
|
+
}) => theme.colors['text/neutral'], ({
|
|
3701
3317
|
theme
|
|
3702
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
3703
|
-
}
|
|
3704
|
-
|
|
3705
|
-
&:after {
|
|
3706
|
-
content: '';
|
|
3707
|
-
position: absolute;
|
|
3708
|
-
top: ${utils.forcePixelValue(-1)};
|
|
3709
|
-
right: ${utils.forcePixelValue(-1)};
|
|
3710
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
3711
|
-
left: ${utils.forcePixelValue(-1)};
|
|
3712
|
-
|
|
3713
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
3714
|
-
border-radius: ${({
|
|
3318
|
+
}) => theme.colors['text/neutral/subtlest'], utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
3715
3319
|
theme
|
|
3716
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
3717
|
-
pointer-events: none;
|
|
3718
|
-
}
|
|
3719
|
-
|
|
3720
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3320
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3721
3321
|
&:hover:not(:focus-within) {
|
|
3722
3322
|
&:after {
|
|
3723
3323
|
border-color: ${({
|
|
@@ -3725,17 +3325,13 @@ const TextInputWrapper$1 = styled__default.default.div`
|
|
|
3725
3325
|
}) => theme.colors['border/hovered']};
|
|
3726
3326
|
}
|
|
3727
3327
|
}
|
|
3728
|
-
`
|
|
3729
|
-
|
|
3730
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3328
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
3731
3329
|
&:after {
|
|
3732
3330
|
border-color: ${({
|
|
3733
3331
|
theme
|
|
3734
3332
|
}) => theme.colors['border/danger']};
|
|
3735
3333
|
}
|
|
3736
|
-
`
|
|
3737
|
-
|
|
3738
|
-
${props => props.validationStatus !== 'error' && styled.css`
|
|
3334
|
+
`, props => props.validationStatus !== 'error' && styled.css`
|
|
3739
3335
|
&:focus-within {
|
|
3740
3336
|
&:after {
|
|
3741
3337
|
border-color: ${({
|
|
@@ -3743,9 +3339,7 @@ const TextInputWrapper$1 = styled__default.default.div`
|
|
|
3743
3339
|
}) => theme.colors['border/focused']};
|
|
3744
3340
|
}
|
|
3745
3341
|
}
|
|
3746
|
-
`
|
|
3747
|
-
|
|
3748
|
-
${props => props.disabled && styled.css`
|
|
3342
|
+
`, props => props.disabled && styled.css`
|
|
3749
3343
|
border-color: ${props.theme.colors['border/input']};
|
|
3750
3344
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
3751
3345
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -3757,67 +3351,36 @@ const TextInputWrapper$1 = styled__default.default.div`
|
|
|
3757
3351
|
input {
|
|
3758
3352
|
cursor: not-allowed;
|
|
3759
3353
|
}
|
|
3760
|
-
`
|
|
3761
|
-
|
|
3762
|
-
${props => props.hasLeadingVisual && styled.css`
|
|
3354
|
+
`, props => props.hasLeadingVisual && styled.css`
|
|
3763
3355
|
padding-left: ${utils.forcePixelValue(props.theme.space[4])};
|
|
3764
3356
|
input {
|
|
3765
3357
|
padding-left: ${utils.forcePixelValue(props.theme.space[2])};
|
|
3766
3358
|
}
|
|
3767
|
-
`
|
|
3768
|
-
|
|
3769
|
-
${props => props.hasTrailingVisual && styled.css`
|
|
3359
|
+
`, props => props.hasTrailingVisual && styled.css`
|
|
3770
3360
|
padding-right: ${utils.forcePixelValue(props.theme.space[4])};
|
|
3771
|
-
`
|
|
3772
|
-
|
|
3773
|
-
${props => props.hasTrailingAction && styled.css`
|
|
3361
|
+
`, props => props.hasTrailingAction && styled.css`
|
|
3774
3362
|
padding-right: ${utils.forcePixelValue(props.theme.space[2])};
|
|
3775
|
-
`
|
|
3776
|
-
|
|
3777
|
-
${props => (props.hasTrailingVisual || props.hasTrailingAction) && styled.css`
|
|
3363
|
+
`, props => (props.hasTrailingVisual || props.hasTrailingAction) && styled.css`
|
|
3778
3364
|
input {
|
|
3779
3365
|
padding-right: ${utils.forcePixelValue(props.theme.space[2])};
|
|
3780
3366
|
}
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
`;
|
|
3791
|
-
const UnstyledInput$2 = styled__default.default.input`
|
|
3792
|
-
font-size: inherit;
|
|
3793
|
-
font-weight: inherit;
|
|
3794
|
-
line-height: inherit;
|
|
3795
|
-
font-family: inherit;
|
|
3796
|
-
border-radius: inherit;
|
|
3797
|
-
color: inherit;
|
|
3798
|
-
transition: inherit;
|
|
3799
|
-
|
|
3800
|
-
border: 0;
|
|
3801
|
-
background-color: transparent;
|
|
3802
|
-
width: 100%;
|
|
3803
|
-
&:focus {
|
|
3804
|
-
outline: 0;
|
|
3805
|
-
}
|
|
3806
|
-
`;
|
|
3807
|
-
const BaseInput$1 = styled__default.default(UnstyledInput$2)`
|
|
3808
|
-
padding-top: ${({
|
|
3367
|
+
`, sx);
|
|
3368
|
+
const UnstyledInput$2 = /*#__PURE__*/styled__default.default.input.withConfig({
|
|
3369
|
+
displayName: "TextInput__UnstyledInput",
|
|
3370
|
+
componentId: "sc-12wqpup-1"
|
|
3371
|
+
})(["font-size:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;border-radius:inherit;color:inherit;transition:inherit;border:0;background-color:transparent;width:100%;&:focus{outline:0;}"]);
|
|
3372
|
+
const BaseInput$1 = /*#__PURE__*/styled__default.default(UnstyledInput$2).withConfig({
|
|
3373
|
+
displayName: "TextInput__BaseInput",
|
|
3374
|
+
componentId: "sc-12wqpup-2"
|
|
3375
|
+
})(["padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";"], ({
|
|
3809
3376
|
theme
|
|
3810
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
3811
|
-
padding-right: ${({
|
|
3377
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
3812
3378
|
theme
|
|
3813
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
3814
|
-
padding-bottom: ${({
|
|
3379
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
3815
3380
|
theme
|
|
3816
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
3817
|
-
padding-left: ${({
|
|
3381
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
3818
3382
|
theme
|
|
3819
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
3820
|
-
`;
|
|
3383
|
+
}) => utils.forcePixelValue(theme.space[4]));
|
|
3821
3384
|
var TextInput$1 = Object.assign( /*#__PURE__*/React.forwardRef(TextInput), {
|
|
3822
3385
|
TrailingAction: TextInputTrailingAction$1
|
|
3823
3386
|
});
|
|
@@ -4055,63 +3618,28 @@ const SearchSelectInput = ({
|
|
|
4055
3618
|
})
|
|
4056
3619
|
});
|
|
4057
3620
|
};
|
|
4058
|
-
const TextInputWrapper = styled__default.default.div
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
border-style: solid;
|
|
4063
|
-
border-radius: ${({
|
|
3621
|
+
const TextInputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3622
|
+
displayName: "SearchSelectInput__TextInputWrapper",
|
|
3623
|
+
componentId: "sc-17l04wk-0"
|
|
3624
|
+
})(["position:relative;width:", ";border-width:", ";border-style:solid;border-radius:", ";border-color:", ";background-color:", ";cursor:default;input{cursor:default;flex:1;}display:inline-flex;align-items:center;font-size:", ";font-weight:", ";line-height:", ";color:", ";input::placeholder{color:", ";}&:after{content:'';position:absolute;top:", ";right:", ";bottom:", ";left:", ";border:", " solid transparent;border-radius:", ";pointer-events:none;}", " ", " ", " ", ";", " transition:color 100ms,background-color 100ms;&:after{transition:border-color 100ms;}"], utils.forcePixelValue('100%'), utils.forcePixelValue(1), ({
|
|
4064
3625
|
theme
|
|
4065
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4066
|
-
border-color: ${({
|
|
3626
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
4067
3627
|
theme
|
|
4068
|
-
}) => theme.colors['border/input']
|
|
4069
|
-
background-color: ${({
|
|
3628
|
+
}) => theme.colors['border/input'], ({
|
|
4070
3629
|
theme
|
|
4071
|
-
}) => theme.colors['bg/input']
|
|
4072
|
-
cursor: default;
|
|
4073
|
-
input {
|
|
4074
|
-
cursor: default;
|
|
4075
|
-
|
|
4076
|
-
flex: 1;
|
|
4077
|
-
}
|
|
4078
|
-
display: inline-flex;
|
|
4079
|
-
align-items: center;
|
|
4080
|
-
|
|
4081
|
-
font-size: ${({
|
|
3630
|
+
}) => theme.colors['bg/input'], ({
|
|
4082
3631
|
theme
|
|
4083
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4084
|
-
font-weight: ${({
|
|
3632
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4085
3633
|
theme
|
|
4086
|
-
}) => theme.fontWeights.medium
|
|
4087
|
-
line-height: ${({
|
|
3634
|
+
}) => theme.fontWeights.medium, ({
|
|
4088
3635
|
theme
|
|
4089
|
-
}) => theme.lineHeights[2]
|
|
4090
|
-
color: ${({
|
|
3636
|
+
}) => theme.lineHeights[2], ({
|
|
4091
3637
|
theme
|
|
4092
|
-
}) => theme.colors['text/neutral']
|
|
4093
|
-
input::placeholder {
|
|
4094
|
-
color: ${({
|
|
3638
|
+
}) => theme.colors['text/neutral'], ({
|
|
4095
3639
|
theme
|
|
4096
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4097
|
-
}
|
|
4098
|
-
|
|
4099
|
-
&:after {
|
|
4100
|
-
content: '';
|
|
4101
|
-
position: absolute;
|
|
4102
|
-
top: ${utils.forcePixelValue(-1)};
|
|
4103
|
-
right: ${utils.forcePixelValue(-1)};
|
|
4104
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
4105
|
-
left: ${utils.forcePixelValue(-1)};
|
|
4106
|
-
|
|
4107
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
4108
|
-
border-radius: ${({
|
|
3640
|
+
}) => theme.colors['text/neutral/subtlest'], utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
4109
3641
|
theme
|
|
4110
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4111
|
-
pointer-events: none;
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3642
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4115
3643
|
&:hover:not(:focus-within) {
|
|
4116
3644
|
&:after {
|
|
4117
3645
|
border-color: ${({
|
|
@@ -4119,17 +3647,13 @@ const TextInputWrapper = styled__default.default.div`
|
|
|
4119
3647
|
}) => theme.colors['border/hovered']};
|
|
4120
3648
|
}
|
|
4121
3649
|
}
|
|
4122
|
-
`
|
|
4123
|
-
|
|
4124
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3650
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
4125
3651
|
&:after {
|
|
4126
3652
|
border-color: ${({
|
|
4127
3653
|
theme
|
|
4128
3654
|
}) => theme.colors['border/danger']};
|
|
4129
3655
|
}
|
|
4130
|
-
`
|
|
4131
|
-
|
|
4132
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3656
|
+
`, props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4133
3657
|
&:focus-within {
|
|
4134
3658
|
&:after {
|
|
4135
3659
|
border-color: ${({
|
|
@@ -4137,9 +3661,7 @@ const TextInputWrapper = styled__default.default.div`
|
|
|
4137
3661
|
}) => theme.colors['border/focused']};
|
|
4138
3662
|
}
|
|
4139
3663
|
}
|
|
4140
|
-
`
|
|
4141
|
-
|
|
4142
|
-
${props => props.disabled && styled.css`
|
|
3664
|
+
`, props => props.disabled && styled.css`
|
|
4143
3665
|
border-color: ${props.theme.colors['border/input']};
|
|
4144
3666
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
4145
3667
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -4151,38 +3673,17 @@ const TextInputWrapper = styled__default.default.div`
|
|
|
4151
3673
|
input {
|
|
4152
3674
|
cursor: not-allowed;
|
|
4153
3675
|
}
|
|
4154
|
-
`
|
|
4155
|
-
|
|
4156
|
-
${props => props.hasLeadingVisual && styled.css`
|
|
3676
|
+
`, props => props.hasLeadingVisual && styled.css`
|
|
4157
3677
|
padding-left: ${utils.forcePixelValue(props.theme.space[4])};
|
|
4158
|
-
`
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
font-weight: inherit;
|
|
4168
|
-
line-height: inherit;
|
|
4169
|
-
font-family: inherit;
|
|
4170
|
-
border-radius: inherit;
|
|
4171
|
-
color: inherit;
|
|
4172
|
-
transition: inherit;
|
|
4173
|
-
width: 100%;
|
|
4174
|
-
|
|
4175
|
-
border: 0;
|
|
4176
|
-
padding: 0;
|
|
4177
|
-
background-color: transparent;
|
|
4178
|
-
&:focus {
|
|
4179
|
-
outline: 0;
|
|
4180
|
-
}
|
|
4181
|
-
`;
|
|
4182
|
-
const BaseInput = styled__default.default(UnstyledInput$1)`
|
|
4183
|
-
white-space: pre;
|
|
4184
|
-
text-overflow: ellipsis;
|
|
4185
|
-
`;
|
|
3678
|
+
`);
|
|
3679
|
+
const UnstyledInput$1 = /*#__PURE__*/styled__default.default.input.withConfig({
|
|
3680
|
+
displayName: "SearchSelectInput__UnstyledInput",
|
|
3681
|
+
componentId: "sc-17l04wk-1"
|
|
3682
|
+
})(["font-size:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;border-radius:inherit;color:inherit;transition:inherit;width:100%;border:0;padding:0;background-color:transparent;&:focus{outline:0;}"]);
|
|
3683
|
+
const BaseInput = /*#__PURE__*/styled__default.default(UnstyledInput$1).withConfig({
|
|
3684
|
+
displayName: "SearchSelectInput__BaseInput",
|
|
3685
|
+
componentId: "sc-17l04wk-2"
|
|
3686
|
+
})(["white-space:pre;text-overflow:ellipsis;"]);
|
|
4186
3687
|
var SearchSelectInput$1 = /*#__PURE__*/React.forwardRef(SearchSelectInput);
|
|
4187
3688
|
|
|
4188
3689
|
const SelectOption = ({
|
|
@@ -4195,7 +3696,10 @@ const SelectOption = ({
|
|
|
4195
3696
|
children: children
|
|
4196
3697
|
});
|
|
4197
3698
|
};
|
|
4198
|
-
const BaseSelectOption = styled__default.default.option
|
|
3699
|
+
const BaseSelectOption = /*#__PURE__*/styled__default.default.option.withConfig({
|
|
3700
|
+
displayName: "SelectOption__BaseSelectOption",
|
|
3701
|
+
componentId: "sc-1b9xkqd-0"
|
|
3702
|
+
})([""]);
|
|
4199
3703
|
|
|
4200
3704
|
const Select = ({
|
|
4201
3705
|
children,
|
|
@@ -4274,62 +3778,31 @@ const Select = ({
|
|
|
4274
3778
|
})]
|
|
4275
3779
|
});
|
|
4276
3780
|
};
|
|
4277
|
-
const SelectWrapper = styled__default.default.div
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
border-style: solid;
|
|
4282
|
-
border-radius: ${({
|
|
3781
|
+
const SelectWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3782
|
+
displayName: "Select__SelectWrapper",
|
|
3783
|
+
componentId: "sc-1gz532j-0"
|
|
3784
|
+
})(["position:relative;width:", ";border-width:", ";border-style:solid;border-radius:", ";border-color:", ";background-color:", ";display:inline-flex;align-items:center;font-size:", ";font-weight:", ";line-height:", ";color:", ";", " &:after{content:'';position:absolute;top:", ";right:", ";bottom:", ";left:", ";border:", " solid transparent;border-radius:", ";pointer-events:none;}", " ", " ", " ", ";", " transition:background-color 100ms;&:after{transition:border-color 100ms;}"], utils.forcePixelValue('100%'), utils.forcePixelValue(1), ({
|
|
4283
3785
|
theme
|
|
4284
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4285
|
-
border-color: ${({
|
|
3786
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
4286
3787
|
theme
|
|
4287
|
-
}) => theme.colors['border/input']
|
|
4288
|
-
background-color: ${({
|
|
3788
|
+
}) => theme.colors['border/input'], ({
|
|
4289
3789
|
theme
|
|
4290
|
-
}) => theme.colors['bg/input']
|
|
4291
|
-
display: inline-flex;
|
|
4292
|
-
align-items: center;
|
|
4293
|
-
|
|
4294
|
-
font-size: ${({
|
|
3790
|
+
}) => theme.colors['bg/input'], ({
|
|
4295
3791
|
theme
|
|
4296
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4297
|
-
font-weight: ${({
|
|
3792
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4298
3793
|
theme
|
|
4299
|
-
}) => theme.fontWeights.medium
|
|
4300
|
-
line-height: ${({
|
|
3794
|
+
}) => theme.fontWeights.medium, ({
|
|
4301
3795
|
theme
|
|
4302
|
-
}) => theme.lineHeights[2]
|
|
4303
|
-
color: ${({
|
|
3796
|
+
}) => theme.lineHeights[2], ({
|
|
4304
3797
|
theme
|
|
4305
|
-
}) => theme.colors['text/neutral']
|
|
4306
|
-
|
|
4307
|
-
/**
|
|
4308
|
-
* placeholder style
|
|
4309
|
-
*/
|
|
4310
|
-
${({
|
|
3798
|
+
}) => theme.colors['text/neutral'], ({
|
|
4311
3799
|
theme,
|
|
4312
3800
|
isValueEmpty
|
|
4313
3801
|
}) => isValueEmpty ? styled.css`
|
|
4314
3802
|
color: ${theme.colors['text/neutral/subtlest']};
|
|
4315
|
-
` : null
|
|
4316
|
-
|
|
4317
|
-
&:after {
|
|
4318
|
-
content: '';
|
|
4319
|
-
position: absolute;
|
|
4320
|
-
top: ${utils.forcePixelValue(-1)};
|
|
4321
|
-
right: ${utils.forcePixelValue(-1)};
|
|
4322
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
4323
|
-
left: ${utils.forcePixelValue(-1)};
|
|
4324
|
-
|
|
4325
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
4326
|
-
border-radius: ${({
|
|
3803
|
+
` : null, utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
4327
3804
|
theme
|
|
4328
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4329
|
-
pointer-events: none;
|
|
4330
|
-
}
|
|
4331
|
-
|
|
4332
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3805
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4333
3806
|
&:hover:not(:focus-within) {
|
|
4334
3807
|
&:after {
|
|
4335
3808
|
border-color: ${({
|
|
@@ -4337,17 +3810,13 @@ const SelectWrapper = styled__default.default.div`
|
|
|
4337
3810
|
}) => theme.colors['border/hovered']};
|
|
4338
3811
|
}
|
|
4339
3812
|
}
|
|
4340
|
-
`
|
|
4341
|
-
|
|
4342
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3813
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
4343
3814
|
&:after {
|
|
4344
3815
|
border-color: ${({
|
|
4345
3816
|
theme
|
|
4346
3817
|
}) => theme.colors['border/danger']};
|
|
4347
3818
|
}
|
|
4348
|
-
`
|
|
4349
|
-
|
|
4350
|
-
${props => props.validationStatus !== 'error' && styled.css`
|
|
3819
|
+
`, props => props.validationStatus !== 'error' && styled.css`
|
|
4351
3820
|
&:focus-within {
|
|
4352
3821
|
&:after {
|
|
4353
3822
|
border-color: ${({
|
|
@@ -4355,9 +3824,7 @@ const SelectWrapper = styled__default.default.div`
|
|
|
4355
3824
|
}) => theme.colors['border/focused']};
|
|
4356
3825
|
}
|
|
4357
3826
|
}
|
|
4358
|
-
`
|
|
4359
|
-
|
|
4360
|
-
${props => props.disabled && styled.css`
|
|
3827
|
+
`, props => props.disabled && styled.css`
|
|
4361
3828
|
border-color: ${props.theme.colors['border/input']};
|
|
4362
3829
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
4363
3830
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -4369,57 +3836,28 @@ const SelectWrapper = styled__default.default.div`
|
|
|
4369
3836
|
select {
|
|
4370
3837
|
cursor: not-allowed;
|
|
4371
3838
|
}
|
|
4372
|
-
`
|
|
4373
|
-
|
|
4374
|
-
${props => props.hasLeadingVisual && styled.css`
|
|
3839
|
+
`, props => props.hasLeadingVisual && styled.css`
|
|
4375
3840
|
padding-left: ${utils.forcePixelValue(props.theme.space[4])};
|
|
4376
3841
|
select {
|
|
4377
3842
|
padding-left: ${utils.forcePixelValue(props.theme.space[2])};
|
|
4378
3843
|
}
|
|
4379
|
-
`
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
font-weight: inherit;
|
|
4389
|
-
line-height: inherit;
|
|
4390
|
-
font-family: inherit;
|
|
4391
|
-
border-radius: inherit;
|
|
4392
|
-
color: inherit;
|
|
4393
|
-
transition: inherit;
|
|
4394
|
-
|
|
4395
|
-
border: 0;
|
|
4396
|
-
background-color: transparent;
|
|
4397
|
-
width: 100%;
|
|
4398
|
-
&:focus {
|
|
4399
|
-
outline: 0;
|
|
4400
|
-
}
|
|
4401
|
-
|
|
4402
|
-
appearance: none;
|
|
4403
|
-
-webkit-appearance: none;
|
|
4404
|
-
-moz-appearance: none;
|
|
4405
|
-
`;
|
|
4406
|
-
const BaseSelect = styled__default.default(UnstyledSelect)`
|
|
4407
|
-
padding-top: ${({
|
|
3844
|
+
`);
|
|
3845
|
+
const UnstyledSelect = /*#__PURE__*/styled__default.default.select.withConfig({
|
|
3846
|
+
displayName: "Select__UnstyledSelect",
|
|
3847
|
+
componentId: "sc-1gz532j-1"
|
|
3848
|
+
})(["font-size:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;border-radius:inherit;color:inherit;transition:inherit;border:0;background-color:transparent;width:100%;&:focus{outline:0;}appearance:none;-webkit-appearance:none;-moz-appearance:none;"]);
|
|
3849
|
+
const BaseSelect = /*#__PURE__*/styled__default.default(UnstyledSelect).withConfig({
|
|
3850
|
+
displayName: "Select__BaseSelect",
|
|
3851
|
+
componentId: "sc-1gz532j-2"
|
|
3852
|
+
})(["padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";white-space:pre;text-overflow:ellipsis;"], ({
|
|
4408
3853
|
theme
|
|
4409
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
4410
|
-
padding-right: ${({
|
|
3854
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
4411
3855
|
theme
|
|
4412
|
-
}) => utils.forcePixelValue(theme.space[10])
|
|
4413
|
-
padding-bottom: ${({
|
|
3856
|
+
}) => utils.forcePixelValue(theme.space[10]), ({
|
|
4414
3857
|
theme
|
|
4415
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
4416
|
-
padding-left: ${({
|
|
3858
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
4417
3859
|
theme
|
|
4418
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
4419
|
-
|
|
4420
|
-
white-space: pre;
|
|
4421
|
-
text-overflow: ellipsis;
|
|
4422
|
-
`;
|
|
3860
|
+
}) => utils.forcePixelValue(theme.space[4]));
|
|
4423
3861
|
var Select$1 = Object.assign( /*#__PURE__*/React.forwardRef(Select), {
|
|
4424
3862
|
Option: SelectOption
|
|
4425
3863
|
});
|
|
@@ -4437,80 +3875,32 @@ const Switch = ({
|
|
|
4437
3875
|
...props
|
|
4438
3876
|
});
|
|
4439
3877
|
};
|
|
4440
|
-
const UnstyledSwitch = styled__default.default.input.attrs({
|
|
3878
|
+
const UnstyledSwitch = /*#__PURE__*/styled__default.default.input.attrs({
|
|
4441
3879
|
type: 'checkbox'
|
|
4442
|
-
})
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
width: ${utils.forcePixelValue(36)};
|
|
4451
|
-
height: ${utils.forcePixelValue(20)};
|
|
4452
|
-
|
|
4453
|
-
border-radius: ${({
|
|
3880
|
+
}).withConfig({
|
|
3881
|
+
displayName: "Switch__UnstyledSwitch",
|
|
3882
|
+
componentId: "sc-fz8rku-0"
|
|
3883
|
+
})(["appearance:none;", ""], sx);
|
|
3884
|
+
const BaseSwitch = /*#__PURE__*/styled__default.default(UnstyledSwitch).withConfig({
|
|
3885
|
+
displayName: "Switch__BaseSwitch",
|
|
3886
|
+
componentId: "sc-fz8rku-1"
|
|
3887
|
+
})(["position:relative;width:", ";height:", ";border-radius:", ";cursor:pointer;background-color:", ";transition:background-color 200ms;&::before{content:'';position:absolute;width:", ";height:", ";background-color:", ";top:", ";border-radius:", ";transform:translateX(", ");transition:transform 200ms;}&:disabled{background-color:", ";cursor:not-allowed;}&:checked{background-color:", ";&::before{transform:translateX(", ");}&:disabled{background-color:", ";}}&:focus-visible{outline-width:", ";outline-style:solid;outline-color:", ";}", ""], utils.forcePixelValue(36), utils.forcePixelValue(20), ({
|
|
4454
3888
|
theme
|
|
4455
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
4456
|
-
cursor: pointer;
|
|
4457
|
-
|
|
4458
|
-
background-color: ${({
|
|
3889
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, ({
|
|
4459
3890
|
theme
|
|
4460
|
-
}) => theme.colors['bg/neutral']
|
|
4461
|
-
|
|
4462
|
-
transition: background-color 200ms;
|
|
4463
|
-
|
|
4464
|
-
&::before {
|
|
4465
|
-
content: '';
|
|
4466
|
-
position: absolute;
|
|
4467
|
-
width: ${utils.forcePixelValue(16)};
|
|
4468
|
-
height: ${utils.forcePixelValue(16)};
|
|
4469
|
-
background-color: ${({
|
|
3891
|
+
}) => theme.colors['bg/neutral'], utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
4470
3892
|
theme
|
|
4471
|
-
}) => theme.colors['surface']
|
|
4472
|
-
top: ${utils.forcePixelValue(2)};
|
|
4473
|
-
border-radius: ${({
|
|
3893
|
+
}) => theme.colors['surface'], utils.forcePixelValue(2), ({
|
|
4474
3894
|
theme
|
|
4475
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
4476
|
-
|
|
4477
|
-
transform: translateX(${utils.forcePixelValue(2)});
|
|
4478
|
-
transition: transform 200ms;
|
|
4479
|
-
}
|
|
4480
|
-
|
|
4481
|
-
&:disabled {
|
|
4482
|
-
background-color: ${({
|
|
3895
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, utils.forcePixelValue(2), ({
|
|
4483
3896
|
theme
|
|
4484
|
-
}) => theme.colors['bg/disabled']
|
|
4485
|
-
cursor: not-allowed;
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
|
-
&:checked {
|
|
4489
|
-
background-color: ${({
|
|
3897
|
+
}) => theme.colors['bg/disabled'], ({
|
|
4490
3898
|
theme
|
|
4491
|
-
}) => theme.colors['bg/primary']
|
|
4492
|
-
|
|
4493
|
-
&::before {
|
|
4494
|
-
transform: translateX(${utils.forcePixelValue(36 - 16 - 2)});
|
|
4495
|
-
}
|
|
4496
|
-
|
|
4497
|
-
&:disabled {
|
|
4498
|
-
background-color: ${({
|
|
3899
|
+
}) => theme.colors['bg/primary'], utils.forcePixelValue(36 - 16 - 2), ({
|
|
4499
3900
|
theme
|
|
4500
|
-
}) => theme.colors['bg/primary/disabled']
|
|
4501
|
-
}
|
|
4502
|
-
}
|
|
4503
|
-
|
|
4504
|
-
&:focus-visible {
|
|
4505
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
4506
|
-
outline-style: solid;
|
|
4507
|
-
outline-color: ${({
|
|
3901
|
+
}) => theme.colors['bg/primary/disabled'], utils.forcePixelValue(2), ({
|
|
4508
3902
|
theme
|
|
4509
|
-
}) => theme.colors['border/focused']
|
|
4510
|
-
}
|
|
4511
|
-
|
|
4512
|
-
${sx}
|
|
4513
|
-
`;
|
|
3903
|
+
}) => theme.colors['border/focused'], sx);
|
|
4514
3904
|
var Switch$1 = /*#__PURE__*/React.forwardRef(Switch);
|
|
4515
3905
|
|
|
4516
3906
|
const Textarea = /*#__PURE__*/React.forwardRef(({
|
|
@@ -4559,89 +3949,36 @@ const Textarea = /*#__PURE__*/React.forwardRef(({
|
|
|
4559
3949
|
})]
|
|
4560
3950
|
});
|
|
4561
3951
|
});
|
|
4562
|
-
const TextareaWrapper = styled__default.default.div
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
border-style: solid;
|
|
4567
|
-
border-radius: ${({
|
|
3952
|
+
const TextareaWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3953
|
+
displayName: "Textarea__TextareaWrapper",
|
|
3954
|
+
componentId: "sc-mqvox2-0"
|
|
3955
|
+
})(["position:relative;width:", ";border-width:", ";border-style:solid;border-radius:", ";border-color:", ";background-color:", ";cursor:text;display:inline-flex;flex-direction:column;align-items:center;font-size:", ";font-weight:", ";line-height:", ";color:", ";textarea::placeholder{color:", ";}textarea{font-size:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;border-radius:inherit;color:inherit;transition:inherit;border:0;background-color:transparent;width:100%;&:focus{outline:0;}resize:none;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";}&:after{content:'';position:absolute;top:", ";right:", ";bottom:", ";left:", ";border:", " solid transparent;border-radius:", ";pointer-events:none;}", " ", " ", " ", ";"], utils.forcePixelValue('100%'), utils.forcePixelValue(1), ({
|
|
4568
3956
|
theme
|
|
4569
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4570
|
-
border-color: ${({
|
|
3957
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
4571
3958
|
theme
|
|
4572
|
-
}) => theme.colors['border/input']
|
|
4573
|
-
background-color: ${({
|
|
3959
|
+
}) => theme.colors['border/input'], ({
|
|
4574
3960
|
theme
|
|
4575
|
-
}) => theme.colors['bg/input']
|
|
4576
|
-
cursor: text;
|
|
4577
|
-
display: inline-flex;
|
|
4578
|
-
flex-direction: column;
|
|
4579
|
-
align-items: center;
|
|
4580
|
-
|
|
4581
|
-
font-size: ${({
|
|
3961
|
+
}) => theme.colors['bg/input'], ({
|
|
4582
3962
|
theme
|
|
4583
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4584
|
-
font-weight: ${({
|
|
3963
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4585
3964
|
theme
|
|
4586
|
-
}) => theme.fontWeights.medium
|
|
4587
|
-
line-height: ${({
|
|
3965
|
+
}) => theme.fontWeights.medium, ({
|
|
4588
3966
|
theme
|
|
4589
|
-
}) => theme.lineHeights[2]
|
|
4590
|
-
color: ${({
|
|
3967
|
+
}) => theme.lineHeights[2], ({
|
|
4591
3968
|
theme
|
|
4592
|
-
}) => theme.colors['text/neutral']
|
|
4593
|
-
textarea::placeholder {
|
|
4594
|
-
color: ${({
|
|
3969
|
+
}) => theme.colors['text/neutral'], ({
|
|
4595
3970
|
theme
|
|
4596
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4597
|
-
}
|
|
4598
|
-
textarea {
|
|
4599
|
-
font-size: inherit;
|
|
4600
|
-
font-weight: inherit;
|
|
4601
|
-
line-height: inherit;
|
|
4602
|
-
font-family: inherit;
|
|
4603
|
-
border-radius: inherit;
|
|
4604
|
-
color: inherit;
|
|
4605
|
-
transition: inherit;
|
|
4606
|
-
|
|
4607
|
-
border: 0;
|
|
4608
|
-
background-color: transparent;
|
|
4609
|
-
width: 100%;
|
|
4610
|
-
&:focus {
|
|
4611
|
-
outline: 0;
|
|
4612
|
-
}
|
|
4613
|
-
resize: none;
|
|
4614
|
-
|
|
4615
|
-
padding-top: ${({
|
|
3971
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
4616
3972
|
theme
|
|
4617
|
-
}) => utils.forcePixelValue(theme.space['3'])
|
|
4618
|
-
padding-right: ${({
|
|
3973
|
+
}) => utils.forcePixelValue(theme.space['3']), ({
|
|
4619
3974
|
theme
|
|
4620
|
-
}) => utils.forcePixelValue(theme.space['4'])
|
|
4621
|
-
padding-bottom: ${({
|
|
3975
|
+
}) => utils.forcePixelValue(theme.space['4']), ({
|
|
4622
3976
|
theme
|
|
4623
|
-
}) => utils.forcePixelValue(theme.space['3'])
|
|
4624
|
-
padding-left: ${({
|
|
3977
|
+
}) => utils.forcePixelValue(theme.space['3']), ({
|
|
4625
3978
|
theme
|
|
4626
|
-
}) => utils.forcePixelValue(theme.space['4'])
|
|
4627
|
-
}
|
|
4628
|
-
|
|
4629
|
-
&:after {
|
|
4630
|
-
content: '';
|
|
4631
|
-
position: absolute;
|
|
4632
|
-
top: ${utils.forcePixelValue(-1)};
|
|
4633
|
-
right: ${utils.forcePixelValue(-1)};
|
|
4634
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
4635
|
-
left: ${utils.forcePixelValue(-1)};
|
|
4636
|
-
|
|
4637
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
4638
|
-
border-radius: ${({
|
|
3979
|
+
}) => utils.forcePixelValue(theme.space['4']), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
4639
3980
|
theme
|
|
4640
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4641
|
-
pointer-events: none;
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4644
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3981
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4645
3982
|
&:hover:not(:focus-within) {
|
|
4646
3983
|
&:after {
|
|
4647
3984
|
border-color: ${({
|
|
@@ -4649,17 +3986,13 @@ const TextareaWrapper = styled__default.default.div`
|
|
|
4649
3986
|
}) => theme.colors['border/hovered']};
|
|
4650
3987
|
}
|
|
4651
3988
|
}
|
|
4652
|
-
`
|
|
4653
|
-
|
|
4654
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3989
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
4655
3990
|
&:after {
|
|
4656
3991
|
border-color: ${({
|
|
4657
3992
|
theme
|
|
4658
3993
|
}) => theme.colors['border/danger']};
|
|
4659
3994
|
}
|
|
4660
|
-
`
|
|
4661
|
-
|
|
4662
|
-
${props => props.validationStatus !== 'error' && styled.css`
|
|
3995
|
+
`, props => props.validationStatus !== 'error' && styled.css`
|
|
4663
3996
|
&:focus-within {
|
|
4664
3997
|
&:after {
|
|
4665
3998
|
border-color: ${({
|
|
@@ -4667,9 +4000,7 @@ const TextareaWrapper = styled__default.default.div`
|
|
|
4667
4000
|
}) => theme.colors['border/focused']};
|
|
4668
4001
|
}
|
|
4669
4002
|
}
|
|
4670
|
-
`
|
|
4671
|
-
|
|
4672
|
-
${props => props.disabled && styled.css`
|
|
4003
|
+
`, props => props.disabled && styled.css`
|
|
4673
4004
|
border-color: ${props.theme.colors['border/input']};
|
|
4674
4005
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
4675
4006
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -4682,35 +4013,25 @@ const TextareaWrapper = styled__default.default.div`
|
|
|
4682
4013
|
textarea {
|
|
4683
4014
|
cursor: not-allowed;
|
|
4684
4015
|
}
|
|
4685
|
-
`
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
padding-right: ${({
|
|
4016
|
+
`);
|
|
4017
|
+
const TextareaCount = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
4018
|
+
displayName: "Textarea__TextareaCount",
|
|
4019
|
+
componentId: "sc-mqvox2-1"
|
|
4020
|
+
})(["width:100%;padding-right:", ";padding-bottom:", ";padding-left:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";text-align:end;"], ({
|
|
4691
4021
|
theme
|
|
4692
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
4693
|
-
padding-bottom: ${({
|
|
4022
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
4694
4023
|
theme
|
|
4695
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
4696
|
-
padding-left: ${({
|
|
4024
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
4697
4025
|
theme
|
|
4698
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
4699
|
-
|
|
4700
|
-
font-size: ${({
|
|
4026
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
4701
4027
|
theme
|
|
4702
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
4703
|
-
font-weight: ${({
|
|
4028
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
4704
4029
|
theme
|
|
4705
|
-
}) => utils.forcePixelValue(theme.fontWeights.medium)
|
|
4706
|
-
line-height: ${({
|
|
4030
|
+
}) => utils.forcePixelValue(theme.fontWeights.medium), ({
|
|
4707
4031
|
theme
|
|
4708
|
-
}) => theme.lineHeights[2]
|
|
4709
|
-
color: ${({
|
|
4032
|
+
}) => theme.lineHeights[2], ({
|
|
4710
4033
|
theme
|
|
4711
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4712
|
-
text-align: end;
|
|
4713
|
-
`;
|
|
4034
|
+
}) => theme.colors['text/neutral/subtlest']);
|
|
4714
4035
|
|
|
4715
4036
|
const FormControlCaption = ({
|
|
4716
4037
|
children
|
|
@@ -4750,9 +4071,10 @@ const errorMessageKeyframe$1 = styled.keyframes`
|
|
|
4750
4071
|
transform: translateY(0);
|
|
4751
4072
|
}
|
|
4752
4073
|
`;
|
|
4753
|
-
const StyledText$3 = styled__default.default(Text)
|
|
4754
|
-
|
|
4755
|
-
|
|
4074
|
+
const StyledText$3 = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4075
|
+
displayName: "FormControlErrorMessage__StyledText",
|
|
4076
|
+
componentId: "sc-lezmih-0"
|
|
4077
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], errorMessageKeyframe$1);
|
|
4756
4078
|
|
|
4757
4079
|
const FormControlLabel = ({
|
|
4758
4080
|
children,
|
|
@@ -4784,8 +4106,10 @@ const FormControlLabel = ({
|
|
|
4784
4106
|
})
|
|
4785
4107
|
});
|
|
4786
4108
|
};
|
|
4787
|
-
const VisuallyHidden$1 = styled__default.default.span
|
|
4788
|
-
|
|
4109
|
+
const VisuallyHidden$1 = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4110
|
+
displayName: "FormControlLabel__VisuallyHidden",
|
|
4111
|
+
componentId: "sc-159foe-0"
|
|
4112
|
+
})(["", ""], ({
|
|
4789
4113
|
isVisible = false
|
|
4790
4114
|
}) => {
|
|
4791
4115
|
if (isVisible) {
|
|
@@ -4802,40 +4126,23 @@ const VisuallyHidden$1 = styled__default.default.span`
|
|
|
4802
4126
|
white-space: nowrap;
|
|
4803
4127
|
border-width: 0;
|
|
4804
4128
|
`;
|
|
4805
|
-
}
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
font-size: ${({
|
|
4129
|
+
});
|
|
4130
|
+
const LabelWrapper$1 = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
4131
|
+
displayName: "FormControlLabel__LabelWrapper",
|
|
4132
|
+
componentId: "sc-159foe-1"
|
|
4133
|
+
})(["display:inline-block;align-self:flex-start;font-size:", ";font-weight:", ";line-height:", ";color:", ";cursor:", ";span.form_control_label__required__false{font-size:inherit;font-weight:inherit;color:", ";}", ";"], ({
|
|
4812
4134
|
theme
|
|
4813
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4814
|
-
font-weight: ${({
|
|
4135
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4815
4136
|
theme
|
|
4816
|
-
}) => theme.fontWeights.medium
|
|
4817
|
-
line-height: ${({
|
|
4137
|
+
}) => theme.fontWeights.medium, ({
|
|
4818
4138
|
theme
|
|
4819
|
-
}) => theme.lineHeights[2]
|
|
4820
|
-
|
|
4821
|
-
color: ${({
|
|
4139
|
+
}) => theme.lineHeights[2], ({
|
|
4822
4140
|
theme
|
|
4823
|
-
}) => theme.colors['text/neutral/subtle']
|
|
4824
|
-
|
|
4825
|
-
cursor: ${({
|
|
4141
|
+
}) => theme.colors['text/neutral/subtle'], ({
|
|
4826
4142
|
disabled
|
|
4827
|
-
}) => disabled ? 'not-allowed' : 'pointer'
|
|
4828
|
-
|
|
4829
|
-
span.form_control_label__required__false {
|
|
4830
|
-
font-size: inherit;
|
|
4831
|
-
font-weight: inherit;
|
|
4832
|
-
color: ${({
|
|
4143
|
+
}) => disabled ? 'not-allowed' : 'pointer', ({
|
|
4833
4144
|
theme
|
|
4834
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4835
|
-
}
|
|
4836
|
-
|
|
4837
|
-
${sx};
|
|
4838
|
-
`;
|
|
4145
|
+
}) => theme.colors['text/neutral/subtlest'], sx);
|
|
4839
4146
|
|
|
4840
4147
|
const FormControlSuccessMessage = ({
|
|
4841
4148
|
children
|
|
@@ -4860,9 +4167,10 @@ const successMessageKeyframe$1 = styled.keyframes`
|
|
|
4860
4167
|
transform: translateY(0);
|
|
4861
4168
|
}
|
|
4862
4169
|
`;
|
|
4863
|
-
const StyledText$2 = styled__default.default(Text)
|
|
4864
|
-
|
|
4865
|
-
|
|
4170
|
+
const StyledText$2 = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4171
|
+
displayName: "FormControlSuccessMessage__StyledText",
|
|
4172
|
+
componentId: "sc-5lduye-0"
|
|
4173
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], successMessageKeyframe$1);
|
|
4866
4174
|
|
|
4867
4175
|
const FormControlTooltipIcon = ({
|
|
4868
4176
|
text,
|
|
@@ -5207,9 +4515,10 @@ const errorMessageKeyframe = styled.keyframes`
|
|
|
5207
4515
|
transform: translateY(0);
|
|
5208
4516
|
}
|
|
5209
4517
|
`;
|
|
5210
|
-
const StyledText$1 = styled__default.default(Text)
|
|
5211
|
-
|
|
5212
|
-
|
|
4518
|
+
const StyledText$1 = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4519
|
+
displayName: "CheckboxOrRadioGroupFormControlErrorMessage__StyledText",
|
|
4520
|
+
componentId: "sc-ulbr7g-0"
|
|
4521
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], errorMessageKeyframe);
|
|
5213
4522
|
|
|
5214
4523
|
const CheckboxOrRadioGroupFormControlLabel = ({
|
|
5215
4524
|
children,
|
|
@@ -5241,8 +4550,10 @@ const CheckboxOrRadioGroupFormControlLabel = ({
|
|
|
5241
4550
|
})
|
|
5242
4551
|
});
|
|
5243
4552
|
};
|
|
5244
|
-
const VisuallyHidden = styled__default.default.span
|
|
5245
|
-
|
|
4553
|
+
const VisuallyHidden = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4554
|
+
displayName: "CheckboxOrRadioGroupFormControlLabel__VisuallyHidden",
|
|
4555
|
+
componentId: "sc-1eoo1ew-0"
|
|
4556
|
+
})(["", ""], ({
|
|
5246
4557
|
isVisible = false
|
|
5247
4558
|
}) => {
|
|
5248
4559
|
if (isVisible) {
|
|
@@ -5259,40 +4570,23 @@ const VisuallyHidden = styled__default.default.span`
|
|
|
5259
4570
|
white-space: nowrap;
|
|
5260
4571
|
border-width: 0;
|
|
5261
4572
|
`;
|
|
5262
|
-
}
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
font-size: ${({
|
|
4573
|
+
});
|
|
4574
|
+
const LabelWrapper = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
4575
|
+
displayName: "CheckboxOrRadioGroupFormControlLabel__LabelWrapper",
|
|
4576
|
+
componentId: "sc-1eoo1ew-1"
|
|
4577
|
+
})(["display:inline-block;align-self:flex-start;font-size:", ";font-weight:", ";line-height:", ";color:", ";cursor:", ";span.checkbox_or_radio_group_form_control_label__required__false{font-size:inherit;font-weight:inherit;color:", ";}", ";"], ({
|
|
5269
4578
|
theme
|
|
5270
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
5271
|
-
font-weight: ${({
|
|
4579
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
5272
4580
|
theme
|
|
5273
|
-
}) => theme.fontWeights.medium
|
|
5274
|
-
line-height: ${({
|
|
4581
|
+
}) => theme.fontWeights.medium, ({
|
|
5275
4582
|
theme
|
|
5276
|
-
}) => theme.lineHeights[2]
|
|
5277
|
-
|
|
5278
|
-
color: ${({
|
|
4583
|
+
}) => theme.lineHeights[2], ({
|
|
5279
4584
|
theme
|
|
5280
|
-
}) => theme.colors['text/neutral/subtle']
|
|
5281
|
-
|
|
5282
|
-
cursor: ${({
|
|
4585
|
+
}) => theme.colors['text/neutral/subtle'], ({
|
|
5283
4586
|
disabled
|
|
5284
|
-
}) => disabled ? 'not-allowed' : 'pointer'
|
|
5285
|
-
|
|
5286
|
-
span.checkbox_or_radio_group_form_control_label__required__false {
|
|
5287
|
-
font-size: inherit;
|
|
5288
|
-
font-weight: inherit;
|
|
5289
|
-
color: ${({
|
|
4587
|
+
}) => disabled ? 'not-allowed' : 'pointer', ({
|
|
5290
4588
|
theme
|
|
5291
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
5292
|
-
}
|
|
5293
|
-
|
|
5294
|
-
${reactKit.sx};
|
|
5295
|
-
`;
|
|
4589
|
+
}) => theme.colors['text/neutral/subtlest'], reactKit.sx);
|
|
5296
4590
|
|
|
5297
4591
|
const CheckboxOrRadioGroupFormControlSuccessMessage = ({
|
|
5298
4592
|
children
|
|
@@ -5317,9 +4611,10 @@ const successMessageKeyframe = styled.keyframes`
|
|
|
5317
4611
|
transform: translateY(0);
|
|
5318
4612
|
}
|
|
5319
4613
|
`;
|
|
5320
|
-
const StyledText = styled__default.default(Text)
|
|
5321
|
-
|
|
5322
|
-
|
|
4614
|
+
const StyledText = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4615
|
+
displayName: "CheckboxOrRadioGroupFormControlSuccessMessage__StyledText",
|
|
4616
|
+
componentId: "sc-c7dwbg-0"
|
|
4617
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], successMessageKeyframe);
|
|
5323
4618
|
|
|
5324
4619
|
const CheckboxOrRadioGroupFormControlTooltipIcon = ({
|
|
5325
4620
|
text,
|
|
@@ -5444,7 +4739,10 @@ const Chip = ({
|
|
|
5444
4739
|
className: 'chip__trailing_icon'
|
|
5445
4740
|
}) : null]
|
|
5446
4741
|
});
|
|
5447
|
-
const BaseChip = styled__default.default.span(
|
|
4742
|
+
const BaseChip = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4743
|
+
displayName: "Chip__BaseChip",
|
|
4744
|
+
componentId: "sc-sq73uo-0"
|
|
4745
|
+
})(({
|
|
5448
4746
|
theme
|
|
5449
4747
|
}) => ({
|
|
5450
4748
|
position: 'relative',
|
|
@@ -5647,13 +4945,12 @@ const ClickArea = ({
|
|
|
5647
4945
|
onClick
|
|
5648
4946
|
} : {})
|
|
5649
4947
|
});
|
|
5650
|
-
const BaseClickArea = styled__default.default(View)
|
|
5651
|
-
|
|
5652
|
-
|
|
4948
|
+
const BaseClickArea = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
4949
|
+
displayName: "ClickArea__BaseClickArea",
|
|
4950
|
+
componentId: "sc-1pd8ned-0"
|
|
4951
|
+
})(["&:hover{cursor:", ";}"], ({
|
|
5653
4952
|
disabled
|
|
5654
|
-
}) => disabled ? 'not-allowed' : 'pointer'
|
|
5655
|
-
}
|
|
5656
|
-
`;
|
|
4953
|
+
}) => disabled ? 'not-allowed' : 'pointer');
|
|
5657
4954
|
var index$a = /*#__PURE__*/React.forwardRef(ClickArea);
|
|
5658
4955
|
|
|
5659
4956
|
const CounterBadge = ({
|
|
@@ -5673,15 +4970,12 @@ const CounterBadge = ({
|
|
|
5673
4970
|
children: children
|
|
5674
4971
|
});
|
|
5675
4972
|
};
|
|
5676
|
-
const BaseCounterBadge = styled__default.default.span
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
border-radius: ${({
|
|
4973
|
+
const BaseCounterBadge = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4974
|
+
displayName: "CounterBadge__BaseCounterBadge",
|
|
4975
|
+
componentId: "sc-1tqkdbw-0"
|
|
4976
|
+
})(["display:inline-flex;align-items:center;justify-content:center;border-radius:", ";", " ", " ", ""], ({
|
|
5681
4977
|
theme
|
|
5682
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
5683
|
-
|
|
5684
|
-
${variant({
|
|
4978
|
+
}) => utils.forcePixelValue(theme.radii.full), variant({
|
|
5685
4979
|
prop: 'variant',
|
|
5686
4980
|
variants: {
|
|
5687
4981
|
red: {
|
|
@@ -5689,8 +4983,7 @@ const BaseCounterBadge = styled__default.default.span`
|
|
|
5689
4983
|
color: 'text/inverse'
|
|
5690
4984
|
}
|
|
5691
4985
|
}
|
|
5692
|
-
})
|
|
5693
|
-
${variant({
|
|
4986
|
+
}), variant({
|
|
5694
4987
|
prop: 'size',
|
|
5695
4988
|
variants: {
|
|
5696
4989
|
m: {
|
|
@@ -5702,36 +4995,19 @@ const BaseCounterBadge = styled__default.default.span`
|
|
|
5702
4995
|
py: 0.25
|
|
5703
4996
|
}
|
|
5704
4997
|
}
|
|
5705
|
-
})
|
|
5706
|
-
|
|
5707
|
-
${sx}
|
|
5708
|
-
`;
|
|
4998
|
+
}), sx);
|
|
5709
4999
|
|
|
5710
5000
|
const DatagridBody = ({
|
|
5711
5001
|
...props
|
|
5712
5002
|
}) => /*#__PURE__*/jsxRuntime.jsx(BaseDatagridBody, {
|
|
5713
5003
|
...props
|
|
5714
5004
|
});
|
|
5715
|
-
const BaseDatagridBody = styled__default.default.div
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
& > *:not(:last-child) {
|
|
5721
|
-
border-bottom-width: ${utils.forcePixelValue(1)};
|
|
5722
|
-
border-bottom-style: solid;
|
|
5723
|
-
border-bottom-color: ${({
|
|
5005
|
+
const BaseDatagridBody = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5006
|
+
displayName: "DatagridBody__BaseDatagridBody",
|
|
5007
|
+
componentId: "sc-pt3o0h-0"
|
|
5008
|
+
})(["width:inherit;border-radius:inherit;& > *:not(:last-child){border-bottom-width:", ";border-bottom-style:solid;border-bottom-color:", ";}& > *:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;}", ""], utils.forcePixelValue(1), ({
|
|
5724
5009
|
theme
|
|
5725
|
-
}) => theme.colors['border/neutral']
|
|
5726
|
-
}
|
|
5727
|
-
|
|
5728
|
-
& > *:last-child {
|
|
5729
|
-
border-bottom-left-radius: inherit;
|
|
5730
|
-
border-bottom-right-radius: inherit;
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
${sx}
|
|
5734
|
-
`;
|
|
5010
|
+
}) => theme.colors['border/neutral'], sx);
|
|
5735
5011
|
|
|
5736
5012
|
const DatagridCell = ({
|
|
5737
5013
|
children,
|
|
@@ -5760,23 +5036,14 @@ const DatagridHeader = ({
|
|
|
5760
5036
|
children: trailingAction
|
|
5761
5037
|
})]
|
|
5762
5038
|
});
|
|
5763
|
-
const DataGridHeaderWrapper = styled__default.default.div
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
height: 40px;
|
|
5768
|
-
padding: ${({
|
|
5039
|
+
const DataGridHeaderWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5040
|
+
displayName: "DatagridHeader__DataGridHeaderWrapper",
|
|
5041
|
+
componentId: "sc-r0eskc-0"
|
|
5042
|
+
})(["display:flex;align-items:center;justify-content:space-between;height:40px;padding:", ";background-color:", ";border-top-left-radius:inherit;border-top-right-radius:inherit;", ""], ({
|
|
5769
5043
|
theme
|
|
5770
|
-
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[4])}
|
|
5771
|
-
background-color: ${({
|
|
5044
|
+
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[4])}`, ({
|
|
5772
5045
|
theme
|
|
5773
|
-
}) => theme.colors['bg/neutral']
|
|
5774
|
-
|
|
5775
|
-
border-top-left-radius: inherit;
|
|
5776
|
-
border-top-right-radius: inherit;
|
|
5777
|
-
|
|
5778
|
-
${sx}
|
|
5779
|
-
`;
|
|
5046
|
+
}) => theme.colors['bg/neutral'], sx);
|
|
5780
5047
|
|
|
5781
5048
|
const DatagridRow = ({
|
|
5782
5049
|
gapX = 2,
|
|
@@ -5802,22 +5069,16 @@ const DatagridSubheader = ({
|
|
|
5802
5069
|
}) => /*#__PURE__*/jsxRuntime.jsx(DataGridSubheaderWrapper, {
|
|
5803
5070
|
...props
|
|
5804
5071
|
});
|
|
5805
|
-
const DataGridSubheaderWrapper = styled__default.default.div
|
|
5806
|
-
|
|
5072
|
+
const DataGridSubheaderWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5073
|
+
displayName: "DatagridSubheader__DataGridSubheaderWrapper",
|
|
5074
|
+
componentId: "sc-1l1yg6c-0"
|
|
5075
|
+
})(["padding:", ";background-color:", ";border-bottom-width:", ";border-bottom-style:solid;border-bottom-color:", ";", ";"], ({
|
|
5807
5076
|
theme
|
|
5808
|
-
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[4])}
|
|
5809
|
-
background-color: ${({
|
|
5077
|
+
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[4])}`, ({
|
|
5810
5078
|
theme
|
|
5811
|
-
}) => theme.colors.surface
|
|
5812
|
-
|
|
5813
|
-
border-bottom-width: ${utils.forcePixelValue(1)};
|
|
5814
|
-
border-bottom-style: solid;
|
|
5815
|
-
border-bottom-color: ${({
|
|
5079
|
+
}) => theme.colors.surface, utils.forcePixelValue(1), ({
|
|
5816
5080
|
theme
|
|
5817
|
-
}) => theme.colors['border/neutral']
|
|
5818
|
-
|
|
5819
|
-
${sx};
|
|
5820
|
-
`;
|
|
5081
|
+
}) => theme.colors['border/neutral'], sx);
|
|
5821
5082
|
|
|
5822
5083
|
const Datagrid = ({
|
|
5823
5084
|
children,
|
|
@@ -5839,26 +5100,18 @@ const Datagrid = ({
|
|
|
5839
5100
|
})]
|
|
5840
5101
|
});
|
|
5841
5102
|
};
|
|
5842
|
-
const DatagridWrapper = styled__default.default.div
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
theme
|
|
5849
|
-
}) => theme.
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
${sx}
|
|
5856
|
-
`;
|
|
5857
|
-
const BaseDatagrid = styled__default.default.div`
|
|
5858
|
-
width: inherit;
|
|
5859
|
-
|
|
5860
|
-
border-radius: inherit;
|
|
5861
|
-
`;
|
|
5103
|
+
const DatagridWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5104
|
+
displayName: "Datagrid__DatagridWrapper",
|
|
5105
|
+
componentId: "sc-1pt4ew-0"
|
|
5106
|
+
})(["width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";isolation:isolate;", ""], utils.forcePixelValue(1), ({
|
|
5107
|
+
theme
|
|
5108
|
+
}) => theme.colors['border/neutral'], ({
|
|
5109
|
+
theme
|
|
5110
|
+
}) => utils.forcePixelValue(theme.radii.s), sx);
|
|
5111
|
+
const BaseDatagrid = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5112
|
+
displayName: "Datagrid__BaseDatagrid",
|
|
5113
|
+
componentId: "sc-1pt4ew-1"
|
|
5114
|
+
})(["width:inherit;border-radius:inherit;"]);
|
|
5862
5115
|
var index$9 = Object.assign(Datagrid, {
|
|
5863
5116
|
Header: DatagridHeader,
|
|
5864
5117
|
Subheader: DatagridSubheader,
|
|
@@ -5962,7 +5215,10 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
5962
5215
|
})
|
|
5963
5216
|
});
|
|
5964
5217
|
});
|
|
5965
|
-
const BaseIconButton = styled__default.default(UnstyledButton)(
|
|
5218
|
+
const BaseIconButton = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
5219
|
+
displayName: "IconButton__BaseIconButton",
|
|
5220
|
+
componentId: "sc-13ybfes-0"
|
|
5221
|
+
})(({
|
|
5966
5222
|
$loading,
|
|
5967
5223
|
$disabled,
|
|
5968
5224
|
theme
|
|
@@ -6162,16 +5418,12 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
6162
5418
|
|
|
6163
5419
|
const MotionView = framerMotion.motion(View);
|
|
6164
5420
|
|
|
6165
|
-
const UnstyledDialogBody = styled__default.default.div.attrs({
|
|
5421
|
+
const UnstyledDialogBody = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6166
5422
|
className: 'trk-dialog_body'
|
|
6167
|
-
})
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
overflow-y: auto;
|
|
6172
|
-
|
|
6173
|
-
${sx}
|
|
6174
|
-
`;
|
|
5423
|
+
}).withConfig({
|
|
5424
|
+
displayName: "_UnstyledDialogBody__UnstyledDialogBody",
|
|
5425
|
+
componentId: "sc-1wirkbs-0"
|
|
5426
|
+
})(["flex-grow:1;flex-shrink:1;flex-basis:auto;overflow-y:auto;", ""], sx);
|
|
6175
5427
|
|
|
6176
5428
|
const DialogBody = ({
|
|
6177
5429
|
children,
|
|
@@ -6186,15 +5438,12 @@ const DialogBody = ({
|
|
|
6186
5438
|
children: children
|
|
6187
5439
|
});
|
|
6188
5440
|
|
|
6189
|
-
const UnstyledDialogFooter = styled__default.default.div.attrs({
|
|
5441
|
+
const UnstyledDialogFooter = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6190
5442
|
className: 'trk-dialog_footer'
|
|
6191
|
-
})
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
${sx}
|
|
6197
|
-
`;
|
|
5443
|
+
}).withConfig({
|
|
5444
|
+
displayName: "_UnstyledDialogFooter__UnstyledDialogFooter",
|
|
5445
|
+
componentId: "sc-6fc8qd-0"
|
|
5446
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6198
5447
|
|
|
6199
5448
|
const DialogFooter = ({
|
|
6200
5449
|
children,
|
|
@@ -6219,15 +5468,12 @@ const DialogFooter = ({
|
|
|
6219
5468
|
children: children
|
|
6220
5469
|
});
|
|
6221
5470
|
|
|
6222
|
-
const UnstyledDialogHeader = styled__default.default.div.attrs({
|
|
5471
|
+
const UnstyledDialogHeader = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6223
5472
|
className: 'trk-dialog_header'
|
|
6224
|
-
})
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
${sx}
|
|
6230
|
-
`;
|
|
5473
|
+
}).withConfig({
|
|
5474
|
+
displayName: "_UnstyledDialogHeader__UnstyledDialogHeader",
|
|
5475
|
+
componentId: "sc-11xdjox-0"
|
|
5476
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6231
5477
|
|
|
6232
5478
|
const DialogHeader = ({
|
|
6233
5479
|
children,
|
|
@@ -6404,22 +5650,16 @@ const Dialog = ({
|
|
|
6404
5650
|
}) : null
|
|
6405
5651
|
});
|
|
6406
5652
|
};
|
|
6407
|
-
const Blanket$1 = styled__default.default.span
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
background: ${({
|
|
6418
|
-
theme
|
|
6419
|
-
}) => theme.colors.dim};
|
|
6420
|
-
}
|
|
6421
|
-
`;
|
|
6422
|
-
const BaseDialog = styled__default.default.div(({
|
|
5653
|
+
const Blanket$1 = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
5654
|
+
displayName: "Dialog__Blanket",
|
|
5655
|
+
componentId: "sc-1c7dkhn-0"
|
|
5656
|
+
})(["&:before{position:fixed;top:0;right:0;bottom:0;left:0;display:block;cursor:default;content:'';background:", ";}"], ({
|
|
5657
|
+
theme
|
|
5658
|
+
}) => theme.colors.dim);
|
|
5659
|
+
const BaseDialog = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5660
|
+
displayName: "Dialog__BaseDialog",
|
|
5661
|
+
componentId: "sc-1c7dkhn-1"
|
|
5662
|
+
})(({
|
|
6423
5663
|
theme
|
|
6424
5664
|
}) => ({
|
|
6425
5665
|
display: 'flex',
|
|
@@ -6442,16 +5682,12 @@ var index$8 = Object.assign( /*#__PURE__*/React.forwardRef(Dialog), {
|
|
|
6442
5682
|
Footer: DialogFooter
|
|
6443
5683
|
});
|
|
6444
5684
|
|
|
6445
|
-
const UnstyledDrawerBody = styled__default.default.div.attrs({
|
|
5685
|
+
const UnstyledDrawerBody = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6446
5686
|
className: 'trk-drawer_body'
|
|
6447
|
-
})
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
overflow-y: auto;
|
|
6452
|
-
|
|
6453
|
-
${sx}
|
|
6454
|
-
`;
|
|
5687
|
+
}).withConfig({
|
|
5688
|
+
displayName: "_UnstyledDrawerBody__UnstyledDrawerBody",
|
|
5689
|
+
componentId: "sc-128haqe-0"
|
|
5690
|
+
})(["flex-grow:1;flex-shrink:1;flex-basis:auto;overflow-y:auto;", ""], sx);
|
|
6455
5691
|
|
|
6456
5692
|
const DrawerBody = ({
|
|
6457
5693
|
children,
|
|
@@ -6466,15 +5702,12 @@ const DrawerBody = ({
|
|
|
6466
5702
|
children: children
|
|
6467
5703
|
});
|
|
6468
5704
|
|
|
6469
|
-
const UnstyledDrawerFooter = styled__default.default.div.attrs({
|
|
5705
|
+
const UnstyledDrawerFooter = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6470
5706
|
className: 'trk-drawer_footer'
|
|
6471
|
-
})
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
${sx}
|
|
6477
|
-
`;
|
|
5707
|
+
}).withConfig({
|
|
5708
|
+
displayName: "_UnstyledDrawerFooter__UnstyledDrawerFooter",
|
|
5709
|
+
componentId: "sc-l06yi3-0"
|
|
5710
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6478
5711
|
|
|
6479
5712
|
const DrawerFooter = ({
|
|
6480
5713
|
children,
|
|
@@ -6499,15 +5732,12 @@ const DrawerFooter = ({
|
|
|
6499
5732
|
children: children
|
|
6500
5733
|
});
|
|
6501
5734
|
|
|
6502
|
-
const UnstyledDrawerHeader = styled__default.default.div.attrs({
|
|
5735
|
+
const UnstyledDrawerHeader = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6503
5736
|
className: 'trk-drawer_header'
|
|
6504
|
-
})
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
${sx}
|
|
6510
|
-
`;
|
|
5737
|
+
}).withConfig({
|
|
5738
|
+
displayName: "_UnstyledDrawerHeader__UnstyledDrawerHeader",
|
|
5739
|
+
componentId: "sc-1jvii2r-0"
|
|
5740
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6511
5741
|
|
|
6512
5742
|
const DrawerHeader = ({
|
|
6513
5743
|
children,
|
|
@@ -6682,23 +5912,16 @@ const Drawer = ({
|
|
|
6682
5912
|
}) : null
|
|
6683
5913
|
});
|
|
6684
5914
|
};
|
|
6685
|
-
const Blanket = styled__default.default.span
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
content: '';
|
|
6696
|
-
background: ${({
|
|
6697
|
-
theme
|
|
6698
|
-
}) => theme.colors.dim};
|
|
6699
|
-
}
|
|
6700
|
-
`;
|
|
6701
|
-
const BaseDrawer = styled__default.default.div(({
|
|
5915
|
+
const Blanket = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
5916
|
+
displayName: "Drawer__Blanket",
|
|
5917
|
+
componentId: "sc-k4n499-0"
|
|
5918
|
+
})(["&:before{position:fixed;z-index:9999;top:0;right:0;bottom:0;left:0;display:block;cursor:default;content:'';background:", ";}"], ({
|
|
5919
|
+
theme
|
|
5920
|
+
}) => theme.colors.dim);
|
|
5921
|
+
const BaseDrawer = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5922
|
+
displayName: "Drawer__BaseDrawer",
|
|
5923
|
+
componentId: "sc-k4n499-1"
|
|
5924
|
+
})(({
|
|
6702
5925
|
theme
|
|
6703
5926
|
}) => ({
|
|
6704
5927
|
display: 'flex',
|
|
@@ -6797,40 +6020,24 @@ const EmptyState = ({
|
|
|
6797
6020
|
}) : null]
|
|
6798
6021
|
});
|
|
6799
6022
|
};
|
|
6800
|
-
const BaseEmptyState = styled__default.default.div
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
& > svg {
|
|
6806
|
-
color: ${({
|
|
6023
|
+
const BaseEmptyState = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6024
|
+
displayName: "EmptyState__BaseEmptyState",
|
|
6025
|
+
componentId: "sc-vj7hxz-0"
|
|
6026
|
+
})(["display:flex;flex-direction:column;align-items:center;& > svg{color:", ";}& > p{color:", ";font-weight:", ";line-height:", ";}& > span{color:", ";font-weight:", ";line-height:", ";}", " ", ""], ({
|
|
6807
6027
|
theme
|
|
6808
|
-
}) => theme.colors['icon/neutral']
|
|
6809
|
-
}
|
|
6810
|
-
& > p {
|
|
6811
|
-
color: ${({
|
|
6028
|
+
}) => theme.colors['icon/neutral'], ({
|
|
6812
6029
|
theme
|
|
6813
|
-
}) => theme.colors['text/neutral']
|
|
6814
|
-
font-weight: ${({
|
|
6030
|
+
}) => theme.colors['text/neutral'], ({
|
|
6815
6031
|
theme
|
|
6816
|
-
}) => theme.fontWeights.bold
|
|
6817
|
-
line-height: ${({
|
|
6032
|
+
}) => theme.fontWeights.bold, ({
|
|
6818
6033
|
theme
|
|
6819
|
-
}) => theme.lineHeights[2]
|
|
6820
|
-
}
|
|
6821
|
-
& > span {
|
|
6822
|
-
color: ${({
|
|
6034
|
+
}) => theme.lineHeights[2], ({
|
|
6823
6035
|
theme
|
|
6824
|
-
}) => theme.colors['text/neutral/subtler']
|
|
6825
|
-
font-weight: ${({
|
|
6036
|
+
}) => theme.colors['text/neutral/subtler'], ({
|
|
6826
6037
|
theme
|
|
6827
|
-
}) => theme.fontWeights.medium
|
|
6828
|
-
line-height: ${({
|
|
6038
|
+
}) => theme.fontWeights.medium, ({
|
|
6829
6039
|
theme
|
|
6830
|
-
}) => theme.lineHeights[2]
|
|
6831
|
-
}
|
|
6832
|
-
|
|
6833
|
-
${variant({
|
|
6040
|
+
}) => theme.lineHeights[2], variant({
|
|
6834
6041
|
prop: 'size',
|
|
6835
6042
|
variants: {
|
|
6836
6043
|
m: {
|
|
@@ -6868,10 +6075,7 @@ const BaseEmptyState = styled__default.default.div`
|
|
|
6868
6075
|
}
|
|
6869
6076
|
}
|
|
6870
6077
|
}
|
|
6871
|
-
})
|
|
6872
|
-
|
|
6873
|
-
${sx}
|
|
6874
|
-
`;
|
|
6078
|
+
}), sx);
|
|
6875
6079
|
|
|
6876
6080
|
const FileItem = ({
|
|
6877
6081
|
file,
|
|
@@ -6941,7 +6145,10 @@ const FileItem = ({
|
|
|
6941
6145
|
}) : null
|
|
6942
6146
|
});
|
|
6943
6147
|
};
|
|
6944
|
-
const BaseFile = styled__default.default.div({
|
|
6148
|
+
const BaseFile = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6149
|
+
displayName: "FileItem__BaseFile",
|
|
6150
|
+
componentId: "sc-1hkmytj-0"
|
|
6151
|
+
})({
|
|
6945
6152
|
position: 'relative'
|
|
6946
6153
|
}, ({
|
|
6947
6154
|
theme,
|
|
@@ -7141,70 +6348,28 @@ const Flash = ({
|
|
|
7141
6348
|
}) : null]
|
|
7142
6349
|
});
|
|
7143
6350
|
};
|
|
7144
|
-
const BaseFlash = styled__default.default.div
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
flex-direction: row;
|
|
7149
|
-
align-items: flex-start;
|
|
7150
|
-
padding: ${({
|
|
6351
|
+
const BaseFlash = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6352
|
+
displayName: "Flash__BaseFlash",
|
|
6353
|
+
componentId: "sc-sffzzy-0"
|
|
6354
|
+
})(["box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;padding:", ";border-radius:", ";column-gap:", ";& .flash__content{flex:1;display:flex;flex-direction:column;}& .flash__content__children{font-size:", ";font-weight:", ";line-height:", ";color:", ";word-break:keep-all;white-space:pre-wrap;}& .flash__content__buttons{margin-top:", ";}& .flash__leading_icon{min-width:", ";height:", ";}& .flash__trailing_visual{display:flex;flex-direction:column;svg{width:", ";height:", ";color:", ";}}", " ", ""], ({
|
|
7151
6355
|
theme
|
|
7152
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
7153
|
-
border-radius: ${({
|
|
6356
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
7154
6357
|
theme
|
|
7155
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7156
|
-
column-gap: ${({
|
|
6358
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7157
6359
|
theme
|
|
7158
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
7159
|
-
|
|
7160
|
-
& .flash__content {
|
|
7161
|
-
flex: 1;
|
|
7162
|
-
display: flex;
|
|
7163
|
-
flex-direction: column;
|
|
7164
|
-
}
|
|
7165
|
-
|
|
7166
|
-
& .flash__content__children {
|
|
7167
|
-
font-size: ${({
|
|
6360
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
7168
6361
|
theme
|
|
7169
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
7170
|
-
font-weight: ${({
|
|
6362
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
7171
6363
|
theme
|
|
7172
|
-
}) => theme.fontWeights.medium
|
|
7173
|
-
line-height: ${({
|
|
6364
|
+
}) => theme.fontWeights.medium, ({
|
|
7174
6365
|
theme
|
|
7175
|
-
}) => theme.lineHeights[2]
|
|
7176
|
-
color: ${({
|
|
6366
|
+
}) => theme.lineHeights[2], ({
|
|
7177
6367
|
theme
|
|
7178
|
-
}) => theme.colors['text/neutral']
|
|
7179
|
-
word-break: keep-all;
|
|
7180
|
-
white-space: pre-wrap;
|
|
7181
|
-
}
|
|
7182
|
-
|
|
7183
|
-
& .flash__content__buttons {
|
|
7184
|
-
margin-top: ${({
|
|
6368
|
+
}) => theme.colors['text/neutral'], ({
|
|
7185
6369
|
theme
|
|
7186
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
7187
|
-
}
|
|
7188
|
-
|
|
7189
|
-
& .flash__leading_icon {
|
|
7190
|
-
min-width: ${utils.forcePixelValue(16)};
|
|
7191
|
-
height: ${utils.forcePixelValue(16)};
|
|
7192
|
-
}
|
|
7193
|
-
|
|
7194
|
-
& .flash__trailing_visual {
|
|
7195
|
-
display: flex;
|
|
7196
|
-
flex-direction: column;
|
|
7197
|
-
|
|
7198
|
-
svg {
|
|
7199
|
-
width: ${utils.forcePixelValue(16)};
|
|
7200
|
-
height: ${utils.forcePixelValue(16)};
|
|
7201
|
-
color: ${({
|
|
6370
|
+
}) => utils.forcePixelValue(theme.space[2]), utils.forcePixelValue(16), utils.forcePixelValue(16), utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
7202
6371
|
theme
|
|
7203
|
-
}) => theme.colors['icon/neutral/bold']
|
|
7204
|
-
}
|
|
7205
|
-
}
|
|
7206
|
-
|
|
7207
|
-
${({
|
|
6372
|
+
}) => theme.colors['icon/neutral/bold'], ({
|
|
7208
6373
|
theme
|
|
7209
6374
|
}) => variant({
|
|
7210
6375
|
prop: 'variant',
|
|
@@ -7237,15 +6402,13 @@ const BaseFlash = styled__default.default.div`
|
|
|
7237
6402
|
}
|
|
7238
6403
|
}
|
|
7239
6404
|
}
|
|
7240
|
-
})
|
|
7241
|
-
|
|
7242
|
-
${sx}
|
|
7243
|
-
`;
|
|
6405
|
+
}), sx);
|
|
7244
6406
|
var index$6 = /*#__PURE__*/React.forwardRef(Flash);
|
|
7245
6407
|
|
|
7246
|
-
const
|
|
7247
|
-
|
|
7248
|
-
|
|
6408
|
+
const BaseGradientText = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
6409
|
+
displayName: "GradientText__BaseGradientText",
|
|
6410
|
+
componentId: "sc-1jku3z1-0"
|
|
6411
|
+
})(({
|
|
7249
6412
|
theme
|
|
7250
6413
|
}) => variant({
|
|
7251
6414
|
prop: 'variant',
|
|
@@ -7262,6 +6425,15 @@ const GradientText = styled__default.default(Text).attrs(props => ({
|
|
|
7262
6425
|
WebkitBackgroundClip: 'text',
|
|
7263
6426
|
WebkitTextFillColor: 'transparent'
|
|
7264
6427
|
});
|
|
6428
|
+
const GradientText = /*#__PURE__*/React.forwardRef(({
|
|
6429
|
+
variant = 'violet',
|
|
6430
|
+
...props
|
|
6431
|
+
}, ref) => /*#__PURE__*/jsxRuntime.jsx(BaseGradientText, {
|
|
6432
|
+
ref: ref,
|
|
6433
|
+
variant: variant,
|
|
6434
|
+
...props
|
|
6435
|
+
}));
|
|
6436
|
+
GradientText.displayName = 'GradientText';
|
|
7265
6437
|
|
|
7266
6438
|
const IconToggleButton = ({
|
|
7267
6439
|
icon: Icon,
|
|
@@ -7286,7 +6458,10 @@ const IconToggleButton = ({
|
|
|
7286
6458
|
...props,
|
|
7287
6459
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
7288
6460
|
});
|
|
7289
|
-
const BaseIconToggleButton = styled__default.default(UnstyledButton)(
|
|
6461
|
+
const BaseIconToggleButton = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6462
|
+
displayName: "IconToggleButton__BaseIconToggleButton",
|
|
6463
|
+
componentId: "sc-1y68w0-0"
|
|
6464
|
+
})(({
|
|
7290
6465
|
$disabled,
|
|
7291
6466
|
theme
|
|
7292
6467
|
}) => ({
|
|
@@ -7498,16 +6673,12 @@ const Pagination = ({
|
|
|
7498
6673
|
})]
|
|
7499
6674
|
});
|
|
7500
6675
|
};
|
|
7501
|
-
const BasePagination = styled__default.default.nav
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
flex-wrap: nowrap;
|
|
7506
|
-
column-gap: ${({
|
|
6676
|
+
const BasePagination = /*#__PURE__*/styled__default.default.nav.withConfig({
|
|
6677
|
+
displayName: "Pagination__BasePagination",
|
|
6678
|
+
componentId: "sc-1fu43y9-0"
|
|
6679
|
+
})(["display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;column-gap:", ";", " ", ""], ({
|
|
7507
6680
|
theme
|
|
7508
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
7509
|
-
|
|
7510
|
-
${variant({
|
|
6681
|
+
}) => utils.forcePixelValue(theme.space[1]), variant({
|
|
7511
6682
|
prop: 'type',
|
|
7512
6683
|
variants: {
|
|
7513
6684
|
default: {
|
|
@@ -7521,39 +6692,25 @@ const BasePagination = styled__default.default.nav`
|
|
|
7521
6692
|
}
|
|
7522
6693
|
}
|
|
7523
6694
|
}
|
|
7524
|
-
})
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
height: ${utils.forcePixelValue(32)};
|
|
7531
|
-
min-width: ${utils.forcePixelValue(32)};
|
|
7532
|
-
|
|
7533
|
-
border-radius: ${({
|
|
6695
|
+
}), sx);
|
|
6696
|
+
const PaginationPage = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6697
|
+
displayName: "Pagination__PaginationPage",
|
|
6698
|
+
componentId: "sc-1fu43y9-1"
|
|
6699
|
+
})(["transition:background-color 100ms;height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";", ""], utils.forcePixelValue(32), utils.forcePixelValue(32), ({
|
|
7534
6700
|
theme
|
|
7535
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7536
|
-
padding: ${({
|
|
6701
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7537
6702
|
theme
|
|
7538
|
-
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}
|
|
7539
|
-
background-color: ${({
|
|
6703
|
+
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
7540
6704
|
theme
|
|
7541
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
7542
|
-
|
|
7543
|
-
font-size: ${({
|
|
6705
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
7544
6706
|
theme
|
|
7545
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
7546
|
-
font-weight: ${({
|
|
6707
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
7547
6708
|
theme
|
|
7548
|
-
}) => theme.fontWeights.regular
|
|
7549
|
-
line-height: ${({
|
|
6709
|
+
}) => theme.fontWeights.regular, ({
|
|
7550
6710
|
theme
|
|
7551
|
-
}) => theme.lineHeights[2]
|
|
7552
|
-
color: ${({
|
|
6711
|
+
}) => theme.lineHeights[2], ({
|
|
7553
6712
|
theme
|
|
7554
|
-
}) => theme.colors['text/neutral']
|
|
7555
|
-
|
|
7556
|
-
${({
|
|
6713
|
+
}) => theme.colors['text/neutral'], ({
|
|
7557
6714
|
selected
|
|
7558
6715
|
}) => selected ? styled.css`
|
|
7559
6716
|
background-color: ${({
|
|
@@ -7568,99 +6725,53 @@ const PaginationPage = styled__default.default(UnstyledButton)`
|
|
|
7568
6725
|
theme
|
|
7569
6726
|
}) => theme.colors['bg/neutral/subtler/hovered']};
|
|
7570
6727
|
}
|
|
7571
|
-
`
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
display: inline-flex;
|
|
7577
|
-
align-items: center;
|
|
7578
|
-
flex-wrap: nowrap;
|
|
7579
|
-
column-gap: ${({
|
|
6728
|
+
`);
|
|
6729
|
+
const PaginationPageDirection = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6730
|
+
displayName: "Pagination__PaginationPageDirection",
|
|
6731
|
+
componentId: "sc-1fu43y9-2"
|
|
6732
|
+
})(["transition:background-color 100ms;display:inline-flex;align-items:center;flex-wrap:nowrap;column-gap:", ";height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";& svg{color:", ";width:", ";height:", ";}&:hover:not(:disabled){background-color:", ";}&:disabled{cursor:not-allowed;color:", ";& > svg{color:", ";}}"], ({
|
|
7580
6733
|
theme
|
|
7581
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
7582
|
-
|
|
7583
|
-
height: ${utils.forcePixelValue(32)};
|
|
7584
|
-
min-width: ${utils.forcePixelValue(32)};
|
|
7585
|
-
|
|
7586
|
-
border-radius: ${({
|
|
6734
|
+
}) => utils.forcePixelValue(theme.space[1]), utils.forcePixelValue(32), utils.forcePixelValue(32), ({
|
|
7587
6735
|
theme
|
|
7588
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7589
|
-
padding: ${({
|
|
6736
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7590
6737
|
theme
|
|
7591
|
-
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}
|
|
7592
|
-
background-color: ${({
|
|
6738
|
+
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
7593
6739
|
theme
|
|
7594
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
7595
|
-
|
|
7596
|
-
font-size: ${({
|
|
6740
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
7597
6741
|
theme
|
|
7598
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
7599
|
-
font-weight: ${({
|
|
6742
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
7600
6743
|
theme
|
|
7601
|
-
}) => theme.fontWeights.regular
|
|
7602
|
-
line-height: ${({
|
|
6744
|
+
}) => theme.fontWeights.regular, ({
|
|
7603
6745
|
theme
|
|
7604
|
-
}) => theme.lineHeights[2]
|
|
7605
|
-
color: ${({
|
|
6746
|
+
}) => theme.lineHeights[2], ({
|
|
7606
6747
|
theme
|
|
7607
|
-
}) => theme.colors['text/neutral']
|
|
7608
|
-
|
|
7609
|
-
& svg {
|
|
7610
|
-
color: ${({
|
|
6748
|
+
}) => theme.colors['text/neutral'], ({
|
|
7611
6749
|
theme
|
|
7612
|
-
}) => theme.colors['icon/accent/gray']
|
|
7613
|
-
width: ${utils.forcePixelValue(16)};
|
|
7614
|
-
height: ${utils.forcePixelValue(16)};
|
|
7615
|
-
}
|
|
7616
|
-
|
|
7617
|
-
&:hover:not(:disabled) {
|
|
7618
|
-
background-color: ${({
|
|
6750
|
+
}) => theme.colors['icon/accent/gray'], utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
7619
6751
|
theme
|
|
7620
|
-
}) => theme.colors['bg/neutral/subtler/hovered']
|
|
7621
|
-
}
|
|
7622
|
-
&:disabled {
|
|
7623
|
-
cursor: not-allowed;
|
|
7624
|
-
color: ${({
|
|
6752
|
+
}) => theme.colors['bg/neutral/subtler/hovered'], ({
|
|
7625
6753
|
theme
|
|
7626
|
-
}) => theme.colors['text/disabled']
|
|
7627
|
-
& > svg {
|
|
7628
|
-
color: ${({
|
|
6754
|
+
}) => theme.colors['text/disabled'], ({
|
|
7629
6755
|
theme
|
|
7630
|
-
}) => theme.colors['icon/disabled']
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
min-width: ${utils.forcePixelValue(32)};
|
|
7636
|
-
|
|
7637
|
-
border-radius: ${({
|
|
6756
|
+
}) => theme.colors['icon/disabled']);
|
|
6757
|
+
const PaginationTruncationIndicator = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6758
|
+
displayName: "Pagination__PaginationTruncationIndicator",
|
|
6759
|
+
componentId: "sc-1fu43y9-3"
|
|
6760
|
+
})(["min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;", ""], utils.forcePixelValue(32), ({
|
|
7638
6761
|
theme
|
|
7639
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7640
|
-
padding: ${({
|
|
6762
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7641
6763
|
theme
|
|
7642
|
-
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}
|
|
7643
|
-
background-color: ${({
|
|
6764
|
+
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
7644
6765
|
theme
|
|
7645
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
7646
|
-
|
|
7647
|
-
font-size: ${({
|
|
6766
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
7648
6767
|
theme
|
|
7649
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
7650
|
-
font-weight: ${({
|
|
6768
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
7651
6769
|
theme
|
|
7652
|
-
}) => theme.fontWeights.regular
|
|
7653
|
-
line-height: ${({
|
|
6770
|
+
}) => theme.fontWeights.regular, ({
|
|
7654
6771
|
theme
|
|
7655
|
-
}) => theme.lineHeights[2]
|
|
7656
|
-
color: ${({
|
|
6772
|
+
}) => theme.lineHeights[2], ({
|
|
7657
6773
|
theme
|
|
7658
|
-
}) => theme.colors['text/neutral']
|
|
7659
|
-
|
|
7660
|
-
pointer-events: none;
|
|
7661
|
-
|
|
7662
|
-
${sx}
|
|
7663
|
-
`;
|
|
6774
|
+
}) => theme.colors['text/neutral'], sx);
|
|
7664
6775
|
var index$4 = Object.assign(Pagination, {
|
|
7665
6776
|
Page: PaginationPage,
|
|
7666
6777
|
PageDirection: PaginationPageDirection,
|
|
@@ -7731,52 +6842,22 @@ const Pill = ({
|
|
|
7731
6842
|
}) : null]
|
|
7732
6843
|
});
|
|
7733
6844
|
};
|
|
7734
|
-
const BasePill = styled__default.default(UnstyledButton)
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
6845
|
+
const BasePill = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6846
|
+
displayName: "Pill__BasePill",
|
|
6847
|
+
componentId: "sc-15cvlep-0"
|
|
6848
|
+
})(["display:inline-flex;align-items:center;column-gap:", ";transition:background-color 100ms;& span{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:pre;word-break:break-all;}&:focus-visible{outline-color:", ";outline-style:solid;outline-width:", ";outline-offset:", ";}& > div{display:flex;border-radius:", ";}& > div:focus-visible{outline-color:", ";outline-style:solid;outline-width:", ";outline-offset:", ";}", " ", " ", ""], ({
|
|
7738
6849
|
theme
|
|
7739
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
7740
|
-
|
|
7741
|
-
transition: background-color 100ms;
|
|
7742
|
-
|
|
7743
|
-
& span {
|
|
7744
|
-
max-width: 240px;
|
|
7745
|
-
overflow: hidden;
|
|
7746
|
-
text-overflow: ellipsis;
|
|
7747
|
-
white-space: pre;
|
|
7748
|
-
word-break: break-all;
|
|
7749
|
-
}
|
|
7750
|
-
|
|
7751
|
-
&:focus-visible {
|
|
7752
|
-
outline-color: ${({
|
|
6850
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
7753
6851
|
theme
|
|
7754
|
-
}) => theme.colors['border/focused']
|
|
7755
|
-
outline-style: solid;
|
|
7756
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
7757
|
-
outline-offset: ${({
|
|
6852
|
+
}) => theme.colors['border/focused'], utils.forcePixelValue(2), ({
|
|
7758
6853
|
theme
|
|
7759
|
-
}) => utils.forcePixelValue(theme.space[0.5])
|
|
7760
|
-
}
|
|
7761
|
-
|
|
7762
|
-
& > div {
|
|
7763
|
-
display: flex;
|
|
7764
|
-
border-radius: ${({
|
|
6854
|
+
}) => utils.forcePixelValue(theme.space[0.5]), ({
|
|
7765
6855
|
theme
|
|
7766
|
-
}) => utils.forcePixelValue(theme.radii.xxs)
|
|
7767
|
-
}
|
|
7768
|
-
& > div:focus-visible {
|
|
7769
|
-
outline-color: ${({
|
|
6856
|
+
}) => utils.forcePixelValue(theme.radii.xxs), ({
|
|
7770
6857
|
theme
|
|
7771
|
-
}) => theme.colors['border/focused']
|
|
7772
|
-
outline-style: solid;
|
|
7773
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
7774
|
-
outline-offset: ${({
|
|
6858
|
+
}) => theme.colors['border/focused'], utils.forcePixelValue(2), ({
|
|
7775
6859
|
theme
|
|
7776
|
-
}) => utils.forcePixelValue(theme.space[-0.5])
|
|
7777
|
-
}
|
|
7778
|
-
|
|
7779
|
-
${({
|
|
6860
|
+
}) => utils.forcePixelValue(theme.space[-0.5]), ({
|
|
7780
6861
|
theme,
|
|
7781
6862
|
hasRemoveButton
|
|
7782
6863
|
}) => variant({
|
|
@@ -7817,8 +6898,7 @@ const BasePill = styled__default.default(UnstyledButton)`
|
|
|
7817
6898
|
}
|
|
7818
6899
|
}
|
|
7819
6900
|
}
|
|
7820
|
-
})
|
|
7821
|
-
${({
|
|
6901
|
+
}), ({
|
|
7822
6902
|
theme,
|
|
7823
6903
|
disabled
|
|
7824
6904
|
}) => variant({
|
|
@@ -7872,10 +6952,7 @@ const BasePill = styled__default.default(UnstyledButton)`
|
|
|
7872
6952
|
})
|
|
7873
6953
|
}
|
|
7874
6954
|
}
|
|
7875
|
-
})
|
|
7876
|
-
|
|
7877
|
-
${sx}
|
|
7878
|
-
`;
|
|
6955
|
+
}), sx);
|
|
7879
6956
|
var index$3 = /*#__PURE__*/React.forwardRef(Pill);
|
|
7880
6957
|
|
|
7881
6958
|
const Stack = /*#__PURE__*/React.forwardRef(({
|
|
@@ -7894,7 +6971,10 @@ const Stack = /*#__PURE__*/React.forwardRef(({
|
|
|
7894
6971
|
...props,
|
|
7895
6972
|
children: children
|
|
7896
6973
|
}));
|
|
7897
|
-
const BaseStack = styled__default.default(View)({
|
|
6974
|
+
const BaseStack = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
6975
|
+
displayName: "Stack__BaseStack",
|
|
6976
|
+
componentId: "sc-1lqh56h-0"
|
|
6977
|
+
})({
|
|
7898
6978
|
display: 'flex',
|
|
7899
6979
|
flexDirection: 'row',
|
|
7900
6980
|
flexWrap: 'wrap'
|
|
@@ -7988,7 +7068,10 @@ const TabItem = ({
|
|
|
7988
7068
|
})
|
|
7989
7069
|
});
|
|
7990
7070
|
};
|
|
7991
|
-
const BaseTabItem = styled__default.default(UnstyledButton)(
|
|
7071
|
+
const BaseTabItem = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
7072
|
+
displayName: "TabItem__BaseTabItem",
|
|
7073
|
+
componentId: "sc-1bu7a1f-0"
|
|
7074
|
+
})(({
|
|
7992
7075
|
theme
|
|
7993
7076
|
}) => ({
|
|
7994
7077
|
'width': 'initial',
|
|
@@ -8339,7 +7422,10 @@ const Toast = ({
|
|
|
8339
7422
|
children: [/*#__PURE__*/jsxRuntime.jsx(IconByVariant, {}), children]
|
|
8340
7423
|
});
|
|
8341
7424
|
};
|
|
8342
|
-
const BaseToast = styled__default.default.div(
|
|
7425
|
+
const BaseToast = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
7426
|
+
displayName: "Toast__BaseToast",
|
|
7427
|
+
componentId: "sc-1n1weew-0"
|
|
7428
|
+
})(({
|
|
8343
7429
|
theme
|
|
8344
7430
|
}) => ({
|
|
8345
7431
|
'display': 'flex',
|
|
@@ -8478,89 +7564,36 @@ const UploadInput = ({
|
|
|
8478
7564
|
})]
|
|
8479
7565
|
});
|
|
8480
7566
|
};
|
|
8481
|
-
const UploadInputWrapper = styled__default.default.div
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
flex-direction: column;
|
|
8486
|
-
align-items: center;
|
|
8487
|
-
justify-content: center;
|
|
8488
|
-
row-gap: ${({
|
|
7567
|
+
const UploadInputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
7568
|
+
displayName: "UploadInput__UploadInputWrapper",
|
|
7569
|
+
componentId: "sc-1q0agb1-0"
|
|
7570
|
+
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:", ";padding:", ";& > svg{width:16px;height:16px;color:", ";}& > span{font-size:", ";font-weight:", ";line-height:", ";color:", ";}border-width:", ";border-style:dashed;border-color:", ";border-radius:", ";background-color:", ";&.upload-input__wrapper__active{background-color:", ";}position:relative;&:after{content:'';position:absolute;top:", ";right:", ";bottom:", ";left:", ";border:", " solid transparent;border-radius:", ";pointer-events:none;}&:focus-within{&:after{border-color:", ";}}& > button:focus-visible{outline:none;}", " transition:background-color 200ms ease-in-out;"], ({
|
|
8489
7571
|
theme
|
|
8490
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
8491
|
-
padding: ${({
|
|
7572
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
8492
7573
|
theme
|
|
8493
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
8494
|
-
|
|
8495
|
-
& > svg {
|
|
8496
|
-
width: 16px;
|
|
8497
|
-
height: 16px;
|
|
8498
|
-
color: ${({
|
|
7574
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
8499
7575
|
theme
|
|
8500
|
-
}) => theme.colors['icon/neutral/bold']
|
|
8501
|
-
}
|
|
8502
|
-
|
|
8503
|
-
& > span {
|
|
8504
|
-
font-size: ${({
|
|
7576
|
+
}) => theme.colors['icon/neutral/bold'], ({
|
|
8505
7577
|
theme
|
|
8506
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
8507
|
-
font-weight: ${({
|
|
7578
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
8508
7579
|
theme
|
|
8509
|
-
}) => theme.fontWeights.medium
|
|
8510
|
-
line-height: ${({
|
|
7580
|
+
}) => theme.fontWeights.medium, ({
|
|
8511
7581
|
theme
|
|
8512
|
-
}) => theme.lineHeights[2]
|
|
8513
|
-
color: ${({
|
|
7582
|
+
}) => theme.lineHeights[2], ({
|
|
8514
7583
|
theme
|
|
8515
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
8516
|
-
}
|
|
8517
|
-
|
|
8518
|
-
border-width: ${utils.forcePixelValue(1)};
|
|
8519
|
-
border-style: dashed;
|
|
8520
|
-
border-color: ${({
|
|
7584
|
+
}) => theme.colors['text/neutral/subtlest'], utils.forcePixelValue(1), ({
|
|
8521
7585
|
theme
|
|
8522
|
-
}) => theme.colors['border/neutral/bolder']
|
|
8523
|
-
border-radius: ${({
|
|
7586
|
+
}) => theme.colors['border/neutral/bolder'], ({
|
|
8524
7587
|
theme
|
|
8525
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
8526
|
-
background-color: ${({
|
|
7588
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
8527
7589
|
theme
|
|
8528
|
-
}) => theme.colors['bg/neutral/subtlest']
|
|
8529
|
-
|
|
8530
|
-
&.upload-input__wrapper__active {
|
|
8531
|
-
background-color: ${({
|
|
7590
|
+
}) => theme.colors['bg/neutral/subtlest'], ({
|
|
8532
7591
|
theme
|
|
8533
|
-
}) => theme.colors['bg/selected/subtle']
|
|
8534
|
-
}
|
|
8535
|
-
|
|
8536
|
-
position: relative;
|
|
8537
|
-
&:after {
|
|
8538
|
-
content: '';
|
|
8539
|
-
position: absolute;
|
|
8540
|
-
top: ${utils.forcePixelValue(-1)};
|
|
8541
|
-
right: ${utils.forcePixelValue(-1)};
|
|
8542
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
8543
|
-
left: ${utils.forcePixelValue(-1)};
|
|
8544
|
-
|
|
8545
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
8546
|
-
border-radius: ${({
|
|
7592
|
+
}) => theme.colors['bg/selected/subtle'], utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
8547
7593
|
theme
|
|
8548
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
8549
|
-
pointer-events: none;
|
|
8550
|
-
}
|
|
8551
|
-
&:focus-within {
|
|
8552
|
-
&:after {
|
|
8553
|
-
border-color: ${({
|
|
7594
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
8554
7595
|
theme
|
|
8555
|
-
}) => theme.colors['border/focused']
|
|
8556
|
-
}
|
|
8557
|
-
}
|
|
8558
|
-
|
|
8559
|
-
& > button:focus-visible {
|
|
8560
|
-
outline: none;
|
|
8561
|
-
}
|
|
8562
|
-
|
|
8563
|
-
${({
|
|
7596
|
+
}) => theme.colors['border/focused'], ({
|
|
8564
7597
|
theme,
|
|
8565
7598
|
disabled
|
|
8566
7599
|
}) => disabled ? {
|
|
@@ -8572,26 +7605,11 @@ const UploadInputWrapper = styled__default.default.div`
|
|
|
8572
7605
|
'& > span': {
|
|
8573
7606
|
color: theme.colors['text/disabled']
|
|
8574
7607
|
}
|
|
8575
|
-
} : {}
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
font-size: inherit;
|
|
8581
|
-
font-weight: inherit;
|
|
8582
|
-
line-height: inherit;
|
|
8583
|
-
font-family: inherit;
|
|
8584
|
-
border-radius: inherit;
|
|
8585
|
-
color: inherit;
|
|
8586
|
-
transition: inherit;
|
|
8587
|
-
|
|
8588
|
-
border: 0;
|
|
8589
|
-
background-color: transparent;
|
|
8590
|
-
width: 100%;
|
|
8591
|
-
&:focus {
|
|
8592
|
-
outline: 0;
|
|
8593
|
-
}
|
|
8594
|
-
`;
|
|
7608
|
+
} : {});
|
|
7609
|
+
const UnstyledInput = /*#__PURE__*/styled__default.default.input.withConfig({
|
|
7610
|
+
displayName: "UploadInput__UnstyledInput",
|
|
7611
|
+
componentId: "sc-1q0agb1-1"
|
|
7612
|
+
})(["font-size:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;border-radius:inherit;color:inherit;transition:inherit;border:0;background-color:transparent;width:100%;&:focus{outline:0;}"]);
|
|
8595
7613
|
var index$1 = /*#__PURE__*/React.forwardRef(UploadInput);
|
|
8596
7614
|
|
|
8597
7615
|
const useMediaQuery = query => {
|