Skip to content

Commit 717e465

Browse files
committed
Build changes from 4138fb6
0 parents  commit 717e465

381 files changed

Lines changed: 17758 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: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
Version 1.7.7 - 29th January, 2026
2+
- Fix: Organism - Dialog, Drawer: Resolved an issue where the component closed unexpectedly when `exitOnClickOutside` was enabled and a toaster was dismissed.
3+
4+
Version 1.7.6 - 11th September, 2025
5+
- Improvements: Atom - Select - Improved search logic.
6+
7+
Version 1.7.5 - 25th August, 2025
8+
- New: Template - UAE Dashboard
9+
- New: Template - UAE Widgets
10+
- New: Template - SureForms Dashboard
11+
12+
Version 1.7.4 - 13th June, 2025
13+
- Improvement: Atom - Select: Improved search option functionality of the Select (combobox) component.
14+
- Fix: Organism - Drawer: Resolved an issue where clicking outside the drawer did not trigger an exit.
15+
16+
Version 1.7.3 - 3rd June, 2025
17+
- Improvement: Organism - Dialog, Drawer: Enhanced keyboard navigation and ARIA attributes for better accessibility.
18+
- Improvement: Atom - Select: Added `ref` prop to `Select.Button` component to enable direct access to the button element reference.
19+
- Improvement: Molecule - Accordion: Added `onClick` handler to `Accordion.Trigger`, enabling better control for developers over user interactions.
20+
21+
Version 1.7.2 - 26th May, 2025
22+
- Improvement: Atom - EditorInput: Added `style` and `maxLength` props, improved dropdown behavior, and optimized dynamic positioning.
23+
24+
Version 1.7.1 - 6th May, 2025
25+
- Improvement - Atom - EditorInput: Eliminated the margin-right from the EditorInput token/badge to enhance layout consistency and visual alignment.
26+
27+
Version 1.7.0 - 5th May, 2025
28+
- Improvement - Molecule - DropdownMenu: Added `Dropdown.ContentWrapper` sub-component to render dropdown content inside Dialog or Drawer contexts without requiring `Dropdown.Portal`.
29+
- 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.
30+
- Improvement - Atom - Select: Enhanced the font size of the empty state to maintain a consistent and visually appealing user interface across all components.
31+
- Improvement - Molecule - Accordion: Added `collapsible` prop to control whether the accordion is collapsible.
32+
33+
Version 1.6.3 - 23rd April, 2025
34+
- Fix - Atom - Accordion: Resolved an issue where the Accordion component's content was not properly visible when expanded due to overflow hidden.
35+
36+
Version 1.6.2 - 14th April, 2025
37+
- Improvement - Enhanced the LineChart component by refining the line type and optimizing the spacing between tooltip contents for better clarity and visual appeal.
38+
- Fix - Resolved an issue in the EditorInput component where incorrect options were displayed due to a mismanaged global cache variable.
39+
40+
Version 1.6.1 - 11th April, 2025
41+
- Improvement - Added a new prop to the LineChart component to enable Biaxial Line chart functionality, along with various UI enhancements for improved user experience.
42+
- Improvement - Added customizable properties for the LineChart and AreaChart components to tailor x-axis and y-axis ticks and labels for better data visualization.
43+
- Improvement - Introduced a `className` prop in the Dropzone component to enhance customizability and allow for more flexible styling options.
44+
- Fix - Corrected the positioning of days in the DatePicker component to ensure accurate display and improved user experience.
45+
46+
Version 1.6.0 - 8th April, 2025
47+
- New - Introduced a versatile Text component that supports multiple HTML elements and customizable styles for enhanced typography flexibility.
48+
- Improvement - Display xAxis data on the tooltip when hovering.
49+
- 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.
50+
51+
Version 1.5.1 - 28th March, 2025
52+
- Improvement - Introduced the `areaChartWrapper` prop in the AreaChart component to allow for better customization options.
53+
- Improvement - Removed the group selector from the Tabs component to simplify style overrides.
54+
- Improvement - Introduced a new prop to handle the Sidebar's default collapse state when collapsible is set to false.
55+
- Fix - Addressed UI inconsistencies in the Switch, Checkbox, and RadioButton components for improved support in RTL (Right-to-Left) layouts.
56+
57+
Version 1.5.0 - 14th March, 2025
58+
- New - Added new Atom, File Preview - to show uploaded file preview.
59+
- New - Added new variants in Progress Steps component to show icon and number in the completed step.
60+
- Improvement - Enhanced the UI and functionality of the Searchbox component for better flexibility and user experience.
61+
62+
Version 1.4.2 - 6th March, 2025
63+
- New - Added new size 'xs' to the Switch component.
64+
- Improvement - Adjusted the ring width and padding of the Radio Button component.
65+
- Improvement - Added shadow to the disabled switch component for better visual consistency.
66+
- Improvement - Add box-shadow to the Button component.
67+
- Improvement - Update destructive button ring color.
68+
- Improvement - Update select component font size for the small size.
69+
- Fixed - Undefined JSX error when @wordpress/scripts version is above 28.
70+
- Fixed - Tree shaking not working.
71+
72+
Version 1.4.1 - 10th February, 2025
73+
- Improvement - Show active preset with background color in the DatePicker component.
74+
- Improvement - Introduced a new property in the Select component for personalized search beyond the component.
75+
76+
Version 1.4.0 - 27th January, 2025
77+
- New - Added a Hamburger Menu component.
78+
- Improvement - Added Y-axis tick formatter to the BarChart component.
79+
80+
Version 1.3.6 - 9th January, 2025
81+
- Improvement - Optimized the Select component item search logic and reorganized props for improved usability.
82+
- Improvement - Added a vertical dashed line feature to the LineChart.
83+
- Fixed - LineChart component Tooltip does not show the required information.
84+
85+
Version 1.3.5 - 6th January, 2025
86+
- Improvement - Display a light blue color on hover when selecting a date range.
87+
88+
Version 1.3.4 - 31th December, 2024
89+
- Improvement - Enhanced the UI of the Table and Line chart component for responsive design.
90+
- Improvement - Added option group to the Select component.
91+
- Improvement - Updated the Table component design.
92+
- Improvement - Added support for controlling selected dates through the 'selected' prop in DatePicker component.
93+
- Improvement - Enhanced the UI of the Drawer component.
94+
- Improvement - Added a new prop to the Badge component to disable hover effect.
95+
- Fixed - Adjusted search icon size in Select combobox for better visual consistency.
96+
- Fixed - Focus ring offset of Select, Switch, Checkbox, and dropdown component.
97+
- Fixed - Checkbox/Switch toggle behavior with hint text and adjusted help text size.
98+
- Fixed - DatePicker component crash when navigating through years.
99+
- Fixed - DatePicker component UI styles for better visual consistency.
100+
101+
Version 1.3.3 - 20th December, 2024
102+
- Fixed - React `Each child in a list should have a unique "key" prop` console warning.
103+
- Fixed - Toaster content overlapping with the close button.
104+
105+
Version 1.3.2 - 17th December, 2024
106+
- Fixed - Adjusted the color of the Switch component label and help text.
107+
108+
Version 1.3.1 - 17th December, 2024
109+
- Fixed - The underline issue to enhance visual consistency.
110+
- Fixed - Issue with the Select component where a check mark was displayed even when no item was selected.
111+
- Fixed - Design mismatch in the Switch component.
112+
- Fixed - Text, icon size, alignment, and color inconsistencies in the Date Picker to ensure a uniform appearance.
113+
- Fixed - Input ref not pointing to the input field.
114+
- Fixed - Icon size and alignment issues in the Menu component for better visual clarity.
115+
- Fixed - Sidebar height not being overridable.
116+
- Improvement - Removed backdrop blur to enhance performance and visual clarity.
117+
118+
Version 1.3.0 - 16th December, 2024
119+
- New - Table component.
120+
- Fixed - Asterisk missing on required input label.
121+
122+
Version 1.2.2 - 4th December, 2024
123+
- Improvement - Removed margin and added new props to the Line Chart component for customizability.
124+
125+
Version 1.2.1 - 25th November, 2024
126+
- Improvement - Added new props to the Bar Chart component for customizability.
127+
- Improvement - Dropzone UAT improvements.
128+
- Improvement - Sidebar Compatibility fixes with NextJS.
129+
- Improvement - Improved the storybook deployment workflow to use latest library.
130+
131+
Version 1.2.0 - 20th November, 2024
132+
- New - Dropzone
133+
- New - Added Unit Tests setup and a11y CI setup
134+
- Improvement - All components are a11y compatible.
135+
- Fixes - Issues reported by internal dev team.
136+
137+
Version 1.1.0 - 11th November, 2024
138+
- New - Area Chart
139+
- New - Bar Chart
140+
- New - Line Chart
141+
- New - Pie Chart
142+
- New - Accordion
143+
- New - Search
144+
- New - Pagination
145+
- New - Breadcrumb
146+
- Improvement - Used vite instead of webpack for better build performance
147+
- Improvement - Used typescript for better storybook development and easy documentation
148+
- Fixes - Button component used in dropdown component
149+
- Fixed - Fixed multiple issues suggested in developer UAT.
150+
151+
Version 1.0.0 - 17th October, 2024
152+
- New - Alert
153+
- New - Avatar
154+
- New - Badge
155+
- New - Button
156+
- New - Buttom Group
157+
- New - Cards
158+
- New - Container
159+
- New - Checkbox
160+
- New - Datepicker
161+
- New - Dialog
162+
- New - Drawer
163+
- New - Dropdown Menu
164+
- New - Editor Input
165+
- New - Input
166+
- New - Label
167+
- New - Loader
168+
- New - Menu Item
169+
- New - Progress Bar
170+
- New - Progress Steps
171+
- New - Radio Button Group
172+
- New - Search
173+
- New - Select
174+
- New - Sidebar
175+
- New - Skeleton
176+
- New - Switch
177+
- New - Tabs
178+
- New - Text Area
179+
- New - Title
180+
- New - Toaster
181+
- New - Tooltip
182+
- New - Topbar

0 commit comments

Comments
 (0)