@apify/ui-library 1.112.4 → 1.113.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 (89) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/package.json +4 -4
  3. package/src/components/code/code_block/code_block.stories.jsx +0 -1
  4. package/src/components/tabs/tab.stories.tsx +1 -1
  5. package/src/components/tag.stories.jsx +0 -1
  6. package/dist/src/components/action_link.stories.d.ts +0 -50
  7. package/dist/src/components/action_link.stories.d.ts.map +0 -1
  8. package/dist/src/components/action_link.stories.js +0 -129
  9. package/dist/src/components/action_link.stories.js.map +0 -1
  10. package/dist/src/components/actor_template_card.stories.d.ts +0 -49
  11. package/dist/src/components/actor_template_card.stories.d.ts.map +0 -1
  12. package/dist/src/components/actor_template_card.stories.js +0 -154
  13. package/dist/src/components/actor_template_card.stories.js.map +0 -1
  14. package/dist/src/components/banner.stories.d.ts +0 -53
  15. package/dist/src/components/banner.stories.d.ts.map +0 -1
  16. package/dist/src/components/banner.stories.js +0 -132
  17. package/dist/src/components/banner.stories.js.map +0 -1
  18. package/dist/src/components/blog_article.stories.d.ts +0 -33
  19. package/dist/src/components/blog_article.stories.d.ts.map +0 -1
  20. package/dist/src/components/blog_article.stories.js +0 -92
  21. package/dist/src/components/blog_article.stories.js.map +0 -1
  22. package/dist/src/components/button.stories.d.ts +0 -6
  23. package/dist/src/components/button.stories.d.ts.map +0 -1
  24. package/dist/src/components/button.stories.js +0 -46
  25. package/dist/src/components/button.stories.js.map +0 -1
  26. package/dist/src/components/card_container.stories.d.ts +0 -10
  27. package/dist/src/components/card_container.stories.d.ts.map +0 -1
  28. package/dist/src/components/card_container.stories.js +0 -33
  29. package/dist/src/components/card_container.stories.js.map +0 -1
  30. package/dist/src/components/chip.stories.d.ts +0 -98
  31. package/dist/src/components/chip.stories.d.ts.map +0 -1
  32. package/dist/src/components/chip.stories.js +0 -251
  33. package/dist/src/components/chip.stories.js.map +0 -1
  34. package/dist/src/components/code/code_block/code_block_with_tabs.stories.d.ts +0 -23
  35. package/dist/src/components/code/code_block/code_block_with_tabs.stories.d.ts.map +0 -1
  36. package/dist/src/components/code/code_block/code_block_with_tabs.stories.js +0 -63
  37. package/dist/src/components/code/code_block/code_block_with_tabs.stories.js.map +0 -1
  38. package/dist/src/components/code/inline_code/inline_code.stories.d.ts +0 -16
  39. package/dist/src/components/code/inline_code/inline_code.stories.d.ts.map +0 -1
  40. package/dist/src/components/code/inline_code/inline_code.stories.js +0 -47
  41. package/dist/src/components/code/inline_code/inline_code.stories.js.map +0 -1
  42. package/dist/src/components/code/one_line_code/one_line_code.stories.d.ts +0 -16
  43. package/dist/src/components/code/one_line_code/one_line_code.stories.d.ts.map +0 -1
  44. package/dist/src/components/code/one_line_code/one_line_code.stories.js +0 -81
  45. package/dist/src/components/code/one_line_code/one_line_code.stories.js.map +0 -1
  46. package/dist/src/components/color_wheel_gradient.stories.d.ts +0 -38
  47. package/dist/src/components/color_wheel_gradient.stories.d.ts.map +0 -1
  48. package/dist/src/components/color_wheel_gradient.stories.js +0 -126
  49. package/dist/src/components/color_wheel_gradient.stories.js.map +0 -1
  50. package/dist/src/components/icon_button.stories.d.ts +0 -36
  51. package/dist/src/components/icon_button.stories.d.ts.map +0 -1
  52. package/dist/src/components/icon_button.stories.js +0 -59
  53. package/dist/src/components/icon_button.stories.js.map +0 -1
  54. package/dist/src/components/link.stories.d.ts +0 -22
  55. package/dist/src/components/link.stories.d.ts.map +0 -1
  56. package/dist/src/components/link.stories.js +0 -112
  57. package/dist/src/components/link.stories.js.map +0 -1
  58. package/dist/src/components/rating.stories.d.ts +0 -32
  59. package/dist/src/components/rating.stories.d.ts.map +0 -1
  60. package/dist/src/components/rating.stories.js +0 -95
  61. package/dist/src/components/rating.stories.js.map +0 -1
  62. package/dist/src/components/simple_markdown/simple_markdown.stories.d.ts +0 -8
  63. package/dist/src/components/simple_markdown/simple_markdown.stories.d.ts.map +0 -1
  64. package/dist/src/components/simple_markdown/simple_markdown.stories.js +0 -60
  65. package/dist/src/components/simple_markdown/simple_markdown.stories.js.map +0 -1
  66. package/dist/src/components/spinner.stories.d.ts +0 -8
  67. package/dist/src/components/spinner.stories.d.ts.map +0 -1
  68. package/dist/src/components/spinner.stories.js +0 -24
  69. package/dist/src/components/spinner.stories.js.map +0 -1
  70. package/dist/src/components/tabs/tab.stories.d.ts +0 -38
  71. package/dist/src/components/tabs/tab.stories.d.ts.map +0 -1
  72. package/dist/src/components/tabs/tab.stories.js +0 -88
  73. package/dist/src/components/tabs/tab.stories.js.map +0 -1
  74. package/dist/src/components/text/text.stories.d.ts +0 -13
  75. package/dist/src/components/text/text.stories.d.ts.map +0 -1
  76. package/dist/src/components/text/text.stories.js +0 -14
  77. package/dist/src/components/text/text.stories.js.map +0 -1
  78. package/dist/src/design_system/tokens/radiuses.stories.d.ts +0 -6
  79. package/dist/src/design_system/tokens/radiuses.stories.d.ts.map +0 -1
  80. package/dist/src/design_system/tokens/radiuses.stories.js +0 -30
  81. package/dist/src/design_system/tokens/radiuses.stories.js.map +0 -1
  82. package/dist/src/design_system/tokens/shadows.stories.d.ts +0 -6
  83. package/dist/src/design_system/tokens/shadows.stories.d.ts.map +0 -1
  84. package/dist/src/design_system/tokens/shadows.stories.js +0 -37
  85. package/dist/src/design_system/tokens/shadows.stories.js.map +0 -1
  86. package/dist/src/design_system/tokens/spaces.stories.d.ts +0 -10
  87. package/dist/src/design_system/tokens/spaces.stories.d.ts.map +0 -1
  88. package/dist/src/design_system/tokens/spaces.stories.js +0 -92
  89. package/dist/src/design_system/tokens/spaces.stories.js.map +0 -1
@@ -1,37 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { theme } from '../theme.js';
3
- import { shadows } from './shadows.js';
4
- const ShadowsShowcase = () => (_jsx("div", { style: {
5
- display: 'grid',
6
- gridTemplateColumns: 'repeat(6, 1fr)',
7
- gap: '16px',
8
- padding: '20px',
9
- backgroundColor: theme.color.neutral.background,
10
- }, children: Object.entries(shadows).map(([key, value]) => (_jsxs("div", { style: { display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '6px' }, children: [_jsx("div", { style: {
11
- width: '60px',
12
- height: '60px',
13
- backgroundColor: theme.color.neutral.cardBackground,
14
- border: `1px solid ${theme.color.neutral.border}`,
15
- borderRadius: theme.radius.radius8,
16
- boxShadow: value,
17
- display: 'flex',
18
- alignItems: 'center',
19
- justifyContent: 'center',
20
- color: theme.color.neutral.text,
21
- fontSize: '11px',
22
- fontWeight: 'bold',
23
- } }), _jsxs("div", { style: { textAlign: 'center' }, children: [_jsx("div", { style: { fontSize: '12px', color: theme.color.neutral.text, fontWeight: '500' }, children: key }), _jsx("div", { style: { fontSize: '10px', color: theme.color.neutral.textMuted, fontFamily: 'monospace' }, children: value })] })] }, key))) }));
24
- export default {
25
- title: 'Design Tokens/Shadows',
26
- component: ShadowsShowcase,
27
- parameters: {
28
- design: {
29
- type: 'figma',
30
- url: 'https://www.figma.com/design/duSsGnk84UMYav8mg8QNgR/%F0%9F%93%96-Shared-library?node-id=3295-4467&t=qBdt7hpVWImfc9T3-1',
31
- },
32
- },
33
- };
34
- export const Default = {
35
- render: () => _jsx(ShadowsShowcase, {}),
36
- };
37
- //# sourceMappingURL=shadows.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shadows.stories.js","sourceRoot":"","sources":["../../../../src/design_system/tokens/shadows.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAC1B,cACI,KAAK,EAAE;QACH,OAAO,EAAE,MAAM;QACf,mBAAmB,EAAE,gBAAgB;QACrC,GAAG,EAAE,MAAM;QACX,OAAO,EAAE,MAAM;QACf,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,U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AAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,GAAG,EAAE,wHAAwH;SAChI;KACJ;CACI,CAAC;AAIV,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,eAAe,KAAG;CACpC,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { spaces } from './spaces.js';
3
- declare const SpacesShowcase: ({ space }: {
4
- space: keyof typeof spaces;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- declare const _default: Meta<typeof SpacesShowcase>;
7
- export default _default;
8
- type Story = StoryObj<typeof SpacesShowcase>;
9
- export declare const Default: Story;
10
- //# sourceMappingURL=spaces.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spaces.stories.d.ts","sourceRoot":"","sources":["../../../../src/design_system/tokens/spaces.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,QAAA,MAAM,cAAc,cAAe;IAAE,KAAK,EAAE,MAAM,OAAO,MAAM,CAAA;CAAE,4CAmGhE,CAAC;wBAkBG,IAAI,CAAC,OAAO,cAAc,CAAC;AAhBhC,wBAgBiC;AAEjC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -1,92 +0,0 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
- import { theme } from '../theme.js';
3
- import { spaces } from './spaces.js';
4
- const SpacesShowcase = ({ space }) => {
5
- const value = spaces[space];
6
- return (_jsxs("div", { style: {
7
- display: 'flex',
8
- flexDirection: 'column',
9
- gap: '16px',
10
- padding: '20px',
11
- backgroundColor: theme.color.neutral.background,
12
- minHeight: '80vh',
13
- justifyContent: 'center',
14
- alignItems: 'center',
15
- }, children: [_jsxs("div", { style: { fontSize: '18px', color: theme.color.neutral.text, fontWeight: '600' }, children: [space, ": ", value] }), _jsxs("div", { style: {
16
- display: 'flex',
17
- alignItems: 'center',
18
- padding: '12px',
19
- backgroundColor: theme.color.neutral.cardBackground,
20
- border: `1px solid ${theme.color.neutral.border}`,
21
- borderRadius: theme.radius.radius8,
22
- }, children: [_jsx("div", { style: {
23
- width: '50px',
24
- height: '50px',
25
- backgroundColor: theme.color.neutral.background,
26
- border: `1px solid ${theme.color.neutral.border}`,
27
- borderRadius: theme.radius.radius4,
28
- display: 'flex',
29
- alignItems: 'center',
30
- justifyContent: 'center',
31
- fontSize: '12px',
32
- fontWeight: '500',
33
- color: theme.color.neutral.text,
34
- }, children: "Card 1" }), _jsx("div", { style: {
35
- width: value,
36
- height: '50px',
37
- backgroundColor: 'rgba(239, 68, 68, 0.1)',
38
- borderRadius: '0',
39
- } }), _jsx("div", { style: {
40
- width: '50px',
41
- height: '50px',
42
- backgroundColor: theme.color.neutral.background,
43
- border: `1px solid ${theme.color.neutral.border}`,
44
- borderRadius: theme.radius.radius4,
45
- display: 'flex',
46
- alignItems: 'center',
47
- justifyContent: 'center',
48
- fontSize: '12px',
49
- fontWeight: '500',
50
- color: theme.color.neutral.text,
51
- }, children: "Card 2" }), _jsx("div", { style: {
52
- width: value,
53
- height: '50px',
54
- backgroundColor: 'rgba(239, 68, 68, 0.1)',
55
- borderRadius: '0',
56
- } }), _jsx("div", { style: {
57
- width: '50px',
58
- height: '50px',
59
- backgroundColor: theme.color.neutral.background,
60
- border: `1px solid ${theme.color.neutral.border}`,
61
- borderRadius: theme.radius.radius4,
62
- display: 'flex',
63
- alignItems: 'center',
64
- justifyContent: 'center',
65
- fontSize: '12px',
66
- fontWeight: '500',
67
- color: theme.color.neutral.text,
68
- }, children: "Card 3" })] })] }));
69
- };
70
- export default {
71
- title: 'Design Tokens/Spaces',
72
- component: SpacesShowcase,
73
- argTypes: {
74
- space: {
75
- control: 'select',
76
- options: Object.keys(spaces),
77
- defaultValue: 'space8',
78
- },
79
- },
80
- parameters: {
81
- design: {
82
- type: 'figma',
83
- url: 'https://www.figma.com/design/duSsGnk84UMYav8mg8QNgR/%F0%9F%93%96-Shared-library?node-id=1425-7789&t=qBdt7hpVWImfc9T3-1',
84
- },
85
- },
86
- };
87
- export const Default = {
88
- args: {
89
- space: 'space32',
90
- },
91
- };
92
- //# sourceMappingURL=spaces.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spaces.stories.js","sourceRoot":"","sources":["../../../../src/design_system/tokens/spaces.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,cAAc,GAAG,CAAC,EAAE,KAAK,EAAkC,EAAE,EAAE;IACjE,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAE5B,OAAO,CACH,eACI,KAAK,EAAE;YACH,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,QAAQ;YACvB,GAAG,EAAE,MAAM;YACX,OAAO,EAAE,MAAM;YACf,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU;YAC/C,SAAS,EAAE,MAAM;YACjB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;SACvB,aAED,eAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,aAC/E,KAAK,QAAI,KAAK,IACb,EACN,eACI,KAAK,EAAE;oBACH,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,OAAO,EAAE,MAAM;oBACf,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;oBAC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