@codecademy/gamut 68.1.0-alpha.f9ca97.0 → 68.1.1-alpha.27bc7c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/Alert/elements.d.ts +3 -3
  2. package/dist/Anchor/index.d.ts +44 -13
  3. package/dist/Badge/index.d.ts +38 -7
  4. package/dist/BarChart/BarChartProvider.d.ts +19 -0
  5. package/dist/BarChart/BarChartProvider.js +27 -0
  6. package/dist/BarChart/BarRow/ValueLabelsContent.d.ts +7 -0
  7. package/dist/BarChart/BarRow/ValueLabelsContent.js +34 -0
  8. package/dist/BarChart/BarRow/elements.d.ts +943 -0
  9. package/dist/BarChart/BarRow/elements.js +102 -0
  10. package/dist/BarChart/BarRow/index.d.ts +6 -0
  11. package/dist/BarChart/BarRow/index.js +234 -0
  12. package/dist/BarChart/GENERIC_EXAMPLE.d.ts +14 -0
  13. package/dist/BarChart/GENERIC_EXAMPLE.js +327 -0
  14. package/dist/BarChart/SortSelect/index.d.ts +15 -0
  15. package/dist/BarChart/SortSelect/index.js +18 -0
  16. package/dist/BarChart/index.d.ts +4 -0
  17. package/dist/BarChart/index.js +136 -0
  18. package/dist/BarChart/layout/GridLines.d.ts +3 -0
  19. package/dist/BarChart/layout/GridLines.js +69 -0
  20. package/dist/BarChart/layout/LabelSpacer.d.ts +6 -0
  21. package/dist/BarChart/layout/LabelSpacer.js +56 -0
  22. package/dist/BarChart/layout/ScaleChartHeader.d.ts +3 -0
  23. package/dist/BarChart/layout/ScaleChartHeader.js +87 -0
  24. package/dist/BarChart/shared/elements.d.ts +7 -0
  25. package/dist/BarChart/shared/elements.js +12 -0
  26. package/dist/BarChart/shared/styles.d.ts +4 -0
  27. package/dist/BarChart/shared/styles.js +4 -0
  28. package/dist/BarChart/shared/translations.d.ts +69 -0
  29. package/dist/BarChart/shared/translations.js +57 -0
  30. package/dist/BarChart/shared/types.d.ts +100 -0
  31. package/dist/BarChart/shared/types.js +1 -0
  32. package/dist/BarChart/utils/hooks.d.ts +89 -0
  33. package/dist/BarChart/utils/hooks.js +281 -0
  34. package/dist/BarChart/utils/index.d.ts +56 -0
  35. package/dist/BarChart/utils/index.js +122 -0
  36. package/dist/Box/Box.d.ts +1 -1
  37. package/dist/Box/FlexBox.d.ts +1 -1
  38. package/dist/Box/GridBox.d.ts +1 -1
  39. package/dist/Box/props.d.ts +38 -7
  40. package/dist/Button/CTAButton.d.ts +2 -2
  41. package/dist/Button/FillButton.d.ts +4 -4
  42. package/dist/Button/IconButton.d.ts +4 -4
  43. package/dist/Button/StrokeButton.d.ts +4 -4
  44. package/dist/Button/TextButton.d.ts +4 -4
  45. package/dist/Button/shared/InlineIconButton.d.ts +2 -2
  46. package/dist/Button/shared/styles.d.ts +41 -10
  47. package/dist/ButtonBase/ButtonBase.d.ts +2 -2
  48. package/dist/Card/elements.d.ts +139 -43
  49. package/dist/ConnectedForm/ConnectedFormGroup.js +10 -4
  50. package/dist/ConnectedForm/utils.d.ts +3 -3
  51. package/dist/ContentContainer/index.d.ts +1 -1
  52. package/dist/Disclosure/elements.d.ts +13 -13
  53. package/dist/Form/SelectDropdown/styles.d.ts +1 -1
  54. package/dist/Form/elements/Form.d.ts +44 -13
  55. package/dist/Form/elements/FormGroup.d.ts +1 -1
  56. package/dist/Form/elements/FormGroupLabel.js +2 -2
  57. package/dist/Form/inputs/Select.js +6 -5
  58. package/dist/GridForm/GridFormButtons/index.d.ts +4 -4
  59. package/dist/GridForm/GridFormInputGroup/index.js +10 -4
  60. package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +38 -7
  61. package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +39 -8
  62. package/dist/Layout/Column.d.ts +39 -8
  63. package/dist/Layout/LayoutGrid.d.ts +1 -1
  64. package/dist/List/elements.d.ts +92 -29
  65. package/dist/Markdown/index.js +7 -3
  66. package/dist/Markdown/libs/overrides/index.d.ts +8 -4
  67. package/dist/Markdown/libs/overrides/index.js +43 -24
  68. package/dist/Menu/Menu.d.ts +1 -1
  69. package/dist/Menu/elements.d.ts +42 -11
  70. package/dist/Pagination/AnimatedPaginationButtons.d.ts +47 -15
  71. package/dist/Pagination/EllipsisButton.d.ts +9 -9
  72. package/dist/Pagination/EllipsisButton.js +2 -2
  73. package/dist/Pagination/PaginationButton.d.ts +6 -6
  74. package/dist/Pagination/index.js +4 -4
  75. package/dist/Pagination/utils.d.ts +43 -11
  76. package/dist/Pagination/utils.js +1 -1
  77. package/dist/Popover/elements.d.ts +2 -2
  78. package/dist/PopoverContainer/PopoverContainer.js +31 -4
  79. package/dist/PopoverContainer/utils.d.ts +25 -1
  80. package/dist/PopoverContainer/utils.js +36 -5
  81. package/dist/Tabs/TabButton.d.ts +2 -2
  82. package/dist/Tabs/TabNav.d.ts +1 -1
  83. package/dist/Tabs/TabNavLink.d.ts +2 -2
  84. package/dist/Tabs/props.d.ts +38 -7
  85. package/dist/Tag/elements.d.ts +11 -11
  86. package/dist/Tag/types.d.ts +38 -7
  87. package/dist/Tip/InfoTip/InfoTipButton.d.ts +4 -4
  88. package/dist/Tip/InfoTip/styles.d.ts +1 -1
  89. package/dist/Tip/PreviewTip/elements.d.ts +6 -6
  90. package/dist/Tip/ToolTip/elements.d.ts +1 -1
  91. package/dist/Tip/shared/elements.d.ts +3 -3
  92. package/dist/Toggle/elements.d.ts +1 -1
  93. package/dist/Typography/Text.d.ts +40 -9
  94. package/dist/index.d.ts +1 -0
  95. package/dist/index.js +1 -0
  96. package/package.json +15 -12
  97. package/dist/typings/react-aria-tabpanel.d.ts +0 -7
@@ -77,36 +77,67 @@ declare const textProps: import("@codecademy/variance/dist/types/config").Parser
77
77
  };
78
78
  readonly dimensions: {
79
79
  readonly property: "width";
80
- readonly properties: readonly ["width", "height"];
80
+ readonly properties: {
81
+ readonly physical: readonly ["width", "height"];
82
+ readonly logical: readonly ["inlineSize", "blockSize"];
83
+ };
84
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
81
85
  readonly transform: (value: string | number) => string | 0;
82
86
  };
83
87
  readonly width: {
84
- readonly property: "width";
88
+ readonly property: {
89
+ readonly physical: "width";
90
+ readonly logical: "inlineSize";
91
+ };
92
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
85
93
  readonly transform: (value: string | number) => string | 0;
86
94
  };
87
95
  readonly minWidth: {
88
- readonly property: "minWidth";
96
+ readonly property: {
97
+ readonly physical: "minWidth";
98
+ readonly logical: "minInlineSize";
99
+ };
100
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
89
101
  readonly transform: (value: string | number) => string | 0;
90
102
  };
91
103
  readonly maxWidth: {
92
- readonly property: "maxWidth";
104
+ readonly property: {
105
+ readonly physical: "maxWidth";
106
+ readonly logical: "maxInlineSize";
107
+ };
108
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
93
109
  readonly transform: (value: string | number) => string | 0;
94
110
  };
95
111
  readonly height: {
96
- readonly property: "height";
112
+ readonly property: {
113
+ readonly physical: "height";
114
+ readonly logical: "blockSize";
115
+ };
116
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
97
117
  readonly transform: (value: string | number) => string | 0;
98
118
  };
99
119
  readonly minHeight: {
100
- readonly property: "minHeight";
120
+ readonly property: {
121
+ readonly physical: "minHeight";
122
+ readonly logical: "minBlockSize";
123
+ };
124
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
101
125
  readonly transform: (value: string | number) => string | 0;
102
126
  };
103
127
  readonly maxHeight: {
104
- readonly property: "maxHeight";
128
+ readonly property: {
129
+ readonly physical: "maxHeight";
130
+ readonly logical: "maxBlockSize";
131
+ };
132
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
105
133
  readonly transform: (value: string | number) => string | 0;
106
134
  };
107
135
  readonly verticalAlign: {
108
136
  readonly property: "verticalAlign";
109
137
  };
138
+ readonly direction: {
139
+ readonly property: "direction";
140
+ };
110
141
  }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
111
142
  readonly fontFamily: {
112
143
  readonly property: "fontFamily";
@@ -349,8 +380,8 @@ export type TextProps = TextTruncateProps | TextNoTruncateProps;
349
380
  export declare const Text: import("react").ForwardRefExoticComponent<(Omit<{
350
381
  theme?: import("@emotion/react").Theme | undefined;
351
382
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
352
- } & TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
383
+ } & TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
353
384
  theme?: import("@emotion/react").Theme | undefined;
354
385
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
355
- } & TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
386
+ } & TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
356
387
  export {};
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './Anchor';
6
6
  export * from './Animation';
7
7
  export * from './AppWrapper';
8
8
  export * from './Badge';
9
+ export * from './BarChart';
9
10
  export * from './BodyPortal';
10
11
  export * from './Box';
11
12
  export * from './Breadcrumbs';
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ export * from './Anchor';
6
6
  export * from './Animation';
7
7
  export * from './AppWrapper';
8
8
  export * from './Badge';
9
+ export * from './BarChart';
9
10
  export * from './BodyPortal';
10
11
  export * from './Box';
11
12
  export * from './Breadcrumbs';
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@codecademy/gamut",
3
3
  "description": "Styleguide & Component library for Codecademy",
4
- "version": "68.1.0-alpha.f9ca97.0",
4
+ "version": "68.1.1-alpha.27bc7c.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
- "@codecademy/gamut-icons": "9.56.0-alpha.f9ca97.0",
8
- "@codecademy/gamut-illustrations": "0.58.3-alpha.f9ca97.0",
9
- "@codecademy/gamut-patterns": "0.10.22-alpha.f9ca97.0",
10
- "@codecademy/gamut-styles": "17.12.0-alpha.f9ca97.0",
11
- "@codecademy/variance": "0.26.0-alpha.f9ca97.0",
7
+ "@codecademy/gamut-icons": "9.56.4-alpha.27bc7c.0",
8
+ "@codecademy/gamut-illustrations": "0.58.7-alpha.27bc7c.0",
9
+ "@codecademy/gamut-patterns": "0.10.26-alpha.27bc7c.0",
10
+ "@codecademy/gamut-styles": "17.12.1-alpha.27bc7c.0",
11
+ "@codecademy/variance": "0.26.0",
12
+ "@react-aria/interactions": "3.25.0",
12
13
  "@types/marked": "^4.0.8",
13
14
  "@vidstack/react": "^1.12.12",
14
15
  "classnames": "^2.2.5",
@@ -18,9 +19,8 @@
18
19
  "lodash": "^4.17.23",
19
20
  "marked": "^4.3.0",
20
21
  "polished": "^4.1.2",
21
- "react-aria-components": "1.8.0",
22
- "react-aria-tabpanel": "^4.4.0",
23
- "react-focus-on": "^3.10.0",
22
+ "react-aria-components": "1.7.1",
23
+ "react-focus-on": "3.10.0",
24
24
  "react-hook-form": "^7.65.0",
25
25
  "react-player": "^2.16.0",
26
26
  "react-select": "^5.2.2",
@@ -33,12 +33,15 @@
33
33
  ],
34
34
  "license": "MIT",
35
35
  "main": "./dist/index.js",
36
+ "overrides": {
37
+ "@react-aria/interactions": "3.25.0"
38
+ },
36
39
  "module": "./dist/index.js",
37
40
  "peerDependencies": {
38
41
  "@emotion/react": "^11.4.0",
39
42
  "@emotion/styled": "^11.3.0",
40
- "react": "^17.0.2 || ^18.2.0",
41
- "react-dom": "^17.0.2 || ^18.2.0"
43
+ "react": "^17.0.2 || ^18.3.0",
44
+ "react-dom": "^17.0.2 || ^18.3.0"
42
45
  },
43
46
  "publishConfig": {
44
47
  "access": "public"
@@ -56,5 +59,5 @@
56
59
  "dist/**/[A-Z]**/[A-Z]*.js",
57
60
  "dist/**/[A-Z]**/index.js"
58
61
  ],
59
- "gitHead": "d73668577cae898037fa05bed7b91cc4c7312a9d"
62
+ "gitHead": "9f247f1b69283a57fba7a376b0caa2ca335c6043"
60
63
  }
@@ -1,7 +0,0 @@
1
- // TODO: We should contribute this to DefinitelyTyped soon!
2
- declare module 'react-aria-tabpanel' {
3
- const Tab: any;
4
- const TabList: any;
5
- const TabPanel: any;
6
- const Wrapper: any;
7
- }