@beydesign/storybook 0.7.4 → 0.7.6

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.
@@ -1,3 +1,4 @@
1
+ export * from './AvatarSilhouette';
1
2
  export * from './EntityCard';
2
3
  export * from './EntityCardSkeleton';
3
4
  export * from './types';
@@ -1,3 +1,4 @@
1
+ export * from './AvatarSilhouette';
1
2
  export * from './EntityCard';
2
3
  export * from './EntityCardSkeleton';
3
4
  export * from './types';
@@ -30,6 +30,7 @@ const MAX_WIDTH = 696;
30
30
  /** The face bleeds 10% of its box on every side so the heart is not clipped. */
31
31
  const FACE_BOX = { xs: 50, sm: 60 };
32
32
  const FACE_BLEED = { xs: '-5px', sm: '-6px' };
33
+ const RATING_LABEL_COLOR = 'var(--primitives-white-primary-white-100)';
33
34
  export const FeedbackCard = ({ title = 'How was your call experience with this agent?', rating, onRatingChange, ratingLabels = DEFAULT_RATING_LABELS, ratingInkColor, expanded = false, detailsTitle = 'Please help us improve! What can be done better?', topics = [], selectedTopic = null, onTopicChange, comment = '', onCommentChange, commentPlaceholder = 'Your comment', contactConsent = false, onContactConsentChange, contactConsentLabel = 'You can contact me about this feedback', submitText = 'Submit Feedback', onSubmit, submitDisabled = false, submitLoading = false, submitId, errorText, surfaceColor = DEFAULT_SURFACE, itemColor = DEFAULT_ITEM, className, sx, }) => {
34
35
  const handleRatingClick = (option) => {
35
36
  onRatingChange(option === rating ? null : option);
@@ -115,7 +116,7 @@ const FeedbackOption = ({ rating, label, selected, inkColor, itemColor, onClick,
115
116
  fontWeight: 'var(--global-text-s-semi-bold-font-weight)',
116
117
  fontSize: { xs: '12px', sm: '14px' },
117
118
  lineHeight: { xs: '16px', sm: '20px' },
118
- color: 'var(--color-text-text-white)',
119
+ color: RATING_LABEL_COLOR,
119
120
  }, children: label })] }));
120
121
  };
121
122
  const FeedbackTopicChip = ({ topic, selected, itemColor, onClick, }) => {
@@ -8,5 +8,5 @@ export declare const getTextStyles: (sizeToken: string, weightToken: string) =>
8
8
  lineHeight: string;
9
9
  paragraphIndent: string;
10
10
  textDecoration: string;
11
- textTransform: "uppercase" | "none";
11
+ textTransform: "none" | "uppercase";
12
12
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beydesign/storybook",
3
3
  "private": false,
4
- "version": "0.7.4",
4
+ "version": "0.7.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",