@lumx/react 3.1.5 → 3.2.1-alpha.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 (147) hide show
  1. package/_internal/types.d.ts +16 -5
  2. package/index.d.ts +45 -4
  3. package/index.js +632 -423
  4. package/index.js.map +1 -1
  5. package/package.json +3 -3
  6. package/src/components/alert-dialog/AlertDialog.stories.tsx +96 -165
  7. package/src/components/alert-dialog/AlertDialog.test.tsx +15 -23
  8. package/src/components/avatar/Avatar.stories.tsx +91 -62
  9. package/src/components/avatar/Avatar.test.tsx +9 -24
  10. package/src/components/badge/Badge.stories.tsx +63 -38
  11. package/src/components/button/Button.stories.tsx +147 -139
  12. package/src/components/button/IconButton.stories.tsx +45 -0
  13. package/src/components/checkbox/Checkbox.stories.tsx +37 -30
  14. package/src/components/chip/Chip.stories.tsx +77 -15
  15. package/src/components/comment-block/CommentBlock.stories.tsx +90 -25
  16. package/src/components/comment-block/CommentBlock.test.tsx +12 -17
  17. package/src/components/date-picker/DatePickerField.stories.tsx +52 -83
  18. package/src/components/dialog/Dialog.stories.tsx +131 -293
  19. package/src/components/dialog/Dialog.test.tsx +0 -32
  20. package/src/components/dropdown/Dropdown.stories.tsx +1 -186
  21. package/src/components/flag/Flag.stories.tsx +33 -18
  22. package/src/components/flag/Flag.test.tsx +1 -8
  23. package/src/components/flex-box/FlexBox.stories.tsx +151 -238
  24. package/src/components/flex-box/FlexBox.test.tsx +9 -49
  25. package/src/components/generic-block/GenericBlock.stories.jsx +1 -1
  26. package/src/components/grid-column/GridColumn.stories.tsx +46 -0
  27. package/src/components/heading/Heading.stories.tsx +57 -95
  28. package/src/components/icon/Icon.stories.tsx +67 -70
  29. package/src/components/image-block/ImageBlock.stories.tsx +103 -47
  30. package/src/components/image-block/ImageBlock.test.tsx +12 -17
  31. package/src/components/inline-list/InlineList.stories.tsx +45 -29
  32. package/src/components/input-helper/InputHelper.stories.tsx +31 -25
  33. package/src/components/input-label/InputLabel.stories.tsx +33 -10
  34. package/src/components/lightbox/Lightbox.stories.tsx +39 -77
  35. package/src/components/lightbox/Lightbox.test.tsx +12 -17
  36. package/src/components/link/Link.stories.tsx +98 -128
  37. package/src/components/link-preview/LinkPreview.stories.tsx +48 -75
  38. package/src/components/list/List.stories.tsx +59 -84
  39. package/src/components/list/List.test.tsx +8 -17
  40. package/src/components/list/ListDivider.stories.tsx +9 -4
  41. package/src/components/list/ListDivider.test.tsx +12 -17
  42. package/src/components/list/ListItem.stories.tsx +97 -59
  43. package/src/components/list/ListItem.test.tsx +12 -17
  44. package/src/components/list/ListSubheader.stories.tsx +8 -5
  45. package/src/components/list/ListSubheader.test.tsx +12 -18
  46. package/src/components/message/Message.stories.tsx +51 -22
  47. package/src/components/mosaic/Mosaic.stories.tsx +78 -74
  48. package/src/components/mosaic/Mosaic.test.tsx +0 -31
  49. package/src/components/navigation/Navigation.stories.tsx +67 -0
  50. package/src/components/navigation/Navigation.test.tsx +58 -0
  51. package/src/components/navigation/Navigation.tsx +62 -0
  52. package/src/components/navigation/NavigationItem.test.tsx +37 -0
  53. package/src/components/navigation/NavigationItem.tsx +89 -0
  54. package/src/components/navigation/NavigationSection.test.tsx +126 -0
  55. package/src/components/navigation/NavigationSection.tsx +109 -0
  56. package/src/components/navigation/context.tsx +6 -0
  57. package/src/components/navigation/index.ts +1 -0
  58. package/src/components/notification/Notifications.stories.tsx +52 -47
  59. package/src/components/popover/Popover.stories.tsx +68 -201
  60. package/src/components/popover/Popover.tsx +7 -9
  61. package/src/components/popover-dialog/PopoverDialog.stories.tsx +26 -65
  62. package/src/components/post-block/PostBlock.test.tsx +12 -17
  63. package/src/components/progress/ProgressCircular.stories.tsx +24 -12
  64. package/src/components/progress/ProgressLinear.stories.tsx +6 -2
  65. package/src/components/radio-button/RadioButton.stories.tsx +35 -24
  66. package/src/components/select/Select.stories.tsx +19 -23
  67. package/src/components/select/SelectMultiple.stories.tsx +105 -2
  68. package/src/components/select/WithSelectContext.tsx +10 -4
  69. package/src/components/skeleton/SkeletonCircle.stories.tsx +37 -21
  70. package/src/components/skeleton/SkeletonCircle.test.tsx +12 -17
  71. package/src/components/skeleton/SkeletonRectangle.stories.tsx +74 -99
  72. package/src/components/skeleton/SkeletonRectangle.test.tsx +12 -17
  73. package/src/components/skeleton/SkeletonTypography.test.tsx +12 -17
  74. package/src/components/slider/Slider.stories.tsx +41 -25
  75. package/src/components/slider/Slider.test.tsx +12 -18
  76. package/src/components/slideshow/Slideshow.stories.tsx +31 -61
  77. package/src/components/slideshow/Slideshow.test.tsx +15 -23
  78. package/src/components/slideshow/SlideshowControls.stories.tsx +4 -6
  79. package/src/components/switch/Switch.stories.tsx +35 -32
  80. package/src/components/table/Table.test.tsx +12 -17
  81. package/src/components/tabs/Tabs.stories.tsx +4 -3
  82. package/src/components/text/Text.stories.tsx +130 -0
  83. package/src/components/text-field/TextField.stories.tsx +114 -148
  84. package/src/components/thumbnail/Thumbnail.stories.tsx +106 -255
  85. package/src/components/thumbnail/Thumbnail.test.tsx +12 -35
  86. package/src/components/tooltip/Tooltip.stories.tsx +51 -136
  87. package/src/components/user-block/UserBlock.stories.tsx +67 -56
  88. package/src/components/user-block/UserBlock.test.tsx +1 -5
  89. package/src/hooks/useFocusTrap.ts +2 -2
  90. package/src/index.ts +1 -0
  91. package/src/stories/controls/color.ts +6 -0
  92. package/src/stories/controls/element.ts +6 -0
  93. package/src/stories/controls/focusPoint.ts +1 -0
  94. package/src/stories/controls/icons.ts +6 -0
  95. package/src/stories/{knobs → controls}/image.ts +6 -16
  96. package/src/stories/controls/selectArgType.ts +4 -0
  97. package/src/stories/controls/theme.ts +3 -0
  98. package/src/stories/controls/typography.ts +5 -0
  99. package/src/stories/controls/withUndefined.ts +1 -0
  100. package/src/stories/decorators/withChromaticForceScreenSize.tsx +8 -0
  101. package/src/stories/decorators/withCombinations.tsx +99 -0
  102. package/src/stories/decorators/withNestedProps.tsx +23 -0
  103. package/src/stories/{withResizableBox.tsx → decorators/withResizableBox.tsx} +6 -10
  104. package/src/stories/decorators/withValueOnChange.tsx +18 -0
  105. package/src/stories/decorators/withWrapper.tsx +19 -0
  106. package/src/stories/utils/CustomLink.tsx +8 -2
  107. package/src/stories/{knobs → utils}/lorem.ts +9 -9
  108. package/src/testing/utils/commonTestsSuiteRTL.ts +2 -3
  109. package/src/testing/utils/index.ts +0 -2
  110. package/src/untypped-modules.d.ts +0 -2
  111. package/src/utils/MaterialThemeSwitcher/MaterialThemeSwitcher.tsx +1 -1
  112. package/src/utils/ThemeContext.ts +4 -0
  113. package/src/utils/forwardRefPolymorphic.ts +9 -0
  114. package/src/utils/type.ts +28 -4
  115. package/src/components/alert-dialog/__snapshots__/AlertDialog.test.tsx.snap +0 -558
  116. package/src/components/avatar/__snapshots__/Avatar.test.tsx.snap +0 -681
  117. package/src/components/comment-block/__snapshots__/CommentBlock.test.tsx.snap +0 -92
  118. package/src/components/dialog/__snapshots__/Dialog.test.tsx.snap +0 -1133
  119. package/src/components/expansion-panel/ExpansionPanel.stories.tsx +0 -65
  120. package/src/components/flag/__snapshots__/Flag.test.tsx.snap +0 -133
  121. package/src/components/flex-box/__snapshots__/FlexBox.test.tsx.snap +0 -492
  122. package/src/components/grid-column/GridColumn.stories.jsx +0 -56
  123. package/src/components/image-block/__snapshots__/ImageBlock.test.tsx.snap +0 -64
  124. package/src/components/lightbox/__snapshots__/Lightbox.test.tsx.snap +0 -194
  125. package/src/components/list/__snapshots__/List.test.tsx.snap +0 -360
  126. package/src/components/list/__snapshots__/ListDivider.test.tsx.snap +0 -7
  127. package/src/components/list/__snapshots__/ListItem.test.tsx.snap +0 -160
  128. package/src/components/list/__snapshots__/ListSubheader.test.tsx.snap +0 -9
  129. package/src/components/mosaic/__snapshots__/Mosaic.test.tsx.snap +0 -357
  130. package/src/components/post-block/__snapshots__/PostBlock.test.tsx.snap +0 -139
  131. package/src/components/skeleton/__snapshots__/SkeletonCircle.test.tsx.snap +0 -54
  132. package/src/components/skeleton/__snapshots__/SkeletonRectangle.test.tsx.snap +0 -177
  133. package/src/components/skeleton/__snapshots__/SkeletonTypography.test.tsx.snap +0 -174
  134. package/src/components/slider/__snapshots__/Slider.test.tsx.snap +0 -122
  135. package/src/components/slideshow/__snapshots__/Slideshow.test.tsx.snap +0 -157
  136. package/src/components/table/__snapshots__/Table.test.tsx.snap +0 -263
  137. package/src/components/text/Text.stories.jsx +0 -75
  138. package/src/components/thumbnail/__snapshots__/Thumbnail.test.tsx.snap +0 -130
  139. package/src/components/user-block/__snapshots__/UserBlock.test.tsx.snap +0 -362
  140. package/src/stories/chromaticForceScreenSize.tsx +0 -7
  141. package/src/stories/knobs/buttonKnob.ts +0 -9
  142. package/src/stories/knobs/emphasisKnob.ts +0 -8
  143. package/src/stories/knobs/enumKnob.ts +0 -14
  144. package/src/stories/knobs/focusKnob.ts +0 -3
  145. package/src/stories/knobs/sizeKnob.ts +0 -5
  146. package/src/stories/knobs/thumbnailsKnob.ts +0 -9
  147. package/src/testing/utils/itShouldRenderStories.tsx +0 -103
@@ -1,681 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Avatar> Snapshots and structure should render story 'Clickable' 1`] = `
4
- [
5
- <div
6
- className="lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
7
- >
8
- <Thumbnail
9
- alt="avatar2"
10
- aspectRatio="square"
11
- className="lumx-avatar__thumbnail"
12
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
13
- image="/demo-assets/avatar2.jpg"
14
- loading="lazy"
15
- onClick={[Function]}
16
- size="l"
17
- theme="light"
18
- />
19
- </div>,
20
- <div
21
- className="lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
22
- >
23
- <Thumbnail
24
- alt="avatar2"
25
- aspectRatio="square"
26
- className="lumx-avatar__thumbnail"
27
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
28
- image="/demo-assets/avatar2.jpg"
29
- linkProps={
30
- {
31
- "href": "https://example.com",
32
- }
33
- }
34
- loading="lazy"
35
- size="l"
36
- theme="light"
37
- />
38
- </div>,
39
- <div
40
- className="lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
41
- >
42
- <Thumbnail
43
- alt="avatar2"
44
- aspectRatio="square"
45
- className="lumx-avatar__thumbnail"
46
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
47
- image="/demo-assets/avatar2.jpg"
48
- linkAs={[Function]}
49
- loading="lazy"
50
- size="l"
51
- theme="light"
52
- />
53
- </div>,
54
- ]
55
- `;
56
-
57
- exports[`<Avatar> Snapshots and structure should render story 'Sizes' 1`] = `
58
- [
59
- <div
60
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xs lumx-avatar--theme-light"
61
- >
62
- <Thumbnail
63
- alt="xs"
64
- aspectRatio="square"
65
- className="lumx-avatar__thumbnail"
66
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
67
- image="/demo-assets/avatar1.jpg"
68
- loading="lazy"
69
- size="xs"
70
- theme="light"
71
- />
72
- </div>,
73
- <div
74
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-s lumx-avatar--theme-light"
75
- >
76
- <Thumbnail
77
- alt="s"
78
- aspectRatio="square"
79
- className="lumx-avatar__thumbnail"
80
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
81
- image="/demo-assets/avatar1.jpg"
82
- loading="lazy"
83
- size="s"
84
- theme="light"
85
- />
86
- </div>,
87
- <div
88
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-m lumx-avatar--theme-light"
89
- >
90
- <Thumbnail
91
- alt="m"
92
- aspectRatio="square"
93
- className="lumx-avatar__thumbnail"
94
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
95
- image="/demo-assets/avatar1.jpg"
96
- loading="lazy"
97
- size="m"
98
- theme="light"
99
- />
100
- </div>,
101
- <div
102
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
103
- >
104
- <Thumbnail
105
- alt="l"
106
- aspectRatio="square"
107
- className="lumx-avatar__thumbnail"
108
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
109
- image="/demo-assets/avatar1.jpg"
110
- loading="lazy"
111
- size="l"
112
- theme="light"
113
- />
114
- </div>,
115
- <div
116
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xl lumx-avatar--theme-light"
117
- >
118
- <Thumbnail
119
- alt="xl"
120
- aspectRatio="square"
121
- className="lumx-avatar__thumbnail"
122
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
123
- image="/demo-assets/avatar1.jpg"
124
- loading="lazy"
125
- size="xl"
126
- theme="light"
127
- />
128
- </div>,
129
- <div
130
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xxl lumx-avatar--theme-light"
131
- >
132
- <Thumbnail
133
- alt="xxl"
134
- aspectRatio="square"
135
- className="lumx-avatar__thumbnail"
136
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
137
- image="/demo-assets/avatar1.jpg"
138
- loading="lazy"
139
- size="xxl"
140
- theme="light"
141
- />
142
- </div>,
143
- ]
144
- `;
145
-
146
- exports[`<Avatar> Snapshots and structure should render story 'WithActions' 1`] = `
147
- [
148
- <div
149
- className="lumx-avatar lumx-avatar--size-xs lumx-avatar--theme-light"
150
- >
151
- <Thumbnail
152
- alt="xs"
153
- aspectRatio="square"
154
- className="lumx-avatar__thumbnail"
155
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
156
- image="/demo-assets/avatar2.jpg"
157
- loading="lazy"
158
- size="xs"
159
- theme="light"
160
- />
161
- <div
162
- className="lumx-avatar__actions"
163
- >
164
- <FlexBox
165
- gap="regular"
166
- orientation="horizontal"
167
- vAlign="center"
168
- >
169
- <IconButton
170
- emphasis="low"
171
- hasBackground={true}
172
- icon="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"
173
- label="Edit"
174
- size="s"
175
- theme="light"
176
- />
177
- <IconButton
178
- emphasis="low"
179
- hasBackground={true}
180
- icon="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
181
- label="See"
182
- size="s"
183
- theme="light"
184
- />
185
- <IconButton
186
- emphasis="low"
187
- hasBackground={true}
188
- icon="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"
189
- label="Delete"
190
- size="s"
191
- theme="light"
192
- />
193
- </FlexBox>
194
- </div>
195
- </div>,
196
- <div
197
- className="lumx-avatar lumx-avatar--size-s lumx-avatar--theme-light"
198
- >
199
- <Thumbnail
200
- alt="s"
201
- aspectRatio="square"
202
- className="lumx-avatar__thumbnail"
203
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
204
- image="/demo-assets/avatar2.jpg"
205
- loading="lazy"
206
- size="s"
207
- theme="light"
208
- />
209
- <div
210
- className="lumx-avatar__actions"
211
- >
212
- <FlexBox
213
- gap="regular"
214
- orientation="horizontal"
215
- vAlign="center"
216
- >
217
- <IconButton
218
- emphasis="low"
219
- hasBackground={true}
220
- icon="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"
221
- label="Edit"
222
- size="s"
223
- theme="light"
224
- />
225
- <IconButton
226
- emphasis="low"
227
- hasBackground={true}
228
- icon="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
229
- label="See"
230
- size="s"
231
- theme="light"
232
- />
233
- <IconButton
234
- emphasis="low"
235
- hasBackground={true}
236
- icon="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"
237
- label="Delete"
238
- size="s"
239
- theme="light"
240
- />
241
- </FlexBox>
242
- </div>
243
- </div>,
244
- <div
245
- className="lumx-avatar lumx-avatar--size-m lumx-avatar--theme-light"
246
- >
247
- <Thumbnail
248
- alt="m"
249
- aspectRatio="square"
250
- className="lumx-avatar__thumbnail"
251
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
252
- image="/demo-assets/avatar2.jpg"
253
- loading="lazy"
254
- size="m"
255
- theme="light"
256
- />
257
- <div
258
- className="lumx-avatar__actions"
259
- >
260
- <FlexBox
261
- gap="regular"
262
- orientation="horizontal"
263
- vAlign="center"
264
- >
265
- <IconButton
266
- emphasis="low"
267
- hasBackground={true}
268
- icon="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"
269
- label="Edit"
270
- size="s"
271
- theme="light"
272
- />
273
- <IconButton
274
- emphasis="low"
275
- hasBackground={true}
276
- icon="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
277
- label="See"
278
- size="s"
279
- theme="light"
280
- />
281
- <IconButton
282
- emphasis="low"
283
- hasBackground={true}
284
- icon="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"
285
- label="Delete"
286
- size="s"
287
- theme="light"
288
- />
289
- </FlexBox>
290
- </div>
291
- </div>,
292
- <div
293
- className="lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
294
- >
295
- <Thumbnail
296
- alt="l"
297
- aspectRatio="square"
298
- className="lumx-avatar__thumbnail"
299
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
300
- image="/demo-assets/avatar2.jpg"
301
- loading="lazy"
302
- size="l"
303
- theme="light"
304
- />
305
- <div
306
- className="lumx-avatar__actions"
307
- >
308
- <FlexBox
309
- gap="regular"
310
- orientation="horizontal"
311
- vAlign="center"
312
- >
313
- <IconButton
314
- emphasis="low"
315
- hasBackground={true}
316
- icon="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"
317
- label="Edit"
318
- size="s"
319
- theme="light"
320
- />
321
- <IconButton
322
- emphasis="low"
323
- hasBackground={true}
324
- icon="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
325
- label="See"
326
- size="s"
327
- theme="light"
328
- />
329
- <IconButton
330
- emphasis="low"
331
- hasBackground={true}
332
- icon="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"
333
- label="Delete"
334
- size="s"
335
- theme="light"
336
- />
337
- </FlexBox>
338
- </div>
339
- </div>,
340
- <div
341
- className="lumx-avatar lumx-avatar--size-xl lumx-avatar--theme-light"
342
- >
343
- <Thumbnail
344
- alt="xl"
345
- aspectRatio="square"
346
- className="lumx-avatar__thumbnail"
347
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
348
- image="/demo-assets/avatar2.jpg"
349
- loading="lazy"
350
- size="xl"
351
- theme="light"
352
- />
353
- <div
354
- className="lumx-avatar__actions"
355
- >
356
- <FlexBox
357
- gap="regular"
358
- orientation="horizontal"
359
- vAlign="center"
360
- >
361
- <IconButton
362
- emphasis="low"
363
- hasBackground={true}
364
- icon="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"
365
- label="Edit"
366
- size="s"
367
- theme="light"
368
- />
369
- <IconButton
370
- emphasis="low"
371
- hasBackground={true}
372
- icon="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
373
- label="See"
374
- size="s"
375
- theme="light"
376
- />
377
- <IconButton
378
- emphasis="low"
379
- hasBackground={true}
380
- icon="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"
381
- label="Delete"
382
- size="s"
383
- theme="light"
384
- />
385
- </FlexBox>
386
- </div>
387
- </div>,
388
- <div
389
- className="lumx-avatar lumx-avatar--size-xxl lumx-avatar--theme-light"
390
- >
391
- <Thumbnail
392
- alt="xxl"
393
- aspectRatio="square"
394
- className="lumx-avatar__thumbnail"
395
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
396
- image="/demo-assets/avatar2.jpg"
397
- loading="lazy"
398
- size="xxl"
399
- theme="light"
400
- />
401
- <div
402
- className="lumx-avatar__actions"
403
- >
404
- <FlexBox
405
- gap="regular"
406
- orientation="horizontal"
407
- vAlign="center"
408
- >
409
- <IconButton
410
- emphasis="low"
411
- hasBackground={true}
412
- icon="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"
413
- label="Edit"
414
- size="s"
415
- theme="light"
416
- />
417
- <IconButton
418
- emphasis="low"
419
- hasBackground={true}
420
- icon="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
421
- label="See"
422
- size="s"
423
- theme="light"
424
- />
425
- <IconButton
426
- emphasis="low"
427
- hasBackground={true}
428
- icon="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"
429
- label="Delete"
430
- size="s"
431
- theme="light"
432
- />
433
- </FlexBox>
434
- </div>
435
- </div>,
436
- ]
437
- `;
438
-
439
- exports[`<Avatar> Snapshots and structure should render story 'WithBadge' 1`] = `
440
- [
441
- <div
442
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xs lumx-avatar--theme-light"
443
- >
444
- <Thumbnail
445
- alt="xs"
446
- aspectRatio="square"
447
- className="lumx-avatar__thumbnail"
448
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
449
- image="/demo-assets/avatar3.jpg"
450
- loading="lazy"
451
- size="xs"
452
- theme="light"
453
- />
454
- <div
455
- className="lumx-avatar__badge"
456
- >
457
- <Badge
458
- color="blue"
459
- >
460
- <Icon
461
- icon="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"
462
- />
463
- </Badge>
464
- </div>
465
- </div>,
466
- <div
467
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-s lumx-avatar--theme-light"
468
- >
469
- <Thumbnail
470
- alt="s"
471
- aspectRatio="square"
472
- className="lumx-avatar__thumbnail"
473
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
474
- image="/demo-assets/avatar3.jpg"
475
- loading="lazy"
476
- size="s"
477
- theme="light"
478
- />
479
- <div
480
- className="lumx-avatar__badge"
481
- >
482
- <Badge
483
- color="blue"
484
- >
485
- <Icon
486
- icon="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"
487
- />
488
- </Badge>
489
- </div>
490
- </div>,
491
- <div
492
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-m lumx-avatar--theme-light"
493
- >
494
- <Thumbnail
495
- alt="m"
496
- aspectRatio="square"
497
- className="lumx-avatar__thumbnail"
498
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
499
- image="/demo-assets/avatar3.jpg"
500
- loading="lazy"
501
- size="m"
502
- theme="light"
503
- />
504
- <div
505
- className="lumx-avatar__badge"
506
- >
507
- <Badge
508
- color="blue"
509
- >
510
- <Icon
511
- icon="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"
512
- />
513
- </Badge>
514
- </div>
515
- </div>,
516
- <div
517
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
518
- >
519
- <Thumbnail
520
- alt="l"
521
- aspectRatio="square"
522
- className="lumx-avatar__thumbnail"
523
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
524
- image="/demo-assets/avatar3.jpg"
525
- loading="lazy"
526
- size="l"
527
- theme="light"
528
- />
529
- <div
530
- className="lumx-avatar__badge"
531
- >
532
- <Badge
533
- color="blue"
534
- >
535
- <Icon
536
- icon="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"
537
- />
538
- </Badge>
539
- </div>
540
- </div>,
541
- <div
542
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xl lumx-avatar--theme-light"
543
- >
544
- <Thumbnail
545
- alt="xl"
546
- aspectRatio="square"
547
- className="lumx-avatar__thumbnail"
548
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
549
- image="/demo-assets/avatar3.jpg"
550
- loading="lazy"
551
- size="xl"
552
- theme="light"
553
- />
554
- <div
555
- className="lumx-avatar__badge"
556
- >
557
- <Badge
558
- color="blue"
559
- >
560
- <Icon
561
- icon="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"
562
- />
563
- </Badge>
564
- </div>
565
- </div>,
566
- <div
567
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xxl lumx-avatar--theme-light"
568
- >
569
- <Thumbnail
570
- alt="xxl"
571
- aspectRatio="square"
572
- className="lumx-avatar__thumbnail"
573
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
574
- image="/demo-assets/avatar3.jpg"
575
- loading="lazy"
576
- size="xxl"
577
- theme="light"
578
- />
579
- <div
580
- className="lumx-avatar__badge"
581
- >
582
- <Badge
583
- color="blue"
584
- >
585
- <Icon
586
- icon="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"
587
- />
588
- </Badge>
589
- </div>
590
- </div>,
591
- ]
592
- `;
593
-
594
- exports[`<Avatar> Snapshots and structure should render story 'WithRectangularImage' 1`] = `
595
- [
596
- <div
597
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xs lumx-avatar--theme-light"
598
- >
599
- <Thumbnail
600
- alt="xs"
601
- aspectRatio="square"
602
- className="lumx-avatar__thumbnail"
603
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
604
- image="/demo-assets/portrait3.jpg"
605
- loading="lazy"
606
- size="xs"
607
- theme="light"
608
- />
609
- </div>,
610
- <div
611
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-s lumx-avatar--theme-light"
612
- >
613
- <Thumbnail
614
- alt="s"
615
- aspectRatio="square"
616
- className="lumx-avatar__thumbnail"
617
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
618
- image="/demo-assets/portrait3.jpg"
619
- loading="lazy"
620
- size="s"
621
- theme="light"
622
- />
623
- </div>,
624
- <div
625
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-m lumx-avatar--theme-light"
626
- >
627
- <Thumbnail
628
- alt="m"
629
- aspectRatio="square"
630
- className="lumx-avatar__thumbnail"
631
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
632
- image="/demo-assets/portrait3.jpg"
633
- loading="lazy"
634
- size="m"
635
- theme="light"
636
- />
637
- </div>,
638
- <div
639
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-l lumx-avatar--theme-light"
640
- >
641
- <Thumbnail
642
- alt="l"
643
- aspectRatio="square"
644
- className="lumx-avatar__thumbnail"
645
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
646
- image="/demo-assets/portrait3.jpg"
647
- loading="lazy"
648
- size="l"
649
- theme="light"
650
- />
651
- </div>,
652
- <div
653
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xl lumx-avatar--theme-light"
654
- >
655
- <Thumbnail
656
- alt="xl"
657
- aspectRatio="square"
658
- className="lumx-avatar__thumbnail"
659
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
660
- image="/demo-assets/portrait3.jpg"
661
- loading="lazy"
662
- size="xl"
663
- theme="light"
664
- />
665
- </div>,
666
- <div
667
- className="lumx-spacing-margin-bottom lumx-avatar lumx-avatar--size-xxl lumx-avatar--theme-light"
668
- >
669
- <Thumbnail
670
- alt="xxl"
671
- aspectRatio="square"
672
- className="lumx-avatar__thumbnail"
673
- fallback="M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"
674
- image="/demo-assets/portrait3.jpg"
675
- loading="lazy"
676
- size="xxl"
677
- theme="light"
678
- />
679
- </div>,
680
- ]
681
- `;