@alixpartners/ui-components 2.5.7 β†’ 2.6.1

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 (112) hide show
  1. package/README.md +97 -97
  2. package/dist/RichTextEditor-JH6YBGiw.js +541 -0
  3. package/dist/{ToastProvider-D5LImZ-Q.js β†’ ToastProvider-DVycF0zU.js} +26 -26
  4. package/dist/assets/CorusHeader.css +1 -1
  5. package/dist/assets/Dialog.css +1 -1
  6. package/dist/assets/Tab.css +1 -1
  7. package/dist/assets/Tag.css +1 -1
  8. package/dist/assets/ap-icons-types.d.ts +1 -1
  9. package/dist/assets/ap-icons.d.ts +1 -1
  10. package/dist/assets/main.css +1 -1
  11. package/dist/components/Banner/Banner.d.ts +1 -1
  12. package/dist/components/Banner/Banner.test.js +1 -1
  13. package/dist/components/Button/Button.d.ts +1 -1
  14. package/dist/components/Button/Button.test.js +2 -2
  15. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  16. package/dist/components/Checkbox/Checkbox.js +3 -3
  17. package/dist/components/Checkbox/Checkbox.test.js +1 -1
  18. package/dist/components/CorusHeader/CorusHeader.d.ts +1 -1
  19. package/dist/components/CorusHeader/CorusHeader.js +45 -44
  20. package/dist/components/CorusHeader/CorusHeader.types.d.ts +1 -0
  21. package/dist/components/CorusHeader/DropdownItemContent.d.ts +1 -1
  22. package/dist/components/CorusHeader/DropdownMenu.d.ts +2 -1
  23. package/dist/components/CorusHeader/DropdownMenu.js +6 -5
  24. package/dist/components/CorusHeader/MegaMenuContent.d.ts +2 -1
  25. package/dist/components/CorusHeader/MegaMenuContent.js +11 -10
  26. package/dist/components/CorusHeader/UserProfileIcon.d.ts +1 -1
  27. package/dist/components/Creatable/Creatable.d.ts +1 -1
  28. package/dist/components/Creatable/Creatable.js +1 -1
  29. package/dist/components/Datepicker/Datepicker.d.ts +1 -1
  30. package/dist/components/Datepicker/Datepicker.js +1 -1
  31. package/dist/components/Datepicker/Datepicker.test.js +1 -1
  32. package/dist/components/Dialog/Dialog.d.ts +8 -2
  33. package/dist/components/Dialog/Dialog.js +183 -203
  34. package/dist/components/Dialog/Dialog.test.js +227 -202
  35. package/dist/components/DragAndDrop/DragAndDrop.d.ts +1 -1
  36. package/dist/components/DragAndDrop/DragAndDrop.test.js +2 -2
  37. package/dist/components/Dropdown/Dropdown.d.ts +3 -1
  38. package/dist/components/Dropdown/Dropdown.js +179 -172
  39. package/dist/components/FilePicker/FilePicker.d.ts +9 -9
  40. package/dist/components/FilePicker/FilePicker.test.js +2 -2
  41. package/dist/components/Ghost/Ghost.d.ts +1 -1
  42. package/dist/components/Ghost/Ghost.test.js +1 -1
  43. package/dist/components/Icon/Icon.d.ts +1 -1
  44. package/dist/components/Icons/IconsGallery.d.ts +1 -1
  45. package/dist/components/Icons/IconsGallery.js +1 -1
  46. package/dist/components/Illustration/Illustration.d.ts +1 -1
  47. package/dist/components/Illustration/Illustration.test.js +1 -1
  48. package/dist/components/Input/Input.test.js +1 -1
  49. package/dist/components/Logo/Logo.d.ts +1 -1
  50. package/dist/components/Logos/LogosGallery.d.ts +1 -1
  51. package/dist/components/NavBar/NavBar.d.ts +1 -1
  52. package/dist/components/NavBar/NavBar.js +1 -1
  53. package/dist/components/Radio/Radio.d.ts +1 -1
  54. package/dist/components/Radio/Radio.js +9 -9
  55. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
  56. package/dist/components/RadioGroup/RadioGroup.js +11 -11
  57. package/dist/components/RadioGroup/RadioGroup.test.js +1 -1
  58. package/dist/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  59. package/dist/components/RichTextEditor/RichTextEditor.js +2 -2
  60. package/dist/components/RichTextEditor/RichTextEditor.test.js +2 -2
  61. package/dist/components/Search/Search.d.ts +1 -1
  62. package/dist/components/Search/Search.test.js +1 -1
  63. package/dist/components/Spinner/Spinner.d.ts +1 -1
  64. package/dist/components/SplitButton/SplitButton.d.ts +1 -1
  65. package/dist/components/SplitButton/SplitButton.js +3 -3
  66. package/dist/components/SplitButton/SplitButton.test.js +1 -1
  67. package/dist/components/Tab/Tab.d.ts +5 -1
  68. package/dist/components/Tab/Tab.js +28 -24
  69. package/dist/components/TabNavigation/TabNavigation.d.ts +1 -1
  70. package/dist/components/Tag/Tag.d.ts +1 -1
  71. package/dist/components/Tag/Tag.js +1 -1
  72. package/dist/components/Tag/Tag.test.js +1 -1
  73. package/dist/components/TagsFields/TagsFields.d.ts +1 -1
  74. package/dist/components/TagsFields/TagsFields.js +1 -1
  75. package/dist/components/Textarea/Textarea.d.ts +1 -1
  76. package/dist/components/Textarea/Textarea.test.js +1 -1
  77. package/dist/components/Toast/Toast.test.js +1 -1
  78. package/dist/components/ToastProvider/ToastProvider.d.ts +2 -1
  79. package/dist/components/ToastProvider/ToastProvider.js +1 -1
  80. package/dist/components/ToastProvider/ToastProvider.test.js +4 -4
  81. package/dist/components/Toggle/Toggle.d.ts +1 -1
  82. package/dist/components/Toggle/Toggle.js +211 -126
  83. package/dist/components/Toggle/Toggle.test.js +1 -1
  84. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  85. package/dist/components/Tooltip/Tooltip.js +60 -61
  86. package/dist/{index-C2s_VtSb.js β†’ index-6DGSlWJb.js} +3 -3
  87. package/dist/{index-Nyh2Wa71.js β†’ index-6j3vTf--.js} +5 -5
  88. package/dist/index-B4szHVNJ.js +248 -0
  89. package/dist/{index-CFqDEbIR.js β†’ index-BVZdJVFB.js} +192 -191
  90. package/dist/index-Bq1FiX6B.js +93 -0
  91. package/dist/index-CE9NpYQR.js +604 -0
  92. package/dist/index-CHy8gqvu.js +353 -0
  93. package/dist/index-CarlZuEo.js +1610 -0
  94. package/dist/{index-CCFDXH-J.js β†’ index-CcsZYEYy.js} +29 -28
  95. package/dist/index-DH9SO8qV.js +221 -0
  96. package/dist/{index-D_L0ncPJ.js β†’ index-IR8HlW5P.js} +4 -4
  97. package/dist/{index-DkTDHhag.js β†’ index-banDzeKa.js} +1 -1
  98. package/dist/index-kgC_DL6e.js +216 -0
  99. package/dist/main.js +3 -3
  100. package/dist/storybook-docs-page.d.ts +1 -1
  101. package/dist/{useToast-Cz5MGKnw.js β†’ useToast-CpwrYPvx.js} +1 -1
  102. package/dist/{vi.bdSIJ99Y-017e_Pkz.js β†’ vi.bdSIJ99Y-DWCVXj6K.js} +3 -3
  103. package/dist/web.config +8 -8
  104. package/package.json +94 -94
  105. package/dist/RichTextEditor-kTQEDSL0.js +0 -477
  106. package/dist/index-C8H9A55g.js +0 -222
  107. package/dist/index-CCnm5-ML.js +0 -230
  108. package/dist/index-CfIcUHKK.js +0 -70
  109. package/dist/index-ChQc_Cm6.js +0 -1544
  110. package/dist/index-CmGGeUr0.js +0 -142
  111. package/dist/index-Ii4UOx3H.js +0 -599
  112. package/dist/index-z_kiwVc3.js +0 -237
package/README.md CHANGED
@@ -1,97 +1,97 @@
1
- # AlixPartners UI Component Library
2
-
3
- A modern, reusable component library built with **[ReactJS](https://react.dev/)**.
4
-
5
- Version **2.0** has been **rebuilt from the ground up** to align with the latest **AlixPartners Design System** and deliver improved developer experience, accessibility, and performance.
6
-
7
- ## ✨ What’s New in 2.0
8
-
9
- - Completely redesigned architecture with modern build tooling ([Vite](https://vitejs.dev/))
10
- - Updated design tokens and styles aligned with AlixPartners Design System
11
- - Improved accessibility (a11y) and semantic HTML usage
12
- - Streamlined props API for cleaner integration
13
- - Enhanced Storybook documentation
14
- - Faster build & development workflows
15
-
16
- ### Version Support
17
-
18
- - v2.x β€” Active development (BETA)
19
- - v1.x β€” Maintained for legacy projects (no new features, critical fixes only)
20
-
21
- ---
22
-
23
- ## πŸš€ Installation
24
-
25
- ```bash
26
- npm install @alixpartners/ui-components
27
- ```
28
-
29
- ## πŸ”§ Usage
30
-
31
- ```tsx
32
- import { YourComponent } from '@alixpartners/ui-components'
33
-
34
- function App() {
35
- return <YourComponent />
36
- }
37
- ```
38
-
39
- ## 🧱 Components
40
-
41
- Explore all available components and documentation in Storybook.
42
-
43
- To run it locally:
44
-
45
- ```bash
46
- npm run storybook
47
- ```
48
-
49
- ---
50
-
51
- ## πŸ“¦ Build
52
-
53
- To bundle the library for publishing:
54
-
55
- ```bash
56
- npm run build
57
- ```
58
-
59
- The output will be in the `dist/` directory.
60
-
61
- ### Usage in projects while developing
62
-
63
- When working on the library and testing it in another project:
64
-
65
- ```bash
66
- # In the component library root:
67
- npm link
68
-
69
- # In the consuming project's root:
70
- npm link alix-partners-react-components-test
71
- ```
72
-
73
- Then import components using the `alix-partners-react-components-test` import.
74
-
75
- ## πŸ§ͺ Testing
76
-
77
- ```bash
78
- npm run test
79
- ```
80
-
81
- #### πŸ§ͺ Test Coverage
82
-
83
- ```bash
84
- npm run coverage
85
- ```
86
-
87
- ## πŸ“š Publish
88
-
89
- To publish to npm:
90
-
91
- 1. Bump the version in `package.json`
92
- 2. Create a pull request in Azure DevOps to the `main` branch
93
- 3. This will automatically publish the library to `npm` once approved
94
-
95
- ## 🀝 Contributing
96
-
97
- The **AlixPartners UI Component Library** is a collaborative, community-driven project where contributions from all team members are encouraged and valued. If you’d like to add new components or improve existing ones, please see the CONTRIBUTING.md file.
1
+ # AlixPartners UI Component Library
2
+
3
+ A modern, reusable component library built with **[ReactJS](https://react.dev/)**.
4
+
5
+ Version **2.0** has been **rebuilt from the ground up** to align with the latest **AlixPartners Design System** and deliver improved developer experience, accessibility, and performance.
6
+
7
+ ## ✨ What’s New in 2.0
8
+
9
+ - Completely redesigned architecture with modern build tooling ([Vite](https://vitejs.dev/))
10
+ - Updated design tokens and styles aligned with AlixPartners Design System
11
+ - Improved accessibility (a11y) and semantic HTML usage
12
+ - Streamlined props API for cleaner integration
13
+ - Enhanced Storybook documentation
14
+ - Faster build & development workflows
15
+
16
+ ### Version Support
17
+
18
+ - v2.x β€” Active development (BETA)
19
+ - v1.x β€” Maintained for legacy projects (no new features, critical fixes only)
20
+
21
+ ---
22
+
23
+ ## πŸš€ Installation
24
+
25
+ ```bash
26
+ npm install @alixpartners/ui-components
27
+ ```
28
+
29
+ ## πŸ”§ Usage
30
+
31
+ ```tsx
32
+ import { YourComponent } from '@alixpartners/ui-components'
33
+
34
+ function App() {
35
+ return <YourComponent />
36
+ }
37
+ ```
38
+
39
+ ## 🧱 Components
40
+
41
+ Explore all available components and documentation in Storybook.
42
+
43
+ To run it locally:
44
+
45
+ ```bash
46
+ npm run storybook
47
+ ```
48
+
49
+ ---
50
+
51
+ ## πŸ“¦ Build
52
+
53
+ To bundle the library for publishing:
54
+
55
+ ```bash
56
+ npm run build
57
+ ```
58
+
59
+ The output will be in the `dist/` directory.
60
+
61
+ ### Usage in projects while developing
62
+
63
+ When working on the library and testing it in another project:
64
+
65
+ ```bash
66
+ # In the component library root:
67
+ npm link
68
+
69
+ # In the consuming project's root:
70
+ npm link alix-partners-react-components-test
71
+ ```
72
+
73
+ Then import components using the `alix-partners-react-components-test` import.
74
+
75
+ ## πŸ§ͺ Testing
76
+
77
+ ```bash
78
+ npm run test
79
+ ```
80
+
81
+ #### πŸ§ͺ Test Coverage
82
+
83
+ ```bash
84
+ npm run coverage
85
+ ```
86
+
87
+ ## πŸ“š Publish
88
+
89
+ To publish to npm:
90
+
91
+ 1. Bump the version in `package.json`
92
+ 2. Create a pull request in Azure DevOps to the `main` branch
93
+ 3. This will automatically publish the library to `npm` once approved
94
+
95
+ ## 🀝 Contributing
96
+
97
+ The **AlixPartners UI Component Library** is a collaborative, community-driven project where contributions from all team members are encouraged and valued. If you’d like to add new components or improve existing ones, please see the CONTRIBUTING.md file.