@onereach/ui-components 2.69.2-beta.2136.0 → 2.69.3-beta.2138.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 (61) hide show
  1. package/dist/bundled/v2/{OrAvatar-2fa559e1.js → OrAvatar-ae61bfb9.js} +41 -15
  2. package/dist/bundled/v2/components/index.js +1 -1
  3. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  4. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  5. package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -1
  6. package/dist/bundled/v2/components/or-avatar-v3/props.d.ts +2 -1
  7. package/dist/bundled/v2/components/or-avatar-v3/styles.d.ts +2 -0
  8. package/dist/bundled/v2/index.js +2 -2
  9. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-22e46ce1.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +35 -13
  10. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3993a015.js → OrCardCollection.vue_vue_type_script_lang-861158b5.js} +2 -2
  11. package/dist/bundled/v3/{OrIconButton-4bd33e3c.js → OrIconButton-1581013c.js} +1 -1
  12. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-641f6e06.js → OrIconButton.vue_vue_type_script_lang-f6f801ff.js} +1 -1
  13. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3a8189f4.js → OrInlineInput.vue_vue_type_script_lang-f29483f4.js} +2 -2
  14. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-890b97ab.js → OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js} +2 -2
  15. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-f6d793d3.js +2 -2
  16. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-00a477f0.js → OrModal.vue_vue_type_script_lang-80a7b906.js} +2 -2
  17. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fbb35355.js +2 -2
  18. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-15285ce4.js +1 -1
  19. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-92d9fb12.js → OrTag.vue_vue_type_script_lang-dc6a4011.js} +2 -2
  20. package/dist/bundled/v3/{OrToastContainer-afb51e5d.js → OrToastContainer-7c3c0b12.js} +1 -1
  21. package/dist/bundled/v3/components/index.js +10 -10
  22. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  23. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  24. package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -1
  25. package/dist/bundled/v3/components/or-avatar-v3/props.d.ts +2 -1
  26. package/dist/bundled/v3/components/or-avatar-v3/styles.d.ts +2 -0
  27. package/dist/bundled/v3/components/or-card-collection-v3/index.js +3 -3
  28. package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
  29. package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
  30. package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
  31. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
  32. package/dist/bundled/v3/components/or-input-v3/index.js +2 -2
  33. package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
  34. package/dist/bundled/v3/components/or-notification-v3/index.js +2 -2
  35. package/dist/bundled/v3/components/or-search-v3/index.js +2 -2
  36. package/dist/bundled/v3/components/or-select-v3/index.js +3 -3
  37. package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
  38. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  39. package/dist/bundled/v3/index.js +26 -20
  40. package/dist/bundled/v3/{types-6c5eee23.js → types-dcc78caa.js} +2 -2
  41. package/dist/esm/v2/{OrAvatar-0afdef36.js → OrAvatar-3d155af3.js} +41 -15
  42. package/dist/esm/v2/components/index.js +1 -1
  43. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  44. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  45. package/dist/esm/v2/components/or-avatar-v3/index.js +2 -1
  46. package/dist/esm/v2/components/or-avatar-v3/props.d.ts +2 -1
  47. package/dist/esm/v2/components/or-avatar-v3/styles.d.ts +2 -0
  48. package/dist/esm/v2/index.js +1 -1
  49. package/dist/esm/v3/{OrAvatar-ef88d31c.js → OrAvatar-53a4429d.js} +43 -16
  50. package/dist/esm/v3/components/index.js +1 -1
  51. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  52. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  53. package/dist/esm/v3/components/or-avatar-v3/index.js +2 -1
  54. package/dist/esm/v3/components/or-avatar-v3/props.d.ts +2 -1
  55. package/dist/esm/v3/components/or-avatar-v3/styles.d.ts +2 -0
  56. package/dist/esm/v3/index.js +1 -1
  57. package/package.json +1 -1
  58. package/src/components/or-avatar-v3/OrAvatar.stories3.ts +9 -7
  59. package/src/components/or-avatar-v3/OrAvatar.vue +22 -2
  60. package/src/components/or-avatar-v3/props.ts +1 -0
  61. package/src/components/or-avatar-v3/styles.ts +49 -11
@@ -27,36 +27,30 @@ export const AvatarRootSizes: Record<AvatarSize, string[]> = {
27
27
  // Box
28
28
  'w-[80px]',
29
29
  'h-[80px]',
30
-
31
- // Typography
32
- 'text-[32px]',
33
30
  ],
34
31
 
35
32
  'l': [
36
33
  // Box
37
34
  'w-[64px]',
38
35
  'h-[64px]',
39
-
40
- // Typography
41
- 'text-[24px]',
42
36
  ],
43
37
 
44
38
  'm': [
45
39
  // Box
46
40
  'w-[40px]',
47
41
  'h-[40px]',
48
-
49
- // Typography
50
- 'text-[16px]',
51
42
  ],
52
43
 
53
44
  's': [
54
45
  // Box
55
46
  'w-[32px]',
56
47
  'h-[32px]',
48
+ ],
57
49
 
58
- // Typography
59
- 'text-[16px]',
50
+ 'xs': [
51
+ // Box
52
+ 'w-[24px]',
53
+ 'h-[24px]',
60
54
  ],
61
55
  };
62
56
 
@@ -97,3 +91,47 @@ export const AvatarRootColors: Record<AvatarColor, string[]> = {
97
91
  'dark:text-overlay-dark',
98
92
  ],
99
93
  };
94
+
95
+ export const AvatarRootAbbreviationSizes: Record<AvatarSize, string[]> = {
96
+ 'xl': [
97
+ 'typography-headline-1',
98
+ ],
99
+
100
+ 'l': [
101
+ 'typography-headline-1',
102
+ ],
103
+
104
+ 'm': [
105
+ 'typography-body-1-bold',
106
+ ],
107
+
108
+ 's': [
109
+ 'typography-body-1-bold',
110
+ ],
111
+
112
+ 'xs': [
113
+ 'typography-caption-semibold',
114
+ ],
115
+ };
116
+
117
+ export const AvatarRootIconSizes: Record<AvatarSize, string[]> = {
118
+ 'xl': [
119
+ 'text-[40px]',
120
+ ],
121
+
122
+ 'l': [
123
+ 'text-[32px]',
124
+ ],
125
+
126
+ 'm': [
127
+ 'text-[20px]',
128
+ ],
129
+
130
+ 's': [
131
+ 'text-[16px]',
132
+ ],
133
+
134
+ 'xs': [
135
+ 'text-[16px]',
136
+ ],
137
+ };