@teamturing/react-kit 2.60.2 → 2.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/GradientText/index.d.ts +22 -11
- package/dist/core/Pagination/index.d.ts +286 -12
- package/dist/core/Text/index.d.ts +282 -2
- package/dist/core/_UnstyledButton.d.ts +280 -1
- package/dist/index.js +674 -1680
- 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 +6 -4
- 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 +6 -4
- 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 +6 -12
- 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,7 +1272,12 @@ const StyledIcon = /*#__PURE__*/React.forwardRef(({
|
|
|
1266
1272
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
1267
1273
|
}));
|
|
1268
1274
|
|
|
1269
|
-
const Text = styled__default.default.span({
|
|
1275
|
+
const Text = /*#__PURE__*/styled__default.default.span.attrs(props => ({
|
|
1276
|
+
color: props.color ?? 'text/neutral'
|
|
1277
|
+
})).withConfig({
|
|
1278
|
+
displayName: "Text",
|
|
1279
|
+
componentId: "sc-yuorjy-0"
|
|
1280
|
+
})({
|
|
1270
1281
|
'display': 'block',
|
|
1271
1282
|
'whiteSpace': 'pre-wrap',
|
|
1272
1283
|
'& > span': {
|
|
@@ -1404,9 +1415,6 @@ const Text = styled__default.default.span({
|
|
|
1404
1415
|
}
|
|
1405
1416
|
}
|
|
1406
1417
|
}), compose(wordBreak, whiteSpace, textDecoration, fontSize, fontWeight, lineHeight, color, textAlign), sx);
|
|
1407
|
-
Text.defaultProps = {
|
|
1408
|
-
color: 'text/neutral'
|
|
1409
|
-
};
|
|
1410
1418
|
|
|
1411
1419
|
const ActionListItem = ({
|
|
1412
1420
|
variant = 'neutral',
|
|
@@ -1523,8 +1531,10 @@ const ActionListItem = ({
|
|
|
1523
1531
|
})]
|
|
1524
1532
|
});
|
|
1525
1533
|
};
|
|
1526
|
-
const VisualWrapper = styled__default.default(View)
|
|
1527
|
-
|
|
1534
|
+
const VisualWrapper = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
1535
|
+
displayName: "ActionListItem__VisualWrapper",
|
|
1536
|
+
componentId: "sc-cpn5js-0"
|
|
1537
|
+
})(["", ""], variant({
|
|
1528
1538
|
prop: 'variant',
|
|
1529
1539
|
variants: {
|
|
1530
1540
|
neutral: {
|
|
@@ -1540,40 +1550,23 @@ const VisualWrapper = styled__default.default(View)`
|
|
|
1540
1550
|
}
|
|
1541
1551
|
}
|
|
1542
1552
|
}
|
|
1543
|
-
})
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
font-size: ${({
|
|
1553
|
+
}));
|
|
1554
|
+
const BaseActionListItem = /*#__PURE__*/styled__default.default.li.withConfig({
|
|
1555
|
+
displayName: "ActionListItem__BaseActionListItem",
|
|
1556
|
+
componentId: "sc-cpn5js-1"
|
|
1557
|
+
})(["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;", " ", " ", ";"], ({
|
|
1550
1558
|
theme
|
|
1551
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
1552
|
-
font-weight: ${({
|
|
1559
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
1553
1560
|
theme
|
|
1554
|
-
}) => theme.fontWeights.medium
|
|
1555
|
-
line-height: ${({
|
|
1561
|
+
}) => theme.fontWeights.medium, ({
|
|
1556
1562
|
theme
|
|
1557
|
-
}) => theme.lineHeights[2]
|
|
1558
|
-
|
|
1559
|
-
& svg {
|
|
1560
|
-
width: ${utils.forcePixelValue(20)};
|
|
1561
|
-
height: ${utils.forcePixelValue(20)};
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
padding: ${({
|
|
1563
|
+
}) => theme.lineHeights[2], utils.forcePixelValue(20), utils.forcePixelValue(20), ({
|
|
1565
1564
|
theme
|
|
1566
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
1567
|
-
background-color: ${({
|
|
1565
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
1568
1566
|
theme
|
|
1569
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
1570
|
-
border-radius: ${({
|
|
1567
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
1571
1568
|
theme
|
|
1572
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
1573
|
-
cursor: pointer;
|
|
1574
|
-
transition: background-color 100ms;
|
|
1575
|
-
|
|
1576
|
-
${({
|
|
1569
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
1577
1570
|
theme,
|
|
1578
1571
|
disabled
|
|
1579
1572
|
}) => disabled ? styled.css`
|
|
@@ -1597,9 +1590,7 @@ const BaseActionListItem = styled__default.default.li`
|
|
|
1597
1590
|
outline-color: ${theme.colors['border/focused']};
|
|
1598
1591
|
outline-offset: ${utils.forcePixelValue(-2)};
|
|
1599
1592
|
}
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
${({
|
|
1593
|
+
`, ({
|
|
1603
1594
|
theme,
|
|
1604
1595
|
disabled,
|
|
1605
1596
|
variant
|
|
@@ -1607,94 +1598,31 @@ const BaseActionListItem = styled__default.default.li`
|
|
|
1607
1598
|
color: ${theme.colors['text/danger']};
|
|
1608
1599
|
` : !disabled && variant === 'neutral' ? styled.css`
|
|
1609
1600
|
color: ${theme.colors['text/neutral']};
|
|
1610
|
-
` : null
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
position: relative;
|
|
1616
|
-
|
|
1617
|
-
width: ${utils.forcePixelValue(20)};
|
|
1618
|
-
height: ${utils.forcePixelValue(20)};
|
|
1619
|
-
|
|
1620
|
-
border-width: ${utils.forcePixelValue(2)};
|
|
1621
|
-
border-style: solid;
|
|
1622
|
-
border-color: ${({
|
|
1601
|
+
` : null, sx);
|
|
1602
|
+
const FakeCheckbox = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1603
|
+
displayName: "ActionListItem__FakeCheckbox",
|
|
1604
|
+
componentId: "sc-cpn5js-2"
|
|
1605
|
+
})(["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), ({
|
|
1623
1606
|
theme
|
|
1624
|
-
}) => theme.colors['border/neutral']
|
|
1625
|
-
border-radius: ${({
|
|
1607
|
+
}) => theme.colors['border/neutral'], ({
|
|
1626
1608
|
theme
|
|
1627
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
1628
|
-
cursor: pointer;
|
|
1629
|
-
|
|
1630
|
-
transition: visibility 200ms;
|
|
1631
|
-
|
|
1632
|
-
&::before {
|
|
1633
|
-
visibility: hidden;
|
|
1634
|
-
|
|
1635
|
-
content: '';
|
|
1636
|
-
display: grid;
|
|
1637
|
-
position: absolute;
|
|
1638
|
-
|
|
1639
|
-
top: 0;
|
|
1640
|
-
right: 0;
|
|
1641
|
-
bottom: 0;
|
|
1642
|
-
left: 0;
|
|
1643
|
-
|
|
1644
|
-
border-radius: ${({
|
|
1609
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
1645
1610
|
theme
|
|
1646
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
1647
|
-
|
|
1648
|
-
background-color: ${({
|
|
1611
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
1649
1612
|
theme
|
|
1650
|
-
}) => theme.colors['icon/inverse']
|
|
1651
|
-
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
|
-
-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");
|
|
1653
|
-
mask-size: 100%;
|
|
1654
|
-
-webkit-mask-size: 100%;
|
|
1655
|
-
mask-repeat: no-repeat;
|
|
1656
|
-
-webkit-mask-repeat: no-repeat;
|
|
1657
|
-
mask-position: center;
|
|
1658
|
-
-webkit-mask-position: center;
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
&[aria-disabled='true'] {
|
|
1662
|
-
background-color: ${({
|
|
1613
|
+
}) => theme.colors['icon/inverse'], ({
|
|
1663
1614
|
theme
|
|
1664
|
-
}) => theme.colors['bg/disabled']
|
|
1665
|
-
border-color: ${({
|
|
1615
|
+
}) => theme.colors['bg/disabled'], ({
|
|
1666
1616
|
theme
|
|
1667
|
-
}) => theme.colors['border/disabled']
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
&[aria-checked='true'] {
|
|
1671
|
-
background-color: ${({
|
|
1617
|
+
}) => theme.colors['border/disabled'], ({
|
|
1672
1618
|
theme
|
|
1673
|
-
}) => theme.colors['bg/primary']
|
|
1674
|
-
border-width: 0;
|
|
1675
|
-
|
|
1676
|
-
&::before {
|
|
1677
|
-
visibility: visible;
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
&[aria-disabled='true'] {
|
|
1681
|
-
background-color: ${({
|
|
1619
|
+
}) => theme.colors['bg/primary'], ({
|
|
1682
1620
|
theme
|
|
1683
|
-
}) => theme.colors['bg/disabled']
|
|
1684
|
-
border-color: ${({
|
|
1621
|
+
}) => theme.colors['bg/disabled'], ({
|
|
1685
1622
|
theme
|
|
1686
|
-
}) => theme.colors['border/disabled']
|
|
1687
|
-
|
|
1688
|
-
&::before {
|
|
1689
|
-
background-color: ${({
|
|
1623
|
+
}) => theme.colors['border/disabled'], ({
|
|
1690
1624
|
theme
|
|
1691
|
-
}) => theme.colors['icon/disabled']
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
${sx}
|
|
1697
|
-
`;
|
|
1625
|
+
}) => theme.colors['icon/disabled'], sx);
|
|
1698
1626
|
|
|
1699
1627
|
const HorizontalDivider = ({
|
|
1700
1628
|
className,
|
|
@@ -1709,17 +1637,10 @@ const HorizontalDivider = ({
|
|
|
1709
1637
|
borderBottomColor: color,
|
|
1710
1638
|
...props
|
|
1711
1639
|
});
|
|
1712
|
-
const BaseHorizontalDivider = styled__default.default.hr
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
border: none;
|
|
1717
|
-
|
|
1718
|
-
width: 100%;
|
|
1719
|
-
|
|
1720
|
-
${border}
|
|
1721
|
-
${sx}
|
|
1722
|
-
`;
|
|
1640
|
+
const BaseHorizontalDivider = /*#__PURE__*/styled__default.default.hr.withConfig({
|
|
1641
|
+
displayName: "HorizontalDivider__BaseHorizontalDivider",
|
|
1642
|
+
componentId: "sc-1nsxooh-0"
|
|
1643
|
+
})(["display:block;margin:0;padding:0;border:none;width:100%;", " ", ""], border, sx);
|
|
1723
1644
|
|
|
1724
1645
|
const ActionListSectionDivider = ({
|
|
1725
1646
|
color = 'border/neutral',
|
|
@@ -1747,28 +1668,20 @@ const ActionListSectionHeader = ({
|
|
|
1747
1668
|
...props
|
|
1748
1669
|
});
|
|
1749
1670
|
};
|
|
1750
|
-
const BaseActionListSectionHeader = styled__default.default.div
|
|
1751
|
-
|
|
1671
|
+
const BaseActionListSectionHeader = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1672
|
+
displayName: "ActionListSectionHeader__BaseActionListSectionHeader",
|
|
1673
|
+
componentId: "sc-sx3na3-0"
|
|
1674
|
+
})(["color:", ";font-size:", ";font-weight:", ";line-height:", ";white-space:pre-wrap;padding:", ";", ";"], ({
|
|
1752
1675
|
theme
|
|
1753
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
1754
|
-
font-size: ${({
|
|
1676
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
1755
1677
|
theme
|
|
1756
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
1757
|
-
font-weight: ${({
|
|
1678
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
1758
1679
|
theme
|
|
1759
|
-
}) => theme.fontWeights.bold
|
|
1760
|
-
line-height: ${({
|
|
1680
|
+
}) => theme.fontWeights.bold, ({
|
|
1761
1681
|
theme
|
|
1762
|
-
}) => theme.lineHeights[2]
|
|
1763
|
-
|
|
1764
|
-
white-space: pre-wrap;
|
|
1765
|
-
|
|
1766
|
-
padding: ${({
|
|
1682
|
+
}) => theme.lineHeights[2], ({
|
|
1767
1683
|
theme
|
|
1768
|
-
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[3])}}
|
|
1769
|
-
|
|
1770
|
-
${sx};
|
|
1771
|
-
`;
|
|
1684
|
+
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[3])}}`, sx);
|
|
1772
1685
|
|
|
1773
1686
|
const ActionListContext = /*#__PURE__*/React.createContext({});
|
|
1774
1687
|
const ActionList = ({
|
|
@@ -1788,23 +1701,20 @@ const ActionList = ({
|
|
|
1788
1701
|
})
|
|
1789
1702
|
});
|
|
1790
1703
|
};
|
|
1791
|
-
const BaseActionList = styled__default.default.ul
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
${sx}
|
|
1797
|
-
`;
|
|
1704
|
+
const BaseActionList = /*#__PURE__*/styled__default.default.ul.withConfig({
|
|
1705
|
+
displayName: "ActionList__BaseActionList",
|
|
1706
|
+
componentId: "sc-1epqzss-0"
|
|
1707
|
+
})(["list-style:none;padding:0;margin:0;", ""], sx);
|
|
1798
1708
|
var index$e = Object.assign(ActionList, {
|
|
1799
1709
|
Item: ActionListItem,
|
|
1800
1710
|
SectionDivider: ActionListSectionDivider,
|
|
1801
1711
|
SectionHeader: ActionListSectionHeader
|
|
1802
1712
|
});
|
|
1803
1713
|
|
|
1804
|
-
const Image = styled__default.default.img
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1714
|
+
const Image = /*#__PURE__*/styled__default.default.img.withConfig({
|
|
1715
|
+
displayName: "Image",
|
|
1716
|
+
componentId: "sc-1qz2ku6-0"
|
|
1717
|
+
})(["", " ", ""], layout, sx);
|
|
1808
1718
|
|
|
1809
1719
|
const DEFAULT_AVATAR_URL = 'https://cdn.teamturing.com/cms/uploads/2024-02-21/1708481300_empty-profile.png';
|
|
1810
1720
|
const Avatar = /*#__PURE__*/React.forwardRef(({
|
|
@@ -1822,13 +1732,12 @@ const Avatar = /*#__PURE__*/React.forwardRef(({
|
|
|
1822
1732
|
size: size,
|
|
1823
1733
|
...props
|
|
1824
1734
|
}));
|
|
1825
|
-
const BaseAvatar = styled__default.default(Image)
|
|
1826
|
-
|
|
1735
|
+
const BaseAvatar = /*#__PURE__*/styled__default.default(Image).withConfig({
|
|
1736
|
+
displayName: "Avatar__BaseAvatar",
|
|
1737
|
+
componentId: "sc-1f1ok6x-0"
|
|
1738
|
+
})(["border-radius:", ";object-fit:cover;", " ", ""], ({
|
|
1827
1739
|
theme
|
|
1828
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
1829
|
-
object-fit: cover;
|
|
1830
|
-
|
|
1831
|
-
${variant({
|
|
1740
|
+
}) => utils.forcePixelValue(theme.radii.full), variant({
|
|
1832
1741
|
prop: 'size',
|
|
1833
1742
|
variants: {
|
|
1834
1743
|
xxs: {
|
|
@@ -1864,10 +1773,7 @@ const BaseAvatar = styled__default.default(Image)`
|
|
|
1864
1773
|
height: 64
|
|
1865
1774
|
}
|
|
1866
1775
|
}
|
|
1867
|
-
})
|
|
1868
|
-
|
|
1869
|
-
${sx}
|
|
1870
|
-
`;
|
|
1776
|
+
}), sx);
|
|
1871
1777
|
|
|
1872
1778
|
const Overlay = ({
|
|
1873
1779
|
children,
|
|
@@ -1940,22 +1846,16 @@ const Overlay = ({
|
|
|
1940
1846
|
children: children
|
|
1941
1847
|
}) : null;
|
|
1942
1848
|
};
|
|
1943
|
-
const BaseOverlay = styled__default.default.div
|
|
1944
|
-
|
|
1945
|
-
|
|
1849
|
+
const BaseOverlay = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1850
|
+
displayName: "Overlay__BaseOverlay",
|
|
1851
|
+
componentId: "sc-1k2jlh8-0"
|
|
1852
|
+
})(["position:absolute;box-shadow:", ";background-color:", ";border-radius:", ";overflow:hidden;margin:auto;z-index:99999;", " ", " ", ""], ({
|
|
1946
1853
|
theme
|
|
1947
|
-
}) => theme.shadows['shadow/overlay']
|
|
1948
|
-
background-color: ${({
|
|
1854
|
+
}) => theme.shadows['shadow/overlay'], ({
|
|
1949
1855
|
theme
|
|
1950
|
-
}) => theme.colors['surface/overlay']
|
|
1951
|
-
border-radius: ${({
|
|
1856
|
+
}) => theme.colors['surface/overlay'], ({
|
|
1952
1857
|
theme
|
|
1953
|
-
}) => utils.forcePixelValue(theme.radii.s)
|
|
1954
|
-
overflow: hidden;
|
|
1955
|
-
margin: auto;
|
|
1956
|
-
z-index: 99999;
|
|
1957
|
-
|
|
1958
|
-
${variant({
|
|
1858
|
+
}) => utils.forcePixelValue(theme.radii.s), variant({
|
|
1959
1859
|
prop: 'size',
|
|
1960
1860
|
variants: {
|
|
1961
1861
|
s: {
|
|
@@ -1971,11 +1871,7 @@ const BaseOverlay = styled__default.default.div`
|
|
|
1971
1871
|
width: 'auto'
|
|
1972
1872
|
}
|
|
1973
1873
|
}
|
|
1974
|
-
})
|
|
1975
|
-
|
|
1976
|
-
${maxHeight}
|
|
1977
|
-
${sx}
|
|
1978
|
-
`;
|
|
1874
|
+
}), maxHeight, sx);
|
|
1979
1875
|
var Overlay$1 = /*#__PURE__*/React.forwardRef(Overlay);
|
|
1980
1876
|
|
|
1981
1877
|
const useDelayedFunction = ({
|
|
@@ -2189,24 +2085,17 @@ const OverlayPopper = ({
|
|
|
2189
2085
|
});
|
|
2190
2086
|
};
|
|
2191
2087
|
|
|
2192
|
-
const Space = styled__default.default.div
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
`;
|
|
2197
|
-
|
|
2198
|
-
const UnstyledButton = styled__default.default.button`
|
|
2199
|
-
background: none;
|
|
2200
|
-
border: 0;
|
|
2201
|
-
padding: 0;
|
|
2202
|
-
outline: none;
|
|
2203
|
-
cursor: pointer;
|
|
2088
|
+
const Space = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2089
|
+
displayName: "Space",
|
|
2090
|
+
componentId: "sc-4g4g8r-0"
|
|
2091
|
+
})(["width:inherit;", ";", ""], space, sx);
|
|
2204
2092
|
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2093
|
+
const UnstyledButton = /*#__PURE__*/styled__default.default.button.attrs(props => ({
|
|
2094
|
+
type: props.type ?? 'button'
|
|
2095
|
+
})).withConfig({
|
|
2096
|
+
displayName: "_UnstyledButton__UnstyledButton",
|
|
2097
|
+
componentId: "sc-j96ib-0"
|
|
2098
|
+
})(["background:none;border:0;padding:0;outline:none;cursor:pointer;", ""], sx);
|
|
2210
2099
|
|
|
2211
2100
|
function useTooltip({
|
|
2212
2101
|
initialOpen = false,
|
|
@@ -2336,55 +2225,26 @@ const tooltipAppear = styled.keyframes`
|
|
|
2336
2225
|
opacity: 1;
|
|
2337
2226
|
}
|
|
2338
2227
|
`;
|
|
2339
|
-
const StyledBaseTooltipContent = styled__default.default.div
|
|
2340
|
-
|
|
2341
|
-
|
|
2228
|
+
const StyledBaseTooltipContent = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2229
|
+
displayName: "BaseTooltip__StyledBaseTooltipContent",
|
|
2230
|
+
componentId: "sc-1devpfm-0"
|
|
2231
|
+
})(["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;", ""], ({
|
|
2342
2232
|
theme
|
|
2343
|
-
}) => theme.colors['bg/neutral/bolder']
|
|
2344
|
-
border-radius: ${({
|
|
2233
|
+
}) => theme.colors['bg/neutral/bolder'], ({
|
|
2345
2234
|
theme
|
|
2346
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
2347
|
-
box-shadow: ${({
|
|
2235
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
2348
2236
|
theme
|
|
2349
|
-
}) => theme.shadows['shadow/overlay']
|
|
2350
|
-
padding: ${({
|
|
2237
|
+
}) => theme.shadows['shadow/overlay'], ({
|
|
2351
2238
|
theme
|
|
2352
|
-
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[3])}
|
|
2353
|
-
font-size: ${({
|
|
2239
|
+
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
2354
2240
|
theme
|
|
2355
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
2356
|
-
font-weight: ${({
|
|
2241
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
2357
2242
|
theme
|
|
2358
|
-
}) => theme.fontWeights.medium
|
|
2359
|
-
line-height: ${({
|
|
2243
|
+
}) => theme.fontWeights.medium, ({
|
|
2360
2244
|
theme
|
|
2361
|
-
}) => theme.lineHeights[2]
|
|
2362
|
-
-webkit-font-smoothing: subpixel-antialiased;
|
|
2363
|
-
color: ${({
|
|
2245
|
+
}) => theme.lineHeights[2], ({
|
|
2364
2246
|
theme
|
|
2365
|
-
}) => theme.colors['text/inverse']
|
|
2366
|
-
text-align: center;
|
|
2367
|
-
text-decoration: none;
|
|
2368
|
-
text-shadow: none;
|
|
2369
|
-
text-transform: none;
|
|
2370
|
-
letter-spacing: normal;
|
|
2371
|
-
word-wrap: break-word;
|
|
2372
|
-
white-space: pre;
|
|
2373
|
-
pointer-events: none;
|
|
2374
|
-
|
|
2375
|
-
width: max-content;
|
|
2376
|
-
max-width: ${utils.forcePixelValue(240)};
|
|
2377
|
-
word-wrap: break-word;
|
|
2378
|
-
white-space: pre-line;
|
|
2379
|
-
border-collapse: separate;
|
|
2380
|
-
|
|
2381
|
-
animation-name: ${tooltipAppear};
|
|
2382
|
-
animation-duration: 100ms;
|
|
2383
|
-
animation-fill-mode: forwards;
|
|
2384
|
-
animation-timing-function: ease-in;
|
|
2385
|
-
|
|
2386
|
-
${sx}
|
|
2387
|
-
`;
|
|
2247
|
+
}) => theme.colors['text/inverse'], utils.forcePixelValue(240), tooltipAppear, sx);
|
|
2388
2248
|
|
|
2389
2249
|
const Tooltip = ({
|
|
2390
2250
|
children,
|
|
@@ -2430,12 +2290,10 @@ const AvatarGroupItem = ({
|
|
|
2430
2290
|
})
|
|
2431
2291
|
})
|
|
2432
2292
|
});
|
|
2433
|
-
const BaseAvatarGroupItem = styled__default.default.li
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
margin: 0;
|
|
2438
|
-
`;
|
|
2293
|
+
const BaseAvatarGroupItem = /*#__PURE__*/styled__default.default.li.withConfig({
|
|
2294
|
+
displayName: "AvatarGroupItem__BaseAvatarGroupItem",
|
|
2295
|
+
componentId: "sc-1cmo31h-0"
|
|
2296
|
+
})(["display:inline-flex;list-style:none;padding:0;margin:0;"]);
|
|
2439
2297
|
var AvatarGroupItem$1 = /*#__PURE__*/React.forwardRef(AvatarGroupItem);
|
|
2440
2298
|
|
|
2441
2299
|
const AvatarGroup = ({
|
|
@@ -2506,45 +2364,24 @@ const AvatarGroup = ({
|
|
|
2506
2364
|
}) : null]
|
|
2507
2365
|
});
|
|
2508
2366
|
};
|
|
2509
|
-
const AvatarGroupWrapper = styled__default.default.div
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2367
|
+
const AvatarGroupWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2368
|
+
displayName: "AvatarGroup__AvatarGroupWrapper",
|
|
2369
|
+
componentId: "sc-17ktc6b-0"
|
|
2370
|
+
})(["display:inline-flex;align-items:center;column-gap:", ";"], ({
|
|
2513
2371
|
theme
|
|
2514
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
margin: 0;
|
|
2520
|
-
|
|
2521
|
-
display: inline-flex;
|
|
2522
|
-
flex-direction: row-reverse;
|
|
2523
|
-
align-items: center;
|
|
2524
|
-
|
|
2525
|
-
& > * {
|
|
2526
|
-
position: relative;
|
|
2527
|
-
background-color: ${({
|
|
2372
|
+
}) => utils.forcePixelValue(theme.space[1]));
|
|
2373
|
+
const BaseAvatarGroup = /*#__PURE__*/styled__default.default.ol.withConfig({
|
|
2374
|
+
displayName: "AvatarGroup__BaseAvatarGroup",
|
|
2375
|
+
componentId: "sc-17ktc6b-1"
|
|
2376
|
+
})(["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;}}", ""], ({
|
|
2528
2377
|
theme
|
|
2529
|
-
}) => theme.colors['border/neutral/subtle']
|
|
2530
|
-
padding: ${({
|
|
2378
|
+
}) => theme.colors['border/neutral/subtle'], ({
|
|
2531
2379
|
theme
|
|
2532
|
-
}) => utils.forcePixelValue(theme.space['0.25'])
|
|
2533
|
-
border-radius: ${({
|
|
2380
|
+
}) => utils.forcePixelValue(theme.space['0.25']), ({
|
|
2534
2381
|
theme
|
|
2535
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
2536
|
-
|
|
2537
|
-
margin-left: ${({
|
|
2382
|
+
}) => utils.forcePixelValue(theme.radii.full), ({
|
|
2538
2383
|
theme
|
|
2539
|
-
}) => utils.forcePixelValue(theme.space[-1])
|
|
2540
|
-
|
|
2541
|
-
&:last-child {
|
|
2542
|
-
margin-left: 0;
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
|
|
2546
|
-
${sx}
|
|
2547
|
-
`;
|
|
2384
|
+
}) => utils.forcePixelValue(theme.space[-1]), sx);
|
|
2548
2385
|
var index$d = Object.assign( /*#__PURE__*/React.forwardRef(AvatarGroup), {
|
|
2549
2386
|
Item: AvatarGroupItem$1
|
|
2550
2387
|
});
|
|
@@ -2564,12 +2401,10 @@ const BadgeAttacher = ({
|
|
|
2564
2401
|
}
|
|
2565
2402
|
})]
|
|
2566
2403
|
});
|
|
2567
|
-
const BadgeAttacherWrapper = styled__default.default.div
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
${sx}
|
|
2572
|
-
`;
|
|
2404
|
+
const BadgeAttacherWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2405
|
+
displayName: "BadgeAttacher__BadgeAttacherWrapper",
|
|
2406
|
+
componentId: "sc-9c4lfq-0"
|
|
2407
|
+
})(["position:relative;width:fit-content;", ""], sx);
|
|
2573
2408
|
|
|
2574
2409
|
const BreadcrumbsItem = ({
|
|
2575
2410
|
text,
|
|
@@ -2599,44 +2434,27 @@ const BreadcrumbsItem = ({
|
|
|
2599
2434
|
children: baseBreadCrumbsItem
|
|
2600
2435
|
}) : baseBreadCrumbsItem;
|
|
2601
2436
|
};
|
|
2602
|
-
const BaseBreadcrumbsItem = styled__default.default.a
|
|
2603
|
-
|
|
2604
|
-
|
|
2437
|
+
const BaseBreadcrumbsItem = /*#__PURE__*/styled__default.default.a.withConfig({
|
|
2438
|
+
displayName: "BreadcrumbsItem__BaseBreadcrumbsItem",
|
|
2439
|
+
componentId: "sc-p481rg-0"
|
|
2440
|
+
})(["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:", ";", ""], ({
|
|
2605
2441
|
theme
|
|
2606
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
2607
|
-
font-weight: ${({
|
|
2442
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
2608
2443
|
theme
|
|
2609
|
-
}) => theme.fontWeights.medium
|
|
2610
|
-
line-height: ${({
|
|
2444
|
+
}) => theme.fontWeights.medium, ({
|
|
2611
2445
|
theme
|
|
2612
|
-
}) => theme.lineHeights[2]
|
|
2613
|
-
color: ${({
|
|
2446
|
+
}) => theme.lineHeights[2], ({
|
|
2614
2447
|
theme
|
|
2615
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
2616
|
-
cursor: pointer;
|
|
2617
|
-
|
|
2618
|
-
&:hover {
|
|
2619
|
-
text-decoration: underline;
|
|
2620
|
-
}
|
|
2621
|
-
|
|
2622
|
-
text-overflow: ellipsis;
|
|
2623
|
-
overflow: hidden;
|
|
2624
|
-
word-break: break-word;
|
|
2625
|
-
white-space: nowrap;
|
|
2626
|
-
|
|
2627
|
-
max-width: ${({
|
|
2448
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
2628
2449
|
truncatedWidth
|
|
2629
|
-
}) => truncatedWidth ? utils.forcePixelValue(truncatedWidth) : ''
|
|
2630
|
-
|
|
2631
|
-
${({
|
|
2450
|
+
}) => truncatedWidth ? utils.forcePixelValue(truncatedWidth) : '', ({
|
|
2632
2451
|
selected
|
|
2633
2452
|
}) => selected ? styled.css`
|
|
2634
2453
|
color: ${({
|
|
2635
2454
|
theme
|
|
2636
2455
|
}) => theme.colors['text/neutral/subtle']};
|
|
2637
2456
|
pointer-events: none;
|
|
2638
|
-
` : ''
|
|
2639
|
-
`;
|
|
2457
|
+
` : '');
|
|
2640
2458
|
|
|
2641
2459
|
const Breadcrumbs = ({
|
|
2642
2460
|
children,
|
|
@@ -2658,47 +2476,28 @@ const Breadcrumbs = ({
|
|
|
2658
2476
|
}))
|
|
2659
2477
|
});
|
|
2660
2478
|
};
|
|
2661
|
-
const BaseBreadcrumbs = styled__default.default.nav
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
flex-wrap: wrap;
|
|
2666
|
-
|
|
2667
|
-
column-gap: ${({
|
|
2479
|
+
const BaseBreadcrumbs = /*#__PURE__*/styled__default.default.nav.withConfig({
|
|
2480
|
+
displayName: "Breadcrumbs__BaseBreadcrumbs",
|
|
2481
|
+
componentId: "sc-1lwv2x7-0"
|
|
2482
|
+
})(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:", ";row-gap:", ";"], ({
|
|
2668
2483
|
theme
|
|
2669
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
2670
|
-
row-gap: ${({
|
|
2484
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
2671
2485
|
theme
|
|
2672
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
&::after {
|
|
2678
|
-
content: '/';
|
|
2679
|
-
font-size: ${({
|
|
2486
|
+
}) => utils.forcePixelValue(theme.space[1]));
|
|
2487
|
+
const BreadcrumbsItemWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
2488
|
+
displayName: "Breadcrumbs__BreadcrumbsItemWrapper",
|
|
2489
|
+
componentId: "sc-1lwv2x7-1"
|
|
2490
|
+
})(["display:inline-flex;&::after{content:'/';font-size:", ";font-weight:", ";line-height:", ";color:", ";margin-left:", ";}&:last-child{&::after{content:none;}}"], ({
|
|
2680
2491
|
theme
|
|
2681
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
2682
|
-
font-weight: ${({
|
|
2492
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
2683
2493
|
theme
|
|
2684
|
-
}) => theme.fontWeights.medium
|
|
2685
|
-
line-height: ${({
|
|
2494
|
+
}) => theme.fontWeights.medium, ({
|
|
2686
2495
|
theme
|
|
2687
|
-
}) => theme.lineHeights[2]
|
|
2688
|
-
color: ${({
|
|
2496
|
+
}) => theme.lineHeights[2], ({
|
|
2689
2497
|
theme
|
|
2690
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
2691
|
-
margin-left: ${({
|
|
2498
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
2692
2499
|
theme
|
|
2693
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
|
-
&:last-child {
|
|
2697
|
-
&::after {
|
|
2698
|
-
content: none;
|
|
2699
|
-
}
|
|
2700
|
-
}
|
|
2701
|
-
`;
|
|
2500
|
+
}) => utils.forcePixelValue(theme.space[2]));
|
|
2702
2501
|
var index$c = Object.assign(Breadcrumbs, {
|
|
2703
2502
|
Item: BreadcrumbsItem
|
|
2704
2503
|
});
|
|
@@ -2711,18 +2510,18 @@ const spin = styled.keyframes`
|
|
|
2711
2510
|
transform: rotate(360deg);
|
|
2712
2511
|
}
|
|
2713
2512
|
`;
|
|
2714
|
-
const ProgressGradientSpinner = styled__default.default(icons.ProgressGradientIcon)
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
})
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
const ProgressLineSpinner = styled__default.default(icons.ProgressLineIcon)
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
})
|
|
2724
|
-
|
|
2725
|
-
|
|
2513
|
+
const ProgressGradientSpinner = /*#__PURE__*/styled__default.default(icons.ProgressGradientIcon).withConfig({
|
|
2514
|
+
displayName: "Spinner__ProgressGradientSpinner",
|
|
2515
|
+
componentId: "sc-13dlgyx-0"
|
|
2516
|
+
})(["color:", ";animation:", " 1000ms infinite steps(8,end);"], ({
|
|
2517
|
+
theme
|
|
2518
|
+
}) => theme.colors['icon/neutral'], spin);
|
|
2519
|
+
const ProgressLineSpinner = /*#__PURE__*/styled__default.default(icons.ProgressLineIcon).withConfig({
|
|
2520
|
+
displayName: "Spinner__ProgressLineSpinner",
|
|
2521
|
+
componentId: "sc-13dlgyx-1"
|
|
2522
|
+
})(["color:", ";animation:", " 1000ms infinite linear;"], ({
|
|
2523
|
+
theme
|
|
2524
|
+
}) => theme.colors['icon/neutral'], spin);
|
|
2726
2525
|
const Spinner = /*#__PURE__*/React.forwardRef(({
|
|
2727
2526
|
variant: propsVariant,
|
|
2728
2527
|
width = 32,
|
|
@@ -2800,7 +2599,10 @@ const Button = /*#__PURE__*/React.forwardRef(({
|
|
|
2800
2599
|
}) : null]
|
|
2801
2600
|
});
|
|
2802
2601
|
});
|
|
2803
|
-
const BaseButton = styled__default.default(UnstyledButton)(
|
|
2602
|
+
const BaseButton = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
2603
|
+
displayName: "Button__BaseButton",
|
|
2604
|
+
componentId: "sc-1yhc0ra-0"
|
|
2605
|
+
})(({
|
|
2804
2606
|
$loading,
|
|
2805
2607
|
$disabled,
|
|
2806
2608
|
fillWidth,
|
|
@@ -3063,7 +2865,10 @@ const BaseButton = styled__default.default(UnstyledButton)(({
|
|
|
3063
2865
|
}
|
|
3064
2866
|
}
|
|
3065
2867
|
}));
|
|
3066
|
-
const BaseSpinner = styled__default.default(Spinner)(
|
|
2868
|
+
const BaseSpinner = /*#__PURE__*/styled__default.default(Spinner).withConfig({
|
|
2869
|
+
displayName: "Button__BaseSpinner",
|
|
2870
|
+
componentId: "sc-1yhc0ra-1"
|
|
2871
|
+
})(variant({
|
|
3067
2872
|
prop: 'size',
|
|
3068
2873
|
variants: {
|
|
3069
2874
|
l: {
|
|
@@ -3105,19 +2910,14 @@ const BaseSpinner = styled__default.default(Spinner)(variant({
|
|
|
3105
2910
|
}
|
|
3106
2911
|
}));
|
|
3107
2912
|
|
|
3108
|
-
const Card = styled__default.default.div
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
2913
|
+
const Card = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2914
|
+
displayName: "Card",
|
|
2915
|
+
componentId: "sc-1eobla7-0"
|
|
2916
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";", " ", ""], utils.forcePixelValue(1), ({
|
|
3112
2917
|
theme
|
|
3113
|
-
}) => theme.colors['border/neutral']
|
|
3114
|
-
border-radius: ${({
|
|
2918
|
+
}) => theme.colors['border/neutral'], ({
|
|
3115
2919
|
theme
|
|
3116
|
-
}) => utils.forcePixelValue(theme.radii['s'])
|
|
3117
|
-
|
|
3118
|
-
${compose(layout, color, flexbox, background, border, position, shadow)}
|
|
3119
|
-
${sx}
|
|
3120
|
-
`;
|
|
2920
|
+
}) => utils.forcePixelValue(theme.radii['s']), compose(layout, color, flexbox, background, border, position, shadow), sx);
|
|
3121
2921
|
|
|
3122
2922
|
const useSafeLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
|
3123
2923
|
|
|
@@ -3140,146 +2940,50 @@ const Checkbox = ({
|
|
|
3140
2940
|
...props
|
|
3141
2941
|
});
|
|
3142
2942
|
};
|
|
3143
|
-
const UnstyledCheckbox = styled__default.default.input.attrs({
|
|
2943
|
+
const UnstyledCheckbox = /*#__PURE__*/styled__default.default.input.attrs({
|
|
3144
2944
|
type: 'checkbox'
|
|
3145
|
-
})
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
width: ${utils.forcePixelValue(20)};
|
|
3154
|
-
height: ${utils.forcePixelValue(20)};
|
|
3155
|
-
|
|
3156
|
-
border-width: ${utils.forcePixelValue(2)};
|
|
3157
|
-
border-style: solid;
|
|
3158
|
-
border-color: ${({
|
|
2945
|
+
}).withConfig({
|
|
2946
|
+
displayName: "Checkbox__UnstyledCheckbox",
|
|
2947
|
+
componentId: "sc-19q1r3f-0"
|
|
2948
|
+
})(["appearance:none;", ""], sx);
|
|
2949
|
+
const BaseCheckbox = /*#__PURE__*/styled__default.default(UnstyledCheckbox).withConfig({
|
|
2950
|
+
displayName: "Checkbox__BaseCheckbox",
|
|
2951
|
+
componentId: "sc-19q1r3f-1"
|
|
2952
|
+
})(["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), ({
|
|
3159
2953
|
theme
|
|
3160
|
-
}) => theme.colors['border/neutral']
|
|
3161
|
-
border-radius: ${({
|
|
2954
|
+
}) => theme.colors['border/neutral'], ({
|
|
3162
2955
|
theme
|
|
3163
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
3164
|
-
cursor: pointer;
|
|
3165
|
-
|
|
3166
|
-
transition: visibility 200ms;
|
|
3167
|
-
|
|
3168
|
-
&::before {
|
|
3169
|
-
visibility: hidden;
|
|
3170
|
-
|
|
3171
|
-
content: '';
|
|
3172
|
-
display: grid;
|
|
3173
|
-
position: absolute;
|
|
3174
|
-
|
|
3175
|
-
top: 0;
|
|
3176
|
-
right: 0;
|
|
3177
|
-
bottom: 0;
|
|
3178
|
-
left: 0;
|
|
3179
|
-
|
|
3180
|
-
border-radius: ${({
|
|
2956
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
3181
2957
|
theme
|
|
3182
|
-
}) => `${utils.forcePixelValue(theme.radii.xxs)}
|
|
3183
|
-
|
|
3184
|
-
background-color: ${({
|
|
2958
|
+
}) => `${utils.forcePixelValue(theme.radii.xxs)}`, ({
|
|
3185
2959
|
theme
|
|
3186
|
-
}) => theme.colors['icon/inverse']
|
|
3187
|
-
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");
|
|
3188
|
-
-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");
|
|
3189
|
-
mask-size: 100%;
|
|
3190
|
-
-webkit-mask-size: 100%;
|
|
3191
|
-
mask-repeat: no-repeat;
|
|
3192
|
-
-webkit-mask-repeat: no-repeat;
|
|
3193
|
-
mask-position: center;
|
|
3194
|
-
-webkit-mask-position: center;
|
|
3195
|
-
}
|
|
3196
|
-
|
|
3197
|
-
&:disabled {
|
|
3198
|
-
background-color: ${({
|
|
2960
|
+
}) => theme.colors['icon/inverse'], ({
|
|
3199
2961
|
theme
|
|
3200
|
-
}) => theme.colors['bg/disabled']
|
|
3201
|
-
border-color: ${({
|
|
2962
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3202
2963
|
theme
|
|
3203
|
-
}) => theme.colors['border/disabled']
|
|
3204
|
-
cursor: not-allowed;
|
|
3205
|
-
}
|
|
3206
|
-
|
|
3207
|
-
&:checked {
|
|
3208
|
-
background-color: ${({
|
|
2964
|
+
}) => theme.colors['border/disabled'], ({
|
|
3209
2965
|
theme
|
|
3210
|
-
}) => theme.colors['bg/primary']
|
|
3211
|
-
border-width: 0;
|
|
3212
|
-
|
|
3213
|
-
&::before {
|
|
3214
|
-
visibility: visible;
|
|
3215
|
-
}
|
|
3216
|
-
|
|
3217
|
-
&:disabled {
|
|
3218
|
-
background-color: ${({
|
|
2966
|
+
}) => theme.colors['bg/primary'], ({
|
|
3219
2967
|
theme
|
|
3220
|
-
}) => theme.colors['bg/disabled']
|
|
3221
|
-
border-color: ${({
|
|
2968
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3222
2969
|
theme
|
|
3223
|
-
}) => theme.colors['border/disabled']
|
|
3224
|
-
|
|
3225
|
-
&::before {
|
|
3226
|
-
background-color: ${({
|
|
2970
|
+
}) => theme.colors['border/disabled'], ({
|
|
3227
2971
|
theme
|
|
3228
|
-
}) => theme.colors['icon/disabled']
|
|
3229
|
-
}
|
|
3230
|
-
}
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
&:indeterminate {
|
|
3234
|
-
background-color: ${({
|
|
3235
|
-
theme
|
|
3236
|
-
}) => theme.colors['bg/primary']};
|
|
3237
|
-
border-width: 0;
|
|
3238
|
-
|
|
3239
|
-
&::before {
|
|
3240
|
-
visibility: visible;
|
|
3241
|
-
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");
|
|
3242
|
-
-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");
|
|
3243
|
-
mask-size: 100%;
|
|
3244
|
-
-webkit-mask-size: 100%;
|
|
3245
|
-
mask-repeat: no-repeat;
|
|
3246
|
-
-webkit-mask-repeat: no-repeat;
|
|
3247
|
-
mask-position: center;
|
|
3248
|
-
-webkit-mask-position: center;
|
|
3249
|
-
}
|
|
3250
|
-
|
|
3251
|
-
&:disabled {
|
|
3252
|
-
background-color: ${({
|
|
2972
|
+
}) => theme.colors['icon/disabled'], ({
|
|
3253
2973
|
theme
|
|
3254
|
-
}) => theme.colors['bg/
|
|
3255
|
-
border-color: ${({
|
|
2974
|
+
}) => theme.colors['bg/primary'], ({
|
|
3256
2975
|
theme
|
|
3257
|
-
}) => theme.colors['
|
|
3258
|
-
|
|
3259
|
-
&::before {
|
|
3260
|
-
background-color: ${({
|
|
2976
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3261
2977
|
theme
|
|
3262
|
-
}) => theme.colors['
|
|
3263
|
-
}
|
|
3264
|
-
}
|
|
3265
|
-
}
|
|
3266
|
-
|
|
3267
|
-
&:focus-visible {
|
|
3268
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
3269
|
-
outline-style: solid;
|
|
3270
|
-
outline-color: ${({
|
|
2978
|
+
}) => theme.colors['border/disabled'], ({
|
|
3271
2979
|
theme
|
|
3272
|
-
}) => theme.colors['
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
2980
|
+
}) => theme.colors['icon/disabled'], utils.forcePixelValue(2), ({
|
|
2981
|
+
theme
|
|
2982
|
+
}) => theme.colors['border/focused'], props => props.validationStatus === 'error' && styled.css`
|
|
3276
2983
|
border-color: ${({
|
|
3277
2984
|
theme
|
|
3278
2985
|
}) => theme.colors['border/danger']};
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
${sx}
|
|
3282
|
-
`;
|
|
2986
|
+
`, sx);
|
|
3283
2987
|
var Checkbox$1 = /*#__PURE__*/React.forwardRef(Checkbox);
|
|
3284
2988
|
|
|
3285
2989
|
function createSafeContext({
|
|
@@ -3347,111 +3051,42 @@ const Radio = ({
|
|
|
3347
3051
|
...props
|
|
3348
3052
|
});
|
|
3349
3053
|
};
|
|
3350
|
-
const UnstyledRadio = styled__default.default.input.attrs({
|
|
3054
|
+
const UnstyledRadio = /*#__PURE__*/styled__default.default.input.attrs({
|
|
3351
3055
|
type: 'radio'
|
|
3352
|
-
})
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
width: ${utils.forcePixelValue(20)};
|
|
3361
|
-
height: ${utils.forcePixelValue(20)};
|
|
3362
|
-
|
|
3363
|
-
border-width: ${utils.forcePixelValue(2)};
|
|
3364
|
-
border-style: solid;
|
|
3365
|
-
border-color: ${({
|
|
3056
|
+
}).withConfig({
|
|
3057
|
+
displayName: "Radio__UnstyledRadio",
|
|
3058
|
+
componentId: "sc-3fie1u-0"
|
|
3059
|
+
})(["appearance:none;", ""], sx);
|
|
3060
|
+
const BaseRadio = /*#__PURE__*/styled__default.default(UnstyledRadio).withConfig({
|
|
3061
|
+
displayName: "Radio__BaseRadio",
|
|
3062
|
+
componentId: "sc-3fie1u-1"
|
|
3063
|
+
})(["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), ({
|
|
3366
3064
|
theme
|
|
3367
|
-
}) => theme.colors['border/neutral']
|
|
3368
|
-
border-radius: ${({
|
|
3065
|
+
}) => theme.colors['border/neutral'], ({
|
|
3369
3066
|
theme
|
|
3370
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
3371
|
-
cursor: pointer;
|
|
3372
|
-
|
|
3373
|
-
transition: visibility 200ms;
|
|
3374
|
-
|
|
3375
|
-
&::before {
|
|
3376
|
-
visibility: hidden;
|
|
3377
|
-
|
|
3378
|
-
content: '';
|
|
3379
|
-
display: grid;
|
|
3380
|
-
position: absolute;
|
|
3381
|
-
|
|
3382
|
-
top: 0;
|
|
3383
|
-
right: 0;
|
|
3384
|
-
bottom: 0;
|
|
3385
|
-
left: 0;
|
|
3386
|
-
|
|
3387
|
-
border-radius: ${({
|
|
3067
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, ({
|
|
3388
3068
|
theme
|
|
3389
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
3390
|
-
|
|
3391
|
-
background-color: ${({
|
|
3069
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, ({
|
|
3392
3070
|
theme
|
|
3393
|
-
}) => theme.colors['icon/inverse']
|
|
3394
|
-
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");
|
|
3395
|
-
-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");
|
|
3396
|
-
mask-size: 40%;
|
|
3397
|
-
-webkit-mask-size: 40%;
|
|
3398
|
-
mask-repeat: no-repeat;
|
|
3399
|
-
-webkit-mask-repeat: no-repeat;
|
|
3400
|
-
mask-position: center;
|
|
3401
|
-
-webkit-mask-position: center;
|
|
3402
|
-
}
|
|
3403
|
-
|
|
3404
|
-
&:disabled {
|
|
3405
|
-
background-color: ${({
|
|
3071
|
+
}) => theme.colors['icon/inverse'], ({
|
|
3406
3072
|
theme
|
|
3407
|
-
}) => theme.colors['bg/disabled']
|
|
3408
|
-
border-color: ${({
|
|
3073
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3409
3074
|
theme
|
|
3410
|
-
}) => theme.colors['border/disabled']
|
|
3411
|
-
}
|
|
3412
|
-
|
|
3413
|
-
&:checked {
|
|
3414
|
-
background-color: ${({
|
|
3075
|
+
}) => theme.colors['border/disabled'], ({
|
|
3415
3076
|
theme
|
|
3416
|
-
}) => theme.colors['bg/primary']
|
|
3417
|
-
border-width: 0;
|
|
3418
|
-
|
|
3419
|
-
&::before {
|
|
3420
|
-
visibility: visible;
|
|
3421
|
-
}
|
|
3422
|
-
|
|
3423
|
-
&:disabled {
|
|
3424
|
-
background-color: ${({
|
|
3077
|
+
}) => theme.colors['bg/primary'], ({
|
|
3425
3078
|
theme
|
|
3426
|
-
}) => theme.colors['bg/disabled']
|
|
3427
|
-
border-color: ${({
|
|
3079
|
+
}) => theme.colors['bg/disabled'], ({
|
|
3428
3080
|
theme
|
|
3429
|
-
}) => theme.colors['border/disabled']
|
|
3430
|
-
|
|
3431
|
-
&::before {
|
|
3432
|
-
background-color: ${({
|
|
3081
|
+
}) => theme.colors['border/disabled'], ({
|
|
3433
3082
|
theme
|
|
3434
|
-
}) => theme.colors['icon/disabled']
|
|
3435
|
-
}
|
|
3436
|
-
}
|
|
3437
|
-
}
|
|
3438
|
-
|
|
3439
|
-
&:focus-visible {
|
|
3440
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
3441
|
-
outline-style: solid;
|
|
3442
|
-
outline-color: ${({
|
|
3083
|
+
}) => theme.colors['icon/disabled'], utils.forcePixelValue(2), ({
|
|
3443
3084
|
theme
|
|
3444
|
-
}) => theme.colors['border/focused']
|
|
3445
|
-
}
|
|
3446
|
-
|
|
3447
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3085
|
+
}) => theme.colors['border/focused'], props => props.validationStatus === 'error' && styled.css`
|
|
3448
3086
|
border-color: ${({
|
|
3449
3087
|
theme
|
|
3450
3088
|
}) => theme.colors['border/danger']};
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
${sx}
|
|
3454
|
-
`;
|
|
3089
|
+
`, sx);
|
|
3455
3090
|
var Radio$1 = /*#__PURE__*/React.forwardRef(Radio);
|
|
3456
3091
|
|
|
3457
3092
|
const useResize = resizeCallback => {
|
|
@@ -3558,43 +3193,22 @@ const TextInputTrailingAction = ({
|
|
|
3558
3193
|
"aria-disabled": disabled,
|
|
3559
3194
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
3560
3195
|
});
|
|
3561
|
-
const BaseTextInputTrailingAction = styled__default.default(UnstyledButton)
|
|
3562
|
-
|
|
3563
|
-
|
|
3196
|
+
const BaseTextInputTrailingAction = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
3197
|
+
displayName: "TextInputTrailingAction__BaseTextInputTrailingAction",
|
|
3198
|
+
componentId: "sc-1fgbvb1-0"
|
|
3199
|
+
})(["display:inline-flex;padding:", ";background-color:", ";border-radius:", ";& svg{width:", ";height:", ";color:", ";}&:hover{background-color:", ";}&[aria-disabled='true']{cursor:not-allowed;& svg{color:", ";}}", ""], ({
|
|
3564
3200
|
theme
|
|
3565
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
3566
|
-
background-color: ${({
|
|
3201
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
3567
3202
|
theme
|
|
3568
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
3569
|
-
border-radius: ${({
|
|
3203
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
3570
3204
|
theme
|
|
3571
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
3572
|
-
|
|
3573
|
-
& svg {
|
|
3574
|
-
width: ${utils.forcePixelValue(16)};
|
|
3575
|
-
height: ${utils.forcePixelValue(16)};
|
|
3576
|
-
color: ${({
|
|
3205
|
+
}) => utils.forcePixelValue(theme.radii.full), utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
3577
3206
|
theme
|
|
3578
|
-
}) => theme.colors['icon/neutral/bolder']
|
|
3579
|
-
}
|
|
3580
|
-
|
|
3581
|
-
&:hover {
|
|
3582
|
-
background-color: ${({
|
|
3207
|
+
}) => theme.colors['icon/neutral/bolder'], ({
|
|
3583
3208
|
theme
|
|
3584
|
-
}) => theme.colors['bg/neutral/subtler/hovered']
|
|
3585
|
-
}
|
|
3586
|
-
|
|
3587
|
-
&[aria-disabled='true'] {
|
|
3588
|
-
cursor: not-allowed;
|
|
3589
|
-
& svg {
|
|
3590
|
-
color: ${({
|
|
3209
|
+
}) => theme.colors['bg/neutral/subtler/hovered'], ({
|
|
3591
3210
|
theme
|
|
3592
|
-
}) => theme.colors['icon/disabled']
|
|
3593
|
-
}
|
|
3594
|
-
}
|
|
3595
|
-
|
|
3596
|
-
${sx}
|
|
3597
|
-
`;
|
|
3211
|
+
}) => theme.colors['icon/disabled'], sx);
|
|
3598
3212
|
var TextInputTrailingAction$1 = /*#__PURE__*/React.forwardRef(TextInputTrailingAction);
|
|
3599
3213
|
|
|
3600
3214
|
const TextInput = ({
|
|
@@ -3668,58 +3282,28 @@ const TextInput = ({
|
|
|
3668
3282
|
})]
|
|
3669
3283
|
});
|
|
3670
3284
|
};
|
|
3671
|
-
const TextInputWrapper$1 = styled__default.default.div
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
border-style: solid;
|
|
3676
|
-
border-radius: ${({
|
|
3285
|
+
const TextInputWrapper$1 = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3286
|
+
displayName: "TextInput__TextInputWrapper",
|
|
3287
|
+
componentId: "sc-12wqpup-0"
|
|
3288
|
+
})(["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), ({
|
|
3677
3289
|
theme
|
|
3678
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
3679
|
-
border-color: ${({
|
|
3290
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
3680
3291
|
theme
|
|
3681
|
-
}) => theme.colors['border/input']
|
|
3682
|
-
background-color: ${({
|
|
3292
|
+
}) => theme.colors['border/input'], ({
|
|
3683
3293
|
theme
|
|
3684
|
-
}) => theme.colors['bg/input']
|
|
3685
|
-
cursor: text;
|
|
3686
|
-
display: inline-flex;
|
|
3687
|
-
align-items: center;
|
|
3688
|
-
|
|
3689
|
-
font-size: ${({
|
|
3294
|
+
}) => theme.colors['bg/input'], ({
|
|
3690
3295
|
theme
|
|
3691
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
3692
|
-
font-weight: ${({
|
|
3296
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
3693
3297
|
theme
|
|
3694
|
-
}) => theme.fontWeights.medium
|
|
3695
|
-
line-height: ${({
|
|
3298
|
+
}) => theme.fontWeights.medium, ({
|
|
3696
3299
|
theme
|
|
3697
|
-
}) => theme.lineHeights[2]
|
|
3698
|
-
color: ${({
|
|
3300
|
+
}) => theme.lineHeights[2], ({
|
|
3699
3301
|
theme
|
|
3700
|
-
}) => theme.colors['text/neutral']
|
|
3701
|
-
input::placeholder {
|
|
3702
|
-
color: ${({
|
|
3302
|
+
}) => theme.colors['text/neutral'], ({
|
|
3703
3303
|
theme
|
|
3704
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
3705
|
-
}
|
|
3706
|
-
|
|
3707
|
-
&:after {
|
|
3708
|
-
content: '';
|
|
3709
|
-
position: absolute;
|
|
3710
|
-
top: ${utils.forcePixelValue(-1)};
|
|
3711
|
-
right: ${utils.forcePixelValue(-1)};
|
|
3712
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
3713
|
-
left: ${utils.forcePixelValue(-1)};
|
|
3714
|
-
|
|
3715
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
3716
|
-
border-radius: ${({
|
|
3304
|
+
}) => theme.colors['text/neutral/subtlest'], utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
3717
3305
|
theme
|
|
3718
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
3719
|
-
pointer-events: none;
|
|
3720
|
-
}
|
|
3721
|
-
|
|
3722
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3306
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3723
3307
|
&:hover:not(:focus-within) {
|
|
3724
3308
|
&:after {
|
|
3725
3309
|
border-color: ${({
|
|
@@ -3727,17 +3311,13 @@ const TextInputWrapper$1 = styled__default.default.div`
|
|
|
3727
3311
|
}) => theme.colors['border/hovered']};
|
|
3728
3312
|
}
|
|
3729
3313
|
}
|
|
3730
|
-
`
|
|
3731
|
-
|
|
3732
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3314
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
3733
3315
|
&:after {
|
|
3734
3316
|
border-color: ${({
|
|
3735
3317
|
theme
|
|
3736
3318
|
}) => theme.colors['border/danger']};
|
|
3737
3319
|
}
|
|
3738
|
-
`
|
|
3739
|
-
|
|
3740
|
-
${props => props.validationStatus !== 'error' && styled.css`
|
|
3320
|
+
`, props => props.validationStatus !== 'error' && styled.css`
|
|
3741
3321
|
&:focus-within {
|
|
3742
3322
|
&:after {
|
|
3743
3323
|
border-color: ${({
|
|
@@ -3745,9 +3325,7 @@ const TextInputWrapper$1 = styled__default.default.div`
|
|
|
3745
3325
|
}) => theme.colors['border/focused']};
|
|
3746
3326
|
}
|
|
3747
3327
|
}
|
|
3748
|
-
`
|
|
3749
|
-
|
|
3750
|
-
${props => props.disabled && styled.css`
|
|
3328
|
+
`, props => props.disabled && styled.css`
|
|
3751
3329
|
border-color: ${props.theme.colors['border/input']};
|
|
3752
3330
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
3753
3331
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -3759,67 +3337,36 @@ const TextInputWrapper$1 = styled__default.default.div`
|
|
|
3759
3337
|
input {
|
|
3760
3338
|
cursor: not-allowed;
|
|
3761
3339
|
}
|
|
3762
|
-
`
|
|
3763
|
-
|
|
3764
|
-
${props => props.hasLeadingVisual && styled.css`
|
|
3340
|
+
`, props => props.hasLeadingVisual && styled.css`
|
|
3765
3341
|
padding-left: ${utils.forcePixelValue(props.theme.space[4])};
|
|
3766
3342
|
input {
|
|
3767
3343
|
padding-left: ${utils.forcePixelValue(props.theme.space[2])};
|
|
3768
3344
|
}
|
|
3769
|
-
`
|
|
3770
|
-
|
|
3771
|
-
${props => props.hasTrailingVisual && styled.css`
|
|
3345
|
+
`, props => props.hasTrailingVisual && styled.css`
|
|
3772
3346
|
padding-right: ${utils.forcePixelValue(props.theme.space[4])};
|
|
3773
|
-
`
|
|
3774
|
-
|
|
3775
|
-
${props => props.hasTrailingAction && styled.css`
|
|
3347
|
+
`, props => props.hasTrailingAction && styled.css`
|
|
3776
3348
|
padding-right: ${utils.forcePixelValue(props.theme.space[2])};
|
|
3777
|
-
`
|
|
3778
|
-
|
|
3779
|
-
${props => (props.hasTrailingVisual || props.hasTrailingAction) && styled.css`
|
|
3349
|
+
`, props => (props.hasTrailingVisual || props.hasTrailingAction) && styled.css`
|
|
3780
3350
|
input {
|
|
3781
3351
|
padding-right: ${utils.forcePixelValue(props.theme.space[2])};
|
|
3782
3352
|
}
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
`;
|
|
3793
|
-
const UnstyledInput$2 = styled__default.default.input`
|
|
3794
|
-
font-size: inherit;
|
|
3795
|
-
font-weight: inherit;
|
|
3796
|
-
line-height: inherit;
|
|
3797
|
-
font-family: inherit;
|
|
3798
|
-
border-radius: inherit;
|
|
3799
|
-
color: inherit;
|
|
3800
|
-
transition: inherit;
|
|
3801
|
-
|
|
3802
|
-
border: 0;
|
|
3803
|
-
background-color: transparent;
|
|
3804
|
-
width: 100%;
|
|
3805
|
-
&:focus {
|
|
3806
|
-
outline: 0;
|
|
3807
|
-
}
|
|
3808
|
-
`;
|
|
3809
|
-
const BaseInput$1 = styled__default.default(UnstyledInput$2)`
|
|
3810
|
-
padding-top: ${({
|
|
3353
|
+
`, sx);
|
|
3354
|
+
const UnstyledInput$2 = /*#__PURE__*/styled__default.default.input.withConfig({
|
|
3355
|
+
displayName: "TextInput__UnstyledInput",
|
|
3356
|
+
componentId: "sc-12wqpup-1"
|
|
3357
|
+
})(["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;}"]);
|
|
3358
|
+
const BaseInput$1 = /*#__PURE__*/styled__default.default(UnstyledInput$2).withConfig({
|
|
3359
|
+
displayName: "TextInput__BaseInput",
|
|
3360
|
+
componentId: "sc-12wqpup-2"
|
|
3361
|
+
})(["padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";"], ({
|
|
3811
3362
|
theme
|
|
3812
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
3813
|
-
padding-right: ${({
|
|
3363
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
3814
3364
|
theme
|
|
3815
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
3816
|
-
padding-bottom: ${({
|
|
3365
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
3817
3366
|
theme
|
|
3818
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
3819
|
-
padding-left: ${({
|
|
3367
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
3820
3368
|
theme
|
|
3821
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
3822
|
-
`;
|
|
3369
|
+
}) => utils.forcePixelValue(theme.space[4]));
|
|
3823
3370
|
var TextInput$1 = Object.assign( /*#__PURE__*/React.forwardRef(TextInput), {
|
|
3824
3371
|
TrailingAction: TextInputTrailingAction$1
|
|
3825
3372
|
});
|
|
@@ -4057,63 +3604,28 @@ const SearchSelectInput = ({
|
|
|
4057
3604
|
})
|
|
4058
3605
|
});
|
|
4059
3606
|
};
|
|
4060
|
-
const TextInputWrapper = styled__default.default.div
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
border-style: solid;
|
|
4065
|
-
border-radius: ${({
|
|
3607
|
+
const TextInputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3608
|
+
displayName: "SearchSelectInput__TextInputWrapper",
|
|
3609
|
+
componentId: "sc-17l04wk-0"
|
|
3610
|
+
})(["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), ({
|
|
4066
3611
|
theme
|
|
4067
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4068
|
-
border-color: ${({
|
|
3612
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
4069
3613
|
theme
|
|
4070
|
-
}) => theme.colors['border/input']
|
|
4071
|
-
background-color: ${({
|
|
3614
|
+
}) => theme.colors['border/input'], ({
|
|
4072
3615
|
theme
|
|
4073
|
-
}) => theme.colors['bg/input']
|
|
4074
|
-
cursor: default;
|
|
4075
|
-
input {
|
|
4076
|
-
cursor: default;
|
|
4077
|
-
|
|
4078
|
-
flex: 1;
|
|
4079
|
-
}
|
|
4080
|
-
display: inline-flex;
|
|
4081
|
-
align-items: center;
|
|
4082
|
-
|
|
4083
|
-
font-size: ${({
|
|
3616
|
+
}) => theme.colors['bg/input'], ({
|
|
4084
3617
|
theme
|
|
4085
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4086
|
-
font-weight: ${({
|
|
3618
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4087
3619
|
theme
|
|
4088
|
-
}) => theme.fontWeights.medium
|
|
4089
|
-
line-height: ${({
|
|
3620
|
+
}) => theme.fontWeights.medium, ({
|
|
4090
3621
|
theme
|
|
4091
|
-
}) => theme.lineHeights[2]
|
|
4092
|
-
color: ${({
|
|
3622
|
+
}) => theme.lineHeights[2], ({
|
|
4093
3623
|
theme
|
|
4094
|
-
}) => theme.colors['text/neutral']
|
|
4095
|
-
input::placeholder {
|
|
4096
|
-
color: ${({
|
|
3624
|
+
}) => theme.colors['text/neutral'], ({
|
|
4097
3625
|
theme
|
|
4098
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4099
|
-
}
|
|
4100
|
-
|
|
4101
|
-
&:after {
|
|
4102
|
-
content: '';
|
|
4103
|
-
position: absolute;
|
|
4104
|
-
top: ${utils.forcePixelValue(-1)};
|
|
4105
|
-
right: ${utils.forcePixelValue(-1)};
|
|
4106
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
4107
|
-
left: ${utils.forcePixelValue(-1)};
|
|
4108
|
-
|
|
4109
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
4110
|
-
border-radius: ${({
|
|
3626
|
+
}) => theme.colors['text/neutral/subtlest'], utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
4111
3627
|
theme
|
|
4112
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4113
|
-
pointer-events: none;
|
|
4114
|
-
}
|
|
4115
|
-
|
|
4116
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3628
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4117
3629
|
&:hover:not(:focus-within) {
|
|
4118
3630
|
&:after {
|
|
4119
3631
|
border-color: ${({
|
|
@@ -4121,17 +3633,13 @@ const TextInputWrapper = styled__default.default.div`
|
|
|
4121
3633
|
}) => theme.colors['border/hovered']};
|
|
4122
3634
|
}
|
|
4123
3635
|
}
|
|
4124
|
-
`
|
|
4125
|
-
|
|
4126
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3636
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
4127
3637
|
&:after {
|
|
4128
3638
|
border-color: ${({
|
|
4129
3639
|
theme
|
|
4130
3640
|
}) => theme.colors['border/danger']};
|
|
4131
3641
|
}
|
|
4132
|
-
`
|
|
4133
|
-
|
|
4134
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3642
|
+
`, props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4135
3643
|
&:focus-within {
|
|
4136
3644
|
&:after {
|
|
4137
3645
|
border-color: ${({
|
|
@@ -4139,9 +3647,7 @@ const TextInputWrapper = styled__default.default.div`
|
|
|
4139
3647
|
}) => theme.colors['border/focused']};
|
|
4140
3648
|
}
|
|
4141
3649
|
}
|
|
4142
|
-
`
|
|
4143
|
-
|
|
4144
|
-
${props => props.disabled && styled.css`
|
|
3650
|
+
`, props => props.disabled && styled.css`
|
|
4145
3651
|
border-color: ${props.theme.colors['border/input']};
|
|
4146
3652
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
4147
3653
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -4153,38 +3659,17 @@ const TextInputWrapper = styled__default.default.div`
|
|
|
4153
3659
|
input {
|
|
4154
3660
|
cursor: not-allowed;
|
|
4155
3661
|
}
|
|
4156
|
-
`
|
|
4157
|
-
|
|
4158
|
-
${props => props.hasLeadingVisual && styled.css`
|
|
3662
|
+
`, props => props.hasLeadingVisual && styled.css`
|
|
4159
3663
|
padding-left: ${utils.forcePixelValue(props.theme.space[4])};
|
|
4160
|
-
`
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
font-weight: inherit;
|
|
4170
|
-
line-height: inherit;
|
|
4171
|
-
font-family: inherit;
|
|
4172
|
-
border-radius: inherit;
|
|
4173
|
-
color: inherit;
|
|
4174
|
-
transition: inherit;
|
|
4175
|
-
width: 100%;
|
|
4176
|
-
|
|
4177
|
-
border: 0;
|
|
4178
|
-
padding: 0;
|
|
4179
|
-
background-color: transparent;
|
|
4180
|
-
&:focus {
|
|
4181
|
-
outline: 0;
|
|
4182
|
-
}
|
|
4183
|
-
`;
|
|
4184
|
-
const BaseInput = styled__default.default(UnstyledInput$1)`
|
|
4185
|
-
white-space: pre;
|
|
4186
|
-
text-overflow: ellipsis;
|
|
4187
|
-
`;
|
|
3664
|
+
`);
|
|
3665
|
+
const UnstyledInput$1 = /*#__PURE__*/styled__default.default.input.withConfig({
|
|
3666
|
+
displayName: "SearchSelectInput__UnstyledInput",
|
|
3667
|
+
componentId: "sc-17l04wk-1"
|
|
3668
|
+
})(["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;}"]);
|
|
3669
|
+
const BaseInput = /*#__PURE__*/styled__default.default(UnstyledInput$1).withConfig({
|
|
3670
|
+
displayName: "SearchSelectInput__BaseInput",
|
|
3671
|
+
componentId: "sc-17l04wk-2"
|
|
3672
|
+
})(["white-space:pre;text-overflow:ellipsis;"]);
|
|
4188
3673
|
var SearchSelectInput$1 = /*#__PURE__*/React.forwardRef(SearchSelectInput);
|
|
4189
3674
|
|
|
4190
3675
|
const SelectOption = ({
|
|
@@ -4197,7 +3682,10 @@ const SelectOption = ({
|
|
|
4197
3682
|
children: children
|
|
4198
3683
|
});
|
|
4199
3684
|
};
|
|
4200
|
-
const BaseSelectOption = styled__default.default.option
|
|
3685
|
+
const BaseSelectOption = /*#__PURE__*/styled__default.default.option.withConfig({
|
|
3686
|
+
displayName: "SelectOption__BaseSelectOption",
|
|
3687
|
+
componentId: "sc-1b9xkqd-0"
|
|
3688
|
+
})([""]);
|
|
4201
3689
|
|
|
4202
3690
|
const Select = ({
|
|
4203
3691
|
children,
|
|
@@ -4276,62 +3764,31 @@ const Select = ({
|
|
|
4276
3764
|
})]
|
|
4277
3765
|
});
|
|
4278
3766
|
};
|
|
4279
|
-
const SelectWrapper = styled__default.default.div
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
border-style: solid;
|
|
4284
|
-
border-radius: ${({
|
|
3767
|
+
const SelectWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3768
|
+
displayName: "Select__SelectWrapper",
|
|
3769
|
+
componentId: "sc-1gz532j-0"
|
|
3770
|
+
})(["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), ({
|
|
4285
3771
|
theme
|
|
4286
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4287
|
-
border-color: ${({
|
|
3772
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
4288
3773
|
theme
|
|
4289
|
-
}) => theme.colors['border/input']
|
|
4290
|
-
background-color: ${({
|
|
3774
|
+
}) => theme.colors['border/input'], ({
|
|
4291
3775
|
theme
|
|
4292
|
-
}) => theme.colors['bg/input']
|
|
4293
|
-
display: inline-flex;
|
|
4294
|
-
align-items: center;
|
|
4295
|
-
|
|
4296
|
-
font-size: ${({
|
|
3776
|
+
}) => theme.colors['bg/input'], ({
|
|
4297
3777
|
theme
|
|
4298
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4299
|
-
font-weight: ${({
|
|
3778
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4300
3779
|
theme
|
|
4301
|
-
}) => theme.fontWeights.medium
|
|
4302
|
-
line-height: ${({
|
|
3780
|
+
}) => theme.fontWeights.medium, ({
|
|
4303
3781
|
theme
|
|
4304
|
-
}) => theme.lineHeights[2]
|
|
4305
|
-
color: ${({
|
|
3782
|
+
}) => theme.lineHeights[2], ({
|
|
4306
3783
|
theme
|
|
4307
|
-
}) => theme.colors['text/neutral']
|
|
4308
|
-
|
|
4309
|
-
/**
|
|
4310
|
-
* placeholder style
|
|
4311
|
-
*/
|
|
4312
|
-
${({
|
|
3784
|
+
}) => theme.colors['text/neutral'], ({
|
|
4313
3785
|
theme,
|
|
4314
3786
|
isValueEmpty
|
|
4315
3787
|
}) => isValueEmpty ? styled.css`
|
|
4316
3788
|
color: ${theme.colors['text/neutral/subtlest']};
|
|
4317
|
-
` : null
|
|
4318
|
-
|
|
4319
|
-
&:after {
|
|
4320
|
-
content: '';
|
|
4321
|
-
position: absolute;
|
|
4322
|
-
top: ${utils.forcePixelValue(-1)};
|
|
4323
|
-
right: ${utils.forcePixelValue(-1)};
|
|
4324
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
4325
|
-
left: ${utils.forcePixelValue(-1)};
|
|
4326
|
-
|
|
4327
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
4328
|
-
border-radius: ${({
|
|
3789
|
+
` : null, utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
4329
3790
|
theme
|
|
4330
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4331
|
-
pointer-events: none;
|
|
4332
|
-
}
|
|
4333
|
-
|
|
4334
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3791
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4335
3792
|
&:hover:not(:focus-within) {
|
|
4336
3793
|
&:after {
|
|
4337
3794
|
border-color: ${({
|
|
@@ -4339,17 +3796,13 @@ const SelectWrapper = styled__default.default.div`
|
|
|
4339
3796
|
}) => theme.colors['border/hovered']};
|
|
4340
3797
|
}
|
|
4341
3798
|
}
|
|
4342
|
-
`
|
|
4343
|
-
|
|
4344
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3799
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
4345
3800
|
&:after {
|
|
4346
3801
|
border-color: ${({
|
|
4347
3802
|
theme
|
|
4348
3803
|
}) => theme.colors['border/danger']};
|
|
4349
3804
|
}
|
|
4350
|
-
`
|
|
4351
|
-
|
|
4352
|
-
${props => props.validationStatus !== 'error' && styled.css`
|
|
3805
|
+
`, props => props.validationStatus !== 'error' && styled.css`
|
|
4353
3806
|
&:focus-within {
|
|
4354
3807
|
&:after {
|
|
4355
3808
|
border-color: ${({
|
|
@@ -4357,9 +3810,7 @@ const SelectWrapper = styled__default.default.div`
|
|
|
4357
3810
|
}) => theme.colors['border/focused']};
|
|
4358
3811
|
}
|
|
4359
3812
|
}
|
|
4360
|
-
`
|
|
4361
|
-
|
|
4362
|
-
${props => props.disabled && styled.css`
|
|
3813
|
+
`, props => props.disabled && styled.css`
|
|
4363
3814
|
border-color: ${props.theme.colors['border/input']};
|
|
4364
3815
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
4365
3816
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -4371,57 +3822,28 @@ const SelectWrapper = styled__default.default.div`
|
|
|
4371
3822
|
select {
|
|
4372
3823
|
cursor: not-allowed;
|
|
4373
3824
|
}
|
|
4374
|
-
`
|
|
4375
|
-
|
|
4376
|
-
${props => props.hasLeadingVisual && styled.css`
|
|
3825
|
+
`, props => props.hasLeadingVisual && styled.css`
|
|
4377
3826
|
padding-left: ${utils.forcePixelValue(props.theme.space[4])};
|
|
4378
3827
|
select {
|
|
4379
3828
|
padding-left: ${utils.forcePixelValue(props.theme.space[2])};
|
|
4380
3829
|
}
|
|
4381
|
-
`
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
font-weight: inherit;
|
|
4391
|
-
line-height: inherit;
|
|
4392
|
-
font-family: inherit;
|
|
4393
|
-
border-radius: inherit;
|
|
4394
|
-
color: inherit;
|
|
4395
|
-
transition: inherit;
|
|
4396
|
-
|
|
4397
|
-
border: 0;
|
|
4398
|
-
background-color: transparent;
|
|
4399
|
-
width: 100%;
|
|
4400
|
-
&:focus {
|
|
4401
|
-
outline: 0;
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
|
-
appearance: none;
|
|
4405
|
-
-webkit-appearance: none;
|
|
4406
|
-
-moz-appearance: none;
|
|
4407
|
-
`;
|
|
4408
|
-
const BaseSelect = styled__default.default(UnstyledSelect)`
|
|
4409
|
-
padding-top: ${({
|
|
3830
|
+
`);
|
|
3831
|
+
const UnstyledSelect = /*#__PURE__*/styled__default.default.select.withConfig({
|
|
3832
|
+
displayName: "Select__UnstyledSelect",
|
|
3833
|
+
componentId: "sc-1gz532j-1"
|
|
3834
|
+
})(["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;"]);
|
|
3835
|
+
const BaseSelect = /*#__PURE__*/styled__default.default(UnstyledSelect).withConfig({
|
|
3836
|
+
displayName: "Select__BaseSelect",
|
|
3837
|
+
componentId: "sc-1gz532j-2"
|
|
3838
|
+
})(["padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";white-space:pre;text-overflow:ellipsis;"], ({
|
|
4410
3839
|
theme
|
|
4411
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
4412
|
-
padding-right: ${({
|
|
3840
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
4413
3841
|
theme
|
|
4414
|
-
}) => utils.forcePixelValue(theme.space[10])
|
|
4415
|
-
padding-bottom: ${({
|
|
3842
|
+
}) => utils.forcePixelValue(theme.space[10]), ({
|
|
4416
3843
|
theme
|
|
4417
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
4418
|
-
padding-left: ${({
|
|
3844
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
4419
3845
|
theme
|
|
4420
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
4421
|
-
|
|
4422
|
-
white-space: pre;
|
|
4423
|
-
text-overflow: ellipsis;
|
|
4424
|
-
`;
|
|
3846
|
+
}) => utils.forcePixelValue(theme.space[4]));
|
|
4425
3847
|
var Select$1 = Object.assign( /*#__PURE__*/React.forwardRef(Select), {
|
|
4426
3848
|
Option: SelectOption
|
|
4427
3849
|
});
|
|
@@ -4439,80 +3861,32 @@ const Switch = ({
|
|
|
4439
3861
|
...props
|
|
4440
3862
|
});
|
|
4441
3863
|
};
|
|
4442
|
-
const UnstyledSwitch = styled__default.default.input.attrs({
|
|
3864
|
+
const UnstyledSwitch = /*#__PURE__*/styled__default.default.input.attrs({
|
|
4443
3865
|
type: 'checkbox'
|
|
4444
|
-
})
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
width: ${utils.forcePixelValue(36)};
|
|
4453
|
-
height: ${utils.forcePixelValue(20)};
|
|
4454
|
-
|
|
4455
|
-
border-radius: ${({
|
|
3866
|
+
}).withConfig({
|
|
3867
|
+
displayName: "Switch__UnstyledSwitch",
|
|
3868
|
+
componentId: "sc-fz8rku-0"
|
|
3869
|
+
})(["appearance:none;", ""], sx);
|
|
3870
|
+
const BaseSwitch = /*#__PURE__*/styled__default.default(UnstyledSwitch).withConfig({
|
|
3871
|
+
displayName: "Switch__BaseSwitch",
|
|
3872
|
+
componentId: "sc-fz8rku-1"
|
|
3873
|
+
})(["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), ({
|
|
4456
3874
|
theme
|
|
4457
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
4458
|
-
cursor: pointer;
|
|
4459
|
-
|
|
4460
|
-
background-color: ${({
|
|
3875
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, ({
|
|
4461
3876
|
theme
|
|
4462
|
-
}) => theme.colors['bg/neutral']
|
|
4463
|
-
|
|
4464
|
-
transition: background-color 200ms;
|
|
4465
|
-
|
|
4466
|
-
&::before {
|
|
4467
|
-
content: '';
|
|
4468
|
-
position: absolute;
|
|
4469
|
-
width: ${utils.forcePixelValue(16)};
|
|
4470
|
-
height: ${utils.forcePixelValue(16)};
|
|
4471
|
-
background-color: ${({
|
|
3877
|
+
}) => theme.colors['bg/neutral'], utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
4472
3878
|
theme
|
|
4473
|
-
}) => theme.colors['surface']
|
|
4474
|
-
top: ${utils.forcePixelValue(2)};
|
|
4475
|
-
border-radius: ${({
|
|
3879
|
+
}) => theme.colors['surface'], utils.forcePixelValue(2), ({
|
|
4476
3880
|
theme
|
|
4477
|
-
}) => `${utils.forcePixelValue(theme.radii.full)}
|
|
4478
|
-
|
|
4479
|
-
transform: translateX(${utils.forcePixelValue(2)});
|
|
4480
|
-
transition: transform 200ms;
|
|
4481
|
-
}
|
|
4482
|
-
|
|
4483
|
-
&:disabled {
|
|
4484
|
-
background-color: ${({
|
|
3881
|
+
}) => `${utils.forcePixelValue(theme.radii.full)}`, utils.forcePixelValue(2), ({
|
|
4485
3882
|
theme
|
|
4486
|
-
}) => theme.colors['bg/disabled']
|
|
4487
|
-
cursor: not-allowed;
|
|
4488
|
-
}
|
|
4489
|
-
|
|
4490
|
-
&:checked {
|
|
4491
|
-
background-color: ${({
|
|
3883
|
+
}) => theme.colors['bg/disabled'], ({
|
|
4492
3884
|
theme
|
|
4493
|
-
}) => theme.colors['bg/primary']
|
|
4494
|
-
|
|
4495
|
-
&::before {
|
|
4496
|
-
transform: translateX(${utils.forcePixelValue(36 - 16 - 2)});
|
|
4497
|
-
}
|
|
4498
|
-
|
|
4499
|
-
&:disabled {
|
|
4500
|
-
background-color: ${({
|
|
3885
|
+
}) => theme.colors['bg/primary'], utils.forcePixelValue(36 - 16 - 2), ({
|
|
4501
3886
|
theme
|
|
4502
|
-
}) => theme.colors['bg/primary/disabled']
|
|
4503
|
-
}
|
|
4504
|
-
}
|
|
4505
|
-
|
|
4506
|
-
&:focus-visible {
|
|
4507
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
4508
|
-
outline-style: solid;
|
|
4509
|
-
outline-color: ${({
|
|
3887
|
+
}) => theme.colors['bg/primary/disabled'], utils.forcePixelValue(2), ({
|
|
4510
3888
|
theme
|
|
4511
|
-
}) => theme.colors['border/focused']
|
|
4512
|
-
}
|
|
4513
|
-
|
|
4514
|
-
${sx}
|
|
4515
|
-
`;
|
|
3889
|
+
}) => theme.colors['border/focused'], sx);
|
|
4516
3890
|
var Switch$1 = /*#__PURE__*/React.forwardRef(Switch);
|
|
4517
3891
|
|
|
4518
3892
|
const Textarea = /*#__PURE__*/React.forwardRef(({
|
|
@@ -4561,89 +3935,36 @@ const Textarea = /*#__PURE__*/React.forwardRef(({
|
|
|
4561
3935
|
})]
|
|
4562
3936
|
});
|
|
4563
3937
|
});
|
|
4564
|
-
const TextareaWrapper = styled__default.default.div
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
border-style: solid;
|
|
4569
|
-
border-radius: ${({
|
|
3938
|
+
const TextareaWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
3939
|
+
displayName: "Textarea__TextareaWrapper",
|
|
3940
|
+
componentId: "sc-mqvox2-0"
|
|
3941
|
+
})(["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), ({
|
|
4570
3942
|
theme
|
|
4571
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4572
|
-
border-color: ${({
|
|
3943
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
4573
3944
|
theme
|
|
4574
|
-
}) => theme.colors['border/input']
|
|
4575
|
-
background-color: ${({
|
|
3945
|
+
}) => theme.colors['border/input'], ({
|
|
4576
3946
|
theme
|
|
4577
|
-
}) => theme.colors['bg/input']
|
|
4578
|
-
cursor: text;
|
|
4579
|
-
display: inline-flex;
|
|
4580
|
-
flex-direction: column;
|
|
4581
|
-
align-items: center;
|
|
4582
|
-
|
|
4583
|
-
font-size: ${({
|
|
3947
|
+
}) => theme.colors['bg/input'], ({
|
|
4584
3948
|
theme
|
|
4585
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4586
|
-
font-weight: ${({
|
|
3949
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4587
3950
|
theme
|
|
4588
|
-
}) => theme.fontWeights.medium
|
|
4589
|
-
line-height: ${({
|
|
3951
|
+
}) => theme.fontWeights.medium, ({
|
|
4590
3952
|
theme
|
|
4591
|
-
}) => theme.lineHeights[2]
|
|
4592
|
-
color: ${({
|
|
3953
|
+
}) => theme.lineHeights[2], ({
|
|
4593
3954
|
theme
|
|
4594
|
-
}) => theme.colors['text/neutral']
|
|
4595
|
-
textarea::placeholder {
|
|
4596
|
-
color: ${({
|
|
3955
|
+
}) => theme.colors['text/neutral'], ({
|
|
4597
3956
|
theme
|
|
4598
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4599
|
-
}
|
|
4600
|
-
textarea {
|
|
4601
|
-
font-size: inherit;
|
|
4602
|
-
font-weight: inherit;
|
|
4603
|
-
line-height: inherit;
|
|
4604
|
-
font-family: inherit;
|
|
4605
|
-
border-radius: inherit;
|
|
4606
|
-
color: inherit;
|
|
4607
|
-
transition: inherit;
|
|
4608
|
-
|
|
4609
|
-
border: 0;
|
|
4610
|
-
background-color: transparent;
|
|
4611
|
-
width: 100%;
|
|
4612
|
-
&:focus {
|
|
4613
|
-
outline: 0;
|
|
4614
|
-
}
|
|
4615
|
-
resize: none;
|
|
4616
|
-
|
|
4617
|
-
padding-top: ${({
|
|
3957
|
+
}) => theme.colors['text/neutral/subtlest'], ({
|
|
4618
3958
|
theme
|
|
4619
|
-
}) => utils.forcePixelValue(theme.space['3'])
|
|
4620
|
-
padding-right: ${({
|
|
3959
|
+
}) => utils.forcePixelValue(theme.space['3']), ({
|
|
4621
3960
|
theme
|
|
4622
|
-
}) => utils.forcePixelValue(theme.space['4'])
|
|
4623
|
-
padding-bottom: ${({
|
|
3961
|
+
}) => utils.forcePixelValue(theme.space['4']), ({
|
|
4624
3962
|
theme
|
|
4625
|
-
}) => utils.forcePixelValue(theme.space['3'])
|
|
4626
|
-
padding-left: ${({
|
|
3963
|
+
}) => utils.forcePixelValue(theme.space['3']), ({
|
|
4627
3964
|
theme
|
|
4628
|
-
}) => utils.forcePixelValue(theme.space['4'])
|
|
4629
|
-
}
|
|
4630
|
-
|
|
4631
|
-
&:after {
|
|
4632
|
-
content: '';
|
|
4633
|
-
position: absolute;
|
|
4634
|
-
top: ${utils.forcePixelValue(-1)};
|
|
4635
|
-
right: ${utils.forcePixelValue(-1)};
|
|
4636
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
4637
|
-
left: ${utils.forcePixelValue(-1)};
|
|
4638
|
-
|
|
4639
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
4640
|
-
border-radius: ${({
|
|
3965
|
+
}) => utils.forcePixelValue(theme.space['4']), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
4641
3966
|
theme
|
|
4642
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
4643
|
-
pointer-events: none;
|
|
4644
|
-
}
|
|
4645
|
-
|
|
4646
|
-
${props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
3967
|
+
}) => utils.forcePixelValue(theme.radii.xs), props => props.validationStatus !== 'error' && !props.disabled && styled.css`
|
|
4647
3968
|
&:hover:not(:focus-within) {
|
|
4648
3969
|
&:after {
|
|
4649
3970
|
border-color: ${({
|
|
@@ -4651,17 +3972,13 @@ const TextareaWrapper = styled__default.default.div`
|
|
|
4651
3972
|
}) => theme.colors['border/hovered']};
|
|
4652
3973
|
}
|
|
4653
3974
|
}
|
|
4654
|
-
`
|
|
4655
|
-
|
|
4656
|
-
${props => props.validationStatus === 'error' && styled.css`
|
|
3975
|
+
`, props => props.validationStatus === 'error' && styled.css`
|
|
4657
3976
|
&:after {
|
|
4658
3977
|
border-color: ${({
|
|
4659
3978
|
theme
|
|
4660
3979
|
}) => theme.colors['border/danger']};
|
|
4661
3980
|
}
|
|
4662
|
-
`
|
|
4663
|
-
|
|
4664
|
-
${props => props.validationStatus !== 'error' && styled.css`
|
|
3981
|
+
`, props => props.validationStatus !== 'error' && styled.css`
|
|
4665
3982
|
&:focus-within {
|
|
4666
3983
|
&:after {
|
|
4667
3984
|
border-color: ${({
|
|
@@ -4669,9 +3986,7 @@ const TextareaWrapper = styled__default.default.div`
|
|
|
4669
3986
|
}) => theme.colors['border/focused']};
|
|
4670
3987
|
}
|
|
4671
3988
|
}
|
|
4672
|
-
`
|
|
4673
|
-
|
|
4674
|
-
${props => props.disabled && styled.css`
|
|
3989
|
+
`, props => props.disabled && styled.css`
|
|
4675
3990
|
border-color: ${props.theme.colors['border/input']};
|
|
4676
3991
|
background-color: ${props.theme.colors['bg/disabled']};
|
|
4677
3992
|
color: ${props.theme.colors['text/disabled']};
|
|
@@ -4684,35 +3999,25 @@ const TextareaWrapper = styled__default.default.div`
|
|
|
4684
3999
|
textarea {
|
|
4685
4000
|
cursor: not-allowed;
|
|
4686
4001
|
}
|
|
4687
|
-
`
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
padding-right: ${({
|
|
4002
|
+
`);
|
|
4003
|
+
const TextareaCount = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
4004
|
+
displayName: "Textarea__TextareaCount",
|
|
4005
|
+
componentId: "sc-mqvox2-1"
|
|
4006
|
+
})(["width:100%;padding-right:", ";padding-bottom:", ";padding-left:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";text-align:end;"], ({
|
|
4693
4007
|
theme
|
|
4694
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
4695
|
-
padding-bottom: ${({
|
|
4008
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
4696
4009
|
theme
|
|
4697
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
4698
|
-
padding-left: ${({
|
|
4010
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
4699
4011
|
theme
|
|
4700
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
4701
|
-
|
|
4702
|
-
font-size: ${({
|
|
4012
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
4703
4013
|
theme
|
|
4704
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
4705
|
-
font-weight: ${({
|
|
4014
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
4706
4015
|
theme
|
|
4707
|
-
}) => utils.forcePixelValue(theme.fontWeights.medium)
|
|
4708
|
-
line-height: ${({
|
|
4016
|
+
}) => utils.forcePixelValue(theme.fontWeights.medium), ({
|
|
4709
4017
|
theme
|
|
4710
|
-
}) => theme.lineHeights[2]
|
|
4711
|
-
color: ${({
|
|
4018
|
+
}) => theme.lineHeights[2], ({
|
|
4712
4019
|
theme
|
|
4713
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4714
|
-
text-align: end;
|
|
4715
|
-
`;
|
|
4020
|
+
}) => theme.colors['text/neutral/subtlest']);
|
|
4716
4021
|
|
|
4717
4022
|
const FormControlCaption = ({
|
|
4718
4023
|
children
|
|
@@ -4752,9 +4057,10 @@ const errorMessageKeyframe$1 = styled.keyframes`
|
|
|
4752
4057
|
transform: translateY(0);
|
|
4753
4058
|
}
|
|
4754
4059
|
`;
|
|
4755
|
-
const StyledText$3 = styled__default.default(Text)
|
|
4756
|
-
|
|
4757
|
-
|
|
4060
|
+
const StyledText$3 = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4061
|
+
displayName: "FormControlErrorMessage__StyledText",
|
|
4062
|
+
componentId: "sc-lezmih-0"
|
|
4063
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], errorMessageKeyframe$1);
|
|
4758
4064
|
|
|
4759
4065
|
const FormControlLabel = ({
|
|
4760
4066
|
children,
|
|
@@ -4786,8 +4092,10 @@ const FormControlLabel = ({
|
|
|
4786
4092
|
})
|
|
4787
4093
|
});
|
|
4788
4094
|
};
|
|
4789
|
-
const VisuallyHidden$1 = styled__default.default.span
|
|
4790
|
-
|
|
4095
|
+
const VisuallyHidden$1 = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4096
|
+
displayName: "FormControlLabel__VisuallyHidden",
|
|
4097
|
+
componentId: "sc-159foe-0"
|
|
4098
|
+
})(["", ""], ({
|
|
4791
4099
|
isVisible = false
|
|
4792
4100
|
}) => {
|
|
4793
4101
|
if (isVisible) {
|
|
@@ -4804,40 +4112,23 @@ const VisuallyHidden$1 = styled__default.default.span`
|
|
|
4804
4112
|
white-space: nowrap;
|
|
4805
4113
|
border-width: 0;
|
|
4806
4114
|
`;
|
|
4807
|
-
}
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
font-size: ${({
|
|
4115
|
+
});
|
|
4116
|
+
const LabelWrapper$1 = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
4117
|
+
displayName: "FormControlLabel__LabelWrapper",
|
|
4118
|
+
componentId: "sc-159foe-1"
|
|
4119
|
+
})(["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:", ";}", ";"], ({
|
|
4814
4120
|
theme
|
|
4815
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
4816
|
-
font-weight: ${({
|
|
4121
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
4817
4122
|
theme
|
|
4818
|
-
}) => theme.fontWeights.medium
|
|
4819
|
-
line-height: ${({
|
|
4123
|
+
}) => theme.fontWeights.medium, ({
|
|
4820
4124
|
theme
|
|
4821
|
-
}) => theme.lineHeights[2]
|
|
4822
|
-
|
|
4823
|
-
color: ${({
|
|
4125
|
+
}) => theme.lineHeights[2], ({
|
|
4824
4126
|
theme
|
|
4825
|
-
}) => theme.colors['text/neutral/subtle']
|
|
4826
|
-
|
|
4827
|
-
cursor: ${({
|
|
4127
|
+
}) => theme.colors['text/neutral/subtle'], ({
|
|
4828
4128
|
disabled
|
|
4829
|
-
}) => disabled ? 'not-allowed' : 'pointer'
|
|
4830
|
-
|
|
4831
|
-
span.form_control_label__required__false {
|
|
4832
|
-
font-size: inherit;
|
|
4833
|
-
font-weight: inherit;
|
|
4834
|
-
color: ${({
|
|
4129
|
+
}) => disabled ? 'not-allowed' : 'pointer', ({
|
|
4835
4130
|
theme
|
|
4836
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
4837
|
-
}
|
|
4838
|
-
|
|
4839
|
-
${sx};
|
|
4840
|
-
`;
|
|
4131
|
+
}) => theme.colors['text/neutral/subtlest'], sx);
|
|
4841
4132
|
|
|
4842
4133
|
const FormControlSuccessMessage = ({
|
|
4843
4134
|
children
|
|
@@ -4862,9 +4153,10 @@ const successMessageKeyframe$1 = styled.keyframes`
|
|
|
4862
4153
|
transform: translateY(0);
|
|
4863
4154
|
}
|
|
4864
4155
|
`;
|
|
4865
|
-
const StyledText$2 = styled__default.default(Text)
|
|
4866
|
-
|
|
4867
|
-
|
|
4156
|
+
const StyledText$2 = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4157
|
+
displayName: "FormControlSuccessMessage__StyledText",
|
|
4158
|
+
componentId: "sc-5lduye-0"
|
|
4159
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], successMessageKeyframe$1);
|
|
4868
4160
|
|
|
4869
4161
|
const FormControlTooltipIcon = ({
|
|
4870
4162
|
text,
|
|
@@ -5209,9 +4501,10 @@ const errorMessageKeyframe = styled.keyframes`
|
|
|
5209
4501
|
transform: translateY(0);
|
|
5210
4502
|
}
|
|
5211
4503
|
`;
|
|
5212
|
-
const StyledText$1 = styled__default.default(Text)
|
|
5213
|
-
|
|
5214
|
-
|
|
4504
|
+
const StyledText$1 = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4505
|
+
displayName: "CheckboxOrRadioGroupFormControlErrorMessage__StyledText",
|
|
4506
|
+
componentId: "sc-ulbr7g-0"
|
|
4507
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], errorMessageKeyframe);
|
|
5215
4508
|
|
|
5216
4509
|
const CheckboxOrRadioGroupFormControlLabel = ({
|
|
5217
4510
|
children,
|
|
@@ -5243,8 +4536,10 @@ const CheckboxOrRadioGroupFormControlLabel = ({
|
|
|
5243
4536
|
})
|
|
5244
4537
|
});
|
|
5245
4538
|
};
|
|
5246
|
-
const VisuallyHidden = styled__default.default.span
|
|
5247
|
-
|
|
4539
|
+
const VisuallyHidden = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4540
|
+
displayName: "CheckboxOrRadioGroupFormControlLabel__VisuallyHidden",
|
|
4541
|
+
componentId: "sc-1eoo1ew-0"
|
|
4542
|
+
})(["", ""], ({
|
|
5248
4543
|
isVisible = false
|
|
5249
4544
|
}) => {
|
|
5250
4545
|
if (isVisible) {
|
|
@@ -5261,40 +4556,23 @@ const VisuallyHidden = styled__default.default.span`
|
|
|
5261
4556
|
white-space: nowrap;
|
|
5262
4557
|
border-width: 0;
|
|
5263
4558
|
`;
|
|
5264
|
-
}
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
font-size: ${({
|
|
4559
|
+
});
|
|
4560
|
+
const LabelWrapper = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
4561
|
+
displayName: "CheckboxOrRadioGroupFormControlLabel__LabelWrapper",
|
|
4562
|
+
componentId: "sc-1eoo1ew-1"
|
|
4563
|
+
})(["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:", ";}", ";"], ({
|
|
5271
4564
|
theme
|
|
5272
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
5273
|
-
font-weight: ${({
|
|
4565
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
5274
4566
|
theme
|
|
5275
|
-
}) => theme.fontWeights.medium
|
|
5276
|
-
line-height: ${({
|
|
4567
|
+
}) => theme.fontWeights.medium, ({
|
|
5277
4568
|
theme
|
|
5278
|
-
}) => theme.lineHeights[2]
|
|
5279
|
-
|
|
5280
|
-
color: ${({
|
|
4569
|
+
}) => theme.lineHeights[2], ({
|
|
5281
4570
|
theme
|
|
5282
|
-
}) => theme.colors['text/neutral/subtle']
|
|
5283
|
-
|
|
5284
|
-
cursor: ${({
|
|
4571
|
+
}) => theme.colors['text/neutral/subtle'], ({
|
|
5285
4572
|
disabled
|
|
5286
|
-
}) => disabled ? 'not-allowed' : 'pointer'
|
|
5287
|
-
|
|
5288
|
-
span.checkbox_or_radio_group_form_control_label__required__false {
|
|
5289
|
-
font-size: inherit;
|
|
5290
|
-
font-weight: inherit;
|
|
5291
|
-
color: ${({
|
|
4573
|
+
}) => disabled ? 'not-allowed' : 'pointer', ({
|
|
5292
4574
|
theme
|
|
5293
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
5294
|
-
}
|
|
5295
|
-
|
|
5296
|
-
${reactKit.sx};
|
|
5297
|
-
`;
|
|
4575
|
+
}) => theme.colors['text/neutral/subtlest'], reactKit.sx);
|
|
5298
4576
|
|
|
5299
4577
|
const CheckboxOrRadioGroupFormControlSuccessMessage = ({
|
|
5300
4578
|
children
|
|
@@ -5319,9 +4597,10 @@ const successMessageKeyframe = styled.keyframes`
|
|
|
5319
4597
|
transform: translateY(0);
|
|
5320
4598
|
}
|
|
5321
4599
|
`;
|
|
5322
|
-
const StyledText = styled__default.default(Text)
|
|
5323
|
-
|
|
5324
|
-
|
|
4600
|
+
const StyledText = /*#__PURE__*/styled__default.default(Text).withConfig({
|
|
4601
|
+
displayName: "CheckboxOrRadioGroupFormControlSuccessMessage__StyledText",
|
|
4602
|
+
componentId: "sc-c7dwbg-0"
|
|
4603
|
+
})(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], successMessageKeyframe);
|
|
5325
4604
|
|
|
5326
4605
|
const CheckboxOrRadioGroupFormControlTooltipIcon = ({
|
|
5327
4606
|
text,
|
|
@@ -5446,7 +4725,10 @@ const Chip = ({
|
|
|
5446
4725
|
className: 'chip__trailing_icon'
|
|
5447
4726
|
}) : null]
|
|
5448
4727
|
});
|
|
5449
|
-
const BaseChip = styled__default.default.span(
|
|
4728
|
+
const BaseChip = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4729
|
+
displayName: "Chip__BaseChip",
|
|
4730
|
+
componentId: "sc-sq73uo-0"
|
|
4731
|
+
})(({
|
|
5450
4732
|
theme
|
|
5451
4733
|
}) => ({
|
|
5452
4734
|
position: 'relative',
|
|
@@ -5649,13 +4931,12 @@ const ClickArea = ({
|
|
|
5649
4931
|
onClick
|
|
5650
4932
|
} : {})
|
|
5651
4933
|
});
|
|
5652
|
-
const BaseClickArea = styled__default.default(View)
|
|
5653
|
-
|
|
5654
|
-
|
|
4934
|
+
const BaseClickArea = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
4935
|
+
displayName: "ClickArea__BaseClickArea",
|
|
4936
|
+
componentId: "sc-1pd8ned-0"
|
|
4937
|
+
})(["&:hover{cursor:", ";}"], ({
|
|
5655
4938
|
disabled
|
|
5656
|
-
}) => disabled ? 'not-allowed' : 'pointer'
|
|
5657
|
-
}
|
|
5658
|
-
`;
|
|
4939
|
+
}) => disabled ? 'not-allowed' : 'pointer');
|
|
5659
4940
|
var index$a = /*#__PURE__*/React.forwardRef(ClickArea);
|
|
5660
4941
|
|
|
5661
4942
|
const CounterBadge = ({
|
|
@@ -5675,15 +4956,12 @@ const CounterBadge = ({
|
|
|
5675
4956
|
children: children
|
|
5676
4957
|
});
|
|
5677
4958
|
};
|
|
5678
|
-
const BaseCounterBadge = styled__default.default.span
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
border-radius: ${({
|
|
4959
|
+
const BaseCounterBadge = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
4960
|
+
displayName: "CounterBadge__BaseCounterBadge",
|
|
4961
|
+
componentId: "sc-1tqkdbw-0"
|
|
4962
|
+
})(["display:inline-flex;align-items:center;justify-content:center;border-radius:", ";", " ", " ", ""], ({
|
|
5683
4963
|
theme
|
|
5684
|
-
}) => utils.forcePixelValue(theme.radii.full)
|
|
5685
|
-
|
|
5686
|
-
${variant({
|
|
4964
|
+
}) => utils.forcePixelValue(theme.radii.full), variant({
|
|
5687
4965
|
prop: 'variant',
|
|
5688
4966
|
variants: {
|
|
5689
4967
|
red: {
|
|
@@ -5691,8 +4969,7 @@ const BaseCounterBadge = styled__default.default.span`
|
|
|
5691
4969
|
color: 'text/inverse'
|
|
5692
4970
|
}
|
|
5693
4971
|
}
|
|
5694
|
-
})
|
|
5695
|
-
${variant({
|
|
4972
|
+
}), variant({
|
|
5696
4973
|
prop: 'size',
|
|
5697
4974
|
variants: {
|
|
5698
4975
|
m: {
|
|
@@ -5704,36 +4981,19 @@ const BaseCounterBadge = styled__default.default.span`
|
|
|
5704
4981
|
py: 0.25
|
|
5705
4982
|
}
|
|
5706
4983
|
}
|
|
5707
|
-
})
|
|
5708
|
-
|
|
5709
|
-
${sx}
|
|
5710
|
-
`;
|
|
4984
|
+
}), sx);
|
|
5711
4985
|
|
|
5712
4986
|
const DatagridBody = ({
|
|
5713
4987
|
...props
|
|
5714
4988
|
}) => /*#__PURE__*/jsxRuntime.jsx(BaseDatagridBody, {
|
|
5715
4989
|
...props
|
|
5716
4990
|
});
|
|
5717
|
-
const BaseDatagridBody = styled__default.default.div
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
& > *:not(:last-child) {
|
|
5723
|
-
border-bottom-width: ${utils.forcePixelValue(1)};
|
|
5724
|
-
border-bottom-style: solid;
|
|
5725
|
-
border-bottom-color: ${({
|
|
4991
|
+
const BaseDatagridBody = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
4992
|
+
displayName: "DatagridBody__BaseDatagridBody",
|
|
4993
|
+
componentId: "sc-pt3o0h-0"
|
|
4994
|
+
})(["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), ({
|
|
5726
4995
|
theme
|
|
5727
|
-
}) => theme.colors['border/neutral']
|
|
5728
|
-
}
|
|
5729
|
-
|
|
5730
|
-
& > *:last-child {
|
|
5731
|
-
border-bottom-left-radius: inherit;
|
|
5732
|
-
border-bottom-right-radius: inherit;
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
|
-
${sx}
|
|
5736
|
-
`;
|
|
4996
|
+
}) => theme.colors['border/neutral'], sx);
|
|
5737
4997
|
|
|
5738
4998
|
const DatagridCell = ({
|
|
5739
4999
|
children,
|
|
@@ -5762,23 +5022,14 @@ const DatagridHeader = ({
|
|
|
5762
5022
|
children: trailingAction
|
|
5763
5023
|
})]
|
|
5764
5024
|
});
|
|
5765
|
-
const DataGridHeaderWrapper = styled__default.default.div
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
height: 40px;
|
|
5770
|
-
padding: ${({
|
|
5025
|
+
const DataGridHeaderWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5026
|
+
displayName: "DatagridHeader__DataGridHeaderWrapper",
|
|
5027
|
+
componentId: "sc-r0eskc-0"
|
|
5028
|
+
})(["display:flex;align-items:center;justify-content:space-between;height:40px;padding:", ";background-color:", ";border-top-left-radius:inherit;border-top-right-radius:inherit;", ""], ({
|
|
5771
5029
|
theme
|
|
5772
|
-
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[4])}
|
|
5773
|
-
background-color: ${({
|
|
5030
|
+
}) => `${utils.forcePixelValue(theme.space[1])} ${utils.forcePixelValue(theme.space[4])}`, ({
|
|
5774
5031
|
theme
|
|
5775
|
-
}) => theme.colors['bg/neutral']
|
|
5776
|
-
|
|
5777
|
-
border-top-left-radius: inherit;
|
|
5778
|
-
border-top-right-radius: inherit;
|
|
5779
|
-
|
|
5780
|
-
${sx}
|
|
5781
|
-
`;
|
|
5032
|
+
}) => theme.colors['bg/neutral'], sx);
|
|
5782
5033
|
|
|
5783
5034
|
const DatagridRow = ({
|
|
5784
5035
|
gapX = 2,
|
|
@@ -5804,22 +5055,16 @@ const DatagridSubheader = ({
|
|
|
5804
5055
|
}) => /*#__PURE__*/jsxRuntime.jsx(DataGridSubheaderWrapper, {
|
|
5805
5056
|
...props
|
|
5806
5057
|
});
|
|
5807
|
-
const DataGridSubheaderWrapper = styled__default.default.div
|
|
5808
|
-
|
|
5058
|
+
const DataGridSubheaderWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5059
|
+
displayName: "DatagridSubheader__DataGridSubheaderWrapper",
|
|
5060
|
+
componentId: "sc-1l1yg6c-0"
|
|
5061
|
+
})(["padding:", ";background-color:", ";border-bottom-width:", ";border-bottom-style:solid;border-bottom-color:", ";", ";"], ({
|
|
5809
5062
|
theme
|
|
5810
|
-
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[4])}
|
|
5811
|
-
background-color: ${({
|
|
5063
|
+
}) => `${utils.forcePixelValue(theme.space[2])} ${utils.forcePixelValue(theme.space[4])}`, ({
|
|
5812
5064
|
theme
|
|
5813
|
-
}) => theme.colors.surface
|
|
5814
|
-
|
|
5815
|
-
border-bottom-width: ${utils.forcePixelValue(1)};
|
|
5816
|
-
border-bottom-style: solid;
|
|
5817
|
-
border-bottom-color: ${({
|
|
5065
|
+
}) => theme.colors.surface, utils.forcePixelValue(1), ({
|
|
5818
5066
|
theme
|
|
5819
|
-
}) => theme.colors['border/neutral']
|
|
5820
|
-
|
|
5821
|
-
${sx};
|
|
5822
|
-
`;
|
|
5067
|
+
}) => theme.colors['border/neutral'], sx);
|
|
5823
5068
|
|
|
5824
5069
|
const Datagrid = ({
|
|
5825
5070
|
children,
|
|
@@ -5841,26 +5086,18 @@ const Datagrid = ({
|
|
|
5841
5086
|
})]
|
|
5842
5087
|
});
|
|
5843
5088
|
};
|
|
5844
|
-
const DatagridWrapper = styled__default.default.div
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
theme
|
|
5851
|
-
}) => theme.
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
${sx}
|
|
5858
|
-
`;
|
|
5859
|
-
const BaseDatagrid = styled__default.default.div`
|
|
5860
|
-
width: inherit;
|
|
5861
|
-
|
|
5862
|
-
border-radius: inherit;
|
|
5863
|
-
`;
|
|
5089
|
+
const DatagridWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5090
|
+
displayName: "Datagrid__DatagridWrapper",
|
|
5091
|
+
componentId: "sc-1pt4ew-0"
|
|
5092
|
+
})(["width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";isolation:isolate;", ""], utils.forcePixelValue(1), ({
|
|
5093
|
+
theme
|
|
5094
|
+
}) => theme.colors['border/neutral'], ({
|
|
5095
|
+
theme
|
|
5096
|
+
}) => utils.forcePixelValue(theme.radii.s), sx);
|
|
5097
|
+
const BaseDatagrid = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5098
|
+
displayName: "Datagrid__BaseDatagrid",
|
|
5099
|
+
componentId: "sc-1pt4ew-1"
|
|
5100
|
+
})(["width:inherit;border-radius:inherit;"]);
|
|
5864
5101
|
var index$9 = Object.assign(Datagrid, {
|
|
5865
5102
|
Header: DatagridHeader,
|
|
5866
5103
|
Subheader: DatagridSubheader,
|
|
@@ -5964,7 +5201,10 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
5964
5201
|
})
|
|
5965
5202
|
});
|
|
5966
5203
|
});
|
|
5967
|
-
const BaseIconButton = styled__default.default(UnstyledButton)(
|
|
5204
|
+
const BaseIconButton = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
5205
|
+
displayName: "IconButton__BaseIconButton",
|
|
5206
|
+
componentId: "sc-13ybfes-0"
|
|
5207
|
+
})(({
|
|
5968
5208
|
$loading,
|
|
5969
5209
|
$disabled,
|
|
5970
5210
|
theme
|
|
@@ -6164,16 +5404,12 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
6164
5404
|
|
|
6165
5405
|
const MotionView = framerMotion.motion(View);
|
|
6166
5406
|
|
|
6167
|
-
const UnstyledDialogBody = styled__default.default.div.attrs({
|
|
5407
|
+
const UnstyledDialogBody = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6168
5408
|
className: 'trk-dialog_body'
|
|
6169
|
-
})
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
overflow-y: auto;
|
|
6174
|
-
|
|
6175
|
-
${sx}
|
|
6176
|
-
`;
|
|
5409
|
+
}).withConfig({
|
|
5410
|
+
displayName: "_UnstyledDialogBody__UnstyledDialogBody",
|
|
5411
|
+
componentId: "sc-1wirkbs-0"
|
|
5412
|
+
})(["flex-grow:1;flex-shrink:1;flex-basis:auto;overflow-y:auto;", ""], sx);
|
|
6177
5413
|
|
|
6178
5414
|
const DialogBody = ({
|
|
6179
5415
|
children,
|
|
@@ -6188,15 +5424,12 @@ const DialogBody = ({
|
|
|
6188
5424
|
children: children
|
|
6189
5425
|
});
|
|
6190
5426
|
|
|
6191
|
-
const UnstyledDialogFooter = styled__default.default.div.attrs({
|
|
5427
|
+
const UnstyledDialogFooter = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6192
5428
|
className: 'trk-dialog_footer'
|
|
6193
|
-
})
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
${sx}
|
|
6199
|
-
`;
|
|
5429
|
+
}).withConfig({
|
|
5430
|
+
displayName: "_UnstyledDialogFooter__UnstyledDialogFooter",
|
|
5431
|
+
componentId: "sc-6fc8qd-0"
|
|
5432
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6200
5433
|
|
|
6201
5434
|
const DialogFooter = ({
|
|
6202
5435
|
children,
|
|
@@ -6221,15 +5454,12 @@ const DialogFooter = ({
|
|
|
6221
5454
|
children: children
|
|
6222
5455
|
});
|
|
6223
5456
|
|
|
6224
|
-
const UnstyledDialogHeader = styled__default.default.div.attrs({
|
|
5457
|
+
const UnstyledDialogHeader = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6225
5458
|
className: 'trk-dialog_header'
|
|
6226
|
-
})
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
${sx}
|
|
6232
|
-
`;
|
|
5459
|
+
}).withConfig({
|
|
5460
|
+
displayName: "_UnstyledDialogHeader__UnstyledDialogHeader",
|
|
5461
|
+
componentId: "sc-11xdjox-0"
|
|
5462
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6233
5463
|
|
|
6234
5464
|
const DialogHeader = ({
|
|
6235
5465
|
children,
|
|
@@ -6406,22 +5636,16 @@ const Dialog = ({
|
|
|
6406
5636
|
}) : null
|
|
6407
5637
|
});
|
|
6408
5638
|
};
|
|
6409
|
-
const Blanket$1 = styled__default.default.span
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
background: ${({
|
|
6420
|
-
theme
|
|
6421
|
-
}) => theme.colors.dim};
|
|
6422
|
-
}
|
|
6423
|
-
`;
|
|
6424
|
-
const BaseDialog = styled__default.default.div(({
|
|
5639
|
+
const Blanket$1 = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
5640
|
+
displayName: "Dialog__Blanket",
|
|
5641
|
+
componentId: "sc-1c7dkhn-0"
|
|
5642
|
+
})(["&:before{position:fixed;top:0;right:0;bottom:0;left:0;display:block;cursor:default;content:'';background:", ";}"], ({
|
|
5643
|
+
theme
|
|
5644
|
+
}) => theme.colors.dim);
|
|
5645
|
+
const BaseDialog = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5646
|
+
displayName: "Dialog__BaseDialog",
|
|
5647
|
+
componentId: "sc-1c7dkhn-1"
|
|
5648
|
+
})(({
|
|
6425
5649
|
theme
|
|
6426
5650
|
}) => ({
|
|
6427
5651
|
display: 'flex',
|
|
@@ -6444,16 +5668,12 @@ var index$8 = Object.assign( /*#__PURE__*/React.forwardRef(Dialog), {
|
|
|
6444
5668
|
Footer: DialogFooter
|
|
6445
5669
|
});
|
|
6446
5670
|
|
|
6447
|
-
const UnstyledDrawerBody = styled__default.default.div.attrs({
|
|
5671
|
+
const UnstyledDrawerBody = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6448
5672
|
className: 'trk-drawer_body'
|
|
6449
|
-
})
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
overflow-y: auto;
|
|
6454
|
-
|
|
6455
|
-
${sx}
|
|
6456
|
-
`;
|
|
5673
|
+
}).withConfig({
|
|
5674
|
+
displayName: "_UnstyledDrawerBody__UnstyledDrawerBody",
|
|
5675
|
+
componentId: "sc-128haqe-0"
|
|
5676
|
+
})(["flex-grow:1;flex-shrink:1;flex-basis:auto;overflow-y:auto;", ""], sx);
|
|
6457
5677
|
|
|
6458
5678
|
const DrawerBody = ({
|
|
6459
5679
|
children,
|
|
@@ -6468,15 +5688,12 @@ const DrawerBody = ({
|
|
|
6468
5688
|
children: children
|
|
6469
5689
|
});
|
|
6470
5690
|
|
|
6471
|
-
const UnstyledDrawerFooter = styled__default.default.div.attrs({
|
|
5691
|
+
const UnstyledDrawerFooter = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6472
5692
|
className: 'trk-drawer_footer'
|
|
6473
|
-
})
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
${sx}
|
|
6479
|
-
`;
|
|
5693
|
+
}).withConfig({
|
|
5694
|
+
displayName: "_UnstyledDrawerFooter__UnstyledDrawerFooter",
|
|
5695
|
+
componentId: "sc-l06yi3-0"
|
|
5696
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6480
5697
|
|
|
6481
5698
|
const DrawerFooter = ({
|
|
6482
5699
|
children,
|
|
@@ -6501,15 +5718,12 @@ const DrawerFooter = ({
|
|
|
6501
5718
|
children: children
|
|
6502
5719
|
});
|
|
6503
5720
|
|
|
6504
|
-
const UnstyledDrawerHeader = styled__default.default.div.attrs({
|
|
5721
|
+
const UnstyledDrawerHeader = /*#__PURE__*/styled__default.default.div.attrs({
|
|
6505
5722
|
className: 'trk-drawer_header'
|
|
6506
|
-
})
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
${sx}
|
|
6512
|
-
`;
|
|
5723
|
+
}).withConfig({
|
|
5724
|
+
displayName: "_UnstyledDrawerHeader__UnstyledDrawerHeader",
|
|
5725
|
+
componentId: "sc-1jvii2r-0"
|
|
5726
|
+
})(["flex-grow:0;flex-shrink:0;flex-basis:auto;", ""], sx);
|
|
6513
5727
|
|
|
6514
5728
|
const DrawerHeader = ({
|
|
6515
5729
|
children,
|
|
@@ -6684,23 +5898,16 @@ const Drawer = ({
|
|
|
6684
5898
|
}) : null
|
|
6685
5899
|
});
|
|
6686
5900
|
};
|
|
6687
|
-
const Blanket = styled__default.default.span
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
content: '';
|
|
6698
|
-
background: ${({
|
|
6699
|
-
theme
|
|
6700
|
-
}) => theme.colors.dim};
|
|
6701
|
-
}
|
|
6702
|
-
`;
|
|
6703
|
-
const BaseDrawer = styled__default.default.div(({
|
|
5901
|
+
const Blanket = /*#__PURE__*/styled__default.default.span.withConfig({
|
|
5902
|
+
displayName: "Drawer__Blanket",
|
|
5903
|
+
componentId: "sc-k4n499-0"
|
|
5904
|
+
})(["&:before{position:fixed;z-index:9999;top:0;right:0;bottom:0;left:0;display:block;cursor:default;content:'';background:", ";}"], ({
|
|
5905
|
+
theme
|
|
5906
|
+
}) => theme.colors.dim);
|
|
5907
|
+
const BaseDrawer = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
5908
|
+
displayName: "Drawer__BaseDrawer",
|
|
5909
|
+
componentId: "sc-k4n499-1"
|
|
5910
|
+
})(({
|
|
6704
5911
|
theme
|
|
6705
5912
|
}) => ({
|
|
6706
5913
|
display: 'flex',
|
|
@@ -6799,40 +6006,24 @@ const EmptyState = ({
|
|
|
6799
6006
|
}) : null]
|
|
6800
6007
|
});
|
|
6801
6008
|
};
|
|
6802
|
-
const BaseEmptyState = styled__default.default.div
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
& > svg {
|
|
6808
|
-
color: ${({
|
|
6009
|
+
const BaseEmptyState = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6010
|
+
displayName: "EmptyState__BaseEmptyState",
|
|
6011
|
+
componentId: "sc-vj7hxz-0"
|
|
6012
|
+
})(["display:flex;flex-direction:column;align-items:center;& > svg{color:", ";}& > p{color:", ";font-weight:", ";line-height:", ";}& > span{color:", ";font-weight:", ";line-height:", ";}", " ", ""], ({
|
|
6809
6013
|
theme
|
|
6810
|
-
}) => theme.colors['icon/neutral']
|
|
6811
|
-
}
|
|
6812
|
-
& > p {
|
|
6813
|
-
color: ${({
|
|
6014
|
+
}) => theme.colors['icon/neutral'], ({
|
|
6814
6015
|
theme
|
|
6815
|
-
}) => theme.colors['text/neutral']
|
|
6816
|
-
font-weight: ${({
|
|
6016
|
+
}) => theme.colors['text/neutral'], ({
|
|
6817
6017
|
theme
|
|
6818
|
-
}) => theme.fontWeights.bold
|
|
6819
|
-
line-height: ${({
|
|
6018
|
+
}) => theme.fontWeights.bold, ({
|
|
6820
6019
|
theme
|
|
6821
|
-
}) => theme.lineHeights[2]
|
|
6822
|
-
}
|
|
6823
|
-
& > span {
|
|
6824
|
-
color: ${({
|
|
6020
|
+
}) => theme.lineHeights[2], ({
|
|
6825
6021
|
theme
|
|
6826
|
-
}) => theme.colors['text/neutral/subtler']
|
|
6827
|
-
font-weight: ${({
|
|
6022
|
+
}) => theme.colors['text/neutral/subtler'], ({
|
|
6828
6023
|
theme
|
|
6829
|
-
}) => theme.fontWeights.medium
|
|
6830
|
-
line-height: ${({
|
|
6024
|
+
}) => theme.fontWeights.medium, ({
|
|
6831
6025
|
theme
|
|
6832
|
-
}) => theme.lineHeights[2]
|
|
6833
|
-
}
|
|
6834
|
-
|
|
6835
|
-
${variant({
|
|
6026
|
+
}) => theme.lineHeights[2], variant({
|
|
6836
6027
|
prop: 'size',
|
|
6837
6028
|
variants: {
|
|
6838
6029
|
m: {
|
|
@@ -6870,10 +6061,7 @@ const BaseEmptyState = styled__default.default.div`
|
|
|
6870
6061
|
}
|
|
6871
6062
|
}
|
|
6872
6063
|
}
|
|
6873
|
-
})
|
|
6874
|
-
|
|
6875
|
-
${sx}
|
|
6876
|
-
`;
|
|
6064
|
+
}), sx);
|
|
6877
6065
|
|
|
6878
6066
|
const FileItem = ({
|
|
6879
6067
|
file,
|
|
@@ -6943,7 +6131,10 @@ const FileItem = ({
|
|
|
6943
6131
|
}) : null
|
|
6944
6132
|
});
|
|
6945
6133
|
};
|
|
6946
|
-
const BaseFile = styled__default.default.div({
|
|
6134
|
+
const BaseFile = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6135
|
+
displayName: "FileItem__BaseFile",
|
|
6136
|
+
componentId: "sc-1hkmytj-0"
|
|
6137
|
+
})({
|
|
6947
6138
|
position: 'relative'
|
|
6948
6139
|
}, ({
|
|
6949
6140
|
theme,
|
|
@@ -7143,70 +6334,28 @@ const Flash = ({
|
|
|
7143
6334
|
}) : null]
|
|
7144
6335
|
});
|
|
7145
6336
|
};
|
|
7146
|
-
const BaseFlash = styled__default.default.div
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
flex-direction: row;
|
|
7151
|
-
align-items: flex-start;
|
|
7152
|
-
padding: ${({
|
|
6337
|
+
const BaseFlash = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6338
|
+
displayName: "Flash__BaseFlash",
|
|
6339
|
+
componentId: "sc-sffzzy-0"
|
|
6340
|
+
})(["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:", ";}}", " ", ""], ({
|
|
7153
6341
|
theme
|
|
7154
|
-
}) => utils.forcePixelValue(theme.space[3])
|
|
7155
|
-
border-radius: ${({
|
|
6342
|
+
}) => utils.forcePixelValue(theme.space[3]), ({
|
|
7156
6343
|
theme
|
|
7157
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7158
|
-
column-gap: ${({
|
|
6344
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7159
6345
|
theme
|
|
7160
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
7161
|
-
|
|
7162
|
-
& .flash__content {
|
|
7163
|
-
flex: 1;
|
|
7164
|
-
display: flex;
|
|
7165
|
-
flex-direction: column;
|
|
7166
|
-
}
|
|
7167
|
-
|
|
7168
|
-
& .flash__content__children {
|
|
7169
|
-
font-size: ${({
|
|
6346
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
7170
6347
|
theme
|
|
7171
|
-
}) => utils.forcePixelValue(theme.fontSizes.xxs)
|
|
7172
|
-
font-weight: ${({
|
|
6348
|
+
}) => utils.forcePixelValue(theme.fontSizes.xxs), ({
|
|
7173
6349
|
theme
|
|
7174
|
-
}) => theme.fontWeights.medium
|
|
7175
|
-
line-height: ${({
|
|
6350
|
+
}) => theme.fontWeights.medium, ({
|
|
7176
6351
|
theme
|
|
7177
|
-
}) => theme.lineHeights[2]
|
|
7178
|
-
color: ${({
|
|
6352
|
+
}) => theme.lineHeights[2], ({
|
|
7179
6353
|
theme
|
|
7180
|
-
}) => theme.colors['text/neutral']
|
|
7181
|
-
word-break: keep-all;
|
|
7182
|
-
white-space: pre-wrap;
|
|
7183
|
-
}
|
|
7184
|
-
|
|
7185
|
-
& .flash__content__buttons {
|
|
7186
|
-
margin-top: ${({
|
|
6354
|
+
}) => theme.colors['text/neutral'], ({
|
|
7187
6355
|
theme
|
|
7188
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
7189
|
-
}
|
|
7190
|
-
|
|
7191
|
-
& .flash__leading_icon {
|
|
7192
|
-
min-width: ${utils.forcePixelValue(16)};
|
|
7193
|
-
height: ${utils.forcePixelValue(16)};
|
|
7194
|
-
}
|
|
7195
|
-
|
|
7196
|
-
& .flash__trailing_visual {
|
|
7197
|
-
display: flex;
|
|
7198
|
-
flex-direction: column;
|
|
7199
|
-
|
|
7200
|
-
svg {
|
|
7201
|
-
width: ${utils.forcePixelValue(16)};
|
|
7202
|
-
height: ${utils.forcePixelValue(16)};
|
|
7203
|
-
color: ${({
|
|
6356
|
+
}) => utils.forcePixelValue(theme.space[2]), utils.forcePixelValue(16), utils.forcePixelValue(16), utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
7204
6357
|
theme
|
|
7205
|
-
}) => theme.colors['icon/neutral/bold']
|
|
7206
|
-
}
|
|
7207
|
-
}
|
|
7208
|
-
|
|
7209
|
-
${({
|
|
6358
|
+
}) => theme.colors['icon/neutral/bold'], ({
|
|
7210
6359
|
theme
|
|
7211
6360
|
}) => variant({
|
|
7212
6361
|
prop: 'variant',
|
|
@@ -7239,13 +6388,15 @@ const BaseFlash = styled__default.default.div`
|
|
|
7239
6388
|
}
|
|
7240
6389
|
}
|
|
7241
6390
|
}
|
|
7242
|
-
})
|
|
7243
|
-
|
|
7244
|
-
${sx}
|
|
7245
|
-
`;
|
|
6391
|
+
}), sx);
|
|
7246
6392
|
var index$6 = /*#__PURE__*/React.forwardRef(Flash);
|
|
7247
6393
|
|
|
7248
|
-
const GradientText = styled__default.default(Text)(({
|
|
6394
|
+
const GradientText = /*#__PURE__*/styled__default.default(Text).attrs(props => ({
|
|
6395
|
+
variant: props.variant ?? 'violet'
|
|
6396
|
+
})).withConfig({
|
|
6397
|
+
displayName: "GradientText",
|
|
6398
|
+
componentId: "sc-1jku3z1-0"
|
|
6399
|
+
})(({
|
|
7249
6400
|
theme
|
|
7250
6401
|
}) => variant({
|
|
7251
6402
|
prop: 'variant',
|
|
@@ -7262,9 +6413,6 @@ const GradientText = styled__default.default(Text)(({
|
|
|
7262
6413
|
WebkitBackgroundClip: 'text',
|
|
7263
6414
|
WebkitTextFillColor: 'transparent'
|
|
7264
6415
|
});
|
|
7265
|
-
GradientText.defaultProps = {
|
|
7266
|
-
variant: 'violet'
|
|
7267
|
-
};
|
|
7268
6416
|
|
|
7269
6417
|
const IconToggleButton = ({
|
|
7270
6418
|
icon: Icon,
|
|
@@ -7289,7 +6437,10 @@ const IconToggleButton = ({
|
|
|
7289
6437
|
...props,
|
|
7290
6438
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
7291
6439
|
});
|
|
7292
|
-
const BaseIconToggleButton = styled__default.default(UnstyledButton)(
|
|
6440
|
+
const BaseIconToggleButton = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6441
|
+
displayName: "IconToggleButton__BaseIconToggleButton",
|
|
6442
|
+
componentId: "sc-1y68w0-0"
|
|
6443
|
+
})(({
|
|
7293
6444
|
$disabled,
|
|
7294
6445
|
theme
|
|
7295
6446
|
}) => ({
|
|
@@ -7501,16 +6652,12 @@ const Pagination = ({
|
|
|
7501
6652
|
})]
|
|
7502
6653
|
});
|
|
7503
6654
|
};
|
|
7504
|
-
const BasePagination = styled__default.default.nav
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
flex-wrap: nowrap;
|
|
7509
|
-
column-gap: ${({
|
|
6655
|
+
const BasePagination = /*#__PURE__*/styled__default.default.nav.withConfig({
|
|
6656
|
+
displayName: "Pagination__BasePagination",
|
|
6657
|
+
componentId: "sc-1fu43y9-0"
|
|
6658
|
+
})(["display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;column-gap:", ";", " ", ""], ({
|
|
7510
6659
|
theme
|
|
7511
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
7512
|
-
|
|
7513
|
-
${variant({
|
|
6660
|
+
}) => utils.forcePixelValue(theme.space[1]), variant({
|
|
7514
6661
|
prop: 'type',
|
|
7515
6662
|
variants: {
|
|
7516
6663
|
default: {
|
|
@@ -7524,39 +6671,25 @@ const BasePagination = styled__default.default.nav`
|
|
|
7524
6671
|
}
|
|
7525
6672
|
}
|
|
7526
6673
|
}
|
|
7527
|
-
})
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
height: ${utils.forcePixelValue(32)};
|
|
7534
|
-
min-width: ${utils.forcePixelValue(32)};
|
|
7535
|
-
|
|
7536
|
-
border-radius: ${({
|
|
6674
|
+
}), sx);
|
|
6675
|
+
const PaginationPage = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6676
|
+
displayName: "Pagination__PaginationPage",
|
|
6677
|
+
componentId: "sc-1fu43y9-1"
|
|
6678
|
+
})(["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), ({
|
|
7537
6679
|
theme
|
|
7538
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7539
|
-
padding: ${({
|
|
6680
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7540
6681
|
theme
|
|
7541
|
-
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}
|
|
7542
|
-
background-color: ${({
|
|
6682
|
+
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
7543
6683
|
theme
|
|
7544
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
7545
|
-
|
|
7546
|
-
font-size: ${({
|
|
6684
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
7547
6685
|
theme
|
|
7548
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
7549
|
-
font-weight: ${({
|
|
6686
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
7550
6687
|
theme
|
|
7551
|
-
}) => theme.fontWeights.regular
|
|
7552
|
-
line-height: ${({
|
|
6688
|
+
}) => theme.fontWeights.regular, ({
|
|
7553
6689
|
theme
|
|
7554
|
-
}) => theme.lineHeights[2]
|
|
7555
|
-
color: ${({
|
|
6690
|
+
}) => theme.lineHeights[2], ({
|
|
7556
6691
|
theme
|
|
7557
|
-
}) => theme.colors['text/neutral']
|
|
7558
|
-
|
|
7559
|
-
${({
|
|
6692
|
+
}) => theme.colors['text/neutral'], ({
|
|
7560
6693
|
selected
|
|
7561
6694
|
}) => selected ? styled.css`
|
|
7562
6695
|
background-color: ${({
|
|
@@ -7571,99 +6704,53 @@ const PaginationPage = styled__default.default(UnstyledButton)`
|
|
|
7571
6704
|
theme
|
|
7572
6705
|
}) => theme.colors['bg/neutral/subtler/hovered']};
|
|
7573
6706
|
}
|
|
7574
|
-
`
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
display: inline-flex;
|
|
7580
|
-
align-items: center;
|
|
7581
|
-
flex-wrap: nowrap;
|
|
7582
|
-
column-gap: ${({
|
|
6707
|
+
`);
|
|
6708
|
+
const PaginationPageDirection = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6709
|
+
displayName: "Pagination__PaginationPageDirection",
|
|
6710
|
+
componentId: "sc-1fu43y9-2"
|
|
6711
|
+
})(["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:", ";}}"], ({
|
|
7583
6712
|
theme
|
|
7584
|
-
}) => utils.forcePixelValue(theme.space[1])
|
|
7585
|
-
|
|
7586
|
-
height: ${utils.forcePixelValue(32)};
|
|
7587
|
-
min-width: ${utils.forcePixelValue(32)};
|
|
7588
|
-
|
|
7589
|
-
border-radius: ${({
|
|
6713
|
+
}) => utils.forcePixelValue(theme.space[1]), utils.forcePixelValue(32), utils.forcePixelValue(32), ({
|
|
7590
6714
|
theme
|
|
7591
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7592
|
-
padding: ${({
|
|
6715
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7593
6716
|
theme
|
|
7594
|
-
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}
|
|
7595
|
-
background-color: ${({
|
|
6717
|
+
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
7596
6718
|
theme
|
|
7597
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
7598
|
-
|
|
7599
|
-
font-size: ${({
|
|
6719
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
7600
6720
|
theme
|
|
7601
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
7602
|
-
font-weight: ${({
|
|
6721
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
7603
6722
|
theme
|
|
7604
|
-
}) => theme.fontWeights.regular
|
|
7605
|
-
line-height: ${({
|
|
6723
|
+
}) => theme.fontWeights.regular, ({
|
|
7606
6724
|
theme
|
|
7607
|
-
}) => theme.lineHeights[2]
|
|
7608
|
-
color: ${({
|
|
6725
|
+
}) => theme.lineHeights[2], ({
|
|
7609
6726
|
theme
|
|
7610
|
-
}) => theme.colors['text/neutral']
|
|
7611
|
-
|
|
7612
|
-
& svg {
|
|
7613
|
-
color: ${({
|
|
6727
|
+
}) => theme.colors['text/neutral'], ({
|
|
7614
6728
|
theme
|
|
7615
|
-
}) => theme.colors['icon/accent/gray']
|
|
7616
|
-
width: ${utils.forcePixelValue(16)};
|
|
7617
|
-
height: ${utils.forcePixelValue(16)};
|
|
7618
|
-
}
|
|
7619
|
-
|
|
7620
|
-
&:hover:not(:disabled) {
|
|
7621
|
-
background-color: ${({
|
|
6729
|
+
}) => theme.colors['icon/accent/gray'], utils.forcePixelValue(16), utils.forcePixelValue(16), ({
|
|
7622
6730
|
theme
|
|
7623
|
-
}) => theme.colors['bg/neutral/subtler/hovered']
|
|
7624
|
-
}
|
|
7625
|
-
&:disabled {
|
|
7626
|
-
cursor: not-allowed;
|
|
7627
|
-
color: ${({
|
|
6731
|
+
}) => theme.colors['bg/neutral/subtler/hovered'], ({
|
|
7628
6732
|
theme
|
|
7629
|
-
}) => theme.colors['text/disabled']
|
|
7630
|
-
& > svg {
|
|
7631
|
-
color: ${({
|
|
6733
|
+
}) => theme.colors['text/disabled'], ({
|
|
7632
6734
|
theme
|
|
7633
|
-
}) => theme.colors['icon/disabled']
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
min-width: ${utils.forcePixelValue(32)};
|
|
7639
|
-
|
|
7640
|
-
border-radius: ${({
|
|
6735
|
+
}) => theme.colors['icon/disabled']);
|
|
6736
|
+
const PaginationTruncationIndicator = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
6737
|
+
displayName: "Pagination__PaginationTruncationIndicator",
|
|
6738
|
+
componentId: "sc-1fu43y9-3"
|
|
6739
|
+
})(["min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;", ""], utils.forcePixelValue(32), ({
|
|
7641
6740
|
theme
|
|
7642
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
7643
|
-
padding: ${({
|
|
6741
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
7644
6742
|
theme
|
|
7645
|
-
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}
|
|
7646
|
-
background-color: ${({
|
|
6743
|
+
}) => `${utils.forcePixelValue(theme.space[0])} ${utils.forcePixelValue(theme.space[3])}`, ({
|
|
7647
6744
|
theme
|
|
7648
|
-
}) => theme.colors['bg/neutral/subtler']
|
|
7649
|
-
|
|
7650
|
-
font-size: ${({
|
|
6745
|
+
}) => theme.colors['bg/neutral/subtler'], ({
|
|
7651
6746
|
theme
|
|
7652
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
7653
|
-
font-weight: ${({
|
|
6747
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
7654
6748
|
theme
|
|
7655
|
-
}) => theme.fontWeights.regular
|
|
7656
|
-
line-height: ${({
|
|
6749
|
+
}) => theme.fontWeights.regular, ({
|
|
7657
6750
|
theme
|
|
7658
|
-
}) => theme.lineHeights[2]
|
|
7659
|
-
color: ${({
|
|
6751
|
+
}) => theme.lineHeights[2], ({
|
|
7660
6752
|
theme
|
|
7661
|
-
}) => theme.colors['text/neutral']
|
|
7662
|
-
|
|
7663
|
-
pointer-events: none;
|
|
7664
|
-
|
|
7665
|
-
${sx}
|
|
7666
|
-
`;
|
|
6753
|
+
}) => theme.colors['text/neutral'], sx);
|
|
7667
6754
|
var index$4 = Object.assign(Pagination, {
|
|
7668
6755
|
Page: PaginationPage,
|
|
7669
6756
|
PageDirection: PaginationPageDirection,
|
|
@@ -7734,52 +6821,22 @@ const Pill = ({
|
|
|
7734
6821
|
}) : null]
|
|
7735
6822
|
});
|
|
7736
6823
|
};
|
|
7737
|
-
const BasePill = styled__default.default(UnstyledButton)
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
6824
|
+
const BasePill = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
6825
|
+
displayName: "Pill__BasePill",
|
|
6826
|
+
componentId: "sc-15cvlep-0"
|
|
6827
|
+
})(["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:", ";}", " ", " ", ""], ({
|
|
7741
6828
|
theme
|
|
7742
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
7743
|
-
|
|
7744
|
-
transition: background-color 100ms;
|
|
7745
|
-
|
|
7746
|
-
& span {
|
|
7747
|
-
max-width: 240px;
|
|
7748
|
-
overflow: hidden;
|
|
7749
|
-
text-overflow: ellipsis;
|
|
7750
|
-
white-space: pre;
|
|
7751
|
-
word-break: break-all;
|
|
7752
|
-
}
|
|
7753
|
-
|
|
7754
|
-
&:focus-visible {
|
|
7755
|
-
outline-color: ${({
|
|
6829
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
7756
6830
|
theme
|
|
7757
|
-
}) => theme.colors['border/focused']
|
|
7758
|
-
outline-style: solid;
|
|
7759
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
7760
|
-
outline-offset: ${({
|
|
6831
|
+
}) => theme.colors['border/focused'], utils.forcePixelValue(2), ({
|
|
7761
6832
|
theme
|
|
7762
|
-
}) => utils.forcePixelValue(theme.space[0.5])
|
|
7763
|
-
}
|
|
7764
|
-
|
|
7765
|
-
& > div {
|
|
7766
|
-
display: flex;
|
|
7767
|
-
border-radius: ${({
|
|
6833
|
+
}) => utils.forcePixelValue(theme.space[0.5]), ({
|
|
7768
6834
|
theme
|
|
7769
|
-
}) => utils.forcePixelValue(theme.radii.xxs)
|
|
7770
|
-
}
|
|
7771
|
-
& > div:focus-visible {
|
|
7772
|
-
outline-color: ${({
|
|
6835
|
+
}) => utils.forcePixelValue(theme.radii.xxs), ({
|
|
7773
6836
|
theme
|
|
7774
|
-
}) => theme.colors['border/focused']
|
|
7775
|
-
outline-style: solid;
|
|
7776
|
-
outline-width: ${utils.forcePixelValue(2)};
|
|
7777
|
-
outline-offset: ${({
|
|
6837
|
+
}) => theme.colors['border/focused'], utils.forcePixelValue(2), ({
|
|
7778
6838
|
theme
|
|
7779
|
-
}) => utils.forcePixelValue(theme.space[-0.5])
|
|
7780
|
-
}
|
|
7781
|
-
|
|
7782
|
-
${({
|
|
6839
|
+
}) => utils.forcePixelValue(theme.space[-0.5]), ({
|
|
7783
6840
|
theme,
|
|
7784
6841
|
hasRemoveButton
|
|
7785
6842
|
}) => variant({
|
|
@@ -7820,8 +6877,7 @@ const BasePill = styled__default.default(UnstyledButton)`
|
|
|
7820
6877
|
}
|
|
7821
6878
|
}
|
|
7822
6879
|
}
|
|
7823
|
-
})
|
|
7824
|
-
${({
|
|
6880
|
+
}), ({
|
|
7825
6881
|
theme,
|
|
7826
6882
|
disabled
|
|
7827
6883
|
}) => variant({
|
|
@@ -7875,10 +6931,7 @@ const BasePill = styled__default.default(UnstyledButton)`
|
|
|
7875
6931
|
})
|
|
7876
6932
|
}
|
|
7877
6933
|
}
|
|
7878
|
-
})
|
|
7879
|
-
|
|
7880
|
-
${sx}
|
|
7881
|
-
`;
|
|
6934
|
+
}), sx);
|
|
7882
6935
|
var index$3 = /*#__PURE__*/React.forwardRef(Pill);
|
|
7883
6936
|
|
|
7884
6937
|
const Stack = /*#__PURE__*/React.forwardRef(({
|
|
@@ -7897,7 +6950,10 @@ const Stack = /*#__PURE__*/React.forwardRef(({
|
|
|
7897
6950
|
...props,
|
|
7898
6951
|
children: children
|
|
7899
6952
|
}));
|
|
7900
|
-
const BaseStack = styled__default.default(View)({
|
|
6953
|
+
const BaseStack = /*#__PURE__*/styled__default.default(View).withConfig({
|
|
6954
|
+
displayName: "Stack__BaseStack",
|
|
6955
|
+
componentId: "sc-1lqh56h-0"
|
|
6956
|
+
})({
|
|
7901
6957
|
display: 'flex',
|
|
7902
6958
|
flexDirection: 'row',
|
|
7903
6959
|
flexWrap: 'wrap'
|
|
@@ -7991,7 +7047,10 @@ const TabItem = ({
|
|
|
7991
7047
|
})
|
|
7992
7048
|
});
|
|
7993
7049
|
};
|
|
7994
|
-
const BaseTabItem = styled__default.default(UnstyledButton)(
|
|
7050
|
+
const BaseTabItem = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
|
|
7051
|
+
displayName: "TabItem__BaseTabItem",
|
|
7052
|
+
componentId: "sc-1bu7a1f-0"
|
|
7053
|
+
})(({
|
|
7995
7054
|
theme
|
|
7996
7055
|
}) => ({
|
|
7997
7056
|
'width': 'initial',
|
|
@@ -8342,7 +7401,10 @@ const Toast = ({
|
|
|
8342
7401
|
children: [/*#__PURE__*/jsxRuntime.jsx(IconByVariant, {}), children]
|
|
8343
7402
|
});
|
|
8344
7403
|
};
|
|
8345
|
-
const BaseToast = styled__default.default.div(
|
|
7404
|
+
const BaseToast = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
7405
|
+
displayName: "Toast__BaseToast",
|
|
7406
|
+
componentId: "sc-1n1weew-0"
|
|
7407
|
+
})(({
|
|
8346
7408
|
theme
|
|
8347
7409
|
}) => ({
|
|
8348
7410
|
'display': 'flex',
|
|
@@ -8481,89 +7543,36 @@ const UploadInput = ({
|
|
|
8481
7543
|
})]
|
|
8482
7544
|
});
|
|
8483
7545
|
};
|
|
8484
|
-
const UploadInputWrapper = styled__default.default.div
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
flex-direction: column;
|
|
8489
|
-
align-items: center;
|
|
8490
|
-
justify-content: center;
|
|
8491
|
-
row-gap: ${({
|
|
7546
|
+
const UploadInputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
7547
|
+
displayName: "UploadInput__UploadInputWrapper",
|
|
7548
|
+
componentId: "sc-1q0agb1-0"
|
|
7549
|
+
})(["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;"], ({
|
|
8492
7550
|
theme
|
|
8493
|
-
}) => utils.forcePixelValue(theme.space[2])
|
|
8494
|
-
padding: ${({
|
|
7551
|
+
}) => utils.forcePixelValue(theme.space[2]), ({
|
|
8495
7552
|
theme
|
|
8496
|
-
}) => utils.forcePixelValue(theme.space[4])
|
|
8497
|
-
|
|
8498
|
-
& > svg {
|
|
8499
|
-
width: 16px;
|
|
8500
|
-
height: 16px;
|
|
8501
|
-
color: ${({
|
|
7553
|
+
}) => utils.forcePixelValue(theme.space[4]), ({
|
|
8502
7554
|
theme
|
|
8503
|
-
}) => theme.colors['icon/neutral/bold']
|
|
8504
|
-
}
|
|
8505
|
-
|
|
8506
|
-
& > span {
|
|
8507
|
-
font-size: ${({
|
|
7555
|
+
}) => theme.colors['icon/neutral/bold'], ({
|
|
8508
7556
|
theme
|
|
8509
|
-
}) => utils.forcePixelValue(theme.fontSizes.xs)
|
|
8510
|
-
font-weight: ${({
|
|
7557
|
+
}) => utils.forcePixelValue(theme.fontSizes.xs), ({
|
|
8511
7558
|
theme
|
|
8512
|
-
}) => theme.fontWeights.medium
|
|
8513
|
-
line-height: ${({
|
|
7559
|
+
}) => theme.fontWeights.medium, ({
|
|
8514
7560
|
theme
|
|
8515
|
-
}) => theme.lineHeights[2]
|
|
8516
|
-
color: ${({
|
|
7561
|
+
}) => theme.lineHeights[2], ({
|
|
8517
7562
|
theme
|
|
8518
|
-
}) => theme.colors['text/neutral/subtlest']
|
|
8519
|
-
}
|
|
8520
|
-
|
|
8521
|
-
border-width: ${utils.forcePixelValue(1)};
|
|
8522
|
-
border-style: dashed;
|
|
8523
|
-
border-color: ${({
|
|
7563
|
+
}) => theme.colors['text/neutral/subtlest'], utils.forcePixelValue(1), ({
|
|
8524
7564
|
theme
|
|
8525
|
-
}) => theme.colors['border/neutral/bolder']
|
|
8526
|
-
border-radius: ${({
|
|
7565
|
+
}) => theme.colors['border/neutral/bolder'], ({
|
|
8527
7566
|
theme
|
|
8528
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
8529
|
-
background-color: ${({
|
|
7567
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
8530
7568
|
theme
|
|
8531
|
-
}) => theme.colors['bg/neutral/subtlest']
|
|
8532
|
-
|
|
8533
|
-
&.upload-input__wrapper__active {
|
|
8534
|
-
background-color: ${({
|
|
7569
|
+
}) => theme.colors['bg/neutral/subtlest'], ({
|
|
8535
7570
|
theme
|
|
8536
|
-
}) => theme.colors['bg/selected/subtle']
|
|
8537
|
-
}
|
|
8538
|
-
|
|
8539
|
-
position: relative;
|
|
8540
|
-
&:after {
|
|
8541
|
-
content: '';
|
|
8542
|
-
position: absolute;
|
|
8543
|
-
top: ${utils.forcePixelValue(-1)};
|
|
8544
|
-
right: ${utils.forcePixelValue(-1)};
|
|
8545
|
-
bottom: ${utils.forcePixelValue(-1)};
|
|
8546
|
-
left: ${utils.forcePixelValue(-1)};
|
|
8547
|
-
|
|
8548
|
-
border: ${utils.forcePixelValue(2)} solid transparent;
|
|
8549
|
-
border-radius: ${({
|
|
7571
|
+
}) => theme.colors['bg/selected/subtle'], utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(-1), utils.forcePixelValue(2), ({
|
|
8550
7572
|
theme
|
|
8551
|
-
}) => utils.forcePixelValue(theme.radii.xs)
|
|
8552
|
-
pointer-events: none;
|
|
8553
|
-
}
|
|
8554
|
-
&:focus-within {
|
|
8555
|
-
&:after {
|
|
8556
|
-
border-color: ${({
|
|
7573
|
+
}) => utils.forcePixelValue(theme.radii.xs), ({
|
|
8557
7574
|
theme
|
|
8558
|
-
}) => theme.colors['border/focused']
|
|
8559
|
-
}
|
|
8560
|
-
}
|
|
8561
|
-
|
|
8562
|
-
& > button:focus-visible {
|
|
8563
|
-
outline: none;
|
|
8564
|
-
}
|
|
8565
|
-
|
|
8566
|
-
${({
|
|
7575
|
+
}) => theme.colors['border/focused'], ({
|
|
8567
7576
|
theme,
|
|
8568
7577
|
disabled
|
|
8569
7578
|
}) => disabled ? {
|
|
@@ -8575,26 +7584,11 @@ const UploadInputWrapper = styled__default.default.div`
|
|
|
8575
7584
|
'& > span': {
|
|
8576
7585
|
color: theme.colors['text/disabled']
|
|
8577
7586
|
}
|
|
8578
|
-
} : {}
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
font-size: inherit;
|
|
8584
|
-
font-weight: inherit;
|
|
8585
|
-
line-height: inherit;
|
|
8586
|
-
font-family: inherit;
|
|
8587
|
-
border-radius: inherit;
|
|
8588
|
-
color: inherit;
|
|
8589
|
-
transition: inherit;
|
|
8590
|
-
|
|
8591
|
-
border: 0;
|
|
8592
|
-
background-color: transparent;
|
|
8593
|
-
width: 100%;
|
|
8594
|
-
&:focus {
|
|
8595
|
-
outline: 0;
|
|
8596
|
-
}
|
|
8597
|
-
`;
|
|
7587
|
+
} : {});
|
|
7588
|
+
const UnstyledInput = /*#__PURE__*/styled__default.default.input.withConfig({
|
|
7589
|
+
displayName: "UploadInput__UnstyledInput",
|
|
7590
|
+
componentId: "sc-1q0agb1-1"
|
|
7591
|
+
})(["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;}"]);
|
|
8598
7592
|
var index$1 = /*#__PURE__*/React.forwardRef(UploadInput);
|
|
8599
7593
|
|
|
8600
7594
|
const useMediaQuery = query => {
|