@getmicdrop/svelte-components 5.13.0 → 5.15.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 (50) hide show
  1. package/dist/calendar/OrderSummary/OrderSummary.svelte +67 -7
  2. package/dist/calendar/OrderSummary/OrderSummary.svelte.d.ts +2 -0
  3. package/dist/calendar/OrderSummary/OrderSummary.svelte.d.ts.map +1 -1
  4. package/dist/index.spec.js +1 -1
  5. package/dist/patterns/chat/ChatActivityNotice.svelte +41 -0
  6. package/dist/patterns/chat/ChatActivityNotice.svelte.d.ts +21 -0
  7. package/dist/patterns/chat/ChatActivityNotice.svelte.d.ts.map +1 -0
  8. package/dist/patterns/chat/ChatBubble.svelte +95 -0
  9. package/dist/patterns/chat/ChatBubble.svelte.d.ts +31 -0
  10. package/dist/patterns/chat/ChatBubble.svelte.d.ts.map +1 -0
  11. package/dist/patterns/chat/ChatContainer.svelte +46 -0
  12. package/dist/patterns/chat/ChatContainer.svelte.d.ts +21 -0
  13. package/dist/patterns/chat/ChatContainer.svelte.d.ts.map +1 -0
  14. package/dist/patterns/chat/ChatDateDivider.svelte +27 -0
  15. package/dist/patterns/chat/ChatDateDivider.svelte.d.ts +10 -0
  16. package/dist/patterns/chat/ChatDateDivider.svelte.d.ts.map +1 -0
  17. package/dist/patterns/chat/ChatInvitationBubble.svelte +37 -0
  18. package/dist/patterns/chat/ChatInvitationBubble.svelte.d.ts +12 -0
  19. package/dist/patterns/chat/ChatInvitationBubble.svelte.d.ts.map +1 -0
  20. package/dist/patterns/chat/ChatInvitationNotice.svelte +27 -0
  21. package/dist/patterns/chat/ChatInvitationNotice.svelte.d.ts +10 -0
  22. package/dist/patterns/chat/ChatInvitationNotice.svelte.d.ts.map +1 -0
  23. package/dist/patterns/chat/ChatMessageGroup.svelte +57 -0
  24. package/dist/patterns/chat/ChatMessageGroup.svelte.d.ts +25 -0
  25. package/dist/patterns/chat/ChatMessageGroup.svelte.d.ts.map +1 -0
  26. package/dist/patterns/chat/ChatSlotUpdate.svelte +46 -0
  27. package/dist/patterns/chat/ChatSlotUpdate.svelte.d.ts +16 -0
  28. package/dist/patterns/chat/ChatSlotUpdate.svelte.d.ts.map +1 -0
  29. package/dist/patterns/chat/ChatStatusBadge.svelte +91 -0
  30. package/dist/patterns/chat/ChatStatusBadge.svelte.d.ts +22 -0
  31. package/dist/patterns/chat/ChatStatusBadge.svelte.d.ts.map +1 -0
  32. package/dist/patterns/chat/ChatStatusTransition.svelte +64 -0
  33. package/dist/patterns/chat/ChatStatusTransition.svelte.d.ts +19 -0
  34. package/dist/patterns/chat/ChatStatusTransition.svelte.d.ts.map +1 -0
  35. package/dist/patterns/chat/ChatTextBubble.svelte +41 -0
  36. package/dist/patterns/chat/ChatTextBubble.svelte.d.ts +19 -0
  37. package/dist/patterns/chat/ChatTextBubble.svelte.d.ts.map +1 -0
  38. package/dist/patterns/chat/index.d.ts +12 -0
  39. package/dist/patterns/chat/index.d.ts.map +1 -0
  40. package/dist/patterns/chat/index.js +22 -0
  41. package/dist/patterns/index.d.ts +1 -0
  42. package/dist/patterns/index.js +3 -0
  43. package/dist/primitives/Button/Button.spec.js +8 -6
  44. package/dist/primitives/Input/Input.svelte +1 -1
  45. package/dist/recipes/ImageUploader/ImageUploader.svelte +1 -2
  46. package/dist/tokens/__tests__/sizing.test.js +5 -7
  47. package/dist/tokens/sizing.d.ts +20 -19
  48. package/dist/tokens/sizing.d.ts.map +1 -1
  49. package/dist/tokens/sizing.js +20 -19
  50. package/package.json +1 -1
@@ -9,21 +9,21 @@
9
9
  // =============================================================================
10
10
  /**
11
11
  * Form input sizes - for Input component with fixed heights
12
- * Provides consistent height, padding, and text sizing for text inputs.
12
+ * Uses explicit heights for consistent toolbar alignment.
13
13
  */
14
14
  export const formInputSizes = {
15
- sm: 'py-2 px-3 text-sm h-9',
16
- md: 'py-2.5 px-4 text-sm h-10',
17
- lg: 'py-3 px-4 text-base h-12',
15
+ sm: 'h-9 px-3 text-sm',
16
+ md: 'h-10 px-4 text-sm',
17
+ lg: 'h-12 px-4 text-base',
18
18
  };
19
19
  /**
20
- * Form control sizes - for Select and other form controls without fixed heights
21
- * Provides consistent padding and text sizing.
20
+ * Form control sizes - for Select and other form controls
21
+ * Uses explicit heights to match buttons and inputs for toolbar alignment.
22
22
  */
23
23
  export const formControlSizes = {
24
- sm: 'py-2 px-3 text-sm',
25
- md: 'py-2.5 px-4 text-sm',
26
- lg: 'py-3 px-4 text-base',
24
+ sm: 'h-9 px-3 text-sm',
25
+ md: 'h-10 px-4 text-sm',
26
+ lg: 'h-12 px-4 text-base',
27
27
  };
28
28
  // =============================================================================
29
29
  // ICON/SPINNER SIZES
@@ -76,18 +76,19 @@ export const skeletonSizes = {
76
76
  // BUTTON SIZES
77
77
  // =============================================================================
78
78
  /**
79
- * Standard button sizes - padding and text sizing.
79
+ * Standard button sizes - padding, text sizing, and explicit heights for consistency.
80
+ * All toolbar elements (buttons, inputs, selects) should align at the same height.
80
81
  */
81
82
  export const buttonSizes = {
82
- xs: 'px-3 py-1.5 text-xs',
83
- sm: 'px-3 py-2 text-sm',
84
- md: 'px-4 py-2.5 text-sm',
85
- lg: 'px-5 py-3 text-sm',
86
- xl: 'px-6 py-3.5 text-sm',
87
- 'xl-medium': 'w-full px-6 py-3.5 text-sm',
88
- full: 'w-full px-5 py-3 text-sm',
89
- 'full-md-auto': 'w-full px-5 py-3 text-sm md:w-auto',
90
- half: 'w-1/2 px-4 py-2.5 text-sm',
83
+ xs: 'h-8 px-3 text-xs',
84
+ sm: 'h-9 px-3 text-sm',
85
+ md: 'h-10 px-4 text-sm',
86
+ lg: 'h-11 px-5 text-sm',
87
+ xl: 'h-12 px-6 text-sm',
88
+ 'xl-medium': 'w-full h-12 px-6 text-sm',
89
+ full: 'w-full h-11 px-5 text-sm',
90
+ 'full-md-auto': 'w-full h-11 px-5 text-sm md:w-auto',
91
+ half: 'w-1/2 h-10 px-4 text-sm',
91
92
  // Landing page hero buttons - taller with larger text
92
93
  landing: 'h-12 sm:h-14 px-6 sm:px-8 text-base sm:text-lg',
93
94
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getmicdrop/svelte-components",
3
- "version": "5.13.0",
3
+ "version": "5.15.0",
4
4
  "description": "Shared component library for Micdrop applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",