@teamturing/react-kit 2.60.2 → 2.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/core/GradientText/index.d.ts +22 -11
  2. package/dist/core/Pagination/index.d.ts +286 -12
  3. package/dist/core/Text/index.d.ts +282 -2
  4. package/dist/core/_UnstyledButton.d.ts +280 -1
  5. package/dist/index.js +674 -1680
  6. package/esm/core/ActionList/ActionListItem.js +31 -111
  7. package/esm/core/ActionList/ActionListSectionHeader.js +9 -17
  8. package/esm/core/ActionList/index.js +4 -7
  9. package/esm/core/Avatar/index.js +6 -10
  10. package/esm/core/AvatarGroup/AvatarGroupItem.js +4 -6
  11. package/esm/core/AvatarGroup/index.js +13 -34
  12. package/esm/core/BadgeAttacher/index.js +4 -6
  13. package/esm/core/Breadcrumbs/BreadcrumbsItem.js +10 -27
  14. package/esm/core/Breadcrumbs/index.js +15 -34
  15. package/esm/core/Button/index.js +8 -2
  16. package/esm/core/Card/index.js +6 -11
  17. package/esm/core/Checkbox/index.js +26 -122
  18. package/esm/core/CheckboxOrRadioGroupFormControl/CheckboxOrRadioGroupFormControlErrorMessage.js +4 -3
  19. package/esm/core/CheckboxOrRadioGroupFormControl/CheckboxOrRadioGroupFormControlLabel.js +15 -30
  20. package/esm/core/CheckboxOrRadioGroupFormControl/CheckboxOrRadioGroupFormControlSuccessMessage.js +4 -3
  21. package/esm/core/Chip/index.js +4 -1
  22. package/esm/core/ClickArea/index.js +5 -6
  23. package/esm/core/CounterBadge/index.js +7 -14
  24. package/esm/core/Datagrid/DatagridBody.js +5 -19
  25. package/esm/core/Datagrid/DatagridHeader.js +6 -15
  26. package/esm/core/Datagrid/DatagridSubheader.js +7 -13
  27. package/esm/core/Datagrid/index.js +10 -18
  28. package/esm/core/Dialog/_UnstyledDialogBody.js +5 -9
  29. package/esm/core/Dialog/_UnstyledDialogFooter.js +5 -8
  30. package/esm/core/Dialog/_UnstyledDialogHeader.js +5 -8
  31. package/esm/core/Dialog/index.js +9 -15
  32. package/esm/core/Drawer/_UnstyledDrawerBody.js +5 -9
  33. package/esm/core/Drawer/_UnstyledDrawerFooter.js +5 -8
  34. package/esm/core/Drawer/_UnstyledDrawerHeader.js +5 -8
  35. package/esm/core/Drawer/index.js +9 -16
  36. package/esm/core/EmptyState/index.js +12 -31
  37. package/esm/core/FileItem/index.js +4 -1
  38. package/esm/core/Flash/index.js +14 -59
  39. package/esm/core/FormControl/FormControlErrorMessage.js +4 -3
  40. package/esm/core/FormControl/FormControlLabel.js +15 -30
  41. package/esm/core/FormControl/FormControlSuccessMessage.js +4 -3
  42. package/esm/core/GradientText/index.js +6 -4
  43. package/esm/core/Grid/index.js +4 -1
  44. package/esm/core/HorizontalDivider/index.js +4 -11
  45. package/esm/core/IconButton/index.js +4 -1
  46. package/esm/core/IconToggleButton/index.js +4 -1
  47. package/esm/core/Image/index.js +4 -4
  48. package/esm/core/Overlay/index.js +8 -18
  49. package/esm/core/Pagination/index.js +45 -109
  50. package/esm/core/Pill/index.js +12 -46
  51. package/esm/core/Radio/index.js +21 -90
  52. package/esm/core/SearchSelectInput/index.js +26 -88
  53. package/esm/core/Select/SelectOption.js +4 -1
  54. package/esm/core/Select/index.js +30 -96
  55. package/esm/core/Space/index.js +4 -5
  56. package/esm/core/Spinner/index.js +10 -10
  57. package/esm/core/Stack/index.js +4 -1
  58. package/esm/core/Switch/index.js +17 -65
  59. package/esm/core/Tab/TabItem.js +4 -1
  60. package/esm/core/Text/index.js +6 -4
  61. package/esm/core/TextInput/TextInputTrailingAction.js +10 -31
  62. package/esm/core/TextInput/index.js +40 -107
  63. package/esm/core/Textarea/index.js +40 -109
  64. package/esm/core/Toast/index.js +4 -1
  65. package/esm/core/Tooltip/BaseTooltip.js +12 -41
  66. package/esm/core/UploadInput/index.js +22 -90
  67. package/esm/core/View/index.js +4 -4
  68. package/esm/core/_UnstyledButton.js +6 -12
  69. package/esm/core/_UnstyledTable/UnstyledTableBody.js +4 -3
  70. package/esm/core/_UnstyledTable/UnstyledTableCell.js +4 -3
  71. package/esm/core/_UnstyledTable/UnstyledTableHead.js +4 -3
  72. package/esm/core/_UnstyledTable/UnstyledTableRow.js +4 -3
  73. package/esm/core/_UnstyledTable/index.js +4 -5
  74. package/package.json +3 -2
@@ -158,23 +158,16 @@ const Drawer = ({
158
158
  }) : null
159
159
  });
160
160
  };
161
- const Blanket = styled.span`
162
- &:before {
163
- position: fixed;
164
- z-index: 9999;
165
- top: 0;
166
- right: 0;
167
- bottom: 0;
168
- left: 0;
169
- display: block;
170
- cursor: default;
171
- content: '';
172
- background: ${({
161
+ const Blanket = /*#__PURE__*/styled.span.withConfig({
162
+ displayName: "Drawer__Blanket",
163
+ componentId: "sc-k4n499-0"
164
+ })(["&:before{position:fixed;z-index:9999;top:0;right:0;bottom:0;left:0;display:block;cursor:default;content:'';background:", ";}"], ({
173
165
  theme
174
- }) => theme.colors.dim};
175
- }
176
- `;
177
- const BaseDrawer = styled.div(({
166
+ }) => theme.colors.dim);
167
+ const BaseDrawer = /*#__PURE__*/styled.div.withConfig({
168
+ displayName: "Drawer__BaseDrawer",
169
+ componentId: "sc-k4n499-1"
170
+ })(({
178
171
  theme
179
172
  }) => ({
180
173
  display: 'flex',
@@ -37,40 +37,24 @@ const EmptyState = ({
37
37
  }) : null]
38
38
  });
39
39
  };
40
- const BaseEmptyState = styled.div`
41
- display: flex;
42
- flex-direction: column;
43
- align-items: center;
44
-
45
- & > svg {
46
- color: ${({
40
+ const BaseEmptyState = /*#__PURE__*/styled.div.withConfig({
41
+ displayName: "EmptyState__BaseEmptyState",
42
+ componentId: "sc-vj7hxz-0"
43
+ })(["display:flex;flex-direction:column;align-items:center;& > svg{color:", ";}& > p{color:", ";font-weight:", ";line-height:", ";}& > span{color:", ";font-weight:", ";line-height:", ";}", " ", ""], ({
47
44
  theme
48
- }) => theme.colors['icon/neutral']};
49
- }
50
- & > p {
51
- color: ${({
45
+ }) => theme.colors['icon/neutral'], ({
52
46
  theme
53
- }) => theme.colors['text/neutral']};
54
- font-weight: ${({
47
+ }) => theme.colors['text/neutral'], ({
55
48
  theme
56
- }) => theme.fontWeights.bold};
57
- line-height: ${({
49
+ }) => theme.fontWeights.bold, ({
58
50
  theme
59
- }) => theme.lineHeights[2]};
60
- }
61
- & > span {
62
- color: ${({
51
+ }) => theme.lineHeights[2], ({
63
52
  theme
64
- }) => theme.colors['text/neutral/subtler']};
65
- font-weight: ${({
53
+ }) => theme.colors['text/neutral/subtler'], ({
66
54
  theme
67
- }) => theme.fontWeights.medium};
68
- line-height: ${({
55
+ }) => theme.fontWeights.medium, ({
69
56
  theme
70
- }) => theme.lineHeights[2]};
71
- }
72
-
73
- ${variant({
57
+ }) => theme.lineHeights[2], variant({
74
58
  prop: 'size',
75
59
  variants: {
76
60
  m: {
@@ -108,9 +92,6 @@ const BaseEmptyState = styled.div`
108
92
  }
109
93
  }
110
94
  }
111
- })}
112
-
113
- ${sx}
114
- `;
95
+ }), sx);
115
96
 
116
97
  export { EmptyState as default };
@@ -77,7 +77,10 @@ const FileItem = ({
77
77
  }) : null
78
78
  });
79
79
  };
80
- const BaseFile = styled.div({
80
+ const BaseFile = /*#__PURE__*/styled.div.withConfig({
81
+ displayName: "FileItem__BaseFile",
82
+ componentId: "sc-1hkmytj-0"
83
+ })({
81
84
  position: 'relative'
82
85
  }, ({
83
86
  theme,
@@ -38,70 +38,28 @@ const Flash = ({
38
38
  }) : null]
39
39
  });
40
40
  };
41
- const BaseFlash = styled.div`
42
- box-sizing: border-box;
43
-
44
- display: flex;
45
- flex-direction: row;
46
- align-items: flex-start;
47
- padding: ${({
41
+ const BaseFlash = /*#__PURE__*/styled.div.withConfig({
42
+ displayName: "Flash__BaseFlash",
43
+ componentId: "sc-sffzzy-0"
44
+ })(["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:", ";}}", " ", ""], ({
48
45
  theme
49
- }) => forcePixelValue(theme.space[3])};
50
- border-radius: ${({
46
+ }) => forcePixelValue(theme.space[3]), ({
51
47
  theme
52
- }) => forcePixelValue(theme.radii.xs)};
53
- column-gap: ${({
48
+ }) => forcePixelValue(theme.radii.xs), ({
54
49
  theme
55
- }) => forcePixelValue(theme.space[2])};
56
-
57
- & .flash__content {
58
- flex: 1;
59
- display: flex;
60
- flex-direction: column;
61
- }
62
-
63
- & .flash__content__children {
64
- font-size: ${({
50
+ }) => forcePixelValue(theme.space[2]), ({
65
51
  theme
66
- }) => forcePixelValue(theme.fontSizes.xxs)};
67
- font-weight: ${({
52
+ }) => forcePixelValue(theme.fontSizes.xxs), ({
68
53
  theme
69
- }) => theme.fontWeights.medium};
70
- line-height: ${({
54
+ }) => theme.fontWeights.medium, ({
71
55
  theme
72
- }) => theme.lineHeights[2]};
73
- color: ${({
56
+ }) => theme.lineHeights[2], ({
74
57
  theme
75
- }) => theme.colors['text/neutral']};
76
- word-break: keep-all;
77
- white-space: pre-wrap;
78
- }
79
-
80
- & .flash__content__buttons {
81
- margin-top: ${({
58
+ }) => theme.colors['text/neutral'], ({
82
59
  theme
83
- }) => forcePixelValue(theme.space[2])};
84
- }
85
-
86
- & .flash__leading_icon {
87
- min-width: ${forcePixelValue(16)};
88
- height: ${forcePixelValue(16)};
89
- }
90
-
91
- & .flash__trailing_visual {
92
- display: flex;
93
- flex-direction: column;
94
-
95
- svg {
96
- width: ${forcePixelValue(16)};
97
- height: ${forcePixelValue(16)};
98
- color: ${({
60
+ }) => forcePixelValue(theme.space[2]), forcePixelValue(16), forcePixelValue(16), forcePixelValue(16), forcePixelValue(16), ({
99
61
  theme
100
- }) => theme.colors['icon/neutral/bold']};
101
- }
102
- }
103
-
104
- ${({
62
+ }) => theme.colors['icon/neutral/bold'], ({
105
63
  theme
106
64
  }) => variant({
107
65
  prop: 'variant',
@@ -134,10 +92,7 @@ const BaseFlash = styled.div`
134
92
  }
135
93
  }
136
94
  }
137
- })}
138
-
139
- ${sx}
140
- `;
95
+ }), sx);
141
96
  var index = /*#__PURE__*/forwardRef(Flash);
142
97
 
143
98
  export { index as default };
@@ -27,8 +27,9 @@ const errorMessageKeyframe = keyframes`
27
27
  transform: translateY(0);
28
28
  }
29
29
  `;
30
- const StyledText = styled(Text)`
31
- animation: 170ms ${errorMessageKeyframe} cubic-bezier(0.44, 0.74, 0.36, 1);
32
- `;
30
+ const StyledText = /*#__PURE__*/styled(Text).withConfig({
31
+ displayName: "FormControlErrorMessage__StyledText",
32
+ componentId: "sc-lezmih-0"
33
+ })(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], errorMessageKeyframe);
33
34
 
34
35
  export { FormControlErrorMessage as default };
@@ -36,8 +36,10 @@ const FormControlLabel = ({
36
36
  })
37
37
  });
38
38
  };
39
- const VisuallyHidden = styled.span`
40
- ${({
39
+ const VisuallyHidden = /*#__PURE__*/styled.span.withConfig({
40
+ displayName: "FormControlLabel__VisuallyHidden",
41
+ componentId: "sc-159foe-0"
42
+ })(["", ""], ({
41
43
  isVisible = false
42
44
  }) => {
43
45
  if (isVisible) {
@@ -54,39 +56,22 @@ const VisuallyHidden = styled.span`
54
56
  white-space: nowrap;
55
57
  border-width: 0;
56
58
  `;
57
- }}
58
- `;
59
- const LabelWrapper = styled(View)`
60
- display: inline-block;
61
- align-self: flex-start;
62
-
63
- font-size: ${({
59
+ });
60
+ const LabelWrapper = /*#__PURE__*/styled(View).withConfig({
61
+ displayName: "FormControlLabel__LabelWrapper",
62
+ componentId: "sc-159foe-1"
63
+ })(["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:", ";}", ";"], ({
64
64
  theme
65
- }) => forcePixelValue(theme.fontSizes.xs)};
66
- font-weight: ${({
65
+ }) => forcePixelValue(theme.fontSizes.xs), ({
67
66
  theme
68
- }) => theme.fontWeights.medium};
69
- line-height: ${({
67
+ }) => theme.fontWeights.medium, ({
70
68
  theme
71
- }) => theme.lineHeights[2]};
72
-
73
- color: ${({
69
+ }) => theme.lineHeights[2], ({
74
70
  theme
75
- }) => theme.colors['text/neutral/subtle']};
76
-
77
- cursor: ${({
71
+ }) => theme.colors['text/neutral/subtle'], ({
78
72
  disabled
79
- }) => disabled ? 'not-allowed' : 'pointer'};
80
-
81
- span.form_control_label__required__false {
82
- font-size: inherit;
83
- font-weight: inherit;
84
- color: ${({
73
+ }) => disabled ? 'not-allowed' : 'pointer', ({
85
74
  theme
86
- }) => theme.colors['text/neutral/subtlest']};
87
- }
88
-
89
- ${sx};
90
- `;
75
+ }) => theme.colors['text/neutral/subtlest'], sx);
91
76
 
92
77
  export { FormControlLabel as default };
@@ -27,8 +27,9 @@ const successMessageKeyframe = keyframes`
27
27
  transform: translateY(0);
28
28
  }
29
29
  `;
30
- const StyledText = styled(Text)`
31
- animation: 170ms ${successMessageKeyframe} cubic-bezier(0.44, 0.74, 0.36, 1);
32
- `;
30
+ const StyledText = /*#__PURE__*/styled(Text).withConfig({
31
+ displayName: "FormControlSuccessMessage__StyledText",
32
+ componentId: "sc-5lduye-0"
33
+ })(["animation:170ms ", " cubic-bezier(0.44,0.74,0.36,1);"], successMessageKeyframe);
33
34
 
34
35
  export { FormControlSuccessMessage as default };
@@ -3,7 +3,12 @@ import '../../node_modules/styled-system/dist/index.esm.js';
3
3
  import Text from '../Text/index.js';
4
4
  import { variant } from '../../node_modules/@styled-system/variant/dist/index.esm.js';
5
5
 
6
- const GradientText = styled(Text)(({
6
+ const GradientText = /*#__PURE__*/styled(Text).attrs(props => ({
7
+ variant: props.variant ?? 'violet'
8
+ })).withConfig({
9
+ displayName: "GradientText",
10
+ componentId: "sc-1jku3z1-0"
11
+ })(({
7
12
  theme
8
13
  }) => variant({
9
14
  prop: 'variant',
@@ -20,8 +25,5 @@ const GradientText = styled(Text)(({
20
25
  WebkitBackgroundClip: 'text',
21
26
  WebkitTextFillColor: 'transparent'
22
27
  });
23
- GradientText.defaultProps = {
24
- variant: 'violet'
25
- };
26
28
 
27
29
  export { GradientText as default };
@@ -25,7 +25,10 @@ const Grid = /*#__PURE__*/forwardRef(({
25
25
  children: children
26
26
  });
27
27
  });
28
- const BaseGrid = styled(View)({
28
+ const BaseGrid = /*#__PURE__*/styled(View).withConfig({
29
+ displayName: "Grid__BaseGrid",
30
+ componentId: "sc-4l957f-0"
31
+ })({
29
32
  display: 'flex',
30
33
  flexDirection: 'row'
31
34
  }, ({
@@ -17,16 +17,9 @@ const HorizontalDivider = ({
17
17
  borderBottomColor: color,
18
18
  ...props
19
19
  });
20
- const BaseHorizontalDivider = styled.hr`
21
- display: block;
22
- margin: 0;
23
- padding: 0;
24
- border: none;
25
-
26
- width: 100%;
27
-
28
- ${border}
29
- ${sx}
30
- `;
20
+ const BaseHorizontalDivider = /*#__PURE__*/styled.hr.withConfig({
21
+ displayName: "HorizontalDivider__BaseHorizontalDivider",
22
+ componentId: "sc-1nsxooh-0"
23
+ })(["display:block;margin:0;padding:0;border:none;width:100%;", " ", ""], border, sx);
31
24
 
32
25
  export { HorizontalDivider as default };
@@ -28,7 +28,10 @@ const IconButton = /*#__PURE__*/forwardRef(({
28
28
  })
29
29
  });
30
30
  });
31
- const BaseIconButton = styled(UnstyledButton)(({
31
+ const BaseIconButton = /*#__PURE__*/styled(UnstyledButton).withConfig({
32
+ displayName: "IconButton__BaseIconButton",
33
+ componentId: "sc-13ybfes-0"
34
+ })(({
32
35
  $loading,
33
36
  $disabled,
34
37
  theme
@@ -29,7 +29,10 @@ const IconToggleButton = ({
29
29
  ...props,
30
30
  children: /*#__PURE__*/jsx(Icon, {})
31
31
  });
32
- const BaseIconToggleButton = styled(UnstyledButton)(({
32
+ const BaseIconToggleButton = /*#__PURE__*/styled(UnstyledButton).withConfig({
33
+ displayName: "IconToggleButton__BaseIconToggleButton",
34
+ componentId: "sc-1y68w0-0"
35
+ })(({
33
36
  $disabled,
34
37
  theme
35
38
  }) => ({
@@ -3,9 +3,9 @@ import '../../node_modules/styled-system/dist/index.esm.js';
3
3
  import { sx } from '../../utils/styled-system/index.js';
4
4
  import { layout } from '../../node_modules/@styled-system/layout/dist/index.esm.js';
5
5
 
6
- const Image = styled.img`
7
- ${layout}
8
- ${sx}
9
- `;
6
+ const Image = /*#__PURE__*/styled.img.withConfig({
7
+ displayName: "Image",
8
+ componentId: "sc-1qz2ku6-0"
9
+ })(["", " ", ""], layout, sx);
10
10
 
11
11
  export { Image as default };
@@ -78,22 +78,16 @@ const Overlay = ({
78
78
  children: children
79
79
  }) : null;
80
80
  };
81
- const BaseOverlay = styled.div`
82
- position: absolute;
83
- box-shadow: ${({
81
+ const BaseOverlay = /*#__PURE__*/styled.div.withConfig({
82
+ displayName: "Overlay__BaseOverlay",
83
+ componentId: "sc-1k2jlh8-0"
84
+ })(["position:absolute;box-shadow:", ";background-color:", ";border-radius:", ";overflow:hidden;margin:auto;z-index:99999;", " ", " ", ""], ({
84
85
  theme
85
- }) => theme.shadows['shadow/overlay']};
86
- background-color: ${({
86
+ }) => theme.shadows['shadow/overlay'], ({
87
87
  theme
88
- }) => theme.colors['surface/overlay']};
89
- border-radius: ${({
88
+ }) => theme.colors['surface/overlay'], ({
90
89
  theme
91
- }) => forcePixelValue(theme.radii.s)};
92
- overflow: hidden;
93
- margin: auto;
94
- z-index: 99999;
95
-
96
- ${variant({
90
+ }) => forcePixelValue(theme.radii.s), variant({
97
91
  prop: 'size',
98
92
  variants: {
99
93
  s: {
@@ -109,11 +103,7 @@ const BaseOverlay = styled.div`
109
103
  width: 'auto'
110
104
  }
111
105
  }
112
- })}
113
-
114
- ${maxHeight}
115
- ${sx}
116
- `;
106
+ }), maxHeight, sx);
117
107
  var Overlay$1 = /*#__PURE__*/forwardRef(Overlay);
118
108
 
119
109
  export { Overlay$1 as default };
@@ -106,16 +106,12 @@ const Pagination = ({
106
106
  })]
107
107
  });
108
108
  };
109
- const BasePagination = styled.nav`
110
- display: flex;
111
- align-items: center;
112
- justify-content: center;
113
- flex-wrap: nowrap;
114
- column-gap: ${({
109
+ const BasePagination = /*#__PURE__*/styled.nav.withConfig({
110
+ displayName: "Pagination__BasePagination",
111
+ componentId: "sc-1fu43y9-0"
112
+ })(["display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;column-gap:", ";", " ", ""], ({
115
113
  theme
116
- }) => forcePixelValue(theme.space[1])};
117
-
118
- ${variant({
114
+ }) => forcePixelValue(theme.space[1]), variant({
119
115
  prop: 'type',
120
116
  variants: {
121
117
  default: {
@@ -129,39 +125,25 @@ const BasePagination = styled.nav`
129
125
  }
130
126
  }
131
127
  }
132
- })}
133
- ${sx}
134
- `;
135
- const PaginationPage = styled(UnstyledButton)`
136
- transition: background-color 100ms;
137
-
138
- height: ${forcePixelValue(32)};
139
- min-width: ${forcePixelValue(32)};
140
-
141
- border-radius: ${({
128
+ }), sx);
129
+ const PaginationPage = /*#__PURE__*/styled(UnstyledButton).withConfig({
130
+ displayName: "Pagination__PaginationPage",
131
+ componentId: "sc-1fu43y9-1"
132
+ })(["transition:background-color 100ms;height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";", ""], forcePixelValue(32), forcePixelValue(32), ({
142
133
  theme
143
- }) => forcePixelValue(theme.radii.xs)};
144
- padding: ${({
134
+ }) => forcePixelValue(theme.radii.xs), ({
145
135
  theme
146
- }) => `${forcePixelValue(theme.space[0])} ${forcePixelValue(theme.space[3])}`};
147
- background-color: ${({
136
+ }) => `${forcePixelValue(theme.space[0])} ${forcePixelValue(theme.space[3])}`, ({
148
137
  theme
149
- }) => theme.colors['bg/neutral/subtler']};
150
-
151
- font-size: ${({
138
+ }) => theme.colors['bg/neutral/subtler'], ({
152
139
  theme
153
- }) => forcePixelValue(theme.fontSizes.xs)};
154
- font-weight: ${({
140
+ }) => forcePixelValue(theme.fontSizes.xs), ({
155
141
  theme
156
- }) => theme.fontWeights.regular};
157
- line-height: ${({
142
+ }) => theme.fontWeights.regular, ({
158
143
  theme
159
- }) => theme.lineHeights[2]};
160
- color: ${({
144
+ }) => theme.lineHeights[2], ({
161
145
  theme
162
- }) => theme.colors['text/neutral']};
163
-
164
- ${({
146
+ }) => theme.colors['text/neutral'], ({
165
147
  selected
166
148
  }) => selected ? css`
167
149
  background-color: ${({
@@ -176,99 +158,53 @@ const PaginationPage = styled(UnstyledButton)`
176
158
  theme
177
159
  }) => theme.colors['bg/neutral/subtler/hovered']};
178
160
  }
179
- `}
180
- `;
181
- const PaginationPageDirection = styled(UnstyledButton)`
182
- transition: background-color 100ms;
183
-
184
- display: inline-flex;
185
- align-items: center;
186
- flex-wrap: nowrap;
187
- column-gap: ${({
161
+ `);
162
+ const PaginationPageDirection = /*#__PURE__*/styled(UnstyledButton).withConfig({
163
+ displayName: "Pagination__PaginationPageDirection",
164
+ componentId: "sc-1fu43y9-2"
165
+ })(["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:", ";}}"], ({
188
166
  theme
189
- }) => forcePixelValue(theme.space[1])};
190
-
191
- height: ${forcePixelValue(32)};
192
- min-width: ${forcePixelValue(32)};
193
-
194
- border-radius: ${({
167
+ }) => forcePixelValue(theme.space[1]), forcePixelValue(32), forcePixelValue(32), ({
195
168
  theme
196
- }) => forcePixelValue(theme.radii.xs)};
197
- padding: ${({
169
+ }) => forcePixelValue(theme.radii.xs), ({
198
170
  theme
199
- }) => `${forcePixelValue(theme.space[0])} ${forcePixelValue(theme.space[3])}`};
200
- background-color: ${({
171
+ }) => `${forcePixelValue(theme.space[0])} ${forcePixelValue(theme.space[3])}`, ({
201
172
  theme
202
- }) => theme.colors['bg/neutral/subtler']};
203
-
204
- font-size: ${({
173
+ }) => theme.colors['bg/neutral/subtler'], ({
205
174
  theme
206
- }) => forcePixelValue(theme.fontSizes.xs)};
207
- font-weight: ${({
175
+ }) => forcePixelValue(theme.fontSizes.xs), ({
208
176
  theme
209
- }) => theme.fontWeights.regular};
210
- line-height: ${({
177
+ }) => theme.fontWeights.regular, ({
211
178
  theme
212
- }) => theme.lineHeights[2]};
213
- color: ${({
179
+ }) => theme.lineHeights[2], ({
214
180
  theme
215
- }) => theme.colors['text/neutral']};
216
-
217
- & svg {
218
- color: ${({
181
+ }) => theme.colors['text/neutral'], ({
219
182
  theme
220
- }) => theme.colors['icon/accent/gray']};
221
- width: ${forcePixelValue(16)};
222
- height: ${forcePixelValue(16)};
223
- }
224
-
225
- &:hover:not(:disabled) {
226
- background-color: ${({
183
+ }) => theme.colors['icon/accent/gray'], forcePixelValue(16), forcePixelValue(16), ({
227
184
  theme
228
- }) => theme.colors['bg/neutral/subtler/hovered']};
229
- }
230
- &:disabled {
231
- cursor: not-allowed;
232
- color: ${({
185
+ }) => theme.colors['bg/neutral/subtler/hovered'], ({
233
186
  theme
234
- }) => theme.colors['text/disabled']};
235
- & > svg {
236
- color: ${({
187
+ }) => theme.colors['text/disabled'], ({
237
188
  theme
238
- }) => theme.colors['icon/disabled']};
239
- }
240
- }
241
- `;
242
- const PaginationTruncationIndicator = styled.div`
243
- min-width: ${forcePixelValue(32)};
244
-
245
- border-radius: ${({
189
+ }) => theme.colors['icon/disabled']);
190
+ const PaginationTruncationIndicator = /*#__PURE__*/styled.div.withConfig({
191
+ displayName: "Pagination__PaginationTruncationIndicator",
192
+ componentId: "sc-1fu43y9-3"
193
+ })(["min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;", ""], forcePixelValue(32), ({
246
194
  theme
247
- }) => forcePixelValue(theme.radii.xs)};
248
- padding: ${({
195
+ }) => forcePixelValue(theme.radii.xs), ({
249
196
  theme
250
- }) => `${forcePixelValue(theme.space[0])} ${forcePixelValue(theme.space[3])}`};
251
- background-color: ${({
197
+ }) => `${forcePixelValue(theme.space[0])} ${forcePixelValue(theme.space[3])}`, ({
252
198
  theme
253
- }) => theme.colors['bg/neutral/subtler']};
254
-
255
- font-size: ${({
199
+ }) => theme.colors['bg/neutral/subtler'], ({
256
200
  theme
257
- }) => forcePixelValue(theme.fontSizes.xs)};
258
- font-weight: ${({
201
+ }) => forcePixelValue(theme.fontSizes.xs), ({
259
202
  theme
260
- }) => theme.fontWeights.regular};
261
- line-height: ${({
203
+ }) => theme.fontWeights.regular, ({
262
204
  theme
263
- }) => theme.lineHeights[2]};
264
- color: ${({
205
+ }) => theme.lineHeights[2], ({
265
206
  theme
266
- }) => theme.colors['text/neutral']};
267
-
268
- pointer-events: none;
269
-
270
- ${sx}
271
- `;
207
+ }) => theme.colors['text/neutral'], sx);
272
208
  var index = Object.assign(Pagination, {
273
209
  Page: PaginationPage,
274
210
  PageDirection: PaginationPageDirection,