@capillarytech/blaze-ui 5.20.0 → 5.22.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 (189) hide show
  1. package/CapAskAira/CapAiMediaGeneration/saga.js +1446 -0
  2. package/CapAskAira/CapAiMediaGeneration/saga.js.map +1 -0
  3. package/CapCollapsibleLeftNavigation/saga.js +1441 -0
  4. package/CapCollapsibleLeftNavigation/saga.js.map +1 -0
  5. package/CapLanguageProvider/actions.js +125 -0
  6. package/CapLanguageProvider/actions.js.map +1 -0
  7. package/CapLanguageProvider/constants.js +37 -0
  8. package/CapLanguageProvider/constants.js.map +1 -0
  9. package/CapLanguageProvider/reducer.js +130 -0
  10. package/CapLanguageProvider/reducer.js.map +1 -0
  11. package/CapLanguageProvider/saga.js +1457 -0
  12. package/CapLanguageProvider/saga.js.map +1 -0
  13. package/CapLanguageProvider/selector.js +186 -0
  14. package/CapLanguageProvider/selector.js.map +1 -0
  15. package/CapSupportVideosWrapper/utils.js +34 -0
  16. package/CapSupportVideosWrapper/utils.js.map +1 -0
  17. package/package.json +1 -1
  18. package/CapActionBar/README.md +0 -11
  19. package/CapAdvancedIcon/README.md +0 -185
  20. package/CapAdvancedIcon/use-cases.md +0 -44
  21. package/CapAlert/README.md +0 -144
  22. package/CapAppNotEnabled/README.md +0 -84
  23. package/CapAskAira/README.md +0 -328
  24. package/CapBanner/README.md +0 -4
  25. package/CapBlock/README.md +0 -175
  26. package/CapBorderedBox/Status.md +0 -40
  27. package/CapCSVFileUploader/README.md +0 -124
  28. package/CapCSVFileUploader/Status.md +0 -47
  29. package/CapCard/README.md +0 -85
  30. package/CapCard/Status.md +0 -41
  31. package/CapCardBox/README.md +0 -169
  32. package/CapCardBox/Status.md +0 -52
  33. package/CapCarousel/README.md +0 -190
  34. package/CapCarousel/Status.md +0 -73
  35. package/CapCheckbox/README.md +0 -254
  36. package/CapCheckbox/Status.md +0 -41
  37. package/CapColorPicker/README.md +0 -112
  38. package/CapColorPicker/Status.md +0 -52
  39. package/CapColorPicker/tests/USE_CASES_ANALYSIS.md +0 -92
  40. package/CapColoredTag/README.md +0 -167
  41. package/CapColoredTag/Status.md +0 -49
  42. package/CapConditionPreview/MIGRATION_ANALYSIS.md +0 -70
  43. package/CapConditionPreview/README.md +0 -40
  44. package/CapConditionPreview/tests/USE_CASES_CapConditionPreview.md +0 -65
  45. package/CapCustomCard/README.md +0 -182
  46. package/CapCustomCard/Status.md +0 -40
  47. package/CapCustomCarousel/Status.md +0 -69
  48. package/CapCustomCheckboxList/README.md +0 -178
  49. package/CapCustomCheckboxList/Status.md +0 -52
  50. package/CapCustomCheckboxList/tests/USE_CASES_ANALYSIS.md +0 -174
  51. package/CapCustomList/README.md +0 -117
  52. package/CapCustomList/Status.md +0 -77
  53. package/CapCustomList/tests/USE_CASES_ANALYSIS.md +0 -124
  54. package/CapCustomSelect/README.md +0 -38
  55. package/CapDatePicker/README.md +0 -139
  56. package/CapDateRangePicker/README.md +0 -159
  57. package/CapDateTimePicker/README.md +0 -136
  58. package/CapDateTimeRangePicker/README.md +0 -243
  59. package/CapDivider/README.md +0 -122
  60. package/CapDrawer/README.md +0 -207
  61. package/CapDrawer/Status.md +0 -52
  62. package/CapDrawer/tests/MISSING_USE_CASES.md +0 -170
  63. package/CapDropdown/README.md +0 -515
  64. package/CapDropdown/Status.md +0 -45
  65. package/CapDropdown/tests/USE_CASES_ANALYSIS.md +0 -137
  66. package/CapError/README.md +0 -88
  67. package/CapErrorBoundary/CapErrorBoundary-use-cases.md +0 -89
  68. package/CapErrorBoundary/README.md +0 -150
  69. package/CapErrorStateIllustration/README.md +0 -222
  70. package/CapErrorStateIllustration/USE_CASES.md +0 -33
  71. package/CapExpressionEditor/README.md +0 -32
  72. package/CapForm/README.md +0 -132
  73. package/CapForm/Status.md +0 -40
  74. package/CapForm/tests/PHASE1_UNFULFILLED_USE_CASES.md +0 -113
  75. package/CapForm/tests/USE_CASES_ANALYSIS.md +0 -119
  76. package/CapFormItem/README.md +0 -320
  77. package/CapFormItem/Status.md +0 -73
  78. package/CapFormItem/tests/USE_CASES_ANALYSIS.md +0 -84
  79. package/CapGraph/README.md +0 -69
  80. package/CapGraph/USE_CASES.md +0 -66
  81. package/CapHamburgerMenu/README.md +0 -234
  82. package/CapHamburgerMenu/USE_CASES.md +0 -48
  83. package/CapHeader/Status.md +0 -41
  84. package/CapHeading/README.md +0 -220
  85. package/CapHeading/Status.md +0 -41
  86. package/CapIcon/README.md +0 -207
  87. package/CapIllustration/Status.md +0 -41
  88. package/CapImage/README.md +0 -50
  89. package/CapImportMFEComponent/README.md +0 -121
  90. package/CapInfoNote/Status.md +0 -40
  91. package/CapInfoNote/tests/USE_CASES_ANALYSIS.md +0 -114
  92. package/CapInput/README.md +0 -196
  93. package/CapInput/Status.md +0 -123
  94. package/CapInput/tests/USE_CASES_ANALYSIS.md +0 -169
  95. package/CapLanguageProvider/CapLanguageProvider-use-cases.md +0 -56
  96. package/CapLanguageProvider/README.md +0 -206
  97. package/CapLevelGraphRenderer/CapLevelGraphRenderer-test-cases.md +0 -50
  98. package/CapLevelGraphRenderer/README.md +0 -123
  99. package/CapLevelGraphRenderer/Tooltip_MIGRATION_ANALYSIS.md +0 -120
  100. package/CapLink/README.md +0 -203
  101. package/CapLink/Status.md +0 -32
  102. package/CapLink/tests/CapLink.missingUseCases.md +0 -95
  103. package/CapList/README.md +0 -129
  104. package/CapList/Status.md +0 -69
  105. package/CapListLayout/README.md +0 -7
  106. package/CapLogin/README.md +0 -7
  107. package/CapMenu/README.md +0 -86
  108. package/CapModal/README.md +0 -357
  109. package/CapModal/Status.md +0 -52
  110. package/CapModal/tests/USE_CASES_GAPS.md +0 -207
  111. package/CapMultiSelect/README.md +0 -170
  112. package/CapMultiSelect/tests/USE_CASES_ANALYSIS.md +0 -29
  113. package/CapMultiSelectDatePicker/README.md +0 -11
  114. package/CapNavigation/README.md +0 -72
  115. package/CapNotification/README.md +0 -228
  116. package/CapNotificationDropdown/README.md +0 -5
  117. package/CapPopover/README.md +0 -234
  118. package/CapProgress/Status.md +0 -40
  119. package/CapRadio/Status.md +0 -54
  120. package/CapRadioButton/README.md +0 -152
  121. package/CapRadioButton/Status.md +0 -70
  122. package/CapRadioButton/tests/USE_CASES_ANALYSIS.md +0 -120
  123. package/CapRadioCard/README.md +0 -161
  124. package/CapRadioCard/Status.md +0 -78
  125. package/CapRadioGroup/README.md +0 -141
  126. package/CapRadioGroup/Status.md +0 -59
  127. package/CapReorderComponent/README.md +0 -179
  128. package/CapReorderComponent/Status.md +0 -41
  129. package/CapRoadMap/README.md +0 -126
  130. package/CapRoadMap/Status.md +0 -53
  131. package/CapRoadMap/tests/USE_CASE_GAPS.md +0 -92
  132. package/CapRow/README.md +0 -424
  133. package/CapSKUUploader/README.md +0 -189
  134. package/CapSKUUploader/Status.md +0 -66
  135. package/CapSecondaryTopBar/README.md +0 -7
  136. package/CapSelect/README.md +0 -243
  137. package/CapSelectFilter/README.md +0 -121
  138. package/CapShape/README.md +0 -96
  139. package/CapShape/Status.md +0 -36
  140. package/CapShape/tests/USE_CASES_ANALYSIS.md +0 -120
  141. package/CapSideBar/README.md +0 -298
  142. package/CapSideBar/Status.md +0 -5
  143. package/CapSlideBox/README.md +0 -68
  144. package/CapSlider/README.md +0 -423
  145. package/CapSlider/Status.md +0 -48
  146. package/CapSlider/tests/TEST_COVERAGE.md +0 -118
  147. package/CapSnackBar/README.md +0 -222
  148. package/CapSnackBar/Status.md +0 -41
  149. package/CapSomethingWentWrong/README.md +0 -97
  150. package/CapSplit/README.md +0 -19
  151. package/CapStatisticCard/README.md +0 -138
  152. package/CapStatus/README.md +0 -148
  153. package/CapStatus/Status.md +0 -40
  154. package/CapSteps/Status.md +0 -40
  155. package/CapStepsAccordian/README.md +0 -305
  156. package/CapStepsAccordian/Status.md +0 -48
  157. package/CapSupportVideosWrapper/README.md +0 -14
  158. package/CapSwitch/README.md +0 -351
  159. package/CapTab/README.md +0 -406
  160. package/CapTab/Status.md +0 -104
  161. package/CapTab/tests/USE_CASE_GAPS.md +0 -143
  162. package/CapTabV3/ANALYSIS.md +0 -60
  163. package/CapTabV3/README.md +0 -156
  164. package/CapTabV3/Status.md +0 -52
  165. package/CapTabV3/tests/USE_CASE_GAPS.md +0 -149
  166. package/CapTable/README.md +0 -160
  167. package/CapTable/Status.md +0 -41
  168. package/CapTag/README.md +0 -16
  169. package/CapTagDropdown/README.md +0 -171
  170. package/CapTagDropdown/Status.md +0 -55
  171. package/CapTimePicker/README.md +0 -170
  172. package/CapTooltip/README.md +0 -336
  173. package/CapTooltipWithInfo/Status.md +0 -75
  174. package/CapTopBar/README.md +0 -146
  175. package/CapTree/README.md +0 -124
  176. package/CapTree/Status.md +0 -48
  177. package/CapTree/tests/STATUS.md +0 -154
  178. package/CapTreeSelect/README.md +0 -217
  179. package/CapTreeSelect/Status.md +0 -52
  180. package/CapTruncateList/README.md +0 -13
  181. package/CapUnifiedSelect/README.md +0 -40
  182. package/CapUploader/README.md +0 -313
  183. package/CapUploader/Status.md +0 -76
  184. package/CapUploader/tests/USE_CASES_ANALYSIS.md +0 -225
  185. package/CapUserProfile/README.md +0 -105
  186. package/CapUserProfile/Status.md +0 -95
  187. package/CapVirtualList/README.md +0 -162
  188. package/CapVirtualList/Status.md +0 -71
  189. package/assets/HOCs/ComponentWithLabelHOC/README.md +0 -230
@@ -1,40 +0,0 @@
1
- # Migration Status: CapStatus
2
-
3
- **Last Updated**: 2026-01-31 18:20:33
4
-
5
- ## Migration Steps
6
-
7
- - [x] **Step 0**: Setup branch and remote tracking
8
- - [x] **Step 1**: Migration Prompt 1 (Main migration)
9
- - [x] **Step 2**: Migration Prompt 2 (Storybook support)
10
- - [x] **Step 3**: Migration Prompt 3 (Unit tests)
11
- - [x] **Step 4**: Migration Prompt 4 (Visual test cases)
12
- - [x] **Step 5**: Linting (ESLint)
13
- - [x] **Step 6**: Pre-build Validation
14
- - [x] **Step 7**: Build blaze-ui
15
- - [x] **Step 8**: Visual Testing
16
- - [x] **Step 9**: CSS Analysis (if mismatches found)
17
- - [x] **Step 9.5**: CSS Analysis Completed
18
- - [x] **Step 10**: Git Commit & Push to branch (pre-commit hook will run tests)
19
- - [x] **Step 11**: Create Pull Request
20
-
21
- ## Visual Testing Results
22
-
23
- **Last Test**: 2026-01-31 18:20:33
24
- **Maximum Mismatch**: 0%
25
-
26
- ### Mismatched Variants:
27
- -
28
-
29
-
30
- ## CSS Fixes Applied
31
-
32
- **Date**: 2026-01-31 12:18:54
33
- **Summary**: CSS fixes applied based on visual testing analysis.
34
-
35
- _See full analysis in: `/Users/sarahkhader/repos/migration/blaze-ui/tools/visual-testing/report/CapStatus/css-fix-analysis.md`_
36
-
37
-
38
- ## Notes
39
-
40
- _No notes yet._
@@ -1,40 +0,0 @@
1
- # Migration Status: CapSteps
2
-
3
- **Last Updated**: 2026-02-12 10:50:49
4
-
5
- ## Migration Steps
6
-
7
- - [x] **Step 0**: Setup branch and remote tracking
8
- - [x] **Step 1**: Migration Prompt 1 (Main migration)
9
- - [x] **Step 2**: Migration Prompt 2 (Storybook support)
10
- - [x] **Step 3**: Migration Prompt 3 (Unit tests)
11
- - [x] **Step 4**: Migration Prompt 4 (Visual test cases)
12
- - [x] **Step 5**: Linting (ESLint)
13
- - [x] **Step 6**: Pre-build Validation
14
- - [] **Step 7**: Build blaze-ui
15
- - [] **Step 8**: Visual Testing
16
- - [] **Step 9**: CSS Analysis (if mismatches found)
17
- - [] **Step 9.5**: CSS Analysis Completed
18
- - [] **Step 10**: Git Commit & Push to branch (pre-commit hook will run tests)
19
- - [] **Step 11**: Create Pull Request
20
-
21
- ## Visual Testing Results
22
-
23
- **Last Test**: 2026-02-12 10:50:49
24
- **Maximum Mismatch**: 0%
25
-
26
- ### Mismatched Variants:
27
- -
28
-
29
-
30
- ## CSS Fixes Applied
31
-
32
- **Date**: 2026-01-27 04:07:39
33
- **Summary**: CSS fixes applied based on visual testing analysis.
34
-
35
- _See full analysis in: `/Users/sarahkhader/repos/migration/blaze-ui/tools/visual-testing/report/CapSteps/css-fix-analysis.md`_
36
-
37
-
38
- ## Notes
39
-
40
- _No notes yet._
@@ -1,305 +0,0 @@
1
- # CapStepsAccordian Component
2
-
3
- A steps-based accordion component built on Ant Design Collapse, featuring numbered steps with completion and error states.
4
-
5
- ## Migration from Ant Design v3 to v6
6
-
7
- ### Summary of Changes
8
-
9
- This component has been migrated from Ant Design v3 to v6 with the following improvements:
10
-
11
- 1. **TypeScript Conversion**
12
- - Converted from JavaScript to TypeScript
13
- - Added comprehensive TypeScript interfaces in `types.ts`
14
- - Replaced PropTypes with TypeScript types
15
- - Proper type exports for component and item interfaces
16
-
17
- 2. **Ant Design v6 Migration**
18
- - Updated to use `antd-v5` (Ant Design v6)
19
- - Replaced `Icon` component with `CapIcon` component
20
- - Icon rotation handled via `CapIcon`'s `rotate` prop with CSS transition
21
- - Updated Collapse API usage
22
-
23
- 3. **Styling Improvements**
24
- - Removed all `.ant-` class selectors from SCSS
25
- - Migrated border color to theme config (`getCapThemeConfig.ts`)
26
- - Added wrapper classes for content padding
27
- - Uses SCSS variables for spacing and colors
28
-
29
- ### Breaking Changes
30
-
31
- **No breaking changes** - The component maintains backward compatibility with the previous API.
32
-
33
- ### API Changes
34
-
35
- | Old API | New API | Notes |
36
- |---------|---------|-------|
37
- | `import { Icon } from 'antd'` | `import CapIcon from '../CapIcon'` | Icon component replaced with CapIcon |
38
- | `Icon type="caret-right" rotate={90}` | `CapIcon type="caret-right" rotate={90}` | Rotation handled via CapIcon's rotate prop |
39
- | `import { Collapse } from 'antd'` | `import { Collapse } from 'antd-v5'` | Updated import path |
40
-
41
- ### Deprecated Props
42
-
43
- #### Cap Component Props
44
-
45
- **None** - All CapStepsAccordian-specific props (`items`, `showNumberSteps`, `isChevronIcon`, `className`) remain supported and unchanged.
46
-
47
- #### Ant Design Collapse Props
48
-
49
- This component passes through all Ant Design Collapse props via the `...collapseProps` spread. The following Ant Design Collapse props are deprecated in v6 but still supported for backward compatibility:
50
-
51
- | Deprecated Prop | Replacement | Ant Design Component | Status | Migration Example |
52
- |----------------|-------------|---------------------|--------|-------------------|
53
- | `visible` | `open` | Collapse | ⚠️ Deprecated | See example below |
54
- | `onVisibleChange` | `onOpenChange` | Collapse | ⚠️ Deprecated | See example below |
55
- | `destroyInactivePanel` | Removed (no replacement) | Collapse.Panel | ⚠️ Deprecated | Behavior removed in v6 |
56
- | `expandIconPosition` | Removed (no replacement) | Collapse | ⚠️ Deprecated | Use CSS to position expand icon |
57
-
58
- **Migration Examples:**
59
-
60
- **1. `visible` → `open` (Collapse component)**
61
-
62
- ```tsx
63
- // ❌ Deprecated
64
- <CapStepsAccordian
65
- items={items}
66
- visible={true}
67
- onVisibleChange={(visible) => console.log(visible)}
68
- />
69
-
70
- // ✅ Recommended
71
- <CapStepsAccordian
72
- items={items}
73
- open={true}
74
- onOpenChange={(open) => console.log(open)}
75
- />
76
- ```
77
-
78
- **2. `onVisibleChange` → `onOpenChange` (Collapse component)**
79
-
80
- ```tsx
81
- // ❌ Deprecated
82
- <CapStepsAccordian
83
- items={items}
84
- onVisibleChange={(visible) => setVisible(visible)}
85
- />
86
-
87
- // ✅ Recommended
88
- <CapStepsAccordian
89
- items={items}
90
- onOpenChange={(open) => setOpen(open)}
91
- />
92
- ```
93
-
94
- **3. `destroyInactivePanel` (Collapse.Panel - removed)**
95
-
96
- The `destroyInactivePanel` prop on `Collapse.Panel` has been removed in Ant Design v6. If you were using this prop, you'll need to handle panel content destruction manually if needed.
97
-
98
- ```tsx
99
- // ❌ Deprecated (no longer supported)
100
- <CapStepsAccordian
101
- items={[
102
- {
103
- key: '1',
104
- header: 'Panel 1',
105
- content: <div>Content</div>,
106
- destroyInactivePanel: true, // This prop is removed
107
- }
108
- ]}
109
- />
110
-
111
- // ✅ Recommended
112
- // Remove the prop - Ant Design v6 handles panel lifecycle differently
113
- <CapStepsAccordian
114
- items={[
115
- {
116
- key: '1',
117
- header: 'Panel 1',
118
- content: <div>Content</div>,
119
- }
120
- ]}
121
- />
122
- ```
123
-
124
- **4. `expandIconPosition` (Collapse - removed)**
125
-
126
- The `expandIconPosition` prop has been removed in Ant Design v6. Use CSS to position the expand icon if needed.
127
-
128
- ```tsx
129
- // ❌ Deprecated (no longer supported)
130
- <CapStepsAccordian
131
- items={items}
132
- expandIconPosition="right" // This prop is removed
133
- />
134
-
135
- // ✅ Recommended
136
- // Use CSS classes or custom expandIcon to control position
137
- <CapStepsAccordian
138
- items={items}
139
- className="custom-collapse-position"
140
- />
141
- ```
142
-
143
- **Notes:**
144
- - Deprecated props will show console warnings in development mode when passed through `collapseProps`
145
- - The component uses Ant Design v6 Collapse API internally
146
- - All deprecated props are handled by Ant Design itself - the component passes them through directly
147
- - The component internally migrated from Ant Design's deprecated `Icon` component to `CapIcon` component. Icon rotation is handled via `CapIcon`'s `rotate` prop with CSS transition. This is an internal implementation detail and does not affect the component's public API.
148
- - For complete list of deprecated Collapse props, refer to the [Ant Design v6 Migration Guide](https://ant.design/docs/react/migration-v6)
149
-
150
- ### Props
151
-
152
- | Prop Name | Type | Default | Description |
153
- |-----------|------|---------|-------------|
154
- | `items` | `CapStepsAccordianItem[]` | **Required** | Array of accordion items |
155
- | `showNumberSteps` | `boolean` | `true` | Whether to show numbered steps |
156
- | `isChevronIcon` | `boolean` | `undefined` | Whether to use chevron icon instead of caret icon |
157
- | `className` | `string` | `undefined` | Additional CSS class name |
158
- | `...rest` | `CollapseProps` | - | All standard Ant Design Collapse props |
159
-
160
- ### CapStepsAccordianItem Interface
161
-
162
- | Property | Type | Description |
163
- |----------|------|-------------|
164
- | `header` | `React.ReactNode` | Header content for the accordion panel |
165
- | `key` | `string` | Unique key for the panel |
166
- | `content` | `React.ReactNode` | Content to display when panel is expanded |
167
- | `icon` | `React.ReactNode` | Optional custom icon to display instead of number step |
168
- | `completed` | `boolean` | Whether this step is completed (shows checkmark) |
169
- | `error` | `boolean` | Whether this step has an error (shows error icon) |
170
-
171
- ### Usage Examples
172
-
173
- #### Basic Usage
174
-
175
- ```tsx
176
- import { CapStepsAccordian } from '@capillarytech/blaze-ui';
177
-
178
- function MyComponent() {
179
- const items = [
180
- {
181
- key: '1',
182
- header: 'Step 1: Setup',
183
- content: <div>Setup content here</div>,
184
- },
185
- {
186
- key: '2',
187
- header: 'Step 2: Configuration',
188
- content: <div>Configuration content here</div>,
189
- },
190
- ];
191
-
192
- return <CapStepsAccordian items={items} />;
193
- }
194
- ```
195
-
196
- #### With Completed Steps
197
-
198
- ```tsx
199
- import { CapStepsAccordian } from '@capillarytech/blaze-ui';
200
-
201
- function MyComponent() {
202
- const items = [
203
- {
204
- key: '1',
205
- header: 'Step 1: Setup',
206
- content: <div>Setup content</div>,
207
- completed: true,
208
- },
209
- {
210
- key: '2',
211
- header: 'Step 2: Configuration',
212
- content: <div>Configuration content</div>,
213
- error: true,
214
- },
215
- {
216
- key: '3',
217
- header: 'Step 3: Review',
218
- content: <div>Review content</div>,
219
- },
220
- ];
221
-
222
- return <CapStepsAccordian items={items} showNumberSteps={true} />;
223
- }
224
- ```
225
-
226
- #### With Custom Icons
227
-
228
- ```tsx
229
- import { CapStepsAccordian } from '@capillarytech/blaze-ui';
230
- import { UserOutlined } from '@ant-design-v5/icons';
231
-
232
- function MyComponent() {
233
- const items = [
234
- {
235
- key: '1',
236
- header: 'User Setup',
237
- content: <div>User setup content</div>,
238
- icon: <UserOutlined />,
239
- },
240
- ];
241
-
242
- return <CapStepsAccordian items={items} showNumberSteps={false} />;
243
- }
244
- ```
245
-
246
- #### With Chevron Icons
247
-
248
- ```tsx
249
- import { CapStepsAccordian } from '@capillarytech/blaze-ui';
250
-
251
- function MyComponent() {
252
- const items = [
253
- {
254
- key: '1',
255
- header: 'Step 1',
256
- content: <div>Content</div>,
257
- },
258
- ];
259
-
260
- return <CapStepsAccordian items={items} isChevronIcon={true} />;
261
- }
262
- ```
263
-
264
- #### Without Numbered Steps
265
-
266
- ```tsx
267
- import { CapStepsAccordian } from '@capillarytech/blaze-ui';
268
-
269
- function MyComponent() {
270
- const items = [
271
- {
272
- key: '1',
273
- header: 'Section 1',
274
- content: <div>Content</div>,
275
- },
276
- ];
277
-
278
- return <CapStepsAccordian items={items} showNumberSteps={false} />;
279
- }
280
- ```
281
-
282
- ### Theme Configuration
283
-
284
- The component uses Ant Design v6's theme system. Border colors are configured via `getCapThemeConfig.ts`:
285
-
286
- ```typescript
287
- components: {
288
- Collapse: {
289
- colorBorder: '#dfe2e7', // CAP_G07
290
- },
291
- }
292
- ```
293
-
294
- ### Styling Notes
295
-
296
- - Content padding is handled via wrapper classes (40px default, 58px with steps)
297
- - Number step icons use circular backgrounds with completion/error states
298
- - Border styles are handled via Ant Design theme tokens
299
- - All custom styles use component-specific classes (no `.ant-` selectors)
300
-
301
- ### Migration Notes
302
-
303
- - Icon rotation is now handled via CSS `transform` instead of the `rotate` prop
304
- - Content padding is applied via wrapper divs instead of targeting Ant Design internal classes
305
- - Border colors are configured via theme tokens instead of SCSS overrides
@@ -1,48 +0,0 @@
1
- # Migration Status: CapStepsAccordian
2
-
3
- **Last Updated**: 2026-01-31 21:08:56
4
-
5
- ## Migration Steps
6
-
7
- - [x] **Step 0**: Setup branch and remote tracking
8
- - [x] **Step 1**: Migration Prompt 1 (Main migration)
9
- - [x] **Step 1.5**: Export component in blaze-ui/components/index.ts
10
- - [x] **Step 2**: Migration Prompt 2 (Storybook support)
11
- - [x] **Step 3**: Migration Prompt 3 (Unit tests)
12
- - [x] **Step 4**: Migration Prompt 4 (Visual test cases)
13
- - [x] **Step 5**: Linting (ESLint)
14
- - [x] **Step 6**: Pre-build Validation
15
- - [x] **Step 7**: Build blaze-ui
16
- - [x] **Step 8**: Visual Testing
17
- - [x] **Step 9**: CSS Analysis (if mismatches found)
18
- - [x] **Step 9.5**: CSS Analysis Completed
19
- - [x] **Step 10**: Git Commit & Push to branch (pre-commit hook will run tests)
20
- - [x] **Step 11**: Create Pull Request
21
-
22
- ## Visual Testing Results
23
-
24
- **Last Test**: 2026-01-31 21:07:54
25
- **Maximum Mismatch**: 94.05%
26
-
27
- ### Mismatched Variants:
28
- - default:2.55%
29
- - selected:2.48%
30
- - completed:3.74%
31
- - error:3.77%
32
- - with-icon:94.05%
33
- - chevron-icon:2.50%
34
- - panel-open (with 2 interactions):2.53%
35
-
36
-
37
- ## CSS Fixes Applied
38
-
39
- **Date**: 2026-01-31 21:07:54
40
- **Summary**: CSS fixes applied based on visual testing analysis.
41
-
42
- _See full analysis in: `/Users/sarahkhader/repos/migration/blaze-ui/tools/visual-testing/report/CapStepsAccordian/css-fix-analysis.md`_
43
-
44
-
45
- ## Notes
46
-
47
- _No notes yet._
48
-
@@ -1,14 +0,0 @@
1
- # CapSupportVideosWrapper
2
-
3
- A wrapper component that injects support video and help link elements into the DOM and provides a resizable Picture-in-Picture (PIP) video player.
4
-
5
- # Breaking Changes
6
-
7
- No breaking changes.
8
-
9
- ### No Ant Design Breaking Changes
10
-
11
- This component does not use any Ant Design components, so there are no v3→v6 breaking changes to handle. The component uses:
12
- - Custom Cap UI components (CapRow, CapColumn, CapIcon, CapHeading, CapTooltip)
13
- - Third-party libraries (react-rnd, react-draggable, styled-components)
14
- - Vanilla DOM manipulation for content injection