@feedvalue/core 0.1.10 → 0.1.11

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/dist/index.d.cts CHANGED
@@ -163,6 +163,33 @@ type ButtonSize = 'sm' | 'md' | 'lg';
163
163
  * Follow-up trigger options
164
164
  */
165
165
  type FollowUpTrigger = 'negative' | 'all' | 'none';
166
+ /**
167
+ * Border radius options for reaction buttons
168
+ */
169
+ type ReactionBorderRadius = 'full' | 'lg' | 'md' | 'sm' | 'none';
170
+ /**
171
+ * Border width options for reaction buttons
172
+ */
173
+ type ReactionBorderWidth = '0' | '1' | '2' | '3' | '4';
174
+ /**
175
+ * Reaction widget styling configuration
176
+ */
177
+ interface ReactionStyling {
178
+ /** Primary/accent color (hex) */
179
+ primaryColor?: string;
180
+ /** Button background color (hex) */
181
+ backgroundColor?: string;
182
+ /** Text color (hex) */
183
+ textColor?: string;
184
+ /** Button label text color (hex) */
185
+ buttonTextColor?: string;
186
+ /** Border color (hex) */
187
+ borderColor?: string;
188
+ /** Border width preset */
189
+ borderWidth?: ReactionBorderWidth;
190
+ /** Border radius preset */
191
+ borderRadius?: ReactionBorderRadius;
192
+ }
166
193
  /**
167
194
  * Map of negative reaction options for each template.
168
195
  * Used to determine when to show follow-up input when followUpTrigger is 'negative'.
@@ -821,4 +848,4 @@ declare function generateFingerprint(): string;
821
848
  */
822
849
  declare function clearFingerprint(): void;
823
850
 
824
- export { ApiClient, type ButtonSize, type ConfigResponse, type CustomField, type CustomFieldType, DEFAULT_API_BASE_URL, type EmojiSentiment, type EventHandler, FeedValue, type FeedValueConfig, type FeedValueEvents, type FeedValueInstance, type FeedValueOptions, type FeedValueState, type FeedbackData, type FeedbackMetadata, type FeedbackResponse, type FollowUpTrigger, NEGATIVE_OPTIONS_MAP, type ReactionConfig, type ReactionData, type ReactionMetadata, type ReactionOption, type ReactionResponse, type ReactionState, type ReactionTemplate, type SubmissionUserData, type TriggerIconType, TypedEventEmitter, type UserData, type UserTraits, type WidgetConfig, type WidgetPosition, type WidgetStyling, type WidgetTheme, type WidgetType, type WidgetUIConfig, clearFingerprint, generateFingerprint };
851
+ export { ApiClient, type ButtonSize, type ConfigResponse, type CustomField, type CustomFieldType, DEFAULT_API_BASE_URL, type EmojiSentiment, type EventHandler, FeedValue, type FeedValueConfig, type FeedValueEvents, type FeedValueInstance, type FeedValueOptions, type FeedValueState, type FeedbackData, type FeedbackMetadata, type FeedbackResponse, type FollowUpTrigger, NEGATIVE_OPTIONS_MAP, type ReactionBorderRadius, type ReactionBorderWidth, type ReactionConfig, type ReactionData, type ReactionMetadata, type ReactionOption, type ReactionResponse, type ReactionState, type ReactionStyling, type ReactionTemplate, type SubmissionUserData, type TriggerIconType, TypedEventEmitter, type UserData, type UserTraits, type WidgetConfig, type WidgetPosition, type WidgetStyling, type WidgetTheme, type WidgetType, type WidgetUIConfig, clearFingerprint, generateFingerprint };
package/dist/index.d.ts CHANGED
@@ -163,6 +163,33 @@ type ButtonSize = 'sm' | 'md' | 'lg';
163
163
  * Follow-up trigger options
164
164
  */
165
165
  type FollowUpTrigger = 'negative' | 'all' | 'none';
166
+ /**
167
+ * Border radius options for reaction buttons
168
+ */
169
+ type ReactionBorderRadius = 'full' | 'lg' | 'md' | 'sm' | 'none';
170
+ /**
171
+ * Border width options for reaction buttons
172
+ */
173
+ type ReactionBorderWidth = '0' | '1' | '2' | '3' | '4';
174
+ /**
175
+ * Reaction widget styling configuration
176
+ */
177
+ interface ReactionStyling {
178
+ /** Primary/accent color (hex) */
179
+ primaryColor?: string;
180
+ /** Button background color (hex) */
181
+ backgroundColor?: string;
182
+ /** Text color (hex) */
183
+ textColor?: string;
184
+ /** Button label text color (hex) */
185
+ buttonTextColor?: string;
186
+ /** Border color (hex) */
187
+ borderColor?: string;
188
+ /** Border width preset */
189
+ borderWidth?: ReactionBorderWidth;
190
+ /** Border radius preset */
191
+ borderRadius?: ReactionBorderRadius;
192
+ }
166
193
  /**
167
194
  * Map of negative reaction options for each template.
168
195
  * Used to determine when to show follow-up input when followUpTrigger is 'negative'.
@@ -821,4 +848,4 @@ declare function generateFingerprint(): string;
821
848
  */
822
849
  declare function clearFingerprint(): void;
823
850
 
824
- export { ApiClient, type ButtonSize, type ConfigResponse, type CustomField, type CustomFieldType, DEFAULT_API_BASE_URL, type EmojiSentiment, type EventHandler, FeedValue, type FeedValueConfig, type FeedValueEvents, type FeedValueInstance, type FeedValueOptions, type FeedValueState, type FeedbackData, type FeedbackMetadata, type FeedbackResponse, type FollowUpTrigger, NEGATIVE_OPTIONS_MAP, type ReactionConfig, type ReactionData, type ReactionMetadata, type ReactionOption, type ReactionResponse, type ReactionState, type ReactionTemplate, type SubmissionUserData, type TriggerIconType, TypedEventEmitter, type UserData, type UserTraits, type WidgetConfig, type WidgetPosition, type WidgetStyling, type WidgetTheme, type WidgetType, type WidgetUIConfig, clearFingerprint, generateFingerprint };
851
+ export { ApiClient, type ButtonSize, type ConfigResponse, type CustomField, type CustomFieldType, DEFAULT_API_BASE_URL, type EmojiSentiment, type EventHandler, FeedValue, type FeedValueConfig, type FeedValueEvents, type FeedValueInstance, type FeedValueOptions, type FeedValueState, type FeedbackData, type FeedbackMetadata, type FeedbackResponse, type FollowUpTrigger, NEGATIVE_OPTIONS_MAP, type ReactionBorderRadius, type ReactionBorderWidth, type ReactionConfig, type ReactionData, type ReactionMetadata, type ReactionOption, type ReactionResponse, type ReactionState, type ReactionStyling, type ReactionTemplate, type SubmissionUserData, type TriggerIconType, TypedEventEmitter, type UserData, type UserTraits, type WidgetConfig, type WidgetPosition, type WidgetStyling, type WidgetTheme, type WidgetType, type WidgetUIConfig, clearFingerprint, generateFingerprint };