@apify/ui-library 1.127.4 → 1.127.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/ui-library",
3
- "version": "1.127.4",
3
+ "version": "1.127.5",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -67,5 +67,5 @@
67
67
  "src",
68
68
  "style"
69
69
  ],
70
- "gitHead": "63e5464863de833c981f4cca2369aea22b735b53"
70
+ "gitHead": "ed1183fd2d33f91e7429ae07b7e2fa6197a051e4"
71
71
  }
@@ -104,6 +104,7 @@ export type ChipProps = RegularBoxProps & {
104
104
 
105
105
  /**
106
106
  * Component for displaying status and for labelling other components.
107
+ * @deprecated Use Tag or Badge
107
108
  */
108
109
  export const Chip = forwardRef(({
109
110
  type = CHIP_TYPES.DEFAULT,
@@ -6,6 +6,7 @@ import { HeadingContent, type HeadingContentProps } from './heading_content.js';
6
6
  export default {
7
7
  title: 'Design Tokens/Typography/HeadingContent',
8
8
  component: HeadingContent,
9
+ tags: ['deprecated'],
9
10
  parameters: {
10
11
  docs: {
11
12
  description: {
@@ -40,6 +40,9 @@ const StyledHeadingContent = styled(TextBaseComponent)<StyledHeadingContentProps
40
40
  ${(props) => getContentHeadingStyles(props.$type || 'heading1')}
41
41
  `;
42
42
 
43
+ /**
44
+ * @deprecated Use Heading or HeadingMarketing from ui-library
45
+ */
43
46
  export const HeadingContent: React.FC<HeadingContentProps> = ({
44
47
  type,
45
48
  as,
@@ -6,6 +6,7 @@ import { type ContentTextProps, TextContent } from './text_content.js';
6
6
  export default {
7
7
  title: 'Design Tokens/Typography/TextContent',
8
8
  component: TextContent,
9
+ tags: ['deprecated'],
9
10
  parameters: {
10
11
  docs: {
11
12
  description: {
@@ -79,6 +79,9 @@ const StyledTextContent = styled(TextBaseComponent)<StyledContentTextProps>`
79
79
  ${(props) => TEXT_SHARED_VARIANTS_CSS[props.$type || 'paragraph'][props.$weight || 'normal']}
80
80
  `;
81
81
 
82
+ /**
83
+ * @deprecated Use Text or TextMarketing from ui-library
84
+ */
82
85
  export const TextContent = forwardRef<HTMLElement | undefined, ContentTextProps>(({
83
86
  type,
84
87
  weight,
@@ -5,6 +5,7 @@ import { Markdown, type MarkdownProps } from './markdown.js';
5
5
  export default {
6
6
  title: 'UI-Library/Markdown/Markdown',
7
7
  component: Markdown,
8
+ tags: ['deprecated'],
8
9
  argTypes: {
9
10
  markdown: {
10
11
  control: 'text',
@@ -642,4 +642,7 @@ const Markdown = ({
642
642
  };
643
643
 
644
644
  const MemoizedMarkdown = React.memo(Markdown, (prevProps, nextProps) => _.isEqual(prevProps, nextProps));
645
+ /**
646
+ * @deprecated Use SimpleMarkdown from ui-library
647
+ */
645
648
  export { MemoizedMarkdown as Markdown };