@procore/core-react 10.21.1-rc.7 → 10.22.0-rc.38

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 (132) hide show
  1. package/dist/esm/components/AvatarStack/AvatarStack.d.ts +28 -14
  2. package/dist/esm/components/AvatarStack/AvatarStack.js +46 -28
  3. package/dist/esm/components/AvatarStack/AvatarStack.js.map +1 -1
  4. package/dist/esm/components/AvatarStack/AvatarStack.types.d.ts +19 -9
  5. package/dist/esm/components/AvatarStack/index.d.ts +1 -1
  6. package/dist/esm/components/Form/Form.js +6 -6
  7. package/dist/esm/components/Form/Form.js.map +1 -1
  8. package/dist/esm/components/Form/Form.types.d.ts +22 -14
  9. package/dist/esm/components/SegmentedController/SegmentedController.js +4 -3
  10. package/dist/esm/components/SegmentedController/SegmentedController.js.map +1 -1
  11. package/dist/esm/components/SegmentedController/SegmentedController.styles.d.ts +5 -0
  12. package/dist/esm/components/SegmentedController/SegmentedController.styles.js +12 -7
  13. package/dist/esm/components/SegmentedController/SegmentedController.styles.js.map +1 -1
  14. package/dist/esm/components/_storyHelpers_/mocks/pillSelectMockData.d.ts +2 -1
  15. package/dist/esm/components/_storyHelpers_/mocks/pillSelectMockData.js.map +1 -1
  16. package/dist/typedoc/components/Avatar/Avatar.types.json +17 -17
  17. package/dist/typedoc/components/AvatarStack/AvatarStack.types.json +49 -29
  18. package/dist/typedoc/components/Badge/Badge.types.json +6 -6
  19. package/dist/typedoc/components/Banner/Banner.types.json +12 -12
  20. package/dist/typedoc/components/Breadcrumbs/Breadcrumbs.types.json +7 -7
  21. package/dist/typedoc/components/Button/Button.types.json +11 -11
  22. package/dist/typedoc/components/Calendar/Calendar.types.json +79 -79
  23. package/dist/typedoc/components/Card/Card.types.json +6 -6
  24. package/dist/typedoc/components/Checkbox/Checkbox.types.json +7 -7
  25. package/dist/typedoc/components/ContactItem/ContactItem.types.json +9 -9
  26. package/dist/typedoc/components/DateInput/DateInput.types.json +35 -35
  27. package/dist/typedoc/components/DateSelect/DateSelect.types.json +13 -13
  28. package/dist/typedoc/components/Dropdown/Dropdown.types.json +34 -34
  29. package/dist/typedoc/components/DropdownFlyout/DropdownFlyout.types.json +32 -32
  30. package/dist/typedoc/components/Dropzone/Dropzone.types.json +41 -41
  31. package/dist/typedoc/components/EmptyState/EmptyState.types.json +14 -14
  32. package/dist/typedoc/components/FileList/FileList.types.json +3 -3
  33. package/dist/typedoc/components/FileSelect/FileSelect.types.json +25 -25
  34. package/dist/typedoc/components/FileSelect/GridSource/GridSource.types.json +20 -20
  35. package/dist/typedoc/components/FileSelect/LocalSource/LocalSource.types.json +14 -14
  36. package/dist/typedoc/components/FileSelect/TreeSource/TreeSource.types.json +9 -9
  37. package/dist/typedoc/components/Font/Font.types.json +7 -7
  38. package/dist/typedoc/components/Form/Form.types.json +657 -727
  39. package/dist/typedoc/components/GroupSelect/GroupSelect.types.json +50 -50
  40. package/dist/typedoc/components/Icon/Icon.types.json +10 -10
  41. package/dist/typedoc/components/Input/Input.types.json +2 -2
  42. package/dist/typedoc/components/Link/Link.types.json +4 -4
  43. package/dist/typedoc/components/Menu/Menu.types.json +67 -67
  44. package/dist/typedoc/components/MenuImperative/MenuImperative.types.json +67 -67
  45. package/dist/typedoc/components/Modal/Modal.types.json +27 -27
  46. package/dist/typedoc/components/MultiSelect/MultiSelect.types.json +29 -29
  47. package/dist/typedoc/components/Notation/Notation.types.json +4 -4
  48. package/dist/typedoc/components/NumberInput/NumberInput.types.json +25 -25
  49. package/dist/typedoc/components/OverlayTrigger/OverlayTrigger.json +18 -18
  50. package/dist/typedoc/components/Pagination/Pagination.types.json +8 -8
  51. package/dist/typedoc/components/Panel/Panel.types.json +17 -17
  52. package/dist/typedoc/components/Pill/Pill.types.json +1 -1
  53. package/dist/typedoc/components/PillSelect/PillSelect.types.json +46 -46
  54. package/dist/typedoc/components/Popover/Popover.types.json +9 -9
  55. package/dist/typedoc/components/ProgressBar/ProgressBar.types.json +5 -5
  56. package/dist/typedoc/components/RadioButton/RadioButton.types.json +6 -6
  57. package/dist/typedoc/components/Required/Required.types.json +5 -5
  58. package/dist/typedoc/components/Search/Search.types.json +21 -21
  59. package/dist/typedoc/components/SegmentedController/SegmentedController.types.json +20 -20
  60. package/dist/typedoc/components/Select/Select.types.json +31 -31
  61. package/dist/typedoc/components/Slider/Slider.types.json +6 -6
  62. package/dist/typedoc/components/Spinner/Spinner.types.json +8 -8
  63. package/dist/typedoc/components/Switch/Switch.types.json +3 -3
  64. package/dist/typedoc/components/Table/Table.types.json +94 -94
  65. package/dist/typedoc/components/Tabs/Tabs.types.json +15 -15
  66. package/dist/typedoc/components/TextArea/TextArea.types.json +3 -3
  67. package/dist/typedoc/components/TextEditor/TextEditor.types.json +7 -7
  68. package/dist/typedoc/components/Thumbnail/Thumbnail.types.json +12 -12
  69. package/dist/typedoc/components/TieredDropdown/TieredDropdown.types.json +41 -41
  70. package/dist/typedoc/components/TieredSelect/TieredSelect.types.json +27 -27
  71. package/dist/typedoc/components/Tile/Tile.types.json +30 -30
  72. package/dist/typedoc/components/Toast/Toast.types.json +4 -4
  73. package/dist/typedoc/components/ToggleButton/ToggleButton.types.json +3 -3
  74. package/dist/typedoc/components/Token/Token.types.json +11 -11
  75. package/dist/typedoc/components/Tooltip/Tooltip.types.json +13 -13
  76. package/dist/typedoc/components/Tree/Tree.types.json +85 -85
  77. package/dist/typedoc/components/Typeahead/Typeahead.types.json +2 -2
  78. package/dist/typedoc/components/Typography/Typography.types.json +8 -8
  79. package/dist/typedoc/layouts/Box/Box.types.json +66 -66
  80. package/dist/typedoc/layouts/DetailPage/DetailPage.json +11 -11
  81. package/dist/typedoc/layouts/Flex/Flex.types.json +26 -26
  82. package/dist/typedoc/layouts/FlexList/FlexList.types.json +29 -29
  83. package/dist/typedoc/layouts/Grid/Grid.json +10 -10
  84. package/dist/typedoc/layouts/LegacyDetailPage/LegacyDetailPage.json +4 -4
  85. package/dist/typedoc/layouts/ListPage/ListPage.types.json +10 -10
  86. package/dist/typedoc/layouts/NextDetailPage/NextDetailPage.types.json +4 -4
  87. package/dist/typedoc/layouts/NextGrid/NextGrid.types.json +8 -8
  88. package/dist/typedoc/layouts/PageLayout/PageLayout.types.json +7 -7
  89. package/dist/typedoc/layouts/ToolHeader/ToolHeader.types.json +8 -8
  90. package/dist/typedoc/utils/types.json +3 -3
  91. package/package.json +23 -23
  92. package/storybook-static/0.78a84bb5.iframe.bundle.js +1 -0
  93. package/storybook-static/{0.6e425a95d798c8732d42.manager.bundle.js → 0.f950b464d1fc37207e4c.manager.bundle.js} +1 -1
  94. package/storybook-static/1.51648541.iframe.bundle.js +3 -0
  95. package/storybook-static/{1.4d6deeb1.iframe.bundle.js.LICENSE.txt → 1.51648541.iframe.bundle.js.LICENSE.txt} +0 -0
  96. package/storybook-static/1.51648541.iframe.bundle.js.map +1 -0
  97. package/storybook-static/10.b9626d1b.iframe.bundle.js +3 -0
  98. package/storybook-static/{10.36111f47.iframe.bundle.js.LICENSE.txt → 10.b9626d1b.iframe.bundle.js.LICENSE.txt} +0 -0
  99. package/storybook-static/10.b9626d1b.iframe.bundle.js.map +1 -0
  100. package/storybook-static/{2.c862007b.iframe.bundle.js → 2.73ba6318.iframe.bundle.js} +1 -1
  101. package/storybook-static/4.334a5a1cc6d9cfd2a3ef.manager.bundle.js +2 -0
  102. package/storybook-static/{4.8c851bf5c7f2eb82dc3d.manager.bundle.js.LICENSE.txt → 4.334a5a1cc6d9cfd2a3ef.manager.bundle.js.LICENSE.txt} +0 -0
  103. package/storybook-static/5.ddb741a4b86d3b19571f.manager.bundle.js +1 -0
  104. package/storybook-static/{6.c10a40ec35c7e3d1780a.manager.bundle.js → 6.88944915f82378974206.manager.bundle.js} +2 -2
  105. package/storybook-static/{6.c10a40ec35c7e3d1780a.manager.bundle.js.LICENSE.txt → 6.88944915f82378974206.manager.bundle.js.LICENSE.txt} +0 -0
  106. package/storybook-static/7.053e9ee8.iframe.bundle.js +3 -0
  107. package/storybook-static/{7.2d596a64.iframe.bundle.js.LICENSE.txt → 7.053e9ee8.iframe.bundle.js.LICENSE.txt} +0 -0
  108. package/storybook-static/7.053e9ee8.iframe.bundle.js.map +1 -0
  109. package/storybook-static/{8.42c1ae3b.iframe.bundle.js → 8.2a782ffa.iframe.bundle.js} +1 -1
  110. package/storybook-static/iframe.html +1 -1
  111. package/storybook-static/index.html +1 -1
  112. package/storybook-static/main.d819a4d5.iframe.bundle.js +1 -0
  113. package/storybook-static/{runtime~main.7673f4726ad6d5afe030.manager.bundle.js → runtime~main.a5bd6581fa2ada8d35f9.manager.bundle.js} +1 -1
  114. package/storybook-static/{runtime~main.bc98065a.iframe.bundle.js → runtime~main.b565c3f1.iframe.bundle.js} +1 -1
  115. package/storybook-static/vendors~main.080bb7873669e5bf4509.manager.bundle.js +2 -0
  116. package/storybook-static/{vendors~main.ba9cc155b26044ee7c1e.manager.bundle.js.LICENSE.txt → vendors~main.080bb7873669e5bf4509.manager.bundle.js.LICENSE.txt} +0 -0
  117. package/storybook-static/vendors~main.c8341845.iframe.bundle.js +3 -0
  118. package/storybook-static/{vendors~main.1d39b76f.iframe.bundle.js.LICENSE.txt → vendors~main.c8341845.iframe.bundle.js.LICENSE.txt} +0 -0
  119. package/storybook-static/vendors~main.c8341845.iframe.bundle.js.map +1 -0
  120. package/storybook-static/0.7ce97d20.iframe.bundle.js +0 -1
  121. package/storybook-static/1.4d6deeb1.iframe.bundle.js +0 -3
  122. package/storybook-static/1.4d6deeb1.iframe.bundle.js.map +0 -1
  123. package/storybook-static/10.36111f47.iframe.bundle.js +0 -3
  124. package/storybook-static/10.36111f47.iframe.bundle.js.map +0 -1
  125. package/storybook-static/4.8c851bf5c7f2eb82dc3d.manager.bundle.js +0 -2
  126. package/storybook-static/5.44d8a5f98a1290fa8467.manager.bundle.js +0 -1
  127. package/storybook-static/7.2d596a64.iframe.bundle.js +0 -3
  128. package/storybook-static/7.2d596a64.iframe.bundle.js.map +0 -1
  129. package/storybook-static/main.d3891aca.iframe.bundle.js +0 -1
  130. package/storybook-static/vendors~main.1d39b76f.iframe.bundle.js +0 -3
  131. package/storybook-static/vendors~main.1d39b76f.iframe.bundle.js.map +0 -1
  132. package/storybook-static/vendors~main.ba9cc155b26044ee7c1e.manager.bundle.js +0 -2
@@ -318,12 +318,12 @@ export declare type ViewFieldProps<Value, FieldTypeProps extends FieldProps<Valu
318
318
  export declare type FieldTextValueType = string;
319
319
  export interface FieldTextComponentProps<Value = FieldTextValueType> extends ValueComponentProps<Value>, InputProps {
320
320
  }
321
- export interface FieldTextProps<Value = FieldTextValueType> extends FieldProps<Value>, Omit<InputProps, 'name' | 'children' | 'error'> {
321
+ export interface FieldTextProps<Value = FieldTextValueType> extends FieldProps<Value>, Omit<InputProps, 'name' | 'children' | 'error' | 'value'> {
322
322
  }
323
323
  export declare type FieldNumberValueType = BaseNumberInputValueType;
324
324
  export interface FieldNumberComponentProps<Value = FieldNumberValueType> extends ValueComponentProps<Value>, NumberInputProps {
325
325
  }
326
- export interface FieldNumberProps<Value = FieldNumberValueType> extends FieldProps<Value>, Omit<InputAttributes, 'name' | 'children'> {
326
+ export interface FieldNumberProps<Value = FieldNumberValueType> extends FieldProps<Value>, Omit<InputAttributes, 'name' | 'children' | 'value'> {
327
327
  }
328
328
  export declare type FieldCurrencyValueType = BaseNumberInputValueType;
329
329
  export interface FieldCurrencyComponentProps<Value = FieldCurrencyValueType> extends ValueComponentProps<Value>, NumberInputProps {
@@ -333,7 +333,7 @@ export interface FieldCurrencyProps<Value = FieldCurrencyValueType> extends Fiel
333
333
  export declare type FieldDateValueType = null | string | Date;
334
334
  export interface FieldDateComponentProps<Value = FieldDateValueType> extends ValueComponentProps<Value>, DateSelectProps {
335
335
  }
336
- export interface FieldDateProps<Value = FieldDateValueType> extends FieldProps<Value>, Omit<DateSelectProps, 'error'> {
336
+ export interface FieldDateProps<Value = FieldDateValueType> extends FieldProps<Value>, Omit<DateSelectProps, 'error' | 'value'> {
337
337
  }
338
338
  export declare type FieldCheckboxValueType = boolean;
339
339
  export interface FieldCheckboxComponentProps<Value = FieldCheckboxValueType> extends ValueComponentProps<Value>, CheckboxProps {
@@ -342,7 +342,7 @@ export interface FieldCheckboxComponentProps<Value = FieldCheckboxValueType> ext
342
342
  */
343
343
  i18nScope?: string;
344
344
  }
345
- export interface FieldCheckboxProps<Value = FieldCheckboxValueType> extends FieldProps<Value>, Omit<CheckboxProps, 'name' | 'error' | 'children'> {
345
+ export interface FieldCheckboxProps<Value = FieldCheckboxValueType> extends FieldProps<Value>, Omit<CheckboxProps, 'name' | 'error' | 'children' | 'value'> {
346
346
  /**
347
347
  * @since 10.19.0
348
348
  */
@@ -351,12 +351,12 @@ export interface FieldCheckboxProps<Value = FieldCheckboxValueType> extends Fiel
351
351
  export declare type FieldTextAreaValueType = string;
352
352
  export interface FieldTextAreaComponentProps<Value = FieldTextAreaValueType> extends ValueComponentProps<Value>, TextAreaProps {
353
353
  }
354
- export interface FieldTextAreaProps<Value = FieldTextAreaValueType> extends FieldProps<Value>, Omit<TextAreaProps, 'name' | 'error' | 'children'> {
354
+ export interface FieldTextAreaProps<Value = FieldTextAreaValueType> extends FieldProps<Value>, Omit<TextAreaProps, 'name' | 'error' | 'children' | 'value'> {
355
355
  }
356
356
  export declare type FieldRichTextValueType = string;
357
357
  export interface FieldRichTextComponentProps<Value = FieldRichTextValueType> extends ValueComponentProps<Value>, TextEditorProps {
358
358
  }
359
- export interface FieldRichTextProps<Value = FieldRichTextValueType> extends Omit<FieldProps<Value>, 'error'>, TextEditorProps {
359
+ export interface FieldRichTextProps<Value = FieldRichTextValueType> extends Omit<FieldProps<Value>, 'error'>, Omit<TextEditorProps, 'value'> {
360
360
  }
361
361
  export declare type FieldRadioButtonsValueType = any;
362
362
  export interface FieldRadioButtonsComponentProps<Value = FieldRadioButtonsValueType> extends ValueComponentProps<Value>, Partial<OptionList<Value>>, Pick<Props, 'className' | 'style'> {
@@ -490,27 +490,35 @@ export interface FieldSelectComponentProps<Value = FieldSelectValueType, OptionI
490
490
  export interface FieldSelectProps<Value = FieldSelectValueType, OptionItem = FieldSelectOptionItem, GroupItem = FieldSelectGroupItem> extends FieldProps<Value>, Partial<OptionList<OptionItem>>, Pick<FieldSelectComponentProps<Value, OptionItem, GroupItem>, 'getGroup' | 'groupGetId' | 'groupGetLabel' | 'groupHeaderRenderer' | 'isSuggestedOption' | 'onBlur' | 'onClear' | 'optgroups' | 'onSearch' | 'optionRenderer' | 'searchComparator'>, Omit<SelectProps, 'onClear' | 'onSearch' | 'error' | 'children' | 'label'> {
491
491
  }
492
492
  export declare type FieldPillSelectValueType = any;
493
- export interface FieldPillSelectComponentProps<Value = FieldPillSelectValueType> extends ValueComponentProps<Value>, Omit<PillSelectProps, 'children' | 'onClear' | 'error' | 'value'> {
493
+ interface PillSelectCommon extends Omit<PillSelectProps, 'children' | 'onClear' | 'error' | 'value'> {
494
494
  /**
495
495
  * @since 10.19.0
496
496
  */
497
497
  onClear?: false | PillSelectProps['onClear'];
498
498
  }
499
- export interface FieldPillSelectProps<Value = FieldPillSelectValueType> extends FieldProps<Value>, Omit<FieldPillSelectComponentProps<Value>, 'field'> {
499
+ export interface FieldPillSelectComponentProps<Value = FieldPillSelectValueType> extends ValueComponentProps<Value>, PillSelectCommon {
500
+ }
501
+ export interface FieldPillSelectProps<Value = FieldPillSelectValueType> extends FieldProps<Value>, PillSelectCommon {
500
502
  }
501
503
  export declare type FieldMultiSelectValueType = any[];
502
- export interface FieldMultiSelectComponentProps<Value = FieldMultiSelectValueType> extends ValueComponentProps<Value>, Partial<OptionList<ValueInArray<Value>>>, Omit<MultiSelectProps, 'options' | 'getLabel' | 'getId' | 'error'> {
504
+ interface MultiSelectCommon<Value> extends Partial<OptionList<ValueInArray<Value>>>, Omit<MultiSelectProps, 'options' | 'getLabel' | 'getId' | 'error' | 'value'> {
505
+ }
506
+ export interface FieldMultiSelectComponentProps<Value = FieldMultiSelectValueType> extends ValueComponentProps<Value>, MultiSelectCommon<Value> {
503
507
  }
504
- export interface FieldMultiSelectProps<Value = FieldMultiSelectValueType> extends FieldProps<Value>, Partial<OptionList<ValueInArray<Value>>>, Omit<MultiSelectProps, 'options' | 'getLabel' | 'getId' | 'error'> {
508
+ export interface FieldMultiSelectProps<Value = FieldMultiSelectValueType> extends FieldProps<Value>, MultiSelectCommon<Value> {
505
509
  }
506
510
  export declare type FieldGroupSelectValueType = any[];
507
- export interface FieldGroupSelectComponentProps<Value = FieldGroupSelectValueType> extends ValueComponentProps<Value>, Partial<OptionList<Value[keyof Value]>>, Omit<GroupSelectProps, 'options' | 'getLabel' | 'getId' | 'error'> {
511
+ interface GroupSelectCommon<Value> extends Partial<OptionList<Value[keyof Value]>>, Omit<GroupSelectProps, 'options' | 'getLabel' | 'getId' | 'error' | 'value'> {
508
512
  }
509
- export interface FieldGroupSelectProps<Value = FieldGroupSelectValueType> extends FieldProps<Value>, Partial<OptionList<Value[keyof Value]>>, Omit<GroupSelectProps, 'options' | 'getLabel' | 'getId' | 'error'> {
513
+ export interface FieldGroupSelectComponentProps<Value = FieldGroupSelectValueType> extends ValueComponentProps<Value>, GroupSelectCommon<Value> {
514
+ }
515
+ export interface FieldGroupSelectProps<Value = FieldGroupSelectValueType> extends FieldProps<Value>, GroupSelectCommon<Value> {
510
516
  }
511
517
  export declare type FieldTieredSelectValueType = any[];
512
- export interface FieldTieredSelectComponentProps<Value = FieldTieredSelectValueType> extends ValueComponentProps<Value>, Partial<OptionList<Value[keyof Value]>>, Omit<TieredSelectProps, 'options' | 'getLabel' | 'getId' | 'error' | 'children'> {
518
+ interface TieredSelectCommon<Value> extends Partial<OptionList<Value[keyof Value]>>, Omit<TieredSelectProps, 'options' | 'getLabel' | 'getId' | 'error' | 'children' | 'value'> {
519
+ }
520
+ export interface FieldTieredSelectComponentProps<Value = FieldTieredSelectValueType> extends ValueComponentProps<Value>, TieredSelectCommon<Value> {
513
521
  }
514
- export interface FieldTieredSelectProps<Value = FieldTieredSelectValueType> extends FieldProps<Value>, Partial<OptionList<Value[keyof Value]>>, Omit<TieredSelectProps, 'options' | 'getLabel' | 'getId' | 'error' | 'children'> {
522
+ export interface FieldTieredSelectProps<Value = FieldTieredSelectValueType> extends FieldProps<Value>, TieredSelectCommon<Value> {
515
523
  }
516
524
  export {};
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import React from 'react';
24
24
  import { addSubcomponents } from '../../utils/addSubcomponents';
25
25
  import { Tooltip as TooltipBase } from '../Tooltip';
26
- import { StyledContainer, StyledLabel, StyledSegment, } from './SegmentedController.styles';
26
+ import { StyledContainer, StyledLabel, StyledSegment, StyledSegmentDisabledInteractiveWrapper, } from './SegmentedController.styles';
27
27
  function noop() { }
28
28
  function isSegment(node) {
29
29
  return typeof node === 'object' && node.type === Segment;
@@ -45,8 +45,9 @@ var SegmentedController_ = React.forwardRef(function SegmentedController(_a, ref
45
45
  export var Segment = React.forwardRef(function Segment(_a, ref) {
46
46
  var _b = _a.active, active = _b === void 0 ? false : _b, children = _a.children, _c = _a.disabled, disabled = _c === void 0 ? false : _c, _d = _a.placement, placement = _d === void 0 ? 'top' : _d, tooltip = _a.tooltip, props = __rest(_a, ["active", "children", "disabled", "placement", "tooltip"]);
47
47
  return (React.createElement(Tooltip, { overlay: tooltip, placement: placement },
48
- React.createElement(StyledSegment, __assign({}, props, { ref: ref, active: active, disabled: disabled, "aria-selected": active, type: "button" }),
49
- React.createElement(StyledLabel, null, children))));
48
+ React.createElement(StyledSegmentDisabledInteractiveWrapper, { "$active": active, "$disabled": disabled },
49
+ React.createElement(StyledSegment, __assign({}, props, { ref: ref, "aria-selected": active, active: active, disabled: disabled, type: "button" }),
50
+ React.createElement(StyledLabel, null, children)))));
50
51
  });
51
52
  /**
52
53
  * @deprecated
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedController.js","sourceRoot":"","sources":["../../../../src/components/SegmentedController/SegmentedController.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK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C,CAAC,CAAA;AAEF,IAAM,SAAS,GAAG,UAAC,MAAW,IAAK,OAAA,UAAC,SAAc,IAAK,OAAA,UAAC,KAAU;IAC1D,IAAA,KAA+B,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAA/C,aAAa,QAAA,EAAE,WAAW,QAAqB,CAAA;IAEtD,OAAO,oBAAC,SAAS,qCAAU,KAAK,KAAE,aAAa,eAAA,EAAE,WAAW,aAAA,KAAM,CAAA;AACpE,CAAC,EAJsD,CAItD,EAJkC,CAIlC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,CAAC,IAAM,KAAK,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC,UAAC,EAA2B;IAAzB,IAAA,QAAQ,cAAA,EAAK,KAAK,cAApB,YAAsB,CAAF;IACtD,OAAA,QAAQ,CAAC,KAAK,CAAC,CAAA;CAAA,CAChB,CAAA;AAED,oBAAoB,CAAC,WAAW,GAAG,qBAAqB,CAAA;AAExD,OAAO,CAAC,WAAW,GAAG,6BAA6B,CAAA;AAEnD,OAAO,CAAC,WAAW,GAAG,6BAA6B,CAAA;AAEnD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,IAAM,mBAAmB,GAAG,gBAAgB,CACjD;IACE,OAAO,SAAA;IACP,KAAK,OAAA;IACL,OAAO,SAAA;CACR,EACD,oBAAoB,CACrB,CAAA"}
1
+ {"version":3,"file":"SegmentedController.js","sourceRoot":"","sources":["../../../../src/components/SegmentedController/SegmentedController.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAE/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EACL,eAAe,EACf,WAAW,EACX,aAAa,EACb,uCAAuC,GACxC,MAAM,8BAA8B,CAAA;AAO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C,CAAC,EAA/C,aAAa,QAAA,EAAE,WAAW,QAAqB,CAAA;IAEtD,OAAO,oBAAC,SAAS,qCAAU,KAAK,KAAE,aAAa,eAAA,EAAE,WAAW,aAAA,KAAM,CAAA;AACpE,CAAC,EAJsD,CAItD,EAJkC,CAIlC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,CAAC,IAAM,KAAK,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC,UAAC,EAA2B;IAAzB,IAAA,QAAQ,cAAA,EAAK,KAAK,cAApB,YAAsB,CAAF;IACtD,OAAA,QAAQ,CAAC,KAAK,CAAC,CAAA;CAAA,CAChB,CAAA;AAED,oBAAoB,CAAC,WAAW,GAAG,qBAAqB,CAAA;AAExD,OAAO,CAAC,WAAW,GAAG,6BAA6B,CAAA;AAEnD,OAAO,CAAC,WAAW,GAAG,6BAA6B,CAAA;AAEnD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,IAAM,mBAAmB,GAAG,gBAAgB,CACjD;IACE,OAAO,SAAA;IACP,KAAK,OAAA;IACL,OAAO,SAAA;CACR,EACD,oBAAoB,CACrB,CAAA"}
@@ -3,5 +3,10 @@ export declare const StyledContainer: import("styled-components").StyledComponen
3
3
  }, never>;
4
4
  export declare const StyledSegment: import("styled-components").StyledComponent<"button", any, {
5
5
  active: boolean;
6
+ disabled: boolean;
7
+ }, never>;
8
+ export declare const StyledSegmentDisabledInteractiveWrapper: import("styled-components").StyledComponent<"div", any, {
9
+ $active: boolean;
10
+ $disabled: boolean;
6
11
  }, never>;
7
12
  export declare const StyledLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -14,16 +14,21 @@ export var StyledContainer = styled.div(templateObject_1 || (templateObject_1 =
14
14
  var block = _a.block;
15
15
  return (block ? '100%' : null);
16
16
  });
17
- export var StyledSegment = styled.button(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n border-radius: 0;\n border-style: solid;\n border-width: 1px;\n cursor: pointer;\n display: flex;\n flex: 1 1 auto;\n height: 100%;\n justify-content: center;\n min-width: 0;\n outline: 0;\n padding: 0 ", "px;\n position: relative;\n\n // For all segments which are not the first child, hide the left border.\n // This is the basis of all the styling so we can get that single pixel line\n // between each segment\n &:not(:first-child) {\n border-left-width: 0;\n }\n\n &:first-child {\n border-bottom-left-radius: ", "px;\n border-top-left-radius: ", "px;\n }\n\n &:last-child {\n border-bottom-right-radius: ", "px;\n border-top-right-radius: ", "px;\n }\n\n &:focus,\n &.focus {\n &:not(:disabled) {\n // Custom focus style, not using the mixin because we need to have control\n // over borders and outlines\n border-color: ", ";\n box-shadow: 0 0 0 1px ", ";\n z-index: 1;\n }\n }\n\n ", "\n"], ["\n align-items: center;\n border-radius: 0;\n border-style: solid;\n border-width: 1px;\n cursor: pointer;\n display: flex;\n flex: 1 1 auto;\n height: 100%;\n justify-content: center;\n min-width: 0;\n outline: 0;\n padding: 0 ", "px;\n position: relative;\n\n // For all segments which are not the first child, hide the left border.\n // This is the basis of all the styling so we can get that single pixel line\n // between each segment\n &:not(:first-child) {\n border-left-width: 0;\n }\n\n &:first-child {\n border-bottom-left-radius: ", "px;\n border-top-left-radius: ", "px;\n }\n\n &:last-child {\n border-bottom-right-radius: ", "px;\n border-top-right-radius: ", "px;\n }\n\n &:focus,\n &.focus {\n &:not(:disabled) {\n // Custom focus style, not using the mixin because we need to have control\n // over borders and outlines\n border-color: ", ";\n box-shadow: 0 0 0 1px ", ";\n z-index: 1;\n }\n }\n\n ", "\n"])), spacing.md, borderRadius.md, borderRadius.md, borderRadius.md, borderRadius.md, colors.blue40, colors.blue40, function (_a) {
17
+ export var StyledSegment = styled.button(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n border-radius: 0;\n border: 1px solid ", ";\n cursor: pointer;\n display: flex;\n flex: 1 1 auto;\n height: 100%;\n justify-content: center;\n min-width: 0;\n outline: 0;\n padding: 0 ", "px;\n position: relative;\n background-color: ", ";\n color: ", ";\n\n ", "\n"], ["\n align-items: center;\n border-radius: 0;\n border: 1px solid ", ";\n cursor: pointer;\n display: flex;\n flex: 1 1 auto;\n height: 100%;\n justify-content: center;\n min-width: 0;\n outline: 0;\n padding: 0 ", "px;\n position: relative;\n background-color: ", ";\n color: ", ";\n\n ", "\n"])), colors.gray85, spacing.md, colors.white, colors.gray45, function (_a) {
18
18
  var _b = _a.active, active = _b === void 0 ? false : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c;
19
19
  if (disabled) {
20
- return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n &,\n &:disabled {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n pointer-events: none;\n }\n "], ["\n &,\n &:disabled {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n pointer-events: none;\n }\n "])), active ? colors.gray85 : colors.white, colors.gray85, active ? colors.white : colors.gray85);
20
+ return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n &,\n &:hover,\n &:disabled {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n pointer-events: none;\n }\n "], ["\n &,\n &:hover,\n &:disabled {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n pointer-events: none;\n }\n "])), active ? colors.gray85 : colors.white, colors.gray85, active ? colors.white : colors.gray85);
21
21
  }
22
- else if (active) {
23
- return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n &,\n &:hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n & + * {\n // If a segment is active, the sibling to the right must have its left\n // border turned on to match the spec with a gray line on either\n // side of an active segment.\n //\n // !important is needed to override :not(:first-child) specificity\n border-left-width: 1px !important;\n margin-left: -1px !important;\n }\n "], ["\n &,\n &:hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n & + * {\n // If a segment is active, the sibling to the right must have its left\n // border turned on to match the spec with a gray line on either\n // side of an active segment.\n //\n // !important is needed to override :not(:first-child) specificity\n border-left-width: 1px !important;\n margin-left: -1px !important;\n }\n "])), colors.blue50, colors.blue50, colors.white);
22
+ });
23
+ export var StyledSegmentDisabledInteractiveWrapper = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n\n // For all segments which are not the first child, hide the left border.\n // This is the basis of all the styling so we can get that single pixel line\n // between each segment\n &:not(:first-child) ", " {\n border-left-width: 0;\n }\n\n &:first-child ", " {\n border-bottom-left-radius: ", "px;\n border-top-left-radius: ", "px;\n\n &:focus,\n &.focus {\n margin-left: 0;\n }\n }\n\n &:last-child ", " {\n border-bottom-right-radius: ", "px;\n border-top-right-radius: ", "px;\n }\n\n & ", " {\n &:focus,\n &.focus {\n border-color: ", ";\n\n // If we hover or focus on a segment we want to show its left border\n border-left-width: 1px !important;\n\n // We also need to use a negative margin to account for the additional width\n // from turning on the left border so we don't get shifting. However,\n // we don't want to shift the first item because its border is always on\n margin-left: -1px;\n\n &:not(:disabled) {\n // Custom focus style, not using the mixin because we need to have control\n // over borders and outlines\n border-color: ", ";\n box-shadow: 0 0 0 1px ", ";\n z-index: 1;\n }\n }\n }\n\n ", "\n"], ["\n display: flex;\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n\n // For all segments which are not the first child, hide the left border.\n // This is the basis of all the styling so we can get that single pixel line\n // between each segment\n &:not(:first-child) ", " {\n border-left-width: 0;\n }\n\n &:first-child ", " {\n border-bottom-left-radius: ", "px;\n border-top-left-radius: ", "px;\n\n &:focus,\n &.focus {\n margin-left: 0;\n }\n }\n\n &:last-child ", " {\n border-bottom-right-radius: ", "px;\n border-top-right-radius: ", "px;\n }\n\n & ", " {\n &:focus,\n &.focus {\n border-color: ", ";\n\n // If we hover or focus on a segment we want to show its left border\n border-left-width: 1px !important;\n\n // We also need to use a negative margin to account for the additional width\n // from turning on the left border so we don't get shifting. However,\n // we don't want to shift the first item because its border is always on\n margin-left: -1px;\n\n &:not(:disabled) {\n // Custom focus style, not using the mixin because we need to have control\n // over borders and outlines\n border-color: ", ";\n box-shadow: 0 0 0 1px ", ";\n z-index: 1;\n }\n }\n }\n\n ", "\n"])), StyledSegment, StyledSegment, borderRadius.md, borderRadius.md, StyledSegment, borderRadius.md, borderRadius.md, StyledSegment, colors.gray85, colors.blue40, colors.blue40, function (_a) {
24
+ var _b = _a.$active, $active = _b === void 0 ? false : _b, _c = _a.$disabled, $disabled = _c === void 0 ? false : _c;
25
+ if (!$disabled) {
26
+ if ($active) {
27
+ return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n & ", " {\n &,\n &:hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n }\n & + * ", " {\n // If a segment is active, the sibling to the right must have its left\n // border turned on to match the spec with a gray line on either\n // side of an active segment.\n //\n // !important is needed to override :not(:first-child) specificity\n border-left-width: 1px !important;\n margin-left: -1px !important;\n }\n "], ["\n & ", " {\n &,\n &:hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n }\n & + * ", " {\n // If a segment is active, the sibling to the right must have its left\n // border turned on to match the spec with a gray line on either\n // side of an active segment.\n //\n // !important is needed to override :not(:first-child) specificity\n border-left-width: 1px !important;\n margin-left: -1px !important;\n }\n "])), StyledSegment, colors.blue50, colors.blue50, colors.white, StyledSegment);
28
+ }
29
+ return css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n & ", " {\n &:hover,\n &.hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n }\n "], ["\n & ", " {\n &:hover,\n &.hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n }\n "])), StyledSegment, colors.gray94, colors.gray85, colors.gray45);
24
30
  }
25
- return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n\n &:hover,\n &.hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n &:focus,\n &.focus {\n border-color: ", ";\n\n // If we hover or focus on a segment we want to show its left border\n border-left-width: 1px;\n\n // We also need to use a negative margin to account for the additional width\n // from turning on the left border so we don't get shifting. However,\n // we don't want to shift the first item because its border is always on\n &:not(:first-child) {\n margin-left: -1px;\n }\n }\n "], ["\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n\n &:hover,\n &.hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n &:focus,\n &.focus {\n border-color: ", ";\n\n // If we hover or focus on a segment we want to show its left border\n border-left-width: 1px;\n\n // We also need to use a negative margin to account for the additional width\n // from turning on the left border so we don't get shifting. However,\n // we don't want to shift the first item because its border is always on\n &:not(:first-child) {\n margin-left: -1px;\n }\n }\n "])), colors.white, colors.gray85, colors.gray45, colors.gray94, colors.gray85, colors.gray45, colors.blue50);
26
31
  });
27
- export var StyledLabel = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", ";\n\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"], ["\n ", ";\n\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"])), getTypographyIntent('body'));
28
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
32
+ export var StyledLabel = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", ";\n\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"], ["\n ", ";\n\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"])), getTypographyIntent('body'));
33
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
29
34
  //# sourceMappingURL=SegmentedController.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedController.styles.js","sourceRoot":"","sources":["../../../../src/components/SegmentedController/SegmentedController.styles.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,2B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C,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,EAGjD;KACF;SAAM,IAAI,MAAM,EAAE;QACjB,OAAO,GAAG,ymBAAA,+DAGc,EAAa,6BACjB,EAAa,sBACpB,EAAY,8aAYxB,KAduB,MAAM,CAAC,MAAM,EACjB,MAAM,CAAC,MAAM,EACpB,MAAM,CAAC,KAAK,EAYxB;KACF;IAED,OAAO,GAAG,oxBAAA,4BACY,EAAY,yBAChB,EAAa,kBACpB,EAAa,kEAIA,EAAa,2BACjB,EAAa,oBACpB,EAAa,uEAKN,EAAa,ocAYhC,KAzBqB,MAAM,CAAC,KAAK,EAChB,MAAM,CAAC,MAAM,EACpB,MAAM,CAAC,MAAM,EAIA,MAAM,CAAC,MAAM,EACjB,MAAM,CAAC,MAAM,EACpB,MAAM,CAAC,MAAM,EAKN,MAAM,CAAC,MAAM,EAYhC;AACH,CAAC,CACF,CAAA;AAED,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC,IAAI,8KAAA,MAClC,EAA2B,mGAM9B,KANG,mBAAmB,CAAC,MAAM,CAAC,CAM9B,CAAA"}
1
+ {"version":3,"file":"SegmentedController.styles.js","sourceRoot":"","sources":["../../../../src/components/SegmentedController/SegmentedController.styles.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAErE,MAAM,CAAC,IAAM,eAAe,GAAG,MAAM,CAAC,GAAG,8KAAqB,uCAEjD,EAA+C,2DAGjD,EAAsC,KAChD,KAJY,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,CAA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AE,EAClB,YAAY,CAAC,EAAE,EAGxC,aAAa,EAGG,MAAM,CAAC,MAAM,EAaX,MAAM,CAAC,MAAM,EACL,MAAM,CAAC,MAAM,EAMzC,UAAC,EAAsC;QAApC,eAAe,EAAf,OAAO,mBAAG,KAAK,KAAA,EAAE,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA;IACrC,IAAI,CAAC,SAAS,EAAE;QACd,IAAI,OAAO,EAAE;YACX,OAAO,GAAG,yrBAAA,gBACJ,EAAa,6EAGO,EAAa,iCACjB,EAAa,0BACpB,EAAY,iDAGjB,EAAa,maAStB,KAjBK,aAAa,EAGO,MAAM,CAAC,MAAM,EACjB,MAAM,CAAC,MAAM,EACpB,MAAM,CAAC,KAAK,EAGjB,aAAa,EAStB;SACF;QACD,OAAO,GAAG,gQAAA,cACJ,EAAa,6EAGO,EAAa,+BACjB,EAAa,wBACpB,EAAa,mCAG3B,KARK,aAAa,EAGO,MAAM,CAAC,MAAM,EACjB,MAAM,CAAC,MAAM,EACpB,MAAM,CAAC,MAAM,EAG3B;KACF;AACH,CAAC,CACF,CAAA;AAED,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC,IAAI,8KAAA,MAClC,EAA2B,mGAM9B,KANG,mBAAmB,CAAC,MAAM,CAAC,CAM9B,CAAA"}
@@ -1,5 +1,6 @@
1
+ import { PillColor } from '../../Pill';
1
2
  export declare const mockOptions: {
2
3
  id: string;
3
4
  label: string;
4
- color: string;
5
+ color: PillColor;
5
6
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"pillSelectMockData.js","sourceRoot":"","sources":["../../../../../src/components/_storyHelpers_/mocks/pillSelectMockData.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,WAAW,GAAG;IACzB,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,EAAE;IACnD,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE;IACzC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE;IACpD,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,EAAE;IACvD;QACE,EAAE,EAAE,GAAG;QACP,KAAK,EAAE,yDAAyD;QAChE,KAAK,EAAE,OAAO;KACf;CACF,CAAA"}
1
+ {"version":3,"file":"pillSelectMockData.js","sourceRoot":"","sources":["../../../../../src/components/_storyHelpers_/mocks/pillSelectMockData.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,WAAW,GAAsD;IAC5E,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,EAAE;IACnD,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE;IACzC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE;IACpD,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,EAAE;IACvD;QACE,EAAE,EAAE,GAAG;QACP,KAAK,EAAE,yDAAyD;QAChE,KAAK,EAAE,OAAO;KACf;CACF,CAAA"}
@@ -10,7 +10,7 @@
10
10
  "description": "Instead of using the default children, you can pass in your own.",
11
11
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
12
12
  "sourceFile": "packages/core-react/src/utils/types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L40"
13
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L40"
14
14
  },
15
15
  {
16
16
  "name": "className",
@@ -20,7 +20,7 @@
20
20
  "description": "Additional classNames",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
22
22
  "sourceFile": "packages/core-react/src/utils/types.ts",
23
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L45"
23
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L45"
24
24
  },
25
25
  {
26
26
  "name": "icon",
@@ -32,7 +32,7 @@
32
32
  "deprecated": "\n\nThe `string` type icon has been deprecated and will be removed in the future.\nPlease use a React icon component from the `@procore/core-icons/dist` package.\n\n**Before**\n\n```\n<Avatar>\n <Avatar.Icon icon=\"building\" />\n</Avatar>\n```\n\n**After**\n\n```\n<Avatar>\n <Avatar.Icon icon={<Building />} />\n</Avatar>\n```\n",
33
33
  "deprecatedSince": "10.20.0",
34
34
  "sourceFile": "packages/core-react/src/components/Avatar/Avatar.types.ts",
35
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/components/Avatar/Avatar.types.ts#L71"
35
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/components/Avatar/Avatar.types.ts#L71"
36
36
  },
37
37
  {
38
38
  "name": "style",
@@ -42,7 +42,7 @@
42
42
  "description": "Additional CSS styles",
43
43
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
44
44
  "sourceFile": "packages/core-react/src/utils/types.ts",
45
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L50"
45
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L50"
46
46
  }
47
47
  ],
48
48
  "description": ""
@@ -58,7 +58,7 @@
58
58
  "description": "Instead of using the default children, you can pass in your own.",
59
59
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
60
60
  "sourceFile": "packages/core-react/src/utils/types.ts",
61
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L40"
61
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L40"
62
62
  },
63
63
  {
64
64
  "name": "className",
@@ -68,7 +68,7 @@
68
68
  "description": "Additional classNames",
69
69
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
70
70
  "sourceFile": "packages/core-react/src/utils/types.ts",
71
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L45"
71
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L45"
72
72
  },
73
73
  {
74
74
  "name": "style",
@@ -78,7 +78,7 @@
78
78
  "description": "Additional CSS styles",
79
79
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
80
80
  "sourceFile": "packages/core-react/src/utils/types.ts",
81
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L50"
81
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L50"
82
82
  }
83
83
  ],
84
84
  "description": ""
@@ -94,7 +94,7 @@
94
94
  "description": "Instead of using the default children, you can pass in your own.",
95
95
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
96
96
  "sourceFile": "packages/core-react/src/utils/types.ts",
97
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L40"
97
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L40"
98
98
  },
99
99
  {
100
100
  "name": "className",
@@ -104,7 +104,7 @@
104
104
  "description": "Additional classNames",
105
105
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
106
106
  "sourceFile": "packages/core-react/src/utils/types.ts",
107
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L45"
107
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L45"
108
108
  },
109
109
  {
110
110
  "name": "imageUrl",
@@ -114,7 +114,7 @@
114
114
  "description": "The avatar rich media url",
115
115
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The avatar rich media url</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
116
116
  "sourceFile": "packages/core-react/src/components/Avatar/Avatar.types.ts",
117
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/components/Avatar/Avatar.types.ts#L79"
117
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/components/Avatar/Avatar.types.ts#L79"
118
118
  },
119
119
  {
120
120
  "name": "style",
@@ -124,7 +124,7 @@
124
124
  "description": "Additional CSS styles",
125
125
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
126
126
  "sourceFile": "packages/core-react/src/utils/types.ts",
127
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L50"
127
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L50"
128
128
  }
129
129
  ],
130
130
  "description": ""
@@ -140,7 +140,7 @@
140
140
  "description": "Instead of using the default children, you can pass in your own.",
141
141
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
142
142
  "sourceFile": "packages/core-react/src/utils/types.ts",
143
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L40"
143
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L40"
144
144
  },
145
145
  {
146
146
  "name": "className",
@@ -150,7 +150,7 @@
150
150
  "description": "Additional classNames",
151
151
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
152
152
  "sourceFile": "packages/core-react/src/utils/types.ts",
153
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L45"
153
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L45"
154
154
  },
155
155
  {
156
156
  "name": "clickable",
@@ -161,7 +161,7 @@
161
161
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets the avatar&#39;s clickable state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
162
162
  "defaultValue": "false\n",
163
163
  "sourceFile": "packages/core-react/src/components/Avatar/Avatar.types.ts",
164
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/components/Avatar/Avatar.types.ts#L12"
164
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/components/Avatar/Avatar.types.ts#L12"
165
165
  },
166
166
  {
167
167
  "name": "disabled",
@@ -172,7 +172,7 @@
172
172
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets the avatar&#39;s disabled state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
173
173
  "defaultValue": "false\n",
174
174
  "sourceFile": "packages/core-react/src/components/Avatar/Avatar.types.ts",
175
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/components/Avatar/Avatar.types.ts#L18"
175
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/components/Avatar/Avatar.types.ts#L18"
176
176
  },
177
177
  {
178
178
  "name": "size",
@@ -185,7 +185,7 @@
185
185
  "deprecated": "\n\nSize \"xl\" has been deprecated and will be removed in a future version.\nPlease use \"lg\" instead of \"xl\".\n\n**Before**\n\n`<Avatar size=\"xl\" />`\n\n**After**\n\n`<Avatar size=\"lg\" />`\n",
186
186
  "deprecatedSince": "10.20.0",
187
187
  "sourceFile": "packages/core-react/src/components/Avatar/Avatar.types.ts",
188
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/components/Avatar/Avatar.types.ts#L40"
188
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/components/Avatar/Avatar.types.ts#L40"
189
189
  },
190
190
  {
191
191
  "name": "style",
@@ -195,7 +195,7 @@
195
195
  "description": "Additional CSS styles",
196
196
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
197
197
  "sourceFile": "packages/core-react/src/utils/types.ts",
198
- "sourceUrl": "https://github.com/procore/core/blob/a6a2d79b4/packages/core-react/src/utils/types.ts#L50"
198
+ "sourceUrl": "https://github.com/procore/core/blob/033e9516b/packages/core-react/src/utils/types.ts#L50"
199
199
  }
200
200
  ],
201
201
  "description": ""