Skip to content

Commit

Permalink
Build changes from dbf719b
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Nov 12, 2024
0 parents commit 4dae311
Show file tree
Hide file tree
Showing 21 changed files with 51,061 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// .eslintrc.mjs
module.exports = {
root: true,
extends: [
'plugin:@wordpress/eslint-plugin/recommended-with-formatting',
'plugin:storybook/recommended',
'plugin:@typescript-eslint/recommended',
],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
alias: {
map: [
['@/icons', './src/ui/icons.js'],
['@/components', './src/components'],
['@/utilities', './src/utilities'],
['@', './src'],
],
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
parserOptions: {
requireConfigFile: false,
babelOptions: {
presets: ['@wordpress/babel-preset-default'],
},
},
overrides: [
{
files: ['./src/utilities/withTW.js'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
],
rules: {
'jsx-a11y/click-events-have-key-events': 'off',
'react-hooks/exhaustive-deps': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'jsx-a11y/anchor-is-valid': 'off',

'no-mixed-spaces-and-tabs': 'off',
},
globals: {
localStorage: 'readonly',
},
};
16 changes: 16 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Import the default config file and expose it in the project root.
// Useful for editor integrations.

import config from '@wordpress/prettier-config';

config.overrides = [
{
files: ['*.scss', '*.css'],
options: {
printWidth: 500,
singleQuote: false,
},
},
];

export default config;
51 changes: 51 additions & 0 deletions .stylelintrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
export default {
extends: ['@wordpress/stylelint-config'],
rules: {
'font-family-name-quotes': 'always-where-recommended',
'function-url-quotes': 'always',
'declaration-property-unit-allowed-list': {
'/^line-height/': ['em', 'rem', 'px'],
},
'comment-empty-line-before': null,
'selector-class-pattern': null,
'selector-id-pattern': null,
'no-descending-specificity': null,
'no-duplicate-selectors': null,
'at-rule-no-unknown': null,
'at-rule-empty-line-before': null,
'at-rule-empty-line-before': [
'always',
{
except: ['blockless-after-same-name-blockless', 'first-nested'],
ignore: ['after-comment'],
},
],
'block-no-empty': true,
'no-empty-source': true,
'declaration-empty-line-before': [
'always',
{
except: ['after-declaration', 'first-nested'],
ignore: ['after-comment', 'inside-single-line-block'],
},
],
'rule-empty-line-before': [
'always-multi-line',
{
except: ['first-nested'],
ignore: ['after-comment'],
},
],
},
overrides: [
{
files: ['*.scss', '**/*.scss'],
extends: '@wordpress/stylelint-config/scss-stylistic',
},
{
files: ['*.css', '**/*.css'],
extends: '@wordpress/stylelint-config/stylistic',
},
],
customSyntax: 'postcss-scss',
};
46 changes: 46 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Version 1.1.0 - 11th November, 2024
- New - Area Chart
- New - Bar Chart
- New - Line Chart
- New - Pie Chart
- New - Accordion
- New - Search
- New - Pagination
- New - Breadcrumb
- Improvement - Used vite instead of webpack for better build performance
- Improvement - Used typescript for better storybook development and easy documentation
- Fixes - Button component used in dropdown component
- Fixed - Fixed multiple issues suggested in developer UAT.

Version 1.0.0 - 17th October, 2024
- New - Alert
- New - Avatar
- New - Badge
- New - Button
- New - Buttom Group
- New - Cards
- New - Container
- New - Checkbox
- New - Datepicker
- New - Dialog
- New - Drawer
- New - Dropdown Menu
- New - Editor Input
- New - Input
- New - Label
- New - Loader
- New - Menu Item
- New - Progress Bar
- New - Progress Steps
- New - Radio Button Group
- New - Search
- New - Select
- New - Sidebar
- New - Skeleton
- New - Switch
- New - Tabs
- New - Text Area
- New - Title
- New - Toaster
- New - Tooltip
- New - Topbar
1 change: 1 addition & 0 deletions dist/_commonjsHelpers-DKOUU3wS.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"use strict";var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}exports.commonjsGlobal=o;exports.getDefaultExportFromCjs=l;
8 changes: 8 additions & 0 deletions dist/_commonjsHelpers-DaMA6jEr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function l(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
export {
o as c,
l as g
};
277 changes: 277 additions & 0 deletions dist/force-ui.cjs

Large diffs are not rendered by default.

Loading

0 comments on commit 4dae311

Please sign in to comment.