@procore/core-react 11.23.1 → 11.23.3

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 (210) hide show
  1. package/README.md +7 -7
  2. package/dist/Avatar/Avatar.styles.js +5 -5
  3. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  4. package/dist/Badge/Badge.styles.js +2 -2
  5. package/dist/Banner/Banner.styles.js +10 -10
  6. package/dist/Box/Box.styles.js +1 -1
  7. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  8. package/dist/Button/Button.styles.js +5 -5
  9. package/dist/Calendar/Calendar.styles.js +8 -8
  10. package/dist/Card/Card.styles.js +1 -1
  11. package/dist/Checkbox/Checkbox.styles.js +5 -5
  12. package/dist/ContactItem/ContactItem.styles.js +5 -5
  13. package/dist/Content/Content.styles.js +2 -2
  14. package/dist/DateInput/DateInput.styles.js +6 -6
  15. package/dist/DetailPage/DetailPage.styles.js +7 -7
  16. package/dist/Dropdown/Dropdown.styles.js +3 -3
  17. package/dist/DropdownFlyout/DropdownFlyout.js +1 -1
  18. package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
  19. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  20. package/dist/Dropzone/Dropzone.js +1 -1
  21. package/dist/Dropzone/Dropzone.styles.js +9 -9
  22. package/dist/EmptyState/EmptyState.styles.js +6 -6
  23. package/dist/Field/Field.styles.js +3 -3
  24. package/dist/FileList/FileList.styles.js +4 -4
  25. package/dist/FileSelect/FileExplorer/FileExplorer.js.map +1 -1
  26. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  27. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  28. package/dist/FileSelect/FileSelect.js +1 -1
  29. package/dist/FileSelect/FileSelect.js.map +1 -1
  30. package/dist/FileSelect/FileSelect.styles.js +2 -2
  31. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  32. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  33. package/dist/FileSelect/GridSource/GridSource.js +1 -1
  34. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  35. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  36. package/dist/FileSelect/LocalSource/LocalSource.js +1 -1
  37. package/dist/FileSelect/LocalSource/LocalSource.js.map +1 -1
  38. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  39. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  40. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  41. package/dist/FileSelect/TreeSource/TreeSource.js +1 -1
  42. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  43. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  44. package/dist/FileSelect/storyHelpers.js +1 -1
  45. package/dist/FileSelect/storyHelpers.js.map +1 -1
  46. package/dist/FileToken/FileToken.styles.js +4 -4
  47. package/dist/FilterToken/FilterToken.styles.js +2 -2
  48. package/dist/FlexList/FlexList.styles.js +1 -1
  49. package/dist/Form/Form.styles.js +15 -15
  50. package/dist/Grid/Grid.styles.js +2 -2
  51. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  52. package/dist/Input/Input.styles.js +1 -1
  53. package/dist/Link/Link.styles.js +1 -1
  54. package/dist/ListPage/ListPage.styles.js +8 -8
  55. package/dist/Loader/Loader.styles.js +2 -2
  56. package/dist/Menu/Menu.d.ts +2 -2
  57. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  58. package/dist/Modal/Modal.styles.js +14 -14
  59. package/dist/Modal/Modal.styles.js.map +1 -1
  60. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  61. package/dist/NextMenu/NextMenu.styles.js +3 -3
  62. package/dist/Notation/Notation.js +1 -1
  63. package/dist/NumberInput/NumberInput.styles.js +7 -7
  64. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  65. package/dist/Overlay/useOverlay.js +3 -2
  66. package/dist/Overlay/useOverlay.js.map +1 -1
  67. package/dist/OverlayTrigger/OverlayTrigger.js +0 -14
  68. package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
  69. package/dist/OverlayTrigger/a11yPresets.d.ts +14 -14
  70. package/dist/PageLayout/PageLayout.js +1 -1
  71. package/dist/PageLayout/PageLayout.js.map +1 -1
  72. package/dist/PageLayout/PageLayout.styles.js +13 -13
  73. package/dist/Pagination/Pagination.styles.js +5 -5
  74. package/dist/Panel/Panel.styles.js +11 -11
  75. package/dist/Pill/Pill.styles.js +3 -3
  76. package/dist/Pill/Pill.styles.js.map +1 -1
  77. package/dist/PillSelect/PillSelect.styles.js +4 -4
  78. package/dist/Popover/Popover.styles.js +2 -2
  79. package/dist/Portal/Portal.styles.js +1 -1
  80. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  81. package/dist/RadioButton/RadioButton.styles.js +3 -3
  82. package/dist/Required/Required.styles.js +3 -3
  83. package/dist/Search/Search.styles.js +5 -5
  84. package/dist/Section/Section.styles.js +6 -6
  85. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  86. package/dist/Select/Select.styles.js +7 -7
  87. package/dist/Semantic/Semantic.styles.js +8 -8
  88. package/dist/Sidebar/Sidebar.styles.js +7 -7
  89. package/dist/Slider/Slider.styles.js +5 -5
  90. package/dist/Spinner/Spinner.styles.js +7 -7
  91. package/dist/SuperSelect/SuperSelect.components.js +1 -0
  92. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  93. package/dist/SuperSelect/SuperSelect.d.ts +25 -21
  94. package/dist/SuperSelect/SuperSelect.js +8 -6
  95. package/dist/SuperSelect/SuperSelect.js.map +1 -1
  96. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  97. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  98. package/dist/SuperSelect/useSuperSelect.d.ts +75 -61
  99. package/dist/Switch/Switch.styles.js +5 -5
  100. package/dist/Switch/Switch.styles.js.map +1 -1
  101. package/dist/Table/Table.styles.js +43 -44
  102. package/dist/Table/Table.styles.js.map +1 -1
  103. package/dist/TableShelf/TableShelf.styles.js +5 -5
  104. package/dist/Tabs/Tabs.styles.js +8 -8
  105. package/dist/Tearsheet/Tearsheet.js +1 -1
  106. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  107. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  108. package/dist/TextArea/TextArea.styles.js +1 -1
  109. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  110. package/dist/Thumbnail/Thumbnail.hooks.d.ts +70 -76
  111. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  112. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  113. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  114. package/dist/Tile/Tile.styles.js +8 -8
  115. package/dist/Title/Title.styles.js +7 -7
  116. package/dist/Toast/Toast.styles.js +3 -3
  117. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  118. package/dist/Token/Token.styles.js +3 -3
  119. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  120. package/dist/Tooltip/Tooltip.styles.js +2 -2
  121. package/dist/Tree/Tree.hooks.js +1 -1
  122. package/dist/Tree/Tree.hooks.js.map +1 -1
  123. package/dist/Tree/Tree.styles.js +10 -10
  124. package/dist/Tree/Tree.styles.js.map +1 -1
  125. package/dist/Typeahead/Typeahead.styles.js +3 -3
  126. package/dist/Typography/Typography.styles.js +1 -1
  127. package/dist/Typography/Typography.table.story.js +2 -2
  128. package/dist/_hooks/useFileUploader.js +1 -1
  129. package/dist/_hooks/useFileUploader.js.map +1 -1
  130. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  131. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
  132. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  133. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  134. package/dist/_typedoc/Box/Box.types.json +68 -68
  135. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  136. package/dist/_typedoc/Button/Button.types.json +11 -11
  137. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  138. package/dist/_typedoc/Card/Card.types.json +6 -6
  139. package/dist/_typedoc/Checkbox/Checkbox.types.json +7 -7
  140. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  141. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  142. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  143. package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
  144. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  145. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  146. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  147. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  148. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  149. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  150. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  151. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  152. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  153. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  154. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  155. package/dist/_typedoc/Form/Form.types.json +700 -700
  156. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  157. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  158. package/dist/_typedoc/Input/Input.types.json +2 -2
  159. package/dist/_typedoc/Link/Link.types.json +4 -4
  160. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  161. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  162. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  163. package/dist/_typedoc/Modal/Modal.types.json +41 -41
  164. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  165. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  166. package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
  167. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +30 -30
  168. package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
  169. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  170. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  171. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  172. package/dist/_typedoc/PillSelect/PillSelect.types.json +46 -46
  173. package/dist/_typedoc/Popover/Popover.types.json +14 -14
  174. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  175. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  176. package/dist/_typedoc/Required/Required.types.json +5 -5
  177. package/dist/_typedoc/Search/Search.types.json +18 -18
  178. package/dist/_typedoc/Section/Section.types.json +14 -14
  179. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
  180. package/dist/_typedoc/Select/Select.types.json +55 -55
  181. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  182. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  183. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  184. package/dist/_typedoc/Table/Table.types.json +96 -96
  185. package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
  186. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
  187. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  188. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  189. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  190. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  191. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  192. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  193. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  194. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  195. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
  196. package/dist/_typedoc/Token/Token.types.json +4 -4
  197. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  198. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  199. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  200. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  201. package/dist/_typedoc/Typography/Typography.types.json +8 -8
  202. package/dist/_typedoc/_utils/types.json +3 -3
  203. package/dist/_utils/polymorphic.js +0 -3
  204. package/dist/_utils/polymorphic.js.map +1 -1
  205. package/dist/_utils/runInQueue.js +1 -1
  206. package/dist/_utils/runInQueue.js.map +1 -1
  207. package/package.json +34 -37
  208. package/dist/SuperSelect/useVirtuosoResizeErrorFix.d.ts +0 -1
  209. package/dist/SuperSelect/useVirtuosoResizeErrorFix.js +0 -18
  210. package/dist/SuperSelect/useVirtuosoResizeErrorFix.js.map +0 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  import React from 'react';
3
2
  import { VirtuosoHandle, VirtuosoProps } from 'react-virtuoso';
4
3
  import { SuperSelectConfig, SuperSelectOption, SuperSelectValue, SuperSelectValuePrimitive } from './SuperSelect.types';
@@ -139,27 +138,35 @@ export declare function useSuperSelect({ block, components: customComponents, de
139
138
  };
140
139
  refs: {
141
140
  floating: {
142
- placement: import("@floating-ui/react").Placement;
143
- strategy: import("@floating-ui/react").Strategy;
144
- middlewareData: import("@floating-ui/react").MiddlewareData;
145
- x: number | null;
146
- y: number | null;
141
+ placement: import("@floating-ui/utils").Placement;
142
+ strategy: import("@floating-ui/utils").Strategy;
143
+ middlewareData: import("@floating-ui/core").MiddlewareData;
144
+ x: number;
145
+ y: number;
146
+ isPositioned: boolean;
147
147
  update: () => void;
148
- reference: (node: HTMLElement | null) => void;
149
- floating: (node: HTMLElement | null) => void;
150
- positionReference: (node: import("@floating-ui/react").ReferenceType | null) => void;
148
+ floatingStyles: React.CSSProperties;
149
+ refs: {
150
+ reference: React.MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
151
+ floating: React.MutableRefObject<HTMLElement | null>;
152
+ setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
153
+ setFloating: (node: HTMLElement | null) => void;
154
+ } & import("@floating-ui/react").ExtendedRefs<HTMLElement>;
155
+ elements: {
156
+ reference: import("@floating-ui/react-dom").ReferenceType | null;
157
+ floating: HTMLElement | null;
158
+ } & import("@floating-ui/react").ExtendedElements<HTMLElement>;
151
159
  context: {
152
- x: number | null;
153
- y: number | null;
154
- placement: import("@floating-ui/react").Placement;
155
- strategy: import("@floating-ui/react").Strategy;
156
- middlewareData: import("@floating-ui/react").MiddlewareData;
157
- reference: (node: HTMLElement | null) => void;
158
- floating: (node: HTMLElement | null) => void;
159
- update: () => void;
160
+ x: number;
161
+ y: number;
162
+ placement: import("@floating-ui/utils").Placement;
163
+ strategy: import("@floating-ui/utils").Strategy;
164
+ middlewareData: import("@floating-ui/core").MiddlewareData;
160
165
  isPositioned: boolean;
166
+ update: () => void;
167
+ floatingStyles: React.CSSProperties;
161
168
  open: boolean;
162
- onOpenChange: (open: boolean) => void;
169
+ onOpenChange: (open: boolean, event?: Event | undefined) => void;
163
170
  events: import("@floating-ui/react").FloatingEvents;
164
171
  dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
165
172
  nodeId: string | undefined;
@@ -167,9 +174,6 @@ export declare function useSuperSelect({ block, components: customComponents, de
167
174
  refs: import("@floating-ui/react").ExtendedRefs<HTMLElement>;
168
175
  elements: import("@floating-ui/react").ExtendedElements<HTMLElement>;
169
176
  };
170
- refs: import("@floating-ui/react").ExtendedRefs<HTMLElement>;
171
- elements: import("@floating-ui/react").ExtendedElements<HTMLElement>;
172
- isPositioned: boolean;
173
177
  };
174
178
  navigationList: React.MutableRefObject<(HTMLElement | null)[]>;
175
179
  virtuoso: React.RefObject<VirtuosoHandle>;
@@ -312,27 +316,35 @@ export declare const SuperSelectContext: React.Context<{
312
316
  };
313
317
  refs: {
314
318
  floating: {
315
- placement: import("@floating-ui/react").Placement;
316
- strategy: import("@floating-ui/react").Strategy;
317
- middlewareData: import("@floating-ui/react").MiddlewareData;
318
- x: number | null;
319
- y: number | null;
319
+ placement: import("@floating-ui/utils").Placement;
320
+ strategy: import("@floating-ui/utils").Strategy;
321
+ middlewareData: import("@floating-ui/core").MiddlewareData;
322
+ x: number;
323
+ y: number;
324
+ isPositioned: boolean;
320
325
  update: () => void;
321
- reference: (node: HTMLElement | null) => void;
322
- floating: (node: HTMLElement | null) => void;
323
- positionReference: (node: import("@floating-ui/react").ReferenceType | null) => void;
326
+ floatingStyles: React.CSSProperties;
327
+ refs: {
328
+ reference: React.MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
329
+ floating: React.MutableRefObject<HTMLElement | null>;
330
+ setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
331
+ setFloating: (node: HTMLElement | null) => void;
332
+ } & import("@floating-ui/react").ExtendedRefs<HTMLElement>;
333
+ elements: {
334
+ reference: import("@floating-ui/react-dom").ReferenceType | null;
335
+ floating: HTMLElement | null;
336
+ } & import("@floating-ui/react").ExtendedElements<HTMLElement>;
324
337
  context: {
325
- x: number | null;
326
- y: number | null;
327
- placement: import("@floating-ui/react").Placement;
328
- strategy: import("@floating-ui/react").Strategy;
329
- middlewareData: import("@floating-ui/react").MiddlewareData;
330
- reference: (node: HTMLElement | null) => void;
331
- floating: (node: HTMLElement | null) => void;
332
- update: () => void;
338
+ x: number;
339
+ y: number;
340
+ placement: import("@floating-ui/utils").Placement;
341
+ strategy: import("@floating-ui/utils").Strategy;
342
+ middlewareData: import("@floating-ui/core").MiddlewareData;
333
343
  isPositioned: boolean;
344
+ update: () => void;
345
+ floatingStyles: React.CSSProperties;
334
346
  open: boolean;
335
- onOpenChange: (open: boolean) => void;
347
+ onOpenChange: (open: boolean, event?: Event | undefined) => void;
336
348
  events: import("@floating-ui/react").FloatingEvents;
337
349
  dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
338
350
  nodeId: string | undefined;
@@ -340,9 +352,6 @@ export declare const SuperSelectContext: React.Context<{
340
352
  refs: import("@floating-ui/react").ExtendedRefs<HTMLElement>;
341
353
  elements: import("@floating-ui/react").ExtendedElements<HTMLElement>;
342
354
  };
343
- refs: import("@floating-ui/react").ExtendedRefs<HTMLElement>;
344
- elements: import("@floating-ui/react").ExtendedElements<HTMLElement>;
345
- isPositioned: boolean;
346
355
  };
347
356
  navigationList: React.MutableRefObject<(HTMLElement | null)[]>;
348
357
  virtuoso: React.RefObject<VirtuosoHandle>;
@@ -485,27 +494,35 @@ export declare function useSuperSelectContext(): {
485
494
  };
486
495
  refs: {
487
496
  floating: {
488
- placement: import("@floating-ui/react").Placement;
489
- strategy: import("@floating-ui/react").Strategy;
490
- middlewareData: import("@floating-ui/react").MiddlewareData;
491
- x: number | null;
492
- y: number | null;
497
+ placement: import("@floating-ui/utils").Placement;
498
+ strategy: import("@floating-ui/utils").Strategy;
499
+ middlewareData: import("@floating-ui/core").MiddlewareData;
500
+ x: number;
501
+ y: number;
502
+ isPositioned: boolean;
493
503
  update: () => void;
494
- reference: (node: HTMLElement | null) => void;
495
- floating: (node: HTMLElement | null) => void;
496
- positionReference: (node: import("@floating-ui/react").ReferenceType | null) => void;
504
+ floatingStyles: React.CSSProperties;
505
+ refs: {
506
+ reference: React.MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
507
+ floating: React.MutableRefObject<HTMLElement | null>;
508
+ setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
509
+ setFloating: (node: HTMLElement | null) => void;
510
+ } & import("@floating-ui/react").ExtendedRefs<HTMLElement>;
511
+ elements: {
512
+ reference: import("@floating-ui/react-dom").ReferenceType | null;
513
+ floating: HTMLElement | null;
514
+ } & import("@floating-ui/react").ExtendedElements<HTMLElement>;
497
515
  context: {
498
- x: number | null;
499
- y: number | null;
500
- placement: import("@floating-ui/react").Placement;
501
- strategy: import("@floating-ui/react").Strategy;
502
- middlewareData: import("@floating-ui/react").MiddlewareData;
503
- reference: (node: HTMLElement | null) => void;
504
- floating: (node: HTMLElement | null) => void;
505
- update: () => void;
516
+ x: number;
517
+ y: number;
518
+ placement: import("@floating-ui/utils").Placement;
519
+ strategy: import("@floating-ui/utils").Strategy;
520
+ middlewareData: import("@floating-ui/core").MiddlewareData;
506
521
  isPositioned: boolean;
522
+ update: () => void;
523
+ floatingStyles: React.CSSProperties;
507
524
  open: boolean;
508
- onOpenChange: (open: boolean) => void;
525
+ onOpenChange: (open: boolean, event?: Event | undefined) => void;
509
526
  events: import("@floating-ui/react").FloatingEvents;
510
527
  dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
511
528
  nodeId: string | undefined;
@@ -513,9 +530,6 @@ export declare function useSuperSelectContext(): {
513
530
  refs: import("@floating-ui/react").ExtendedRefs<HTMLElement>;
514
531
  elements: import("@floating-ui/react").ExtendedElements<HTMLElement>;
515
532
  };
516
- refs: import("@floating-ui/react").ExtendedRefs<HTMLElement>;
517
- elements: import("@floating-ui/react").ExtendedElements<HTMLElement>;
518
- isPositioned: boolean;
519
533
  };
520
534
  navigationList: React.MutableRefObject<(HTMLElement | null)[]>;
521
535
  virtuoso: React.RefObject<VirtuosoHandle>;
@@ -8,20 +8,20 @@ var trackWidth = 36;
8
8
  var toggleSize = 16;
9
9
  export var StyledTrack = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledTrack",
11
- componentId: "core-11_23_1__sc-mwn4kg-0"
11
+ componentId: "core-11_23_3__sc-mwn4kg-0"
12
12
  })(["background-color:", ";border-radius:", "px;height:", "px;width:", "px;position:relative;transition:0.2s;"], colors.gray70, trackHeight, trackHeight, trackWidth);
13
13
  export var StyledToggle = /*#__PURE__*/styled.span.withConfig({
14
14
  displayName: "StyledToggle",
15
- componentId: "core-11_23_1__sc-mwn4kg-1"
15
+ componentId: "core-11_23_3__sc-mwn4kg-1"
16
16
  })(["background-color:", ";border-radius:50%;bottom:2px;height:", "px;left:2px;position:absolute;transition:all 0.2s;width:", "px;"], colors.white, toggleSize, toggleSize);
17
17
  export var StyledSwitchLabel = /*#__PURE__*/styled.span.withConfig({
18
18
  displayName: "StyledSwitchLabel",
19
- componentId: "core-11_23_1__sc-mwn4kg-2"
19
+ componentId: "core-11_23_3__sc-mwn4kg-2"
20
20
  })(["", " padding-left:", "px;user-select:none;"], getTypographyIntent('body'), spacing.md);
21
21
  export var StyledSwitchContainer = /*#__PURE__*/styled.label.withConfig({
22
22
  displayName: "StyledSwitchContainer",
23
- componentId: "core-11_23_1__sc-mwn4kg-3"
24
- })(["cursor:pointer;display:grid;grid-template-columns:", "px 1fr;& + &{margin-top:", "px;}", " ", " ", ""], trackWidth, spacing.md, function (_ref) {
23
+ componentId: "core-11_23_3__sc-mwn4kg-3"
24
+ })(["cursor:pointer;display:grid;grid-template-columns:", "px 1fr;position:relative;& + &{margin-top:", "px;}", " ", " ", ""], trackWidth, spacing.md, function (_ref) {
25
25
  var $checked = _ref.$checked;
26
26
  return $checked && css(["", "{background-color:", ";", "{transform:translateX(", "px);}}"], StyledTrack, colors.blue50, StyledToggle, spacing.lg);
27
27
  }, function (_ref2) {
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.styles.js","names":["styled","css","getTypographyIntent","colors","getFocus","spacing","trackHeight","trackWidth","toggleSize","StyledTrack","div","withConfig","displayName","componentId","gray70","StyledToggle","span","white","StyledSwitchLabel","md","StyledSwitchContainer","label","_ref","$checked","blue50","lg","_ref2","$focused","_ref3","_ref3$$disabled","$disabled","blue85","gray85"],"sources":["../../src/Switch/Switch.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { getTypographyIntent } from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\n\nconst trackHeight = 20\nconst trackWidth = 36\nconst toggleSize = 16\n\nexport const StyledTrack = styled.div`\n background-color: ${colors.gray70};\n border-radius: ${trackHeight}px;\n height: ${trackHeight}px;\n width: ${trackWidth}px;\n position: relative;\n transition: 0.2s;\n`\n\nexport const StyledToggle = styled.span`\n background-color: ${colors.white};\n border-radius: 50%;\n bottom: 2px;\n height: ${toggleSize}px;\n left: 2px;\n position: absolute;\n transition: all 0.2s;\n width: ${toggleSize}px;\n`\n\nexport const StyledSwitchLabel = styled.span`\n ${getTypographyIntent('body')}\n padding-left: ${spacing.md}px;\n user-select: none;\n`\n\nexport const StyledSwitchContainer = styled.label<{\n $disabled?: boolean\n $checked?: boolean\n $focused: boolean\n}>`\n cursor: pointer;\n display: grid;\n grid-template-columns: ${trackWidth}px 1fr;\n\n & + & {\n margin-top: ${spacing.md}px;\n }\n\n ${({ $checked }) => {\n return (\n $checked &&\n css`\n ${StyledTrack} {\n background-color: ${colors.blue50};\n\n ${StyledToggle} {\n transform: translateX(${spacing.lg}px);\n }\n }\n `\n )\n }}\n\n ${({ $focused }) => {\n return (\n $focused &&\n css`\n ${getFocus()}\n border-radius: 12px;\n `\n )\n }}\n\n ${({ $disabled = false, $checked }) =>\n $disabled &&\n css`\n cursor: default;\n\n ${StyledTrack} {\n background-color: ${$checked ? colors.blue85 : colors.gray85};\n }\n `}\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,IAAMC,WAAW,GAAG,EAAE;AACtB,IAAMC,UAAU,GAAG,EAAE;AACrB,IAAMC,UAAU,GAAG,EAAE;AAErB,OAAO,IAAMC,WAAW,gBAAGT,MAAM,CAACU,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iHACfV,MAAM,CAACW,MAAM,EAChBR,WAAW,EAClBA,WAAW,EACZC,UAAU,CAGpB;AAED,OAAO,IAAMQ,YAAY,gBAAGf,MAAM,CAACgB,IAAI,CAAAL,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,sIACjBV,MAAM,CAACc,KAAK,EAGtBT,UAAU,EAIXA,UAAU,CACpB;AAED,OAAO,IAAMU,iBAAiB,gBAAGlB,MAAM,CAACgB,IAAI,CAAAL,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,mDACxCX,mBAAmB,CAAC,MAAM,CAAC,EACbG,OAAO,CAACc,EAAE,CAE3B;AAED,OAAO,IAAMC,qBAAqB,gBAAGpB,MAAM,CAACqB,KAAK,CAAAV,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,6GAOtBN,UAAU,EAGnBF,OAAO,CAACc,EAAE,EAGxB,UAAAG,IAAA,EAAkB;EAAA,IAAfC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EACX,OACEA,QAAQ,IACRtB,GAAG,sEACCQ,WAAW,EACSN,MAAM,CAACqB,MAAM,EAE/BT,YAAY,EACYV,OAAO,CAACoB,EAAE,CAGvC;AAEL,CAAC,EAEC,UAAAC,KAAA,EAAkB;EAAA,IAAfC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;EACX,OACEA,QAAQ,IACR1B,GAAG,+BACCG,QAAQ,CAAC,CAAC,CAEb;AAEL,CAAC,EAEC,UAAAwB,KAAA;EAAA,IAAAC,eAAA,GAAAD,KAAA,CAAGE,SAAS;IAATA,SAAS,GAAAD,eAAA,cAAG,KAAK,GAAAA,eAAA;IAAEN,QAAQ,GAAAK,KAAA,CAARL,QAAQ;EAAA,OAC9BO,SAAS,IACT7B,GAAG,kDAGCQ,WAAW,EACSc,QAAQ,GAAGpB,MAAM,CAAC4B,MAAM,GAAG5B,MAAM,CAAC6B,MAAM,CAE/D;AAAA,EACJ"}
1
+ {"version":3,"file":"Switch.styles.js","names":["styled","css","getTypographyIntent","colors","getFocus","spacing","trackHeight","trackWidth","toggleSize","StyledTrack","div","withConfig","displayName","componentId","gray70","StyledToggle","span","white","StyledSwitchLabel","md","StyledSwitchContainer","label","_ref","$checked","blue50","lg","_ref2","$focused","_ref3","_ref3$$disabled","$disabled","blue85","gray85"],"sources":["../../src/Switch/Switch.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { getTypographyIntent } from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\n\nconst trackHeight = 20\nconst trackWidth = 36\nconst toggleSize = 16\n\nexport const StyledTrack = styled.div`\n background-color: ${colors.gray70};\n border-radius: ${trackHeight}px;\n height: ${trackHeight}px;\n width: ${trackWidth}px;\n position: relative;\n transition: 0.2s;\n`\n\nexport const StyledToggle = styled.span`\n background-color: ${colors.white};\n border-radius: 50%;\n bottom: 2px;\n height: ${toggleSize}px;\n left: 2px;\n position: absolute;\n transition: all 0.2s;\n width: ${toggleSize}px;\n`\n\nexport const StyledSwitchLabel = styled.span`\n ${getTypographyIntent('body')}\n padding-left: ${spacing.md}px;\n user-select: none;\n`\n\nexport const StyledSwitchContainer = styled.label<{\n $disabled?: boolean\n $checked?: boolean\n $focused: boolean\n}>`\n cursor: pointer;\n display: grid;\n grid-template-columns: ${trackWidth}px 1fr;\n position: relative;\n\n & + & {\n margin-top: ${spacing.md}px;\n }\n\n ${({ $checked }) => {\n return (\n $checked &&\n css`\n ${StyledTrack} {\n background-color: ${colors.blue50};\n\n ${StyledToggle} {\n transform: translateX(${spacing.lg}px);\n }\n }\n `\n )\n }}\n\n ${({ $focused }) => {\n return (\n $focused &&\n css`\n ${getFocus()}\n border-radius: 12px;\n `\n )\n }}\n\n ${({ $disabled = false, $checked }) =>\n $disabled &&\n css`\n cursor: default;\n\n ${StyledTrack} {\n background-color: ${$checked ? colors.blue85 : colors.gray85};\n }\n `}\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,IAAMC,WAAW,GAAG,EAAE;AACtB,IAAMC,UAAU,GAAG,EAAE;AACrB,IAAMC,UAAU,GAAG,EAAE;AAErB,OAAO,IAAMC,WAAW,gBAAGT,MAAM,CAACU,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iHACfV,MAAM,CAACW,MAAM,EAChBR,WAAW,EAClBA,WAAW,EACZC,UAAU,CAGpB;AAED,OAAO,IAAMQ,YAAY,gBAAGf,MAAM,CAACgB,IAAI,CAAAL,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,sIACjBV,MAAM,CAACc,KAAK,EAGtBT,UAAU,EAIXA,UAAU,CACpB;AAED,OAAO,IAAMU,iBAAiB,gBAAGlB,MAAM,CAACgB,IAAI,CAAAL,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,mDACxCX,mBAAmB,CAAC,MAAM,CAAC,EACbG,OAAO,CAACc,EAAE,CAE3B;AAED,OAAO,IAAMC,qBAAqB,gBAAGpB,MAAM,CAACqB,KAAK,CAAAV,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,+HAOtBN,UAAU,EAInBF,OAAO,CAACc,EAAE,EAGxB,UAAAG,IAAA,EAAkB;EAAA,IAAfC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EACX,OACEA,QAAQ,IACRtB,GAAG,sEACCQ,WAAW,EACSN,MAAM,CAACqB,MAAM,EAE/BT,YAAY,EACYV,OAAO,CAACoB,EAAE,CAGvC;AAEL,CAAC,EAEC,UAAAC,KAAA,EAAkB;EAAA,IAAfC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;EACX,OACEA,QAAQ,IACR1B,GAAG,+BACCG,QAAQ,CAAC,CAAC,CAEb;AAEL,CAAC,EAEC,UAAAwB,KAAA;EAAA,IAAAC,eAAA,GAAAD,KAAA,CAAGE,SAAS;IAATA,SAAS,GAAAD,eAAA,cAAG,KAAK,GAAAA,eAAA;IAAEN,QAAQ,GAAAK,KAAA,CAARL,QAAQ;EAAA,OAC9BO,SAAS,IACT7B,GAAG,kDAGCQ,WAAW,EACSc,QAAQ,GAAGpB,MAAM,CAAC4B,MAAM,GAAG5B,MAAM,CAAC6B,MAAM,CAE/D;AAAA,EACJ"}
@@ -1,4 +1,4 @@
1
- import { ArrowDown, ArrowUp, ChevronRight } from '@procore/core-icons/dist';
1
+ import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons';
2
2
  import styled, { css } from 'styled-components';
3
3
  import { Card } from '../Card';
4
4
  import { Checkbox } from '../Checkbox';
@@ -45,68 +45,67 @@ var tableCellInputFocusBorder = "1px solid ".concat(colors.blue50);
45
45
  var tableCellInputErrorBgColor = colors.red98;
46
46
  var tableCellInputErrorBorder = "1px solid ".concat(colors.red50);
47
47
  var tableRowBorderBottom = /*#__PURE__*/css(["border-bottom:", ";&:last-child{border-bottom:0;}"], tableBorder);
48
- export var StyledTableHeaderCellContainer = /*#__PURE__*/styled.div.withConfig({
49
- displayName: "StyledTableHeaderCellContainer",
50
- componentId: "core-11_23_1__sc-1xlaqc6-0"
48
+ export var StyledTableHeaderCellSortableContainer = /*#__PURE__*/styled.div.withConfig({
49
+ displayName: "StyledTableHeaderCellSortableContainer",
50
+ componentId: "core-11_23_3__sc-9c7xd-0"
51
51
  })([""]);
52
52
  export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
53
53
  displayName: "StyledTableHeaderCellLabel",
54
- componentId: "core-11_23_1__sc-1xlaqc6-1"
54
+ componentId: "core-11_23_3__sc-9c7xd-1"
55
55
  })(["display:inline-block;flex:1 1 auto;position:relative;"]);
56
56
  export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
57
57
  displayName: "StyledCheckbox",
58
- componentId: "core-11_23_1__sc-1xlaqc6-2"
58
+ componentId: "core-11_23_3__sc-9c7xd-2"
59
59
  })([""]);
60
60
  export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
61
61
  displayName: "StyledTableBodyCell",
62
- componentId: "core-11_23_1__sc-1xlaqc6-3"
62
+ componentId: "core-11_23_3__sc-9c7xd-3"
63
63
  })(["position:relative;vertical-align:middle;", ""], function (_ref) {
64
64
  var $snugfit = _ref.$snugfit;
65
65
  return $snugfit && css(["white-space:nowrap;width:0.1%;"]);
66
66
  });
67
67
  export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
68
68
  displayName: "StyledTableHeaderCell",
69
- componentId: "core-11_23_1__sc-1xlaqc6-4"
70
- })(["", " font-weight:", ";border-right:", ";color:", ";height:", "px;padding:", "px;position:relative;text-align:left;transition:background-color 0.2s ease-in-out;&:last-child{border-right:0;}", "{display:flex;align-items:center;}", " ", "{min-height:14px;}", " ", " ", " ", " ", ""], getTypographyIntent('small'), tableHeaderFontWeight, tableHeaderBorderRight, tableHeaderFontColor, tableHeaderHeight, tableHeaderPadding, StyledTableHeaderCellContainer, StyledTableHeaderCellContainer, StyledTableHeaderCellLabel, function (_ref2) {
69
+ componentId: "core-11_23_3__sc-9c7xd-4"
70
+ })(["", " font-weight:", ";border-right:", ";color:", ";height:", "px;padding:", "px;position:relative;text-align:left;transition:background-color 0.2s ease-in-out;&:last-child{border-right:0;}", "{display:flex;align-items:center;}", "{", "{min-height:14px;}}", " ", " ", " ", " ", ""], getTypographyIntent('small'), tableHeaderFontWeight, tableHeaderBorderRight, tableHeaderFontColor, tableHeaderHeight, tableHeaderPadding, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellLabel, function (_ref2) {
71
71
  var $sortable = _ref2.$sortable;
72
72
  return $sortable && css(["cursor:pointer;padding:", "px;", ",", "{color:", ";opacity:0;transition:all 0.15s ease-in-out;position:absolute;}::before,::after{font-size:16px;}&:hover{background-color:", ";", "{color:", ";}}"], spacing.lg, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc, tableSortFontColor, tableHeaderBgColorHover, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover);
73
73
  }, function (_ref3) {
74
- var $variant = _ref3.$variant;
75
- return ($variant === 'asc' || $variant === 'desc') && css(["background-color:", ";color:", ";&::before,&::after,", ",", "{opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
74
+ var $sortOrder = _ref3.$sortOrder;
75
+ return ($sortOrder === 'asc' || $sortOrder === 'desc') && css(["background-color:", ";color:", ";&::before,&::after,", ",", "{opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
76
76
  }, function (_ref4) {
77
- var $variant = _ref4.$variant;
78
- return $variant === 'asc' && css(["", ",&::before{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconDesc, tableSortFontColorHover);
77
+ var $sortOrder = _ref4.$sortOrder;
78
+ return $sortOrder === 'asc' && css(["", ",&::before{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconDesc, tableSortFontColorHover);
79
79
  }, function (_ref5) {
80
- var $variant = _ref5.$variant;
81
- return $variant === 'desc' && css(["", ",&::after{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconDesc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover, StyledTableHeaderCellSortIconDesc, tableSortFontColorActive);
80
+ var $sortOrder = _ref5.$sortOrder;
81
+ return $sortOrder === 'desc' && css(["", ",&::after{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconDesc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover, StyledTableHeaderCellSortIconDesc, tableSortFontColorActive);
82
82
  }, function (_ref6) {
83
- var $variant = _ref6.$variant,
84
- $snugfit = _ref6.$snugfit;
85
- return ($variant === 'snugfit' || $snugfit) && css(["width:0.1%;"]);
83
+ var $snugfit = _ref6.$snugfit;
84
+ return $snugfit && css(["width:0.1%;"]);
86
85
  });
87
86
  export var StyledTableHeaderCellIconWrapper = /*#__PURE__*/styled.div.withConfig({
88
87
  displayName: "StyledTableHeaderCellIconWrapper",
89
- componentId: "core-11_23_1__sc-1xlaqc6-5"
88
+ componentId: "core-11_23_3__sc-9c7xd-5"
90
89
  })(["height:20px;line-height:20px;padding:0 ", "px 0 ", "px;width:20px;"], spacing.lg, spacing.sm);
91
- export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(ArrowUp).withConfig({
90
+ export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(CaretUp).withConfig({
92
91
  displayName: "StyledTableHeaderCellSortIconAsc",
93
- componentId: "core-11_23_1__sc-1xlaqc6-6"
94
- })([""]);
95
- export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(ArrowDown).withConfig({
92
+ componentId: "core-11_23_3__sc-9c7xd-6"
93
+ })(["margin-top:-", "px;"], spacing.sm);
94
+ export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(CaretDown).withConfig({
96
95
  displayName: "StyledTableHeaderCellSortIconDesc",
97
- componentId: "core-11_23_1__sc-1xlaqc6-7"
96
+ componentId: "core-11_23_3__sc-9c7xd-7"
98
97
  })([""]);
99
98
  export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
100
99
  displayName: "StyledHead",
101
- componentId: "core-11_23_1__sc-1xlaqc6-8"
100
+ componentId: "core-11_23_3__sc-9c7xd-8"
102
101
  })(["background-color:", ";transition:background-color 0.2s ease-in-out;", " &:hover{", "{", ",", "{&::after,&::before{opacity:1;}}}}"], tableHeaderBgColor, tableRowBorderBottom, StyledTableHeaderCell, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
103
102
  export var StyledCaratWrapper = /*#__PURE__*/styled.div.withConfig({
104
103
  displayName: "StyledCaratWrapper",
105
- componentId: "core-11_23_1__sc-1xlaqc6-9"
104
+ componentId: "core-11_23_3__sc-9c7xd-9"
106
105
  })(["font-size:16px;color:", ";padding-right:", "px;transition:all 0.2s ease-in-out;& + ", "{margin:0 ", "px;}"], colors.gray70, spacing.xs, StyledCheckbox, spacing.xs);
107
106
  export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
108
107
  displayName: "StyledCarat",
109
- componentId: "core-11_23_1__sc-1xlaqc6-10"
108
+ componentId: "core-11_23_3__sc-9c7xd-10"
110
109
  })(["", ""], function (_ref7) {
111
110
  var $expanded = _ref7.$expanded;
112
111
  return $expanded && css(["transform:rotate(90deg);"]);
@@ -114,7 +113,7 @@ export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
114
113
  var cellInputCSS = /*#__PURE__*/css(["background-color:rgba(255,255,255,0);&&&{border:", ";border-radius:4px;width:100%;&::placeholder{color:", ";}&::-ms-clear{display:none;}&:hover{border-color:transparent;}&:focus{background-color:", ";border-style:solid;border-width:1px;border-color:", ";box-shadow:0 0 0 1px ", ";outline:none;}&:disabled{border:", ";color:", ";}}"], tableCellInputBorder, tableCellInputPlaceholderColor, colors.white, colors.blue40, colors.blue40, tableCellInputBorder, colors.gray70);
115
114
  export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
116
115
  displayName: "StyledTableCellSelect",
117
- componentId: "core-11_23_1__sc-1xlaqc6-11"
116
+ componentId: "core-11_23_3__sc-9c7xd-11"
118
117
  })(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", "{white-space:normal;}", ",", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref8) {
119
118
  var $hasClearIcon = _ref8.$hasClearIcon;
120
119
  return $hasClearIcon && css(["", "{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
@@ -132,25 +131,25 @@ export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
132
131
  });
133
132
  export var StyledTableCellInput = /*#__PURE__*/styled(Input).withConfig({
134
133
  displayName: "StyledTableCellInput",
135
- componentId: "core-11_23_1__sc-1xlaqc6-12"
134
+ componentId: "core-11_23_3__sc-9c7xd-12"
136
135
  })(["", ""], cellInputCSS);
137
136
  export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
138
137
  displayName: "StyledTableCellDateInput",
139
- componentId: "core-11_23_1__sc-1xlaqc6-13"
138
+ componentId: "core-11_23_3__sc-9c7xd-13"
140
139
  })(["background-color:transparent;border-color:transparent;&:active:hover{border-color:", ";}&&&:focus-within{", ";background-color:", ";}", " ", "{opacity:0;}", "{&[data-qa-table-visible='false']{opacity:0;}}", "{&[data-placeholder='true']{opacity:0;}}&:focus-within{", "{opacity:1;}", "{&[data-qa-table-visible='false']{opacity:1;}}", "{&[data-placeholder='true']{opacity:1;}}}"], colors.gray45, getFocus(), colors.white, function (_ref12) {
141
140
  var error = _ref12.error;
142
141
  return error && css(["border-color:", ";"], colors.red50);
143
142
  }, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment);
144
143
  export var StyledTableCellTextArea = /*#__PURE__*/styled(TextArea).withConfig({
145
144
  displayName: "StyledTableCellTextArea",
146
- componentId: "core-11_23_1__sc-1xlaqc6-14"
145
+ componentId: "core-11_23_3__sc-9c7xd-14"
147
146
  })(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref13) {
148
147
  var $resizable = _ref13.$resizable;
149
148
  return $resizable && css(["&:focus{min-height:64px;overflow:auto;resize:vertical;}"]);
150
149
  });
151
150
  export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
152
151
  displayName: "StyledTableCellText",
153
- componentId: "core-11_23_1__sc-1xlaqc6-15"
152
+ componentId: "core-11_23_3__sc-9c7xd-15"
154
153
  })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref14) {
155
154
  var $percent = _ref14.$percent,
156
155
  $currency = _ref14.$currency;
@@ -158,15 +157,15 @@ export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
158
157
  });
159
158
  export var StyledIconCell = /*#__PURE__*/styled.div.withConfig({
160
159
  displayName: "StyledIconCell",
161
- componentId: "core-11_23_1__sc-1xlaqc6-16"
160
+ componentId: "core-11_23_3__sc-9c7xd-16"
162
161
  })(["display:flex;color:", ";"], tableCellIconColor);
163
162
  export var StyledSelectCellWrapper = /*#__PURE__*/styled.div.withConfig({
164
163
  displayName: "StyledSelectCellWrapper",
165
- componentId: "core-11_23_1__sc-1xlaqc6-17"
164
+ componentId: "core-11_23_3__sc-9c7xd-17"
166
165
  })(["display:flex;flex-direction:column;"]);
167
166
  export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
168
167
  displayName: "StyledTableInlineEditErrorBox",
169
- componentId: "core-11_23_1__sc-1xlaqc6-18"
168
+ componentId: "core-11_23_3__sc-9c7xd-18"
170
169
  })(["", " color:", ";font-style:italic;background:", ";border-radius:0 2px 2px 2px;box-shadow:0 1px 2px rgba(0,0,0,0.2),0 1px 3px rgba(0,0,0,0.1);padding:6px ", "px;position:absolute;max-width:160px;z-index:1;", ""], getTypographyIntent('small'), colors.white, colors.red50, spacing.md, function (_ref15) {
171
170
  var $size = _ref15.$size;
172
171
  var sizes = {
@@ -184,7 +183,7 @@ export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
184
183
  });
185
184
  export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
186
185
  displayName: "StyledTableInlineEditContainer",
187
- componentId: "core-11_23_1__sc-1xlaqc6-19"
186
+ componentId: "core-11_23_3__sc-9c7xd-19"
188
187
  })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref16) {
189
188
  var $error = _ref16.$error;
190
189
  return $error && css(["position:static;background-color:", ";", ",", ",", ",", "{border:", ";border-radius:4px 4px 0 0;border-bottom:none;&:hover{border-bottom:none;}&:focus{background-color:", ";border:", ";border-bottom:none;}}"], tableCellInputErrorBgColor, StyledTableCellDateInput, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBgColor, tableCellInputFocusBorder);
@@ -208,26 +207,26 @@ export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
208
207
  });
209
208
  export var StyledTableBodyRow = /*#__PURE__*/styled.tr.withConfig({
210
209
  displayName: "StyledTableBodyRow",
211
- componentId: "core-11_23_1__sc-1xlaqc6-20"
210
+ componentId: "core-11_23_3__sc-9c7xd-20"
212
211
  })(["", " ", " &:focus-within{", "{background-color:", ";&.disabled{background-color:transparent;}}", ".error{background-color:", ";}}&:hover{", "{background-color:", ";cursor:pointer;&:hover{background-color:", ";}&.disabled{&,&:hover{background-color:transparent;cursor:default;}}}", ".error{background-color:", ";&:hover{background-color:", ";}", ",", ",", "{border:", ";border-bottom:none;&:hover{border-bottom:none;}&:focus{border:", ";border-bottom:none;}}}}"], tableRowBorderBottom, function (_ref18) {
213
212
  var $overdue = _ref18.$overdue;
214
213
  return $overdue && css(["", ",", ",", ",", ",", "{color:", ";}"], StyledTableCellText, StyledTableCellSelect, StyledTableCellInput, StyledTableCellDateInput, StyledTableCellTextArea, colors.red50);
215
214
  }, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, tableCellInputHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, tableCellInputErrorBgColor, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBorder);
216
215
  export var StyledTableGroupRowContent = /*#__PURE__*/styled.div.withConfig({
217
216
  displayName: "StyledTableGroupRowContent",
218
- componentId: "core-11_23_1__sc-1xlaqc6-21"
217
+ componentId: "core-11_23_3__sc-9c7xd-21"
219
218
  })([""]);
220
219
  export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
221
220
  displayName: "StyledTableGroupRowHeader",
222
- componentId: "core-11_23_1__sc-1xlaqc6-22"
221
+ componentId: "core-11_23_3__sc-9c7xd-22"
223
222
  })([""]);
224
223
  export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
225
224
  displayName: "StyledTableGroupRowTitle",
226
- componentId: "core-11_23_1__sc-1xlaqc6-23"
225
+ componentId: "core-11_23_3__sc-9c7xd-23"
227
226
  })([""]);
228
227
  export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
229
228
  displayName: "StyledTableGroupRow",
230
- componentId: "core-11_23_1__sc-1xlaqc6-24"
229
+ componentId: "core-11_23_3__sc-9c7xd-24"
231
230
  })(["background-color:", ";", " ", "{margin-left:", "px;padding:", "px 0;display:flex;flex-direction:row;}", "{display:flex;align-items:center;}", "{font-weight:", ";padding-left:", "px;}", ""], tableGroupRowBgColor, tableRowBorderBottom, StyledTableGroupRowContent, spacing.lg, spacing.lg, StyledTableGroupRowHeader, StyledTableGroupRowTitle, tableHeaderFontWeight, spacing.lg, function (_ref19) {
232
231
  var $depth = _ref19.$depth;
233
232
  if (typeof $depth !== 'number') {
@@ -237,7 +236,7 @@ export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
237
236
  });
238
237
  export var StyledTableWrapper = /*#__PURE__*/styled(Card).withConfig({
239
238
  displayName: "StyledTableWrapper",
240
- componentId: "core-11_23_1__sc-1xlaqc6-25"
239
+ componentId: "core-11_23_3__sc-9c7xd-25"
241
240
  })(["border-radius:", "px;border:", ";", ",tbody{&:first-child{tr:first-child{", ",td{&:first-child{border-top-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;}}}}&:last-child{tr:last-child{", ",td{&:first-child{border-bottom-left-radius:", "px;}&:last-child{border-bottom-right-radius:", "px;}}}}}", ""], tableBorderRadius, tableBorder, StyledHead, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, function (_ref20) {
242
241
  var $withShelf = _ref20.$withShelf;
243
242
  return $withShelf && css(["position:relative;height:100%;"]);
@@ -246,7 +245,7 @@ var BodyRow = StyledTableBodyRow;
246
245
  var GroupRow = StyledTableGroupRow;
247
246
  export var StyledTable = /*#__PURE__*/styled.table.withConfig({
248
247
  displayName: "StyledTable",
249
- componentId: "core-11_23_1__sc-1xlaqc6-26"
248
+ componentId: "core-11_23_3__sc-9c7xd-26"
250
249
  })(["background-color:", ";border-collapse:collapse;border-radius:", "px;", " width:100%;td:first-child ", "{padding-left:", "px;}", " ", " + ", "{margin-left:", "px;padding-left:0;}", " ", " ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " + ", " > td{padding-left:", "px;}", " ~ ", "{", "{padding-left:0;margin:0 ", "px;}& > td:first-child{padding-left:", "px;}}", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}"], tableBgColor, tableBorderRadius, getTypographyIntent('body'), StyledCheckbox, spacing.lg, StyledTableGroupRow, StyledCaratWrapper, StyledCheckbox, spacing.xs, function (_ref21) {
251
250
  var $fixed = _ref21.$fixed;
252
251
  return $fixed && css(["table-layout:fixed;"]);
@@ -256,6 +255,6 @@ export var StyledTable = /*#__PURE__*/styled.table.withConfig({
256
255
  }, GroupRow, GroupRow, tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, 2 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, 3 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, 4 * tableGroupHeaderRowIndentation, GroupRow, BodyRow, StyledCheckbox, spacing.xs, tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, BodyRow, 2 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, BodyRow, 3 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 4 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 5 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation);
257
256
  export var StyledLoadingContainer = /*#__PURE__*/styled.div.withConfig({
258
257
  displayName: "StyledLoadingContainer",
259
- componentId: "core-11_23_1__sc-1xlaqc6-27"
258
+ componentId: "core-11_23_3__sc-9c7xd-27"
260
259
  })(["cursor:default;align-items:center;background:", ";display:flex;height:100%;justify-content:center;opacity:0.9;position:absolute;width:100%;z-index:2;"], colors.gray96);
261
260
  //# sourceMappingURL=Table.styles.js.map