Skip to content

Commit b21db94

Browse files
committed
Build changes from d23f0ad
0 parents  commit b21db94

382 files changed

Lines changed: 17240 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.cjs

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// .eslintrc.mjs
2+
module.exports = {
3+
root: true,
4+
extends: [
5+
'plugin:@wordpress/eslint-plugin/recommended-with-formatting',
6+
'plugin:storybook/recommended',
7+
'plugin:@typescript-eslint/recommended',
8+
],
9+
settings: {
10+
'import/resolver': {
11+
node: {
12+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
13+
},
14+
alias: {
15+
map: [
16+
['@/icons', './src/ui/icons.js'],
17+
['@/components', './src/components'],
18+
['@/utilities', './src/utilities'],
19+
['@', './src'],
20+
],
21+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
22+
},
23+
},
24+
},
25+
parserOptions: {
26+
requireConfigFile: false,
27+
babelOptions: {
28+
presets: ['@wordpress/babel-preset-default'],
29+
},
30+
},
31+
overrides: [
32+
{
33+
files: ['./src/utilities/withTW.js'],
34+
rules: {
35+
'@typescript-eslint/no-var-requires': 'off',
36+
},
37+
},
38+
],
39+
rules: {
40+
'jsx-a11y/click-events-have-key-events': 'off',
41+
'react-hooks/exhaustive-deps': 'off',
42+
'jsx-a11y/label-has-associated-control': 'off',
43+
'jsx-a11y/no-noninteractive-element-interactions': 'off',
44+
'jsx-a11y/anchor-is-valid': 'off',
45+
46+
'no-mixed-spaces-and-tabs': 'off',
47+
'no-mixed-operators': 'off',
48+
},
49+
globals: {
50+
localStorage: 'readonly',
51+
},
52+
};

.prettierrc.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Import the default config file and expose it in the project root.
2+
// Useful for editor integrations.
3+
4+
import config from '@wordpress/prettier-config';
5+
6+
config.overrides = [
7+
{
8+
files: ['*.scss', '*.css'],
9+
options: {
10+
printWidth: 500,
11+
singleQuote: false,
12+
},
13+
},
14+
];
15+
16+
export default config;

.stylelintrc.mjs

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
export default {
2+
extends: ['@wordpress/stylelint-config'],
3+
rules: {
4+
'font-family-name-quotes': 'always-where-recommended',
5+
'function-url-quotes': 'always',
6+
'declaration-property-unit-allowed-list': {
7+
'/^line-height/': ['em', 'rem', 'px'],
8+
},
9+
'comment-empty-line-before': null,
10+
'selector-class-pattern': null,
11+
'selector-id-pattern': null,
12+
'no-descending-specificity': null,
13+
'no-duplicate-selectors': null,
14+
'at-rule-no-unknown': null,
15+
'at-rule-empty-line-before': null,
16+
'at-rule-empty-line-before': [
17+
'always',
18+
{
19+
except: ['blockless-after-same-name-blockless', 'first-nested'],
20+
ignore: ['after-comment'],
21+
},
22+
],
23+
'block-no-empty': true,
24+
'no-empty-source': true,
25+
'declaration-empty-line-before': [
26+
'always',
27+
{
28+
except: ['after-declaration', 'first-nested'],
29+
ignore: ['after-comment', 'inside-single-line-block'],
30+
},
31+
],
32+
'rule-empty-line-before': [
33+
'always-multi-line',
34+
{
35+
except: ['first-nested'],
36+
ignore: ['after-comment'],
37+
},
38+
],
39+
},
40+
overrides: [
41+
{
42+
files: ['*.scss', '**/*.scss'],
43+
extends: '@wordpress/stylelint-config/scss-stylistic',
44+
},
45+
{
46+
files: ['*.css', '**/*.css'],
47+
extends: '@wordpress/stylelint-config/stylistic',
48+
},
49+
],
50+
customSyntax: 'postcss-scss',
51+
};

changelog.txt

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
Version 1.7.11 - 8th April, 2026
2+
- New: Added Storybook MCP compatibility support for smoother integration with MCP-based tooling and workflows.
3+
- Improvement: Atom - Alert: Added `role="alert"` and improved focus-visible ring on the close button.
4+
- Improvement: Atom - Badge: Converted closable element to a semantic `<button>` with `aria-label` and `aria-hidden` on the icon.
5+
- Improvement: Atom - Breadcrumb: Wrapped ellipsis in a `role="img"` container with `aria-label="More pages"` and removed misleading `cursor-pointer` from the non-interactive icon.
6+
- Improvement: Atom - Checkbox: Added `aria-describedby` linking to the description, `aria-hidden` on the decorative icon, and changed outer wrapper from `<label>` to `<span>` to avoid duplicate labelling.
7+
- Improvement: Atom - Dropdown Menu: Replaced custom trigger element with a native `<button>` and wrapped floating content in `FloatingFocusManager` for keyboard focus management.
8+
- Improvement: Atom - Input: Added `aria-label` on the remove button, `aria-hidden` on decorative icons, and `aria-invalid` when in error state.
9+
- Improvement: Atom - Loader: Added `role="status"` and `aria-label="Loading"`, and marked the spinner icon as `aria-hidden`.
10+
- Improvement: Atom - Select: Added `aria-label` to the options search input for screen reader clarity.
11+
- Improvement: Atom - Skeleton: Added `role="status"` and `aria-label="Loading"`.
12+
- Improvement: Atom - Switch: Added `role="switch"` to reflect toggle state to assistive technologies.
13+
- Improvement: Atom - Tabs: Added `role="tablist"`, `aria-orientation`, `role="tab"`, `aria-selected`, `aria-controls`, and `role="tabpanel"` with `aria-labelledby`; implemented arrow key, Home, and End keyboard navigation; removed non-standard `tabIndex` from the tablist container.
14+
- Improvement: Atom - Textarea: Added `aria-invalid` when in error state and improved focus-visible styles.
15+
- Improvement: Atom - Toaster: Added `aria-live="polite"` and `aria-label="Notifications"` to the container; added `aria-label="Dismiss notification"` and improved focus-visible ring on close buttons. Fixed RTL layout so the close button and text spacing correctly mirror using CSS logical properties.
16+
- Improvement: Molecule - Accordion: Linked trigger to content panel via `aria-controls` and `id`; content region now stays in the DOM when collapsed so `aria-controls` resolves correctly; added `aria-labelledby` on the content region and `aria-hidden` when collapsed.
17+
- Improvement: Molecule - Dialog, Drawer: Added ARIA attributes and accessibility fallbacks.
18+
- Improvement: Molecule - Dropzone: Improved ARIA attributes and keyboard accessibility.
19+
- Improvement: Molecule - File Preview: Improved focus-visible ring on the remove button.
20+
- Improvement: Molecule - Hamburger Menu: Added `aria-expanded` on the toggle button to reflect open/close state.
21+
- Improvement: Organism - Charts (Area, Bar, Line, Pie): Wrapped chart components with `role` and `aria-label` for screen reader support.
22+
- Improvement: Organism - Editor Input: Added `aria-label` to the `ContentEditable` element.
23+
- Improvement: Organism - Menu Item: Changed collapsible heading trigger from a `div[role="button"]` to a native `<button>`.
24+
- Improvement: Organism - Pagination: Added `aria-label` for the `<nav>` landmark, page items, and previous/next buttons; changed default button tag to `<button>`; added screen-reader text for ellipsis.
25+
- Improvement: Organism - Settings: Added `aria-label` to Settings tabs for screen reader identification.
26+
- Improvement: Organism - Sidebar: Changed wrapper from `<div>` to `<nav>` with `aria-label="Sidebar"`.
27+
- Improvement: Organism - Topbar: Changed wrapper from `<div>` to `<header>` for semantic document structure.
28+
29+
Version 1.7.10 - 6th March, 2026
30+
- Improvement: CI/CD - Hardened security across various GitHub Action workflows and improved Storybook deployment.
31+
- Improvement: Package Dependencies & Utils - Created the `omit` function and removed `lodash` dependency.
32+
33+
Version 1.7.9 - 26th February, 2026
34+
- Fix: Organism - Tabs: Resolved an issue where switching a tab prevented the parent Dialog or Drawer from unmounting by removing the incorrect `layoutRoot` prop from the Tab button.
35+
36+
Version 1.7.8 - 10th February, 2026
37+
- Fix: Organism - Dialog, Drawer, Tabs: Resolved an issue where Dialog and Drawer components failed to unmount when containing a Tabs component.
38+
39+
Version 1.7.7 - 29th January, 2026
40+
- Fix: Organism - Dialog, Drawer: Resolved an issue where the component closed unexpectedly when `exitOnClickOutside` was enabled and a toaster was dismissed.
41+
42+
Version 1.7.6 - 11th September, 2025
43+
- Improvements: Atom - Select - Improved search logic.
44+
45+
Version 1.7.5 - 25th August, 2025
46+
- New: Template - UAE Dashboard
47+
- New: Template - UAE Widgets
48+
- New: Template - SureForms Dashboard
49+
50+
Version 1.7.4 - 13th June, 2025
51+
- Improvement: Atom - Select: Improved search option functionality of the Select (combobox) component.
52+
- Fix: Organism - Drawer: Resolved an issue where clicking outside the drawer did not trigger an exit.
53+
54+
Version 1.7.3 - 3rd June, 2025
55+
- Improvement: Organism - Dialog, Drawer: Enhanced keyboard navigation and ARIA attributes for better accessibility.
56+
- Improvement: Atom - Select: Added `ref` prop to `Select.Button` component to enable direct access to the button element reference.
57+
- Improvement: Molecule - Accordion: Added `onClick` handler to `Accordion.Trigger`, enabling better control for developers over user interactions.
58+
59+
Version 1.7.2 - 26th May, 2025
60+
- Improvement: Atom - EditorInput: Added `style` and `maxLength` props, improved dropdown behavior, and optimized dynamic positioning.
61+
62+
Version 1.7.1 - 6th May, 2025
63+
- Improvement - Atom - EditorInput: Eliminated the margin-right from the EditorInput token/badge to enhance layout consistency and visual alignment.
64+
65+
Version 1.7.0 - 5th May, 2025
66+
- Improvement - Molecule - DropdownMenu: Added `Dropdown.ContentWrapper` sub-component to render dropdown content inside Dialog or Drawer contexts without requiring `Dropdown.Portal`.
67+
- Improvement - Atom - Select: Refined dropdown positioning and enhanced the Storybook documentation to clearly illustrate when to apply `Select.Portal`, especially within Dialog or Drawer contexts.
68+
- Improvement - Atom - Select: Enhanced the font size of the empty state to maintain a consistent and visually appealing user interface across all components.
69+
- Improvement - Molecule - Accordion: Added `collapsible` prop to control whether the accordion is collapsible.
70+
71+
Version 1.6.3 - 23rd April, 2025
72+
- Fix - Atom - Accordion: Resolved an issue where the Accordion component's content was not properly visible when expanded due to overflow hidden.
73+
74+
Version 1.6.2 - 14th April, 2025
75+
- Improvement - Enhanced the LineChart component by refining the line type and optimizing the spacing between tooltip contents for better clarity and visual appeal.
76+
- Fix - Resolved an issue in the EditorInput component where incorrect options were displayed due to a mismanaged global cache variable.
77+
78+
Version 1.6.1 - 11th April, 2025
79+
- Improvement - Added a new prop to the LineChart component to enable Biaxial Line chart functionality, along with various UI enhancements for improved user experience.
80+
- Improvement - Added customizable properties for the LineChart and AreaChart components to tailor x-axis and y-axis ticks and labels for better data visualization.
81+
- Improvement - Introduced a `className` prop in the Dropzone component to enhance customizability and allow for more flexible styling options.
82+
- Fix - Corrected the positioning of days in the DatePicker component to ensure accurate display and improved user experience.
83+
84+
Version 1.6.0 - 8th April, 2025
85+
- New - Introduced a versatile Text component that supports multiple HTML elements and customizable styles for enhanced typography flexibility.
86+
- Improvement - Display xAxis data on the tooltip when hovering.
87+
- Fix - Resolved a build error caused by incorrectly treating `tailwindcss` as an internal package and rectified the import path in the final build process to ensure proper functionality.
88+
89+
Version 1.5.1 - 28th March, 2025
90+
- Improvement - Introduced the `areaChartWrapper` prop in the AreaChart component to allow for better customization options.
91+
- Improvement - Removed the group selector from the Tabs component to simplify style overrides.
92+
- Improvement - Introduced a new prop to handle the Sidebar's default collapse state when collapsible is set to false.
93+
- Fix - Addressed UI inconsistencies in the Switch, Checkbox, and RadioButton components for improved support in RTL (Right-to-Left) layouts.
94+
95+
Version 1.5.0 - 14th March, 2025
96+
- New - Added new Atom, File Preview - to show uploaded file preview.
97+
- New - Added new variants in Progress Steps component to show icon and number in the completed step.
98+
- Improvement - Enhanced the UI and functionality of the Searchbox component for better flexibility and user experience.
99+
100+
Version 1.4.2 - 6th March, 2025
101+
- New - Added new size 'xs' to the Switch component.
102+
- Improvement - Adjusted the ring width and padding of the Radio Button component.
103+
- Improvement - Added shadow to the disabled switch component for better visual consistency.
104+
- Improvement - Add box-shadow to the Button component.
105+
- Improvement - Update destructive button ring color.
106+
- Improvement - Update select component font size for the small size.
107+
- Fixed - Undefined JSX error when @wordpress/scripts version is above 28.
108+
- Fixed - Tree shaking not working.
109+
110+
Version 1.4.1 - 10th February, 2025
111+
- Improvement - Show active preset with background color in the DatePicker component.
112+
- Improvement - Introduced a new property in the Select component for personalized search beyond the component.
113+
114+
Version 1.4.0 - 27th January, 2025
115+
- New - Added a Hamburger Menu component.
116+
- Improvement - Added Y-axis tick formatter to the BarChart component.
117+
118+
Version 1.3.6 - 9th January, 2025
119+
- Improvement - Optimized the Select component item search logic and reorganized props for improved usability.
120+
- Improvement - Added a vertical dashed line feature to the LineChart.
121+
- Fixed - LineChart component Tooltip does not show the required information.
122+
123+
Version 1.3.5 - 6th January, 2025
124+
- Improvement - Display a light blue color on hover when selecting a date range.
125+
126+
Version 1.3.4 - 31th December, 2024
127+
- Improvement - Enhanced the UI of the Table and Line chart component for responsive design.
128+
- Improvement - Added option group to the Select component.
129+
- Improvement - Updated the Table component design.
130+
- Improvement - Added support for controlling selected dates through the 'selected' prop in DatePicker component.
131+
- Improvement - Enhanced the UI of the Drawer component.
132+
- Improvement - Added a new prop to the Badge component to disable hover effect.
133+
- Fixed - Adjusted search icon size in Select combobox for better visual consistency.
134+
- Fixed - Focus ring offset of Select, Switch, Checkbox, and dropdown component.
135+
- Fixed - Checkbox/Switch toggle behavior with hint text and adjusted help text size.
136+
- Fixed - DatePicker component crash when navigating through years.
137+
- Fixed - DatePicker component UI styles for better visual consistency.
138+
139+
Version 1.3.3 - 20th December, 2024
140+
- Fixed - React `Each child in a list should have a unique "key" prop` console warning.
141+
- Fixed - Toaster content overlapping with the close button.
142+
143+
Version 1.3.2 - 17th December, 2024
144+
- Fixed - Adjusted the color of the Switch component label and help text.
145+
146+
Version 1.3.1 - 17th December, 2024
147+
- Fixed - The underline issue to enhance visual consistency.
148+
- Fixed - Issue with the Select component where a check mark was displayed even when no item was selected.
149+
- Fixed - Design mismatch in the Switch component.
150+
- Fixed - Text, icon size, alignment, and color inconsistencies in the Date Picker to ensure a uniform appearance.
151+
- Fixed - Input ref not pointing to the input field.
152+
- Fixed - Icon size and alignment issues in the Menu component for better visual clarity.
153+
- Fixed - Sidebar height not being overridable.
154+
- Improvement - Removed backdrop blur to enhance performance and visual clarity.
155+
156+
Version 1.3.0 - 16th December, 2024
157+
- New - Table component.
158+
- Fixed - Asterisk missing on required input label.
159+
160+
Version 1.2.2 - 4th December, 2024
161+
- Improvement - Removed margin and added new props to the Line Chart component for customizability.
162+
163+
Version 1.2.1 - 25th November, 2024
164+
- Improvement - Added new props to the Bar Chart component for customizability.
165+
- Improvement - Dropzone UAT improvements.
166+
- Improvement - Sidebar Compatibility fixes with NextJS.
167+
- Improvement - Improved the storybook deployment workflow to use latest library.
168+
169+
Version 1.2.0 - 20th November, 2024
170+
- New - Dropzone
171+
- New - Added Unit Tests setup and a11y CI setup
172+
- Improvement - All components are a11y compatible.
173+
- Fixes - Issues reported by internal dev team.
174+
175+
Version 1.1.0 - 11th November, 2024
176+
- New - Area Chart
177+
- New - Bar Chart
178+
- New - Line Chart
179+
- New - Pie Chart
180+
- New - Accordion
181+
- New - Search
182+
- New - Pagination
183+
- New - Breadcrumb
184+
- Improvement - Used vite instead of webpack for better build performance
185+
- Improvement - Used typescript for better storybook development and easy documentation
186+
- Fixes - Button component used in dropdown component
187+
- Fixed - Fixed multiple issues suggested in developer UAT.
188+
189+
Version 1.0.0 - 17th October, 2024
190+
- New - Alert
191+
- New - Avatar
192+
- New - Badge
193+
- New - Button
194+
- New - Buttom Group
195+
- New - Cards
196+
- New - Container
197+
- New - Checkbox
198+
- New - Datepicker
199+
- New - Dialog
200+
- New - Drawer
201+
- New - Dropdown Menu
202+
- New - Editor Input
203+
- New - Input
204+
- New - Label
205+
- New - Loader
206+
- New - Menu Item
207+
- New - Progress Bar
208+
- New - Progress Steps
209+
- New - Radio Button Group
210+
- New - Search
211+
- New - Select
212+
- New - Sidebar
213+
- New - Skeleton
214+
- New - Switch
215+
- New - Tabs
216+
- New - Text Area
217+
- New - Title
218+
- New - Toaster
219+
- New - Tooltip
220+
- New - Topbar

0 commit comments

Comments
 (0)