@beydesign/storybook 0.0.37 → 0.0.39

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 (153) hide show
  1. package/dist/index.d.ts +10 -32
  2. package/dist/index.js +10 -43
  3. package/dist/stories/Agent/AgentCard.d.ts +3 -0
  4. package/dist/stories/{AgentCard.js → Agent/AgentCard.js} +6 -16
  5. package/dist/stories/{AgentCard.stories.js → Agent/AgentCard.stories.js} +2 -2
  6. package/dist/stories/Agent/AgentCardSkeleton.d.ts +2 -0
  7. package/dist/stories/{SkeletonLoader.js → Agent/AgentCardSkeleton.js} +1 -17
  8. package/dist/stories/{AgentCardSkeleton.stories.d.ts → Agent/AgentCardSkeleton.stories.d.ts} +1 -1
  9. package/dist/stories/{AgentCardSkeleton.stories.js → Agent/AgentCardSkeleton.stories.js} +2 -2
  10. package/dist/stories/Agent/index.d.ts +3 -0
  11. package/dist/stories/Agent/index.js +3 -0
  12. package/dist/stories/{types/agent-card.d.ts → Agent/types.d.ts} +22 -5
  13. package/dist/stories/Buttons/MainButton.d.ts +3 -0
  14. package/dist/stories/{Button.js → Buttons/MainButton.js} +3 -7
  15. package/dist/stories/{Button.stories.d.ts → Buttons/MainButton.stories.d.ts} +1 -1
  16. package/dist/stories/{Button.stories.js → Buttons/MainButton.stories.js} +3 -6
  17. package/dist/stories/Buttons/ToggleButtonGroup.d.ts +3 -0
  18. package/dist/stories/{ToggleButtonGroup.js → Buttons/ToggleButtonGroup.js} +3 -7
  19. package/dist/stories/{ToggleButtonGroup.stories.js → Buttons/ToggleButtonGroup.stories.js} +2 -2
  20. package/dist/stories/Buttons/index.d.ts +3 -0
  21. package/dist/stories/Buttons/index.js +3 -0
  22. package/dist/stories/{types/button.d.ts → Buttons/types.d.ts} +21 -3
  23. package/dist/stories/{types/button.js → Buttons/types.js} +9 -0
  24. package/dist/stories/{CreditsCard.d.ts → Credits/CreditsCard.d.ts} +1 -1
  25. package/dist/stories/{CreditsCard.js → Credits/CreditsCard.js} +3 -5
  26. package/dist/stories/{CreditsCard.stories.js → Credits/CreditsCard.stories.js} +2 -2
  27. package/dist/stories/Credits/index.d.ts +2 -0
  28. package/dist/stories/Credits/index.js +2 -0
  29. package/dist/stories/{Checkbox.d.ts → Form/Checkbox.d.ts} +1 -1
  30. package/dist/stories/{Checkbox.js → Form/Checkbox.js} +2 -3
  31. package/dist/stories/{Checkbox.stories.js → Form/Checkbox.stories.js} +2 -2
  32. package/dist/stories/Form/TextArea.d.ts +3 -0
  33. package/dist/stories/Form/TextArea.js +22 -0
  34. package/dist/stories/Form/TextArea.stories.d.ts +103 -0
  35. package/dist/stories/Form/TextArea.stories.js +88 -0
  36. package/dist/stories/Form/TextInput.d.ts +3 -0
  37. package/dist/stories/Form/TextInput.js +22 -0
  38. package/dist/stories/Form/TextInput.stories.d.ts +85 -0
  39. package/dist/stories/Form/TextInput.stories.js +74 -0
  40. package/dist/stories/Form/Toggle.d.ts +3 -0
  41. package/dist/stories/{Toggle.js → Form/Toggle.js} +2 -6
  42. package/dist/stories/{Toggle.stories.js → Form/Toggle.stories.js} +2 -2
  43. package/dist/stories/Form/index.d.ts +5 -0
  44. package/dist/stories/Form/index.js +5 -0
  45. package/dist/stories/Form/types.d.ts +94 -0
  46. package/dist/stories/{types/toggle.js → Form/types.js} +5 -0
  47. package/dist/stories/{Colors.js → Foundations/Colors.js} +1 -2
  48. package/dist/stories/Foundations/index.d.ts +1 -0
  49. package/dist/stories/Foundations/index.js +1 -0
  50. package/dist/stories/{Header.d.ts → Navigation/Header.d.ts} +1 -1
  51. package/dist/stories/{Header.js → Navigation/Header.js} +4 -6
  52. package/dist/stories/{Header.stories.js → Navigation/Header.stories.js} +2 -2
  53. package/dist/stories/{NavItem.d.ts → Navigation/NavItem.d.ts} +1 -1
  54. package/dist/stories/{NavItem.js → Navigation/NavItem.js} +4 -6
  55. package/dist/stories/{NavItem.stories.js → Navigation/NavItem.stories.js} +2 -2
  56. package/dist/stories/{Sidebar.d.ts → Navigation/Sidebar.d.ts} +1 -1
  57. package/dist/stories/{Sidebar.js → Navigation/Sidebar.js} +5 -11
  58. package/dist/stories/{Sidebar.stories.js → Navigation/Sidebar.stories.js} +2 -3
  59. package/dist/stories/Navigation/index.d.ts +4 -0
  60. package/dist/stories/Navigation/index.js +4 -0
  61. package/dist/stories/{types/sidebar.d.ts → Navigation/types.d.ts} +61 -1
  62. package/dist/stories/{types/nav-item.js → Navigation/types.js} +5 -0
  63. package/dist/stories/Typography/Typography.d.ts +3 -0
  64. package/dist/stories/{Typography.js → Typography/Typography.js} +2 -5
  65. package/dist/stories/{Typography.stories.js → Typography/Typography.stories.js} +2 -2
  66. package/dist/stories/Typography/index.d.ts +2 -0
  67. package/dist/stories/Typography/index.js +2 -0
  68. package/dist/stories/{types/typography.d.ts → Typography/types.d.ts} +0 -5
  69. package/dist/stories/UI/Avatar.d.ts +3 -0
  70. package/dist/stories/{Avatar.js → UI/Avatar.js} +4 -7
  71. package/dist/stories/{Avatar.stories.js → UI/Avatar.stories.js} +2 -2
  72. package/dist/stories/{Bagde.d.ts → UI/Badge.d.ts} +1 -1
  73. package/dist/stories/{Bagde.js → UI/Badge.js} +3 -4
  74. package/dist/stories/{Badge.stories.d.ts → UI/Badge.stories.d.ts} +1 -1
  75. package/dist/stories/{Badge.stories.js → UI/Badge.stories.js} +3 -3
  76. package/dist/stories/UI/HintBubble.d.ts +3 -0
  77. package/dist/stories/UI/HintBubble.js +28 -0
  78. package/dist/stories/UI/HintBubble.stories.d.ts +9 -0
  79. package/dist/stories/UI/HintBubble.stories.js +68 -0
  80. package/dist/stories/{Logo.d.ts → UI/Logo.d.ts} +1 -1
  81. package/dist/stories/{Logo.js → UI/Logo.js} +1 -1
  82. package/dist/stories/UI/Logo.stories.d.ts +11 -0
  83. package/dist/stories/{Logo.stories.js → UI/Logo.stories.js} +2 -2
  84. package/dist/stories/UI/Menu.d.ts +3 -0
  85. package/dist/stories/{Menu.js → UI/Menu.js} +3 -11
  86. package/dist/stories/UI/Menu.stories.d.ts +6 -0
  87. package/dist/stories/{Menu.stories.js → UI/Menu.stories.js} +1 -1
  88. package/dist/stories/UI/ProgressIndicator.d.ts +3 -0
  89. package/dist/stories/{ProgressIndicator.js → UI/ProgressIndicator.js} +2 -6
  90. package/dist/stories/{ProgressIndicator.stories.js → UI/ProgressIndicator.stories.js} +2 -2
  91. package/dist/stories/UI/SkeletonLoader.d.ts +3 -0
  92. package/dist/stories/UI/SkeletonLoader.js +19 -0
  93. package/dist/stories/UI/SkeletonLoader.stories.d.ts +8 -0
  94. package/dist/stories/UI/SkeletonLoader.stories.js +74 -0
  95. package/dist/stories/UI/index.d.ts +8 -0
  96. package/dist/stories/UI/index.js +8 -0
  97. package/dist/stories/UI/types.d.ts +205 -0
  98. package/dist/stories/UI/types.js +71 -0
  99. package/dist/utils/common.d.ts +1 -0
  100. package/dist/utils/common.js +6 -0
  101. package/dist/utils/index.d.ts +2 -0
  102. package/dist/utils/index.js +2 -0
  103. package/package.json +1 -1
  104. package/dist/stories/AgentCard.d.ts +0 -4
  105. package/dist/stories/Avatar.d.ts +0 -4
  106. package/dist/stories/Button.d.ts +0 -4
  107. package/dist/stories/Logo.stories.d.ts +0 -39
  108. package/dist/stories/Menu.d.ts +0 -4
  109. package/dist/stories/Menu.stories.d.ts +0 -43
  110. package/dist/stories/ProgressIndicator.d.ts +0 -4
  111. package/dist/stories/SkeletonLoader.d.ts +0 -47
  112. package/dist/stories/SkeletonLoader.stories.d.ts +0 -11
  113. package/dist/stories/SkeletonLoader.stories.js +0 -141
  114. package/dist/stories/Toggle.d.ts +0 -4
  115. package/dist/stories/ToggleButtonGroup.d.ts +0 -4
  116. package/dist/stories/Typography.d.ts +0 -4
  117. package/dist/stories/types/avatar.d.ts +0 -44
  118. package/dist/stories/types/avatar.js +0 -28
  119. package/dist/stories/types/badge.d.ts +0 -49
  120. package/dist/stories/types/badge.js +0 -25
  121. package/dist/stories/types/checkbox.d.ts +0 -26
  122. package/dist/stories/types/checkbox.js +0 -5
  123. package/dist/stories/types/header.d.ts +0 -25
  124. package/dist/stories/types/header.js +0 -1
  125. package/dist/stories/types/logo.d.ts +0 -30
  126. package/dist/stories/types/logo.js +0 -6
  127. package/dist/stories/types/menu.d.ts +0 -30
  128. package/dist/stories/types/menu.js +0 -1
  129. package/dist/stories/types/nav-item.d.ts +0 -41
  130. package/dist/stories/types/progress-indicator.d.ts +0 -35
  131. package/dist/stories/types/progress-indicator.js +0 -8
  132. package/dist/stories/types/sidebar.js +0 -5
  133. package/dist/stories/types/toggle-button-group.d.ts +0 -28
  134. package/dist/stories/types/toggle-button-group.js +0 -9
  135. package/dist/stories/types/toggle.d.ts +0 -32
  136. /package/dist/stories/{AgentCard.stories.d.ts → Agent/AgentCard.stories.d.ts} +0 -0
  137. /package/dist/stories/{types/agent-card.js → Agent/types.js} +0 -0
  138. /package/dist/stories/{ToggleButtonGroup.stories.d.ts → Buttons/ToggleButtonGroup.stories.d.ts} +0 -0
  139. /package/dist/stories/{CreditsCard.stories.d.ts → Credits/CreditsCard.stories.d.ts} +0 -0
  140. /package/dist/stories/{types/credits-card.d.ts → Credits/types.d.ts} +0 -0
  141. /package/dist/stories/{types/credits-card.js → Credits/types.js} +0 -0
  142. /package/dist/stories/{Checkbox.stories.d.ts → Form/Checkbox.stories.d.ts} +0 -0
  143. /package/dist/stories/{Toggle.stories.d.ts → Form/Toggle.stories.d.ts} +0 -0
  144. /package/dist/stories/{Colors.d.ts → Foundations/Colors.d.ts} +0 -0
  145. /package/dist/stories/{Colors.stories.d.ts → Foundations/Colors.stories.d.ts} +0 -0
  146. /package/dist/stories/{Colors.stories.js → Foundations/Colors.stories.js} +0 -0
  147. /package/dist/stories/{Header.stories.d.ts → Navigation/Header.stories.d.ts} +0 -0
  148. /package/dist/stories/{NavItem.stories.d.ts → Navigation/NavItem.stories.d.ts} +0 -0
  149. /package/dist/stories/{Sidebar.stories.d.ts → Navigation/Sidebar.stories.d.ts} +0 -0
  150. /package/dist/stories/{Typography.stories.d.ts → Typography/Typography.stories.d.ts} +0 -0
  151. /package/dist/stories/{types/typography.js → Typography/types.js} +0 -0
  152. /package/dist/stories/{Avatar.stories.d.ts → UI/Avatar.stories.d.ts} +0 -0
  153. /package/dist/stories/{ProgressIndicator.stories.d.ts → UI/ProgressIndicator.stories.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,32 +1,10 @@
1
- export { MainButton } from './stories/Button';
2
- export { Avatar } from './stories/Avatar';
3
- export { Typography } from './stories/Typography';
4
- export { Badge } from './stories/Bagde';
5
- export { Checkbox } from './stories/Checkbox';
6
- export { ToggleButtonGroup } from './stories/ToggleButtonGroup';
7
- export { ProgressIndicator } from './stories/ProgressIndicator';
8
- export { Logo } from './stories/Logo';
9
- export { Toggle } from './stories/Toggle';
10
- export { Header } from './stories/Header';
11
- export { NavItem } from './stories/NavItem';
12
- export { CreditsCard } from './stories/CreditsCard';
13
- export { Sidebar } from './stories/Sidebar';
14
- export { Menu } from './stories/Menu';
15
- export { AgentCard } from './stories/AgentCard';
16
- export { SkeletonLoader, AgentCardSkeleton } from './stories/SkeletonLoader';
17
- export { ButtonSize, ButtonHierarchy, ButtonState, ButtonShape, ButtonDisplayMode, ButtonType, type MainButtonProps, } from './stories/types/button';
18
- export { BadgeColor, BadgeSize, type BadgeProps } from './stories/types/badge';
19
- export { AvatarStyle, AvatarSize, type AvatarProps, } from './stories/types/avatar';
20
- export { TypographySize, TypographyWeight, type TypographyProps, } from './stories/types/typography';
21
- export { CheckboxType, type CheckboxProps } from './stories/types/checkbox';
22
- export { ToggleButtonGroupSize, type ToggleButtonGroupProps, } from './stories/types/toggle-button-group';
23
- export { ProgressIndicatorMode, type ProgressIndicatorProps, } from './stories/types/progress-indicator';
24
- export { LogoVariant, type LogoProps } from './stories/types/logo';
25
- export { TogglePosition, type ToggleProps } from './stories/types/toggle';
26
- export { type HeaderProps } from './stories/types/header';
27
- export { NavItemState, NavItemSize, type NavItemProps, } from './stories/types/nav-item';
28
- export { CreditsCardSize, type CreditsCardProps, } from './stories/types/credits-card';
29
- export { SidebarSize, type SidebarProps, type NavItemConfig, type NavSection, } from './stories/types/sidebar';
30
- export { type MenuProps, type MenuItemProps } from './stories/types/menu';
31
- export { type AgentCardProps, AgentState } from './stories/types/agent-card';
32
- export { type SkeletonLoaderProps, type AgentCardSkeletonProps, } from './stories/SkeletonLoader';
1
+ export * from './stories/UI';
2
+ export * from './stories/Agent';
3
+ export * from './stories/Form';
4
+ export * from './stories/Buttons';
5
+ export * from './stories/Typography';
6
+ export * from './stories/Credits';
7
+ export * from './stories/Foundations';
8
+ export * from './stories/Navigation';
9
+ export * from './stories/Typography';
10
+ export * from './stories/UI';
package/dist/index.js CHANGED
@@ -1,43 +1,10 @@
1
- // Components
2
- export { MainButton } from './stories/Button';
3
- export { Avatar } from './stories/Avatar';
4
- export { Typography } from './stories/Typography';
5
- export { Badge } from './stories/Bagde';
6
- export { Checkbox } from './stories/Checkbox';
7
- export { ToggleButtonGroup } from './stories/ToggleButtonGroup';
8
- export { ProgressIndicator } from './stories/ProgressIndicator';
9
- export { Logo } from './stories/Logo';
10
- export { Toggle } from './stories/Toggle';
11
- export { Header } from './stories/Header';
12
- export { NavItem } from './stories/NavItem';
13
- export { CreditsCard } from './stories/CreditsCard';
14
- export { Sidebar } from './stories/Sidebar';
15
- export { Menu } from './stories/Menu';
16
- export { AgentCard } from './stories/AgentCard';
17
- export { SkeletonLoader, AgentCardSkeleton } from './stories/SkeletonLoader';
18
- // Button Types
19
- export { ButtonSize, ButtonHierarchy, ButtonState, ButtonShape, ButtonDisplayMode, ButtonType, } from './stories/types/button';
20
- // Badge Types
21
- export { BadgeColor, BadgeSize } from './stories/types/badge';
22
- // Avatar Types
23
- export { AvatarStyle, AvatarSize, } from './stories/types/avatar';
24
- // Typography Types
25
- export { TypographySize, TypographyWeight, } from './stories/types/typography';
26
- // Checkbox Types
27
- export { CheckboxType } from './stories/types/checkbox';
28
- // Toggle Button Group Types
29
- export { ToggleButtonGroupSize, } from './stories/types/toggle-button-group';
30
- // Progress Indicator Types
31
- export { ProgressIndicatorMode, } from './stories/types/progress-indicator';
32
- // Logo Types
33
- export { LogoVariant } from './stories/types/logo';
34
- // Toggle Types
35
- export { TogglePosition } from './stories/types/toggle';
36
- // NavItem Types
37
- export { NavItemState, NavItemSize, } from './stories/types/nav-item';
38
- // Card Types
39
- export { CreditsCardSize, } from './stories/types/credits-card';
40
- // Sidebar Types
41
- export { SidebarSize, } from './stories/types/sidebar';
42
- // Agent Card Types
43
- export { AgentState } from './stories/types/agent-card';
1
+ export * from './stories/UI';
2
+ export * from './stories/Agent';
3
+ export * from './stories/Form';
4
+ export * from './stories/Buttons';
5
+ export * from './stories/Typography';
6
+ export * from './stories/Credits';
7
+ export * from './stories/Foundations';
8
+ export * from './stories/Navigation';
9
+ export * from './stories/Typography';
10
+ export * from './stories/UI';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { AgentCardProps } from './types';
3
+ export declare const AgentCard: React.FC<AgentCardProps>;
@@ -1,19 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useState } from 'react';
3
- import { AgentState, } from './types/agent-card';
3
+ import { AgentState } from './types';
4
4
  import { Box } from '@mui/material';
5
- import { Typography } from './Typography';
6
- import { TypographySize, TypographyWeight } from './types/typography';
7
- import { Toggle } from './Toggle';
8
- import { TogglePosition } from './types/toggle';
9
- import { Badge } from './Bagde';
10
- import { BadgeColor, BadgeSize } from './types/badge';
11
- import { MainButton } from './Button';
12
- import { ButtonHierarchy, ButtonSize } from './types/button';
13
- import { Menu } from './Menu';
5
+ import { Typography, TypographySize, TypographyWeight } from '../Typography';
6
+ import { Toggle, TogglePosition } from '../Form';
7
+ import { Badge, ProgressIndicator, ProgressIndicatorMode, BadgeColor, BadgeSize, Menu, } from '../UI';
8
+ import { MainButton, ButtonHierarchy, ButtonSize } from '../Buttons';
14
9
  import { ArrowsCounterClockwise } from '@phosphor-icons/react';
15
- import { ProgressIndicator } from './ProgressIndicator';
16
- import { ProgressIndicatorMode } from './types/progress-indicator';
17
10
  export const AgentCard = ({ title, description = '', date = '', showDate = false, badges = [], showBadges = false, showTimeBadge = false, showDescription = false, showMenu = false, menuItems = [], active = false, showActiveToggle = false, onActiveToggleChange, activeToggleDisabled = false, agentImage, time, onPreview, agentState, previewButtonText = 'Preview', }) => {
18
11
  const [hovered, setHovered] = useState(false);
19
12
  const [imageError, setImageError] = useState(false);
@@ -78,8 +71,5 @@ export const AgentCard = ({ title, description = '', date = '', showDate = false
78
71
  position: 'absolute',
79
72
  right: '8px',
80
73
  top: '8px',
81
- } })), isReady && hovered && (_jsx(Box, { position: 'absolute', top: '0', left: '0', width: '100%', height: '100%', bgcolor: 'var(--colors-light-background-bg-component-hover)', sx: { opacity: 0.5, zIndex: 1 } })), isProcessing && (_jsxs(Box, { position: 'absolute', top: '0', left: '0', width: '100%', height: '100%', bgcolor: 'var(--colors-light-background-bg-component-hover)', style: { zIndex: 1 }, display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'center', gap: 'var(--spacing-tokens-size-in-px-spacing-spacing-md)', children: [_jsx(ArrowsCounterClockwise, { size: 24, weight: "bold", color: 'var(--primitives-desktop-primary-white-100)' }), _jsx(Typography, { text: "Agent creation in progress", size: TypographySize.TextS, weight: TypographyWeight.SemiBold, color: 'var(--primitives-desktop-primary-white-100)' }), _jsx(ProgressIndicator, { mode: ProgressIndicatorMode.Percentage, currentValue: 50, maxValue: 100, textColor: 'var(--primitives-desktop-primary-white-100)' })] })), isReady && onPreview && (_jsx(Box, { position: 'absolute', sx: { zIndex: 2 }, children: _jsx(MainButton, { text: previewButtonText, onClick: onPreview, showTrailingIcon: true, trailingIcon: "Play", hierarchy: ButtonHierarchy.SecondaryTransparent, size: ButtonSize.sm, style: { border: 'none' } }) }))] }), _jsx(Typography, { text: title, size: TypographySize.HeadingXS, weight: TypographyWeight.SemiBold }), (showDate || showActiveToggle) && (_jsxs(Box, { display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', children: [showDate && (_jsx(Typography, { text: date, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-subtle)', style: { flex: 1 } })), showActiveToggle && (_jsx(Toggle, { checked: active, onChange: (checked) => onActiveToggleChange?.(checked), disabled: activeToggleDisabled, text: "Active", togglePosition: TogglePosition.Right, style: { flex: 1 } }))] })), showBadges && (_jsx(Box, { display: 'flex', flexDirection: 'row', flexWrap: 'wrap', alignItems: 'center', gap: 'var(--spacing-tokens-size-in-px-spacing-spacing-lg)', children: badges.map((badge, index) => (_jsx(Badge, { text: badge, size: BadgeSize.lg, fill: true }, `badge-${index}-${badge}`))) })), showDescription && (_jsx(Typography, { text: description, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-paragraph)' }))] }));
82
- };
83
- export const Components = () => {
84
- return (_jsxs("div", { style: { padding: '20px' }, children: [_jsx("h1", { children: "Avatars" }), _jsx("div", { style: { display: 'flex', gap: '1rem', flexDirection: 'column' }, children: _jsx("div", { children: _jsx("h2", { children: "Size: sm, Avatar Style: Letters" }) }) })] }));
74
+ } })), isReady && hovered && onPreview && (_jsx(Box, { position: 'absolute', top: '0', left: '0', width: '100%', height: '100%', bgcolor: 'var(--colors-light-background-bg-component-hover)', sx: { zIndex: 1 }, display: 'flex', justifyContent: 'center', alignItems: 'center', children: _jsx(MainButton, { text: previewButtonText, onClick: onPreview, showTrailingIcon: true, trailingIcon: "Play", hierarchy: ButtonHierarchy.SecondaryTransparent, size: ButtonSize.sm, style: { border: 'none' } }) })), isProcessing && (_jsxs(Box, { position: 'absolute', top: '0', left: '0', width: '100%', height: '100%', bgcolor: 'var(--colors-light-background-bg-component-hover)', style: { zIndex: 1 }, display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'center', gap: 'var(--spacing-tokens-size-in-px-spacing-spacing-md)', children: [_jsx(ArrowsCounterClockwise, { size: 24, weight: "bold", color: 'var(--primitives-desktop-primary-white-100)' }), _jsx(Typography, { text: "Agent creation in progress", size: TypographySize.TextS, weight: TypographyWeight.SemiBold, color: 'var(--primitives-desktop-primary-white-100)' }), _jsx(ProgressIndicator, { mode: ProgressIndicatorMode.Percentage, currentValue: 50, maxValue: 100, textColor: 'var(--primitives-desktop-primary-white-100)' })] }))] }), _jsx(Typography, { text: title, size: TypographySize.HeadingXS, weight: TypographyWeight.SemiBold }), (showDate || showActiveToggle) && (_jsxs(Box, { display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', children: [showDate && (_jsx(Typography, { text: date, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-subtle)', style: { flex: 1 } })), showActiveToggle && (_jsx(Toggle, { checked: active, onChange: (checked) => onActiveToggleChange?.(checked), disabled: activeToggleDisabled, text: "Active", togglePosition: TogglePosition.Right, style: { flex: 1 } }))] })), showBadges && (_jsx(Box, { display: 'flex', flexDirection: 'row', flexWrap: 'wrap', alignItems: 'center', gap: 'var(--spacing-tokens-size-in-px-spacing-spacing-lg)', children: badges.map((badge, index) => (_jsx(Badge, { text: badge, size: BadgeSize.lg, fill: true }, `badge-${index}-${badge}`))) })), showDescription && (_jsx(Typography, { text: description, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-paragraph)' }))] }));
85
75
  };
@@ -1,7 +1,7 @@
1
1
  import { AgentCard } from './AgentCard';
2
- import { AgentState } from './types/agent-card';
2
+ import { AgentState } from './types';
3
3
  const meta = {
4
- title: 'Design System/Components/AgentCard',
4
+ title: 'Design System/Components/Agent/AgentCard',
5
5
  component: AgentCard,
6
6
  parameters: {
7
7
  layout: 'centered',
@@ -0,0 +1,2 @@
1
+ import { AgentCardSkeletonProps } from './types';
2
+ export declare const AgentCardSkeleton: React.FC<AgentCardSkeletonProps>;
@@ -1,22 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box } from '@mui/material';
3
- export const SkeletonLoader = ({ width = '100%', height = '100%', borderRadius = 'var(--spacing-tokens-size-in-px-spacing-sm)', animationDuration = 1.5, style, }) => {
4
- return (_jsx(Box, { width: width, height: height, borderRadius: borderRadius, sx: {
5
- background: 'linear-gradient(90deg, var(--colors-light-background-bg-element) 25%, var(--colors-light-background-bg-component) 50%, var(--colors-light-background-bg-element) 75%)',
6
- backgroundSize: '200% 100%',
7
- animation: `shimmer ${animationDuration}s infinite linear`,
8
- ...style,
9
- }, children: _jsx("style", { children: `
10
- @keyframes shimmer {
11
- 0% {
12
- background-position: 200% 0;
13
- }
14
- 100% {
15
- background-position: -200% 0;
16
- }
17
- }
18
- ` }) }));
19
- };
3
+ import { SkeletonLoader } from '../UI';
20
4
  export const AgentCardSkeleton = ({ width = '300px', showDate = false, showBadges = false, showDescription = false, style, }) => {
21
5
  return (_jsxs(Box, { width: width, display: "flex", flexDirection: "column", borderRadius: "var(--spacing-tokens-size-in-px-spacing-md)", padding: "var(--spacing-tokens-size-in-px-spacing-spacing-xl)", gap: "var(--spacing-tokens-size-in-px-spacing-spacing-lg)", bgcolor: "var(--colors-light-background-bg-component)", boxShadow: `var(--global-shadows-shadow-xs-offset-x) var(--global-shadows-shadow-xs-offset-y) var(--global-shadows-shadow-xs-blur) var(--global-shadows-shadow-xs-spread) var(--global-shadows-shadow-xs-color)`, style: style, children: [_jsx(Box, { width: "100%", sx: { aspectRatio: 1 }, borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-sm)", overflow: "hidden", children: _jsx(SkeletonLoader, {}) }), _jsx(SkeletonLoader, { width: "70%", height: "24px", borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-xs)" }), showDate && (_jsx(SkeletonLoader, { width: "100%", height: "20px", borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-xs)" })), showBadges && (_jsxs(Box, { display: "flex", flexDirection: "row", gap: "var(--spacing-tokens-size-in-px-spacing-spacing-md)", children: [_jsx(SkeletonLoader, { width: "60px", height: "24px", borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-xs)" }), _jsx(SkeletonLoader, { width: "80px", height: "24px", borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-xs)" })] })), showDescription && (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "var(--spacing-tokens-size-in-px-spacing-spacing-sm)", children: [_jsx(SkeletonLoader, { width: "100%", height: "16px", borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-xs)" }), _jsx(SkeletonLoader, { width: "80%", height: "16px", borderRadius: "var(--spacing-tokens-size-in-px-spacing-spacing-xs)" })] }))] }));
22
6
  };
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { AgentCardSkeleton } from './SkeletonLoader';
2
+ import { AgentCardSkeleton } from './AgentCardSkeleton';
3
3
  declare const meta: Meta<typeof AgentCardSkeleton>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof AgentCardSkeleton>;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AgentCardSkeleton } from './SkeletonLoader';
3
2
  import { Box } from '@mui/material';
3
+ import { AgentCardSkeleton } from './AgentCardSkeleton';
4
4
  const meta = {
5
- title: 'Design System/Components/AgentCardSkeleton',
5
+ title: 'Design System/Components/Agent/AgentCardSkeleton',
6
6
  component: AgentCardSkeleton,
7
7
  parameters: {
8
8
  layout: 'centered',
@@ -0,0 +1,3 @@
1
+ export * from './AgentCard';
2
+ export * from './AgentCardSkeleton';
3
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ export * from './AgentCard';
2
+ export * from './AgentCardSkeleton';
3
+ export * from './types';
@@ -1,4 +1,4 @@
1
- import { MenuItemProps } from './menu';
1
+ import { MenuItemProps } from '../UI';
2
2
  export declare enum AgentState {
3
3
  pending = "pending",
4
4
  processing = "processing",
@@ -48,8 +48,25 @@ export type AgentCardProps = {
48
48
  /** Preview button text */
49
49
  previewButtonText?: string;
50
50
  };
51
- /**
52
- * Props for the Components wrapper
53
- */
54
- export interface ComponentsProps {
51
+ export interface AgentCardSkeletonProps {
52
+ /**
53
+ * Width of the card
54
+ */
55
+ width?: string | number;
56
+ /**
57
+ * Show date placeholder
58
+ */
59
+ showDate?: boolean;
60
+ /**
61
+ * Show badges placeholder
62
+ */
63
+ showBadges?: boolean;
64
+ /**
65
+ * Show description placeholder
66
+ */
67
+ showDescription?: boolean;
68
+ /**
69
+ * Custom style for the skeleton
70
+ */
71
+ style?: React.CSSProperties;
55
72
  }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { MainButtonProps } from './types';
3
+ export declare const MainButton: React.FC<MainButtonProps>;
@@ -1,10 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { CircularProgress } from '@mui/material';
3
3
  import styled from '@emotion/styled';
4
- import { ButtonSize, ButtonHierarchy, ButtonState, ButtonShape, ButtonDisplayMode, ButtonType, } from './types/button';
5
- import { Typography } from './Typography';
6
- import { TypographySize, TypographyWeight } from './types/typography';
7
- import { getIconComponent } from '../utils/icon';
4
+ import { ButtonSize, ButtonHierarchy, ButtonState, ButtonShape, ButtonDisplayMode, ButtonType, } from './types';
5
+ import { Typography, TypographySize, TypographyWeight } from '../Typography';
6
+ import { getIconComponent } from '../../utils';
8
7
  const StyledButton = styled.button `
9
8
  text-transform: none;
10
9
  padding: ${(props) => props.$displayIconMode === ButtonDisplayMode.Only
@@ -285,6 +284,3 @@ export const MainButton = ({ onClick, text, disabled = false, loading = false, t
285
284
  };
286
285
  return (_jsx(StyledButton, { onClick: onClick, type: type, disabled: state === ButtonState.Disabled || disabled, "$size": size, "$hierarchy": hierarchy, "$state": state, "$shape": shape, "$destructive": destructive, "$disabled": disabled, "$displayIconMode": displayIconMode, "$sizeStyles": sizeStyles, style: style, children: renderContent() }));
287
286
  };
288
- export const Components = () => {
289
- return (_jsxs("div", { style: { padding: '20px' }, children: [_jsx("h1", { children: "Buttons" }), _jsxs("div", { style: { display: 'flex', gap: '1rem', flexDirection: 'column' }, children: [_jsxs("div", { children: [_jsx("h2", { children: "Size: xl, Hierarchy: Primary" }), _jsx(MainButton, { text: "Primary Button", size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, destructive: false, showLeadingIcon: true, showTrailingIcon: true, leadingIcon: "Circle", trailingIcon: "Circle", onClick: () => console.log('clicked') })] }), _jsxs("div", { children: [_jsx("h2", { children: "White Variant with Icons" }), _jsx(MainButton, { text: "White Button", size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, showLeadingIcon: true, showTrailingIcon: true, leadingIcon: "Circle", trailingIcon: "Circle", onClick: () => console.log('clicked') })] }), _jsxs("div", { children: [_jsx("h2", { children: "Loading State" }), _jsx(MainButton, { text: "Loading Button", loading: true, size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, onClick: () => console.log('clicked') })] }), _jsxs("div", { children: [_jsx("h2", { children: "Disabled State" }), _jsx(MainButton, { text: "Disabled Button", disabled: true, size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, onClick: () => console.log('clicked') })] }), _jsxs("div", { children: [_jsx("h2", { children: "Destructive Button" }), _jsx(MainButton, { text: "Destructive Button", destructive: true, size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, onClick: () => console.log('clicked') })] }), _jsxs("div", { children: [_jsx("h2", { children: "Leading Icon Only" }), _jsx(MainButton, { text: "Leading Icon Button", size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, showLeadingIcon: true, showTrailingIcon: false, leadingIcon: "Circle", onClick: () => console.log('clicked') })] }), _jsxs("div", { children: [_jsx("h2", { children: "Trailing Icon Only" }), _jsx(MainButton, { text: "Trailing Icon Button", size: ButtonSize.xl, hierarchy: ButtonHierarchy.Primary, displayIcon: "Circle", state: ButtonState.Default, shape: ButtonShape.Square, showLeadingIcon: false, showTrailingIcon: true, trailingIcon: "Circle", onClick: () => console.log('clicked') })] })] })] }));
290
- };
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { MainButton } from './Button';
2
+ import { MainButton } from './MainButton';
3
3
  declare const meta: Meta<typeof MainButton>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof MainButton>;
@@ -1,10 +1,7 @@
1
- import { MainButton } from './Button';
2
- import { ButtonShape, ButtonState } from './types/button';
3
- import { ButtonDisplayMode } from './types/button';
4
- import { ButtonHierarchy } from './types/button';
5
- import { ButtonSize } from './types/button';
1
+ import { MainButton } from './MainButton';
2
+ import { ButtonHierarchy, ButtonSize, ButtonState, ButtonDisplayMode, ButtonShape, } from './types';
6
3
  const meta = {
7
- title: 'Design System/Components/Button',
4
+ title: 'Design System/Components/Buttons/MainButton',
8
5
  component: MainButton,
9
6
  parameters: {
10
7
  layout: 'centered',
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ToggleButtonGroupProps } from './types';
3
+ export declare const ToggleButtonGroup: React.FC<ToggleButtonGroupProps>;
@@ -1,8 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ToggleButtonGroupSize, } from './types/toggle-button-group';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ToggleButtonGroupSize, ButtonHierarchy, ButtonSize, ButtonType, } from './types';
3
3
  import { Box } from '@mui/material';
4
- import { MainButton } from './Button';
5
- import { ButtonHierarchy, ButtonSize, ButtonType, } from './types/button';
4
+ import { MainButton } from './MainButton';
6
5
  export const ToggleButtonGroup = ({ onChange, options, selectedOption, disabled, size = ToggleButtonGroupSize.lg, }) => {
7
6
  const selectedOptionStyle = {
8
7
  backgroundColor: 'var(--colors-light-background-bg-card-highlight-hover)',
@@ -32,6 +31,3 @@ export const ToggleButtonGroup = ({ onChange, options, selectedOption, disabled,
32
31
  return (_jsx(MainButton, { text: option, onClick: () => onChange(option), size: getButtonSize(), hierarchy: ButtonHierarchy.Tetriary, type: ButtonType.Button, style: isSelected ? selectedOptionStyle : unselectedOptionStyle, disabled: disabled }, option));
33
32
  }) }));
34
33
  };
35
- export const Components = () => {
36
- return (_jsxs("div", { style: { padding: '20px' }, children: [_jsx("h1", { children: "Toggle Buttons" }), _jsx("div", { style: { display: 'flex', gap: '1rem', flexDirection: 'column' }, children: _jsx(ToggleButtonGroup, { options: ['Option 1', 'Option 2', 'Option 3'], selectedOption: "Option 1", onChange: () => { } }) })] }));
37
- };
@@ -1,7 +1,7 @@
1
1
  import { ToggleButtonGroup } from './ToggleButtonGroup';
2
- import { ToggleButtonGroupSize } from './types/toggle-button-group';
2
+ import { ToggleButtonGroupSize } from './types';
3
3
  const meta = {
4
- title: 'Design System/Components/ToggleButtonGroup',
4
+ title: 'Design System/Components/Buttons/ToggleButtonGroup',
5
5
  component: ToggleButtonGroup,
6
6
  parameters: {
7
7
  layout: 'centered',
@@ -0,0 +1,3 @@
1
+ export * from './MainButton';
2
+ export * from './ToggleButtonGroup';
3
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ export * from './MainButton';
2
+ export * from './ToggleButtonGroup';
3
+ export * from './types';
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties } from 'react';
2
- import { IconName } from '../../utils/icon';
2
+ import { IconName } from '../../utils';
3
3
  /**
4
4
  * Button size variants
5
5
  */
@@ -100,7 +100,25 @@ export interface MainButtonProps {
100
100
  trailingIcon?: IconName;
101
101
  }
102
102
  /**
103
- * Props for the Components wrapper
103
+ * Toggle button size variants
104
104
  */
105
- export interface ComponentsProps {
105
+ export declare enum ToggleButtonGroupSize {
106
+ lg = "lg",
107
+ md = "md",
108
+ sm = "sm"
106
109
  }
110
+ /**
111
+ * Toggle button component props
112
+ */
113
+ export type ToggleButtonGroupProps = {
114
+ /** Size variant of the toggle button */
115
+ size?: ToggleButtonGroupSize;
116
+ /** Selected option of the toggle button */
117
+ selectedOption: string;
118
+ /** Options of the toggle button */
119
+ options: string[];
120
+ /** Whether the toggle button is disabled */
121
+ disabled?: boolean;
122
+ /** Callback function when the toggle button is selected */
123
+ onChange: (option: string) => void;
124
+ };
@@ -56,3 +56,12 @@ export var ButtonType;
56
56
  ButtonType["Submit"] = "submit";
57
57
  ButtonType["Reset"] = "reset";
58
58
  })(ButtonType || (ButtonType = {}));
59
+ /**
60
+ * Toggle button size variants
61
+ */
62
+ export var ToggleButtonGroupSize;
63
+ (function (ToggleButtonGroupSize) {
64
+ ToggleButtonGroupSize["lg"] = "lg";
65
+ ToggleButtonGroupSize["md"] = "md";
66
+ ToggleButtonGroupSize["sm"] = "sm";
67
+ })(ToggleButtonGroupSize || (ToggleButtonGroupSize = {}));
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { CreditsCardProps } from './types/credits-card';
2
+ import { CreditsCardProps } from './types';
3
3
  export declare const CreditsCard: React.FC<CreditsCardProps>;
@@ -1,11 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import styled from '@emotion/styled';
3
- import { CreditsCardSize } from './types/credits-card';
4
- import { Typography } from './Typography';
5
- import { TypographySize, TypographyWeight } from './types/typography';
3
+ import { CreditsCardSize } from './types';
4
+ import { Typography, TypographySize, TypographyWeight } from '../Typography';
6
5
  import { Box } from '@mui/material';
7
- import { MainButton } from './Button';
8
- import { ButtonHierarchy, ButtonSize } from './types/button';
6
+ import { MainButton, ButtonHierarchy, ButtonSize } from '../Buttons';
9
7
  const StyledCard = styled.div `
10
8
  display: flex;
11
9
  flex-direction: column;
@@ -1,7 +1,7 @@
1
1
  import { CreditsCard } from './CreditsCard';
2
- import { CreditsCardSize } from './types/credits-card';
2
+ import { CreditsCardSize } from './types';
3
3
  const meta = {
4
- title: 'Design System/Components/CreditsCard',
4
+ title: 'Design System/Components/Credits/CreditsCard',
5
5
  component: CreditsCard,
6
6
  parameters: {
7
7
  layout: 'centered',
@@ -0,0 +1,2 @@
1
+ export * from './CreditsCard';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ export * from './CreditsCard';
2
+ export * from './types';
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { CheckboxProps } from './types/checkbox';
2
+ import { CheckboxProps } from './types';
3
3
  export declare const Checkbox: React.FC<CheckboxProps>;
@@ -1,8 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box, Checkbox as MuiCheckbox } from '@mui/material';
3
- import { CheckboxType } from './types/checkbox';
4
- import { Typography } from './Typography';
5
- import { TypographySize, TypographyWeight } from './types/typography';
3
+ import { CheckboxType } from './types';
4
+ import { Typography, TypographySize, TypographyWeight } from '../Typography';
6
5
  export const Checkbox = ({ type = CheckboxType.Checkbox, label, checked, disabled, required, onChange, }) => {
7
6
  const props = {
8
7
  checked,
@@ -1,7 +1,7 @@
1
1
  import { Checkbox } from './Checkbox';
2
- import { CheckboxType } from './types/checkbox';
2
+ import { CheckboxType } from './types';
3
3
  const meta = {
4
- title: 'Design System/Components/Checkbox',
4
+ title: 'Design System/Components/Form/Checkbox',
5
5
  component: Checkbox,
6
6
  parameters: {
7
7
  layout: 'centered',
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { TextAreaProps } from './types';
3
+ export declare const TextArea: React.FC<TextAreaProps>;
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { Box } from '@mui/material';
4
+ import { Typography, TypographySize, TypographyWeight } from '../Typography';
5
+ export const TextArea = ({ label, value, onChange, placeholder, hintText, errorText, disabled, maxLength = 256, showMaxLengthIndicator = false, numberOfRows = 5, }) => {
6
+ const [focused, setFocused] = useState(false);
7
+ return (_jsx(Box, { display: 'flex', flexDirection: 'column', gap: 'var(--spacing-tokens-size-in-px-spacing-spacing-sm)', children: _jsxs(Box, { display: 'flex', flexDirection: 'column', gap: 'var(--spacing-tokens-size-in-px-spacing-spacing-lg)', minWidth: '260px', children: [_jsx(Typography, { text: label, size: TypographySize.HeadingXS, weight: TypographyWeight.SemiBold }), _jsx(Box, { display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', bgcolor: 'var(--colors-light-background-bg-component)', border: `1px solid ${errorText
8
+ ? 'var(--colors-light-border-border-error)'
9
+ : focused
10
+ ? 'var(--colors-light-border-border-component-active)'
11
+ : 'var(--colors-light-border-border-component)'}`, overflow: 'hidden', borderRadius: 'var(--spacing-tokens-size-in-px-spacing-spacing-xs)', padding: 'var(--spacing-tokens-size-in-px-spacing-spacing-lg)', width: '100%', children: _jsx("textarea", { value: value, onChange: (e) => onChange(e.target.value), placeholder: placeholder, disabled: disabled, rows: numberOfRows, style: {
12
+ border: 'none',
13
+ outline: 'none',
14
+ width: '100%',
15
+ height: '100%',
16
+ color: disabled
17
+ ? 'var(--colors-light-text-text-disabled)'
18
+ : 'var(--colors-light-text-text-title)',
19
+ backgroundColor: 'transparent',
20
+ resize: 'none',
21
+ }, maxLength: maxLength, onFocus: () => setFocused(true), onBlur: () => setFocused(false) }) }), _jsxs(Box, { display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', children: [errorText ? (_jsx(Typography, { text: errorText, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-error)' })) : hintText ? (_jsx(Typography, { text: hintText, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-subtle)' })) : (_jsx(Box, { style: { flex: 1 } })), showMaxLengthIndicator && maxLength && (_jsx(Typography, { text: `${maxLength - value.length}`, size: TypographySize.TextS, weight: TypographyWeight.Regular, color: 'var(--colors-light-text-text-subtle)', style: { alignSelf: 'flex-end' } }))] })] }) }));
22
+ };
@@ -0,0 +1,103 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").FC<import("./types").TextAreaProps>;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {
10
+ label: {
11
+ control: "text";
12
+ description: string;
13
+ table: {
14
+ type: {
15
+ summary: string;
16
+ };
17
+ };
18
+ };
19
+ value: {
20
+ control: "text";
21
+ description: string;
22
+ table: {
23
+ type: {
24
+ summary: string;
25
+ };
26
+ };
27
+ };
28
+ placeholder: {
29
+ control: "text";
30
+ description: string;
31
+ table: {
32
+ type: {
33
+ summary: string;
34
+ };
35
+ };
36
+ };
37
+ hintText: {
38
+ control: "text";
39
+ description: string;
40
+ table: {
41
+ type: {
42
+ summary: string;
43
+ };
44
+ };
45
+ };
46
+ errorText: {
47
+ control: "text";
48
+ description: string;
49
+ table: {
50
+ type: {
51
+ summary: string;
52
+ };
53
+ };
54
+ };
55
+ disabled: {
56
+ control: "boolean";
57
+ description: string;
58
+ table: {
59
+ type: {
60
+ summary: string;
61
+ };
62
+ };
63
+ };
64
+ onChange: {
65
+ description: string;
66
+ table: {
67
+ type: {
68
+ summary: string;
69
+ };
70
+ };
71
+ };
72
+ maxLength: {
73
+ control: "number";
74
+ description: string;
75
+ table: {
76
+ type: {
77
+ summary: string;
78
+ };
79
+ };
80
+ };
81
+ showMaxLengthIndicator: {
82
+ control: "boolean";
83
+ description: string;
84
+ table: {
85
+ type: {
86
+ summary: string;
87
+ };
88
+ };
89
+ };
90
+ numberOfRows: {
91
+ control: "number";
92
+ description: string;
93
+ table: {
94
+ type: {
95
+ summary: string;
96
+ };
97
+ };
98
+ };
99
+ };
100
+ };
101
+ export default meta;
102
+ type Story = StoryObj<typeof meta>;
103
+ export declare const Default: Story;