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