diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index d002974d3..000000000 --- a/.eslintrc.js +++ /dev/null @@ -1,99 +0,0 @@ -module.exports = { - root: true, - env: { - node: true, - jest: true - }, - extends: ['plugin:nuxt/recommended', 'plugin:vue/vue3-essential', 'prettier'], - parserOptions: { - parser: '@babel/eslint-parser', - requireConfigFile: false, - babelOptions: { - parserOpts: { - plugins: ['typescript'] - } - } - }, - plugins: ['prettier'], - ignorePatterns: ['**/public/**', '**/dist/**'], - rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-fallthrough': 'off', - 'vue/this-in-template': ['error', 'never'], - 'vue/multi-word-component-names': 'off', - 'vue/no-reserved-component-names': 'off', - 'vue/component-tags-order': [ - 'error', - { - order: ['template', 'script', 'style'] - } - ], - 'vue/require-explicit-emits': [ - 'error', - { - allowProps: false - } - ], - 'vue/attributes-order': [ - 'error', - { - order: ['CONDITIONALS', 'LIST_RENDERING', 'DEFINITION', ['UNIQUE', 'SLOT'], 'RENDER_MODIFIERS', 'GLOBAL', 'TWO_WAY_BINDING', 'OTHER_DIRECTIVES', ['OTHER_ATTR', 'EVENTS'], 'CONTENT'], - alphabetical: false - } - ], - 'vue/order-in-components': [ - 'error', - { - order: [ - 'el', - 'name', - 'key', - 'parent', - 'functional', - 'extends', - 'mixins', - ['delimiters', 'comments'], - 'ROUTER_GUARDS', - 'layout', - 'middleware', - 'validate', - 'scrollToTop', - 'transition', - 'loading', - 'inheritAttrs', - 'model', - 'emits', - 'setup', - 'fetch', - 'head', - ['props', 'propsData'], - ['provide', 'inject'], - 'asyncData', - 'data', - 'watch', - 'watchQuery', - 'LIFECYCLE_HOOKS', - 'methods', - 'computed', - ['components', 'directives', 'filters'], - ['template', 'render'], - 'renderError' - ] - } - ], - 'padding-line-between-statements': [ - 'error', - { blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' }, - { blankLine: 'any', prev: ['const', 'let', 'var'], next: ['const', 'let', 'var'] }, - { blankLine: 'any', prev: ['case', 'default'], next: 'break' }, - { blankLine: 'any', prev: 'case', next: 'case' }, - { blankLine: 'always', prev: '*', next: 'return' }, - { blankLine: 'always', prev: 'block', next: '*' }, - { blankLine: 'always', prev: '*', next: 'block' }, - { blankLine: 'always', prev: 'block-like', next: '*' }, - { blankLine: 'always', prev: '*', next: 'block-like' }, - { blankLine: 'always', prev: ['import'], next: ['const', 'let', 'var'] } - ] - } -}; diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index acdf57ea2..a57322272 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,4 +2,4 @@ When submitting a PR, please also create an issue documenting the error. ###Feature Requests -Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes. \ No newline at end of file +Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes. diff --git a/CHANGELOG.md b/CHANGELOG.md index 078118b91..581a92a5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,23 +6,23 @@ **Fixed bugs:** -- TreeTable: Row selected on click at node toggle icon [\#6932](https://github.com/primefaces/primevue/issues/6932) -- DatePicker: Date unformatted with initial date [\#6930](https://github.com/primefaces/primevue/issues/6930) -- MultiSelect: Fluid doesn't applying 100% width [\#6916](https://github.com/primefaces/primevue/issues/6916) -- Tabs: Scrollable tabs being skipped [\#6915](https://github.com/primefaces/primevue/issues/6915) -- ImageCompare: ARIA Attributes [\#6912](https://github.com/primefaces/primevue/issues/6912) -- DataTable: RowExpansion & RowSelection [\#6904](https://github.com/primefaces/primevue/issues/6904) -- FileUpload: fileLimit dosent prevent new items beeing pushed into Files[], when exceeded [\#6900](https://github.com/primefaces/primevue/issues/6900) -- Galleria: 'Indicator' Slot, Keyboard Accessibility Broken [\#6899](https://github.com/primefaces/primevue/issues/6899) -- Select: fluid doesnt apply properly [\#6896](https://github.com/primefaces/primevue/issues/6896) -- ScrollTop: icon pt implementation defect [\#6892](https://github.com/primefaces/primevue/issues/6892) -- Slider: While dragging the handle sometimes it breaks [\#6884](https://github.com/primefaces/primevue/issues/6884) -- SplitButton: Toast usages in examples for composition API are not correct [\#6879](https://github.com/primefaces/primevue/issues/6879) -- InputMask components fires @update:modelValue although value not changed [\#6868](https://github.com/primefaces/primevue/issues/6868) -- Carousel: Item disappear when there is only one item with autoplay and circular activated [\#6812](https://github.com/primefaces/primevue/issues/6812) -- DatePicker: manual input not working [\#6739](https://github.com/primefaces/primevue/issues/6739) -- SelectButton: allowEmpty does not stop unselecting [\#6718](https://github.com/primefaces/primevue/issues/6718) -- Form: type of v-slot="$form" is incorrect [\#6717](https://github.com/primefaces/primevue/issues/6717) +- TreeTable: Row selected on click at node toggle icon [\#6932](https://github.com/primefaces/primevue/issues/6932) +- DatePicker: Date unformatted with initial date [\#6930](https://github.com/primefaces/primevue/issues/6930) +- MultiSelect: Fluid doesn't applying 100% width [\#6916](https://github.com/primefaces/primevue/issues/6916) +- Tabs: Scrollable tabs being skipped [\#6915](https://github.com/primefaces/primevue/issues/6915) +- ImageCompare: ARIA Attributes [\#6912](https://github.com/primefaces/primevue/issues/6912) +- DataTable: RowExpansion & RowSelection [\#6904](https://github.com/primefaces/primevue/issues/6904) +- FileUpload: fileLimit dosent prevent new items beeing pushed into Files[], when exceeded [\#6900](https://github.com/primefaces/primevue/issues/6900) +- Galleria: 'Indicator' Slot, Keyboard Accessibility Broken [\#6899](https://github.com/primefaces/primevue/issues/6899) +- Select: fluid doesnt apply properly [\#6896](https://github.com/primefaces/primevue/issues/6896) +- ScrollTop: icon pt implementation defect [\#6892](https://github.com/primefaces/primevue/issues/6892) +- Slider: While dragging the handle sometimes it breaks [\#6884](https://github.com/primefaces/primevue/issues/6884) +- SplitButton: Toast usages in examples for composition API are not correct [\#6879](https://github.com/primefaces/primevue/issues/6879) +- InputMask components fires @update:modelValue although value not changed [\#6868](https://github.com/primefaces/primevue/issues/6868) +- Carousel: Item disappear when there is only one item with autoplay and circular activated [\#6812](https://github.com/primefaces/primevue/issues/6812) +- DatePicker: manual input not working [\#6739](https://github.com/primefaces/primevue/issues/6739) +- SelectButton: allowEmpty does not stop unselecting [\#6718](https://github.com/primefaces/primevue/issues/6718) +- Form: type of v-slot="$form" is incorrect [\#6717](https://github.com/primefaces/primevue/issues/6717) ## [4.2.4](https://github.com/primefaces/primevue/tree/4.2.4) (2024-11-27) @@ -30,14 +30,14 @@ **Fixed bugs:** -- Textarea filled variant fails in Material Theme [\#6878](https://github.com/primefaces/primevue/issues/6878) -- InputText: Missing attributes such as placeholder. [\#6867](https://github.com/primefaces/primevue/issues/6867) -- Chip component's removable Icon uses aria-hidden [\#6864](https://github.com/primefaces/primevue/issues/6864) -- ToggleSwitch: Material theme switch uncentered handle [\#6859](https://github.com/primefaces/primevue/issues/6859) -- TreeTable: Checkbox selectable does not work [\#6849](https://github.com/primefaces/primevue/issues/6849) -- Knob: Incorrect TypeScript Definition for valueTemplate (not supporting plain strings) [\#6843](https://github.com/primefaces/primevue/issues/6843) -- InputNumber: selection state is not changed when pressing arrow right and arrow left [\#6837](https://github.com/primefaces/primevue/issues/6837) -- Virtual scroller: step prop in delay mode breaks the component [\#6776](https://github.com/primefaces/primevue/issues/6776) +- Textarea filled variant fails in Material Theme [\#6878](https://github.com/primefaces/primevue/issues/6878) +- InputText: Missing attributes such as placeholder. [\#6867](https://github.com/primefaces/primevue/issues/6867) +- Chip component's removable Icon uses aria-hidden [\#6864](https://github.com/primefaces/primevue/issues/6864) +- ToggleSwitch: Material theme switch uncentered handle [\#6859](https://github.com/primefaces/primevue/issues/6859) +- TreeTable: Checkbox selectable does not work [\#6849](https://github.com/primefaces/primevue/issues/6849) +- Knob: Incorrect TypeScript Definition for valueTemplate (not supporting plain strings) [\#6843](https://github.com/primefaces/primevue/issues/6843) +- InputNumber: selection state is not changed when pressing arrow right and arrow left [\#6837](https://github.com/primefaces/primevue/issues/6837) +- Virtual scroller: step prop in delay mode breaks the component [\#6776](https://github.com/primefaces/primevue/issues/6776) ## [4.2.3](https://github.com/primefaces/primevue/tree/4.2.3) (2024-11-22) @@ -45,24 +45,24 @@ **Fixed bugs:** -- Drawer: RTL position bug [\#6827](https://github.com/primefaces/primevue/issues/6827) -- Tabs: Mismatch between prop "value" and emit update:value [\#6825](https://github.com/primefaces/primevue/issues/6825) -- DatePicker: Wrong hour displayed for midnight when set to timeOnly and 24h [\#6824](https://github.com/primefaces/primevue/issues/6824) -- Material: filled mode InputNumber defects [\#6823](https://github.com/primefaces/primevue/issues/6823) -- Material: filled mode InputGroup defects [\#6820](https://github.com/primefaces/primevue/issues/6820) -- Tree: Wrong passThrough option in documentation [\#6818](https://github.com/primefaces/primevue/issues/6818) -- PanelMenu: wrong value of the hasSubmenu slot prop [\#6815](https://github.com/primefaces/primevue/issues/6815) -- ToggleButton:   when label is empty [\#6809](https://github.com/primefaces/primevue/issues/6809) -- DataTable: Hover CSS rule not applied [\#6796](https://github.com/primefaces/primevue/issues/6796) -- ColorPicker: Showing Text Cursor on Focus [\#6795](https://github.com/primefaces/primevue/issues/6795) -- Select: Cannot read properties of null (reading '$el') - filter and auto-filter-focus error [\#6793](https://github.com/primefaces/primevue/issues/6793) -- Step: Cannot disable custom step element [\#6763](https://github.com/primefaces/primevue/issues/6763) -- InputText: Interface 'InputTextProps' incorrectly extends interface 'InputHTMLAttributes'. Password: Interface 'PasswordProps' incorrectly extends interface 'InputHTMLAttributes'. [\#5480](https://github.com/primefaces/primevue/issues/5480) +- Drawer: RTL position bug [\#6827](https://github.com/primefaces/primevue/issues/6827) +- Tabs: Mismatch between prop "value" and emit update:value [\#6825](https://github.com/primefaces/primevue/issues/6825) +- DatePicker: Wrong hour displayed for midnight when set to timeOnly and 24h [\#6824](https://github.com/primefaces/primevue/issues/6824) +- Material: filled mode InputNumber defects [\#6823](https://github.com/primefaces/primevue/issues/6823) +- Material: filled mode InputGroup defects [\#6820](https://github.com/primefaces/primevue/issues/6820) +- Tree: Wrong passThrough option in documentation [\#6818](https://github.com/primefaces/primevue/issues/6818) +- PanelMenu: wrong value of the hasSubmenu slot prop [\#6815](https://github.com/primefaces/primevue/issues/6815) +- ToggleButton:   when label is empty [\#6809](https://github.com/primefaces/primevue/issues/6809) +- DataTable: Hover CSS rule not applied [\#6796](https://github.com/primefaces/primevue/issues/6796) +- ColorPicker: Showing Text Cursor on Focus [\#6795](https://github.com/primefaces/primevue/issues/6795) +- Select: Cannot read properties of null (reading '$el') - filter and auto-filter-focus error [\#6793](https://github.com/primefaces/primevue/issues/6793) +- Step: Cannot disable custom step element [\#6763](https://github.com/primefaces/primevue/issues/6763) +- InputText: Interface 'InputTextProps' incorrectly extends interface 'InputHTMLAttributes'. Password: Interface 'PasswordProps' incorrectly extends interface 'InputHTMLAttributes'. [\#5480](https://github.com/primefaces/primevue/issues/5480) **Implemented New Features and Enhancements:** -- Improve RTL implementation [\#6826](https://github.com/primefaces/primevue/issues/6826) -- Better compatability with CSS libraries like Tailwind, Bootstrap [\#6822](https://github.com/primefaces/primevue/issues/6822) +- Improve RTL implementation [\#6826](https://github.com/primefaces/primevue/issues/6826) +- Better compatability with CSS libraries like Tailwind, Bootstrap [\#6822](https://github.com/primefaces/primevue/issues/6822) ## [4.2.2](https://github.com/primefaces/primevue/tree/4.2.2) (2024-11-14) @@ -70,40 +70,40 @@ **Fixed bugs:** -- Menubar: submenu icon rtl defects [\#6784](https://github.com/primefaces/primevue/issues/6784) -- Drawer: dismissable mode behaviour defects [\#6779](https://github.com/primefaces/primevue/issues/6779) -- Component Name: InputNumber does not work on Android devices [\#6766](https://github.com/primefaces/primevue/issues/6766) -- Improve filter rule visuals [\#6761](https://github.com/primefaces/primevue/issues/6761) -- paginator rtl [\#6759](https://github.com/primefaces/primevue/issues/6759) -- Button: Variant "link" is not assignable [\#6756](https://github.com/primefaces/primevue/issues/6756) -- Timeline: rtl defect [\#6754](https://github.com/primefaces/primevue/issues/6754) -- Frozen Columns Header: value on Columns Header won't hidden [\#6745](https://github.com/primefaces/primevue/issues/6745) -- InputGroup: IconField is not supported in InputGroup [\#6743](https://github.com/primefaces/primevue/issues/6743) -- PanelMenu: rtl submenu icon rotate defect [\#6753](https://github.com/primefaces/primevue/issues/6753) -- Button: "loadingicon" slot has no class and data attribute [\#6747](https://github.com/primefaces/primevue/issues/6747) -- ToggleSwitch: does not switch visually when selecting Material theme [\#6735](https://github.com/primefaces/primevue/issues/6735) -- Checkbox: "update:indeterminate" is not added as available emit type. [\#6713](https://github.com/primefaces/primevue/issues/6713) -- Provide showEmptyMessage for AutoComplete [\#6773](https://github.com/primefaces/primevue/issues/6709) -- MegaMenu: type error in props model [\#6706](https://github.com/primefaces/primevue/issues/6706) -- MultiSelect: Unit test exception [\#6704](https://github.com/primefaces/primevue/issues/6704) -- DatePicker does not play well with ConfirmPopup. [\#6696](https://github.com/primefaces/primevue/issues/6696) -- Menu components: Blocked aria-hidden on an element error [\#6692](https://github.com/primefaces/primevue/issues/6692) -- DatePicker 12am to 12pm issue [\#6686](https://github.com/primefaces/primevue/issues/6686) -- Slider range operation bug [\#6649](https://github.com/primefaces/primevue/issues/6649) -- ListBox: @filter event must return filter options [\#6641](https://github.com/primefaces/primevue/issues/6641) -- Metergroup: Required icon [\#6639](https://github.com/primefaces/primevue/issues/6639) -- Drawer: missing 'after-hide' emit [\#6621](https://github.com/primefaces/primevue/issues/6621) -- InputText: Many props have a default of undefined but the docs say the default is null [\#6593](https://github.com/primefaces/primevue/issues/6593) -- ButtonGroup: Invalid alignement of icon and non-icon buttons [\#6556](https://github.com/primefaces/primevue/issues/6556) -- Select: throws an error with auto-filter-focus [\#6539](https://github.com/primefaces/primevue/issues/6539) -- DynamicDialog: Underlying dialog not destroyed [\#6535](https://github.com/primefaces/primevue/issues/6535) -- ConfirmPopup: Not positioned correctly when not used inside