Merge branch 'master' into issue-3940

pull/3943/head
Tuğçe Küçükoğlu 2023-08-16 10:07:02 +03:00
commit 5283d49b98
1063 changed files with 61270 additions and 23347 deletions

View File

@ -15,7 +15,7 @@ module.exports = {
} }
}, },
plugins: ['prettier'], plugins: ['prettier'],
ignorePatterns: ['**/public/**'], ignorePatterns: ['**/public/**', '**/dist/**'],
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
@ -92,7 +92,8 @@ module.exports = {
{ blankLine: 'always', prev: 'block', next: '*' }, { blankLine: 'always', prev: 'block', next: '*' },
{ blankLine: 'always', prev: '*', next: 'block' }, { blankLine: 'always', prev: '*', next: 'block' },
{ blankLine: 'always', prev: 'block-like', next: '*' }, { blankLine: 'always', prev: 'block-like', next: '*' },
{ blankLine: 'always', prev: '*', next: 'block-like' } { blankLine: 'always', prev: '*', next: 'block-like' },
{ blankLine: 'always', prev: ['import'], next: ['const', 'let', 'var'] }
] ]
} }
}; };

View File

@ -53,7 +53,7 @@ jobs:
run: | run: |
npm run security:check npm run security:check
- name: Unit Tests Check # - name: Unit Tests Check
if: ${{ success() }} # if: ${{ success() }}
run: | # run: |
npm run test:unit # npm run test:unit

View File

@ -1,5 +1,167 @@
# Changelog # Changelog
## [3.32.0](https://github.com/primefaces/primevue/tree/3.32.0) (2023-08-11)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.31.0...3.32.0)
**Breaking Changes:**
- Update `Tailwind` package in core [\#4255](https://github.com/primefaces/primevue/issues/4255)
**Implemented New Features and Enhancements:**
- Add `usePassThrough` method to customize default PT objects [\#4257](https://github.com/primefaces/primevue/issues/4257)
- AutoComplete: loading state [\#4253](https://github.com/primefaces/primevue/issues/4253)
- Add `Content Security Policy (CSP)` config [\#4241](https://github.com/primefaces/primevue/issues/4241)
- Core unstyled mode updates [\#4235](https://github.com/primefaces/primevue/issues/4235)
- Datatable: Cell Edit Numpad Enter not working [\#4232](https://github.com/primefaces/primevue/issues/4232)
- Add `transition` option to Pass Through\(PT\) of components [\#4231](https://github.com/primefaces/primevue/issues/4231)
- Add custom `global.css` option to Pass Through\(PT\) [\#4230](https://github.com/primefaces/primevue/issues/4230)
- Avatar: Return target in error event callback [\#4222](https://github.com/primefaces/primevue/issues/4222)
- Password: add "@change" event [\#4219](https://github.com/primefaces/primevue/issues/4219)
- PT context improvemens [\#4211](https://github.com/primefaces/primevue/issues/4211)
**Fixed bugs:**
- Dropdown: Click on icon line is ignored [\#4259](https://github.com/primefaces/primevue/issues/4259)
- Vue Tooltip: Flickering Issue [\#4256](https://github.com/primefaces/primevue/issues/4256)
- Image: preview button is missing `type="button"` and submits forms by default [\#4249](https://github.com/primefaces/primevue/issues/4249)
- SpeedDial: tooltip not working on speed dial [\#4238](https://github.com/primefaces/primevue/issues/4238)
- Dialog: unstyled mode pointer-event defects [\#4237](https://github.com/primefaces/primevue/issues/4237)
- Toast: Toast Icon is too small [\#4234](https://github.com/primefaces/primevue/issues/4234)
- Datatable: Filtering with grouping not working [\#4229](https://github.com/primefaces/primevue/issues/4229)
- Dropdown: Incorrect prop declaration [\#4225](https://github.com/primefaces/primevue/issues/4225)
- RadioButton: pt prop has incorrect type [\#4202](https://github.com/primefaces/primevue/issues/4202)
- TreeSelect: p-treeselect-items-wrapper is missing [\#4145](https://github.com/primefaces/primevue/issues/4145)
- SplitButton: menu icon not visible in large size [\#4028](https://github.com/primefaces/primevue/issues/4028)
- DataTable and TreeTable: Column sorting not working correctly when using custom header template [\#3702](https://github.com/primefaces/primevue/issues/3702)
## [3.31.0](https://github.com/primefaces/primevue/tree/3.31.0) (2023-07-25)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.30.2...3.31.0)
**Implemented New Features and Enhancements:**
- Tailwind Theme for Unstyled Mode [\#4205](https://github.com/primefaces/primevue/issues/4205)
- PT context improvements [\#4196](https://github.com/primefaces/primevue/issues/4196)
- Add item parameter to menuitem options for pt property [\#4190](https://github.com/primefaces/primevue/issues/4190)
**Fixed bugs:**
- Bootstrap: Breadcrumb icon fix [\#4195](https://github.com/primefaces/primevue/issues/4195)
- CascadeSelect unstyled mode defect [\#4192](https://github.com/primefaces/primevue/issues/4192)
- InputSwitch: pt prop has incorrect type [\#4187](https://github.com/primefaces/primevue/issues/4187)
- TabView: ID used in aria-controls does not exist on panel content div [\#4181](https://github.com/primefaces/primevue/issues/4181)
- Dropdown: default optionLabel and default optionValue are null \(but doc say, default to label and value\) [\#4174](https://github.com/primefaces/primevue/issues/4174)
- Image: Preview not closing on escape click [\#4089](https://github.com/primefaces/primevue/issues/4089)
## [3.30.2](https://github.com/primefaces/primevue/tree/3.30.2) (2023-07-20)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.30.1...3.30.2)
**Implemented New Features and Enhancements:**
- Rename `button` and `buttonIcon` pt options with `closeButton` and `closeIcon` options in Message and Toast [\#4159](https://github.com/primefaces/primevue/issues/4159)
- DataTable & TreeTable: new `size` property [\#4156](https://github.com/primefaces/primevue/issues/4156)
- Improve `pt` syntax for 'class' definitions [\#4150](https://github.com/primefaces/primevue/issues/4150)
- PT context improvements [\#4149](https://github.com/primefaces/primevue/issues/4149)
**Fixed bugs:**
- TabMenu: disabled item defect & accessibility improvements [\#4169](https://github.com/primefaces/primevue/issues/4169)
- OverlayPanel: Toggle on list of focusable elements forces screen jump [\#4167](https://github.com/primefaces/primevue/issues/4167)
- Global pt implementation defects [\#4163](https://github.com/primefaces/primevue/issues/4163)
- Multiselect: Custom checkbox render issue [\#4152](https://github.com/primefaces/primevue/issues/4152)
## [3.30.1](https://github.com/primefaces/primevue/tree/3.30.1) (2023-07-14)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.30.0...3.30.1)
**Implemented New Features and Enhancements:**
- Button: remove margin from default style [\#4139](https://github.com/primefaces/primevue/issues/4139)
- Improve `pt` options on components that use helper component [\#4136](https://github.com/primefaces/primevue/issues/4136)
- Pass Through Props: Syntactic improvement suggestion [\#4125](https://github.com/primefaces/primevue/issues/4125)
- PT context improvements [\#4124](https://github.com/primefaces/primevue/issues/4124)
**Fixed bugs:**
- TreeTable: Sorting does not work when clicking at the header title [\#4138](https://github.com/primefaces/primevue/issues/4138)
- Selection\(multiple and single\) not working in TreeTable [\#4133](https://github.com/primefaces/primevue/issues/4133)
- The types in PrimeVue config are not accessible [\#4122](https://github.com/primefaces/primevue/issues/4122)
- Browser CDN mode is not working as expected [\#4121](https://github.com/primefaces/primevue/issues/4121)
- TypeScript: changeTheme is not declared [\#4118](https://github.com/primefaces/primevue/issues/4118)
- Panel: Wrong prop type in `header` slot [\#4086](https://github.com/primefaces/primevue/issues/4086)
## [3.30.0](https://github.com/primefaces/primevue/tree/3.30.0) (2023-07-10)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.29.2...3.30.0)
**Implemented New Features and Enhancements:**
- InputText: `size` property [\#4106](https://github.com/primefaces/primevue/issues/4106)
- Add `hooks` keyword to `pt` options to access all lifecycle methods on components and directives [\#4103](https://github.com/primefaces/primevue/issues/4103)
- Pass all emits to templates on DynamicDialog [\#4102](https://github.com/primefaces/primevue/issues/4102)
- Improve `pt` options on components that use helper component [\#3983](https://github.com/primefaces/primevue/issues/3983)
- Add `unstyled` mode for all components [\#3965](https://github.com/primefaces/primevue/issues/3965)
**Fixed bugs:**
- Button: Button width is to small when have a icon and a badge only [\#4083](https://github.com/primefaces/primevue/issues/4083)
- SplitButton: aria-expanded not set correctly [\#4065](https://github.com/primefaces/primevue/issues/4065)
- Toast: Crashing when no severity value is provided [\#4063](https://github.com/primefaces/primevue/issues/4063)
- Positioning defect PrimeVue Button with icon slot [\#4042](https://github.com/primefaces/primevue/issues/4042)
- Tooltip: showDelay still triggers Tooltip when original element is removed [\#4029](https://github.com/primefaces/primevue/issues/4029)
- tooltip: hideDelay is not defined [\#4025](https://github.com/primefaces/primevue/issues/4025)
- `pt` implementation defects [\#4024](https://github.com/primefaces/primevue/issues/4024)
- FocusTrap.js writes to read-only property `classList` which causes test failures under happy-dom [\#4015](https://github.com/primefaces/primevue/issues/4015)
- The `getScrollableParents` method throws a exception in shadow dom [\#4014](https://github.com/primefaces/primevue/issues/4014)
- TreeTable: event propagation issue [\#4010](https://github.com/primefaces/primevue/issues/4010)
- Dynamic clipPath support for icons [\#3959](https://github.com/primefaces/primevue/issues/3959)
- Accordion: pt options for root applied twice [\#3955](https://github.com/primefaces/primevue/issues/3955)
- InputNumber: Incorrect formatting when in decimal mode with a suffix \(maybe all the time\) [\#3382](https://github.com/primefaces/primevue/issues/3382)
**Deprecated:**
- The `primevue[.min].css` has been deprecated [\#4110](https://github.com/primefaces/primevue/issues/4110)
## [3.29.2](https://github.com/primefaces/primevue/tree/3.29.2) (2023-05-31)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.29.1...3.29.2)
**Fixed bugs:**
- Datatable: Custom checkbox render issue [\#4003](https://github.com/primefaces/primevue/issues/4003)
## [3.29.1](https://github.com/primefaces/primevue/tree/3.29.1) (2023-05-15)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.29.0...3.29.1)
**Fixed bugs:**
- SpeedDial: Mask and SpeedDial itself prevent pointer events and speedDial does not close using item slot [\#3945](https://github.com/primefaces/primevue/issues/3945)
- DataTable: Selection and focus loss when no custom ContextMenu is defined [\#3927](https://github.com/primefaces/primevue/issues/3927)
- TabMenu: Accessibility issue in TabMenu with hidden tabs [\#3910](https://github.com/primefaces/primevue/issues/3910)
- Steps: text overflow [\#3631](https://github.com/primefaces/primevue/issues/3631)
## [3.29.0](https://github.com/primefaces/primevue/tree/3.29.0) (2023-05-11)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.28.0...3.29.0)
**Implemented New Features and Enhancements:**
- New passthrough\(pt\) property implementation for Data Components [\#3924](https://github.com/primefaces/primevue/issues/3924)
- New passthrough\(pt\) property implementation for Form Components [\#3922](https://github.com/primefaces/primevue/issues/3922)
- New passthrough\(pt\) property implementation for Media Components [\#3918](https://github.com/primefaces/primevue/issues/3918)
- Image: New `image` and `preview` slots [\#3864](https://github.com/primefaces/primevue/issues/3864)
- Tooltip Delay option [\#3764](https://github.com/primefaces/primevue/issues/3764)
- Image: Handling of disabled zoomOut and zoomIn in preview [\#2948](https://github.com/primefaces/primevue/issues/2948)
**Fixed bugs:**
- Calendar: showOnFocus=false does not work [\#3923](https://github.com/primefaces/primevue/issues/3923)
- OrderList: TypeError with empty list [\#3870](https://github.com/primefaces/primevue/issues/3870)
## [3.28.0](https://github.com/primefaces/primevue/tree/3.28.0) (2023-05-02) ## [3.28.0](https://github.com/primefaces/primevue/tree/3.28.0) (2023-05-02)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.27.0...3.28.0) [Full Changelog](https://github.com/primefaces/primevue/compare/3.27.0...3.28.0)
@ -65,7 +227,7 @@
- Api: Typing mismatch [\#3806](https://github.com/primefaces/primevue/issues/3806) - Api: Typing mismatch [\#3806](https://github.com/primefaces/primevue/issues/3806)
- DataTable: Row edits when enabled doesn't work with pagination [\#3801](https://github.com/primefaces/primevue/issues/3801) - DataTable: Row edits when enabled doesn't work with pagination [\#3801](https://github.com/primefaces/primevue/issues/3801)
- Calendar: Page scrolls to top when clicked on calendar icon [\#3791](https://github.com/primefaces/primevue/issues/3791) - Calendar: Page scrolls to top when clicked on calendar icon [\#3791](https://github.com/primefaces/primevue/issues/3791)
- Splitter: a couple of errors related to aria-* attributes [\#3783](https://github.com/primefaces/primevue/issues/3783) - Splitter: a couple of errors related to aria-\* attributes [\#3783](https://github.com/primefaces/primevue/issues/3783)
- DataTable: Group Rows do not span all Columns with Selection Mode set and group-by not in the Column list [\#3781](https://github.com/primefaces/primevue/issues/3781) - DataTable: Group Rows do not span all Columns with Selection Mode set and group-by not in the Column list [\#3781](https://github.com/primefaces/primevue/issues/3781)
- DataTable: the table disappears when using scrollHeight="flex" and virtual scrolling [\#3772](https://github.com/primefaces/primevue/issues/3772) - DataTable: the table disappears when using scrollHeight="flex" and virtual scrolling [\#3772](https://github.com/primefaces/primevue/issues/3772)
@ -431,7 +593,6 @@
- MultiSelect: Scroll to focused item on select [\#2957](https://github.com/primefaces/primevue/issues/2957) - MultiSelect: Scroll to focused item on select [\#2957](https://github.com/primefaces/primevue/issues/2957)
- Toast: Close button resizes on longer text [\#2949](https://github.com/primefaces/primevue/issues/2949) - Toast: Close button resizes on longer text [\#2949](https://github.com/primefaces/primevue/issues/2949)
## [3.17.0](https://github.com/primefaces/primevue/tree/3.17.0) (2022-09-08) ## [3.17.0](https://github.com/primefaces/primevue/tree/3.17.0) (2022-09-08)
[Full Changelog](https://github.com/primefaces/primevue/compare/3.16.2...3.17.0) [Full Changelog](https://github.com/primefaces/primevue/compare/3.16.2...3.17.0)
@ -513,6 +674,7 @@
[Full Changelog](https://github.com/primefaces/primevue/compare/3.15.0...3.16.0) [Full Changelog](https://github.com/primefaces/primevue/compare/3.15.0...3.16.0)
**Breaking Changes:** **Breaking Changes:**
- Accessibility for Form Components [\#2838](https://github.com/primefaces/primevue/issues/2838) - Accessibility for Form Components [\#2838](https://github.com/primefaces/primevue/issues/2838)
- Improve CascadeSelect implementation for Accessibility [\#2831](https://github.com/primefaces/primevue/issues/2831) - Improve CascadeSelect implementation for Accessibility [\#2831](https://github.com/primefaces/primevue/issues/2831)
- Improve AutoComplete implementation for Accessibility [\#2822](https://github.com/primefaces/primevue/issues/2822) - Improve AutoComplete implementation for Accessibility [\#2822](https://github.com/primefaces/primevue/issues/2822)
@ -844,6 +1006,7 @@
[Full Changelog](https://github.com/primefaces/primevue/compare/3.9.0...3.9.1) [Full Changelog](https://github.com/primefaces/primevue/compare/3.9.0...3.9.1)
**Breaking Changes:** **Breaking Changes:**
- Rename slots for toolbar [\#1761](https://github.com/primefaces/primevue/issues/1761) - Rename slots for toolbar [\#1761](https://github.com/primefaces/primevue/issues/1761)
## [3.9.0](https://github.com/primefaces/primevue/tree/3.9.0) (2021-11-18) ## [3.9.0](https://github.com/primefaces/primevue/tree/3.9.0) (2021-11-18)
@ -2033,6 +2196,7 @@
- Chip Component [\#778](https://github.com/primefaces/primevue/issues/778) - Chip Component [\#778](https://github.com/primefaces/primevue/issues/778)
**Fixed bugs:** **Fixed bugs:**
- Vertical Slider [\#780](https://github.com/primefaces/primevue/issues/780) - Vertical Slider [\#780](https://github.com/primefaces/primevue/issues/780)
## [2.2.3](https://github.com/primefaces/primevue/tree/2.2.3) (2020-12-14) ## [2.2.3](https://github.com/primefaces/primevue/tree/2.2.3) (2020-12-14)
@ -2372,6 +2536,7 @@
- Decouple MegaMenu from PrimeFlex [\#295](https://github.com/primefaces/primevue/issues/295) - Decouple MegaMenu from PrimeFlex [\#295](https://github.com/primefaces/primevue/issues/295)
**Breaking Changes:** **Breaking Changes:**
- Remove Spinner [\#287](https://github.com/primefaces/primevue/issues/287) - Remove Spinner [\#287](https://github.com/primefaces/primevue/issues/287)
- Rename ValidationMessage to InlineMessage [\#301](https://github.com/primefaces/primevue/issues/301) - Rename ValidationMessage to InlineMessage [\#301](https://github.com/primefaces/primevue/issues/301)
- Refactor Messages css naming [\#302](https://github.com/primefaces/primevue/issues/302) - Refactor Messages css naming [\#302](https://github.com/primefaces/primevue/issues/302)
@ -2437,7 +2602,6 @@
- Textarea with autoResize true not displayed correctly when initially hidden [\#274](https://github.com/primefaces/primevue/issues/274) - Textarea with autoResize true not displayed correctly when initially hidden [\#274](https://github.com/primefaces/primevue/issues/274)
- Calendar is not empty when the v-model is null [\#270](https://github.com/primefaces/primevue/issues/270) - Calendar is not empty when the v-model is null [\#270](https://github.com/primefaces/primevue/issues/270)
## [1.2.0](https://github.com/primefaces/primevue/tree/1.2.0) (2020-04-17) ## [1.2.0](https://github.com/primefaces/primevue/tree/1.2.0) (2020-04-17)
[Full Changelog](https://github.com/primefaces/primevue/compare/1.0.6...1.1.0) [Full Changelog](https://github.com/primefaces/primevue/compare/1.0.6...1.1.0)
@ -2847,6 +3011,4 @@
[Full Changelog](https://github.com/primefaces/primevue/compare/9d2c525d528c9bd6f306c6f550e3f0eef7879054...1.0.0-beta.1) [Full Changelog](https://github.com/primefaces/primevue/compare/9d2c525d528c9bd6f306c6f550e3f0eef7879054...1.0.0-beta.1)
\* _This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)_
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

View File

@ -33,17 +33,16 @@ const app = createApp(App);
app.use(PrimeVue); app.use(PrimeVue);
``` ```
## Styles ## Theming
PrimeVue has two theming has modes; styled or unstyled.
Theme, core and icons are the necessary css files of the components, visit the [Themes](https://primevue.org/theming) section for the complete list of available themes to choose from. **Styled Mode**
Styled mode is based on pre-skinned components with opinionated themes like Material, Bootstrap or PrimeOne themes. Theme is the required css file to be imported, visit the [Themes](https://primevue.org/theming) section for the complete list of available themes to choose from.
```javascript ```javascript
// theme // theme
import 'primevue/resources/themes/lara-light-blue/theme.css'; import 'primevue/resources/themes/lara-light-blue/theme.css';
// core
import 'primevue/resources/primevue.min.css';
``` ```
Each PrimeVue theme has its own font family so it is suggested to apply it to your application for a unified look. Each PrimeVue theme has its own font family so it is suggested to apply it to your application for a unified look.
@ -54,7 +53,17 @@ body {
} }
``` ```
**Unstyled Mode**
Unstyled mode is disabled by default for all components. Using the PrimeVue plugin during installation, set `unstyled` as true to enable it globally. Visit the [Unstyled mode](https://primevue.org/unstyled) documentation for more information and examples.
```javascript
import { createApp } from "vue";
import PrimeVue from "primevue/config";
const app = createApp(App);
app.use(PrimeVue, { unstyled: true });
```
## Usage ## Usage
@ -92,8 +101,7 @@ Open the nuxt configuration file and add the css dependencies.
```javascript ```javascript
export default defineNuxtConfig({ export default defineNuxtConfig({
css: [ css: [
"primevue/resources/themes/lara-light-blue/theme.css", "primevue/resources/themes/lara-light-blue/theme.css"
"primevue/resources/primevue.css"
], ],
build: { build: {
transpile: ["primevue"] transpile: ["primevue"]

View File

@ -45,7 +45,13 @@ const AccordionProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,13 +21,13 @@ const AccordionTabProps = [
name: 'headerProps', name: 'headerProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the tab header.' description: 'Used to pass all properties of the HTMLDivElement to the tab header.'
}, },
{ {
name: 'headerActionProps', name: 'headerActionProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.' description: 'Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
}, },
{ {
name: 'contentStyle', name: 'contentStyle',
@ -45,7 +45,7 @@ const AccordionTabProps = [
name: 'contentProps', name: 'contentProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the tab content.' description: 'Used to pass all properties of the HTMLDivElement to the tab content.'
}, },
{ {
name: 'disabled', name: 'disabled',
@ -57,7 +57,7 @@ const AccordionTabProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View File

@ -77,6 +77,12 @@ const AutoCompleteProps = [
default: 'null', default: 'null',
description: 'Default text to display when no option is selected.' description: 'Default text to display when no option is selected.'
}, },
{
name: 'loading',
type: 'boolean',
default: 'false',
description: 'Whether the multiselect is in loading state.'
},
{ {
name: 'disabled', name: 'disabled',
type: 'boolean', type: 'boolean',
@ -141,7 +147,7 @@ const AutoCompleteProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -159,7 +165,7 @@ const AutoCompleteProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'dropdownIcon', name: 'dropdownIcon',
@ -255,7 +261,13 @@ const AutoCompleteProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -33,7 +33,13 @@ const AvatarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];
@ -47,7 +53,14 @@ const AvatarSlots = [
const AvatarEvents = [ const AvatarEvents = [
{ {
name: 'error', name: 'error',
description: 'Triggered when an error occurs while loading an image file.' description: 'Triggered when an error occurs while loading an image file.',
arguments: [
{
name: 'event',
type: 'object',
description: 'Browser event'
}
]
} }
]; ];

View File

@ -33,7 +33,13 @@ const AvatarGroupProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const BadgeProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -27,7 +27,13 @@ const BlockUIProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const BreadcrumbProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -99,7 +99,13 @@ const ButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -297,7 +297,7 @@ const CalendarProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelClass', name: 'panelClass',
@ -315,13 +315,19 @@ const CalendarProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -1,3 +1,18 @@
const CardProps = [
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
const CardSlots = [ const CardSlots = [
{ {
name: 'header', name: 'header',
@ -25,6 +40,7 @@ module.exports = {
card: { card: {
name: 'Card', name: 'Card',
description: 'Card is a flexible container component.', description: 'Card is a flexible container component.',
props: CardProps,
slots: CardSlots slots: CardSlots
} }
}; };

View File

@ -87,7 +87,13 @@ const CarouselProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -75,7 +75,7 @@ const CascadeSelectProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -93,7 +93,7 @@ const CascadeSelectProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'appendTo', name: 'appendTo',
@ -189,7 +189,13 @@ const CascadeSelectProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const ChartProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -75,7 +75,7 @@ const CheckboxProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'aria-labelledby', name: 'aria-labelledby',
@ -93,7 +93,13 @@ const CheckboxProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -33,7 +33,13 @@ const ChipProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -63,13 +63,19 @@ const ChipsProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -75,7 +75,13 @@ const ColorPickerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -255,7 +255,7 @@ const ColumnProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View File

@ -1,7 +1,23 @@
const ColumnGroupProps = [
{
name: 'type',
type: 'string',
default: 'null',
description: 'Defines the type of the group.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Used to pass attributes to DOM elements inside the component.'
}
];
module.exports = { module.exports = {
columngroup: { columngroup: {
name: 'ColumnGroup', name: 'ColumnGroup',
description: 'Columns can be grouped at header and footer sections by defining a ColumnGroup with nested rows and columns', description: 'Columns can be grouped at header and footer sections by defining a ColumnGroup with nested rows and columns',
'doc-url': 'datatable' 'doc-url': 'datatable',
props: ColumnGroupProps
} }
}; };

View File

@ -21,7 +21,13 @@ const ConfirmDialogProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -9,7 +9,13 @@ const ConfirmPopupProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const ContextMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -366,6 +366,12 @@ const DataTableProps = [
default: 'false', default: 'false',
description: 'Whether to displays rows with alternating colors.' description: 'Whether to displays rows with alternating colors.'
}, },
{
name: 'size',
type: 'string',
default: 'null',
description: 'Defines the size of the table.'
},
{ {
name: 'tableStyle', name: 'tableStyle',
type: 'object', type: 'object',
@ -382,7 +388,13 @@ const DataTableProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -99,7 +99,13 @@ const DataViewProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -9,7 +9,7 @@ const DataViewLayoutOptionsProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View File

@ -3,7 +3,13 @@ const DeferredContentProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -135,7 +135,13 @@ const DialogProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const DividerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const DockProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -129,7 +129,7 @@ const DropdownProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -147,19 +147,19 @@ const DropdownProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'filterInputProps', name: 'filterInputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the filter input inside the component.'
}, },
{ {
name: 'clearIconProps', name: 'clearIconProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLElement to the clear icon inside the component.' description: 'Used to pass all properties of the HTMLElement to the clear icon inside the component.'
}, },
{ {
name: 'appendTo', name: 'appendTo',
@ -261,7 +261,13 @@ const DropdownProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const EditorProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,13 +21,19 @@ const FieldsetProps = [
name: 'toggleButtonProps', name: 'toggleButtonProps',
type: 'string', type: 'string',
default: 'null', default: 'null',
description: 'Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component.' description: 'Used to pass the custom value to read for the AnchorHTMLAttributes inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -147,7 +147,13 @@ const FileUploadProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -147,7 +147,13 @@ const GalleriaProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -11,11 +11,29 @@ const ImageProps = [
default: 'pi pi-eye', default: 'pi pi-eye',
description: 'Custom indicator icon.' description: 'Custom indicator icon.'
}, },
{
name: 'zoomInDisabled',
type: 'boolean',
default: 'false',
description: 'Disable the zoom-in button'
},
{
name: 'zoomOutDisabled',
type: 'boolean',
default: 'false',
description: 'Disable the zoom-out button'
},
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -15,7 +15,13 @@ const InlineMessageProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const InplaceProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -33,7 +33,13 @@ const InputMaskProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -169,25 +169,31 @@ const InputNumberProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'incrementButtonProps', name: 'incrementButtonProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to increment button inside the component.' description: 'Used to pass all properties of the HTMLButtonElement to increment button inside the component.'
}, },
{ {
name: 'decrementButtonProps', name: 'decrementButtonProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to decrement button inside the component.' description: 'Used to pass all properties of the HTMLButtonElement to decrement button inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,13 +39,19 @@ const InputSwitchProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -5,11 +5,23 @@ const InputTextProps = [
default: 'null', default: 'null',
description: 'Value of the component.' description: 'Value of the component.'
}, },
{
name: 'size',
type: 'string',
default: 'null',
description: 'Defines the size of the component, valid values are "small" and "large".'
},
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -99,7 +99,13 @@ const KnobProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -106,7 +106,7 @@ const ListboxProps = [
name: 'filterInputProps', name: 'filterInputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the filter input inside the component.'
}, },
{ {
name: 'virtualScrollerOptions', name: 'virtualScrollerOptions',
@ -178,7 +178,13 @@ const ListboxProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const MegaMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const MenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -15,7 +15,13 @@ const MenubarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const MessageProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -69,7 +69,7 @@ const MultiSelectProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -87,19 +87,19 @@ const MultiSelectProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel.'
}, },
{ {
name: 'filterInputProps', name: 'filterInputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.' description: 'Used to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.'
}, },
{ {
name: 'closeButtonProps', name: 'closeButtonProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the close button inside the overlay panel.' description: 'Used to pass all properties of the HTMLButtonElement to the close button inside the overlay panel.'
}, },
{ {
name: 'dataKey', name: 'dataKey',
@ -297,7 +297,13 @@ const MultiSelectProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -52,7 +52,13 @@ const OrderListProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -28,6 +28,18 @@ const OrganizationChartProps = [
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'A map instance of key-value pairs to represented the collapsed nodes.' description: 'A map instance of key-value pairs to represented the collapsed nodes.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -51,7 +51,13 @@ const OverlayPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -51,7 +51,13 @@ const PaginatorProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,13 +21,19 @@ const PanelProps = [
name: 'toggleButtonProps', name: 'toggleButtonProps',
type: 'string', type: 'string',
default: 'null', default: 'null',
description: 'Uses to pass the custom value to read for the anchor inside the component.' description: 'Used to pass the custom value to read for the anchor inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const PanelMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -111,7 +111,7 @@ const PasswordProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelId', name: 'panelId',
@ -135,13 +135,19 @@ const PasswordProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];
@ -168,11 +174,26 @@ const PasswordSlots = [
} }
]; ];
const PasswordEmits = [
{
name: 'change',
description: 'Callback to invoke on value change.',
arguments: [
{
name: 'event',
type: 'object',
description: 'Browser event'
}
]
}
];
module.exports = { module.exports = {
password: { password: {
name: 'Password', name: 'Password',
description: 'Password displays strength indicator for password fields.', description: 'Password displays strength indicator for password fields.',
props: PasswordProps, props: PasswordProps,
slots: PasswordSlots slots: PasswordSlots,
events: PasswordEmits
} }
}; };

View File

@ -64,7 +64,13 @@ const PickListProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const ProgressbarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const ProgressSpinnerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -45,7 +45,7 @@ const RadioButtonProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'aria-labelledby', name: 'aria-labelledby',
@ -63,7 +63,13 @@ const RadioButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -51,7 +51,13 @@ const RatingProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -1,7 +1,23 @@
const RowProps = [
{
name: 'type',
type: 'string',
default: 'null',
description: 'Defines the type of the group.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Used to pass attributes to DOM elements inside the component.'
}
];
module.exports = { module.exports = {
row: { row: {
name: 'Row', name: 'Row',
description: 'DataTable can be grouped by defining a Row component with nested columns', description: 'DataTable can be grouped by defining a Row component with nested columns',
'doc-url': 'datatable' 'doc-url': 'datatable',
props: RowProps
} }
}; };

View File

@ -9,7 +9,13 @@ const ScrollPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -27,7 +27,13 @@ const ScrollTopProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -63,7 +63,13 @@ const SelectButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -63,7 +63,13 @@ const SidebarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const SkeletonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -63,7 +63,13 @@ const SliderProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -111,7 +111,13 @@ const SpeedDialProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -105,7 +105,13 @@ const SplitButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -33,7 +33,13 @@ const SplitterProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -15,7 +15,7 @@ const SplitterPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View File

@ -27,7 +27,13 @@ const StepsProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,7 +21,13 @@ const TabMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -21,13 +21,13 @@ const TabPanelProps = [
name: 'headerProps', name: 'headerProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLLiElement to the tab header.' description: 'Used to pass all properties of the HTMLLiElement to the tab header.'
}, },
{ {
name: 'headerActionProps', name: 'headerActionProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.' description: 'Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
}, },
{ {
name: 'contentStyle', name: 'contentStyle',
@ -45,7 +45,7 @@ const TabPanelProps = [
name: 'contentProps', name: 'contentProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the tab content.' description: 'Used to pass all properties of the HTMLDivElement to the tab content.'
}, },
{ {
name: 'disabled', name: 'disabled',
@ -57,7 +57,7 @@ const TabPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View File

@ -33,13 +33,13 @@ const TabViewProps = [
name: 'previousButtonProps', name: 'previousButtonProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the previous button.' description: 'Used to pass all properties of the HTMLButtonElement to the previous button.'
}, },
{ {
name: 'nextButtonProps', name: 'nextButtonProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the next button.' description: 'Used to pass all properties of the HTMLButtonElement to the next button.'
}, },
{ {
name: 'prevIcon', name: 'prevIcon',
@ -57,7 +57,13 @@ const TabViewProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -27,7 +27,13 @@ const TagProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -15,7 +15,13 @@ const TerminalProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -15,7 +15,13 @@ const TextareaProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -39,7 +39,13 @@ const TieredMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -22,6 +22,18 @@ const TimelineProps = [
type: 'string', type: 'string',
default: 'null', default: 'null',
description: 'Name of the field that uniquely identifies the a record in the data.' description: 'Name of the field that uniquely identifies the a record in the data.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -33,7 +33,13 @@ const ToastProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -69,13 +69,19 @@ const ToggleButtonProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -9,7 +9,13 @@ const ToolbarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -82,7 +82,13 @@ const TreeProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -106,7 +106,13 @@ const TreeSelectProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -221,6 +221,24 @@ const TreeTableProps = [
type: 'string', type: 'string',
default: 'null', default: 'null',
description: 'Defines the responsive mode, currently only option is scroll.' description: 'Defines the responsive mode, currently only option is scroll.'
},
{
name: 'size',
type: 'string',
default: 'null',
description: 'Defines the size of the table.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -27,7 +27,7 @@ const TriStateCheckboxProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'aria-labelledby', name: 'aria-labelledby',
@ -45,7 +45,13 @@ const TriStateCheckboxProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
} }
]; ];

View File

@ -106,7 +106,7 @@ const VirtualScrollerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View File

@ -1,8 +1,8 @@
{ {
"id": 37, "id": 41,
"content": "Unstyled mode preview featuring Tailwind.", "content": "Summer Sale | Up to 50% Off",
"linkText": "Learn More", "linkText": "Learn More",
"linkHref": "https://youtu.be/JpYIX3V96gs", "linkHref": "https://www.primefaces.org/store",
"backgroundStyle": "background-color:#4f8ff7", "backgroundStyle": "background-color:#4f8ff7",
"textStyle": "color:#ffffff;font-weight:500", "textStyle": "color:#ffffff;font-weight:500",
"linkStyle": "color:#ffffff;font-weight:700;text-decoration: underline;" "linkStyle": "color:#ffffff;font-weight:700;text-decoration: underline;"

View File

@ -11,10 +11,6 @@
{ {
"name": "Configuration", "name": "Configuration",
"to": "/configuration" "to": "/configuration"
},
{
"name": "Accessibility",
"to": "/accessibility"
} }
] ]
}, },
@ -430,6 +426,9 @@
{ {
"name": "Theming", "name": "Theming",
"icon": "pi pi-palette", "icon": "pi pi-palette",
"children": [
{
"name": "Styled Mode",
"children": [ "children": [
{ {
"name": "Overview", "name": "Overview",
@ -449,6 +448,34 @@
} }
] ]
}, },
{
"name": "Unstyled Mode",
"children": [
{
"name": "Overview",
"to": "/unstyled"
},
{
"name": "Tailwind",
"to": "/tailwind"
},
{
"name": "Bootstrap",
"to": "/bootstrap"
},
{
"name": "Bulma",
"to": "/bulma"
}
]
}
]
},
{
"name": "Pass Through",
"icon": "pi pi-directions",
"to": "/passthrough"
},
{ {
"name": "Figma UI Kit", "name": "Figma UI Kit",
"icon": "pi pi-pencil", "icon": "pi pi-pencil",
@ -481,7 +508,12 @@
{ {
"name": "PrimeFlex CSS", "name": "PrimeFlex CSS",
"icon": "pi pi-table", "icon": "pi pi-table",
"href": "https://www.primefaces.org/primeflex" "href": "https://primeflex.org"
},
{
"name": "Accessibility",
"icon": "pi pi-users",
"to": "/accessibility"
}, },
{ {
"name": "Support", "name": "Support",

View File

@ -74,3 +74,26 @@ input[type="number"] {
.p-toast.p-toast-top-left { .p-toast.p-toast-top-left {
top: 7rem; top: 7rem;
} }
.px-link {
font-size: 1rem;
font-family: var(--font-family);
border-radius: var(--border-radius);
text-align: left;
background-color: transparent;
margin: 0;
padding: 0;
border: none;
cursor: pointer;
user-select: none;
}
.px-link:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: var(--focus-ring);
}
.px-link:disabled {
cursor: default;
}

View File

@ -1,10 +1,11 @@
.doc-tabmenu { .doc-tabmenu {
list-style: none; list-style: none;
margin: 0 17rem 0 0; margin: 0 17rem 0 0;
padding: 0; padding: 0 0 1px 0;
display: flex; display: flex;
margin-bottom: 2rem; margin-bottom: 2rem;
border-bottom: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
overflow: auto;
li { li {
margin-bottom: -1px; margin-bottom: -1px;
@ -13,7 +14,7 @@
background-color: transparent; background-color: transparent;
border: 0 none; border: 0 none;
display: block; display: block;
padding: 1rem 0; padding: 1rem 2rem;
min-width: 12rem; min-width: 12rem;
text-align: center; text-align: center;
color: var(--text-color-secondary); color: var(--text-color-secondary);
@ -25,6 +26,7 @@
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
border-top-right-radius: var(--border-round); border-top-right-radius: var(--border-round);
border-top-left-radius: var(--border-round); border-top-left-radius: var(--border-round);
white-space: nowrap;
&:hover { &:hover {
border-bottom-color: var(--text-color); border-bottom-color: var(--text-color);
@ -42,6 +44,10 @@
} }
} }
} }
&::-webkit-scrollbar {
display: none;
}
} }
.doc-tabpanel, .doc-tabpanel,
@ -160,7 +166,7 @@
> .navbar-item-content { > .navbar-item-content {
display: flex; display: flex;
.p-link { .px-link {
padding: 0.25rem 1rem 0.25rem 1rem; padding: 0.25rem 1rem 0.25rem 1rem;
color: var(--text-color); color: var(--text-color);
white-space: nowrap; white-space: nowrap;
@ -178,7 +184,7 @@
> .navbar-item-content { > .navbar-item-content {
border-color: var(--primary-color); border-color: var(--primary-color);
.p-link { .px-link {
font-weight: 700; font-weight: 700;
color: var(--primary-color); color: var(--primary-color);
} }
@ -269,6 +275,14 @@
text-decoration: underline; text-decoration: underline;
} }
} }
.doc-option-type-options-container {
display: flex;
align-items: center;
}
span.doc-option-type-options {
color: var(--primary-700);
}
} }
&.doc-option-default { &.doc-option-default {
@ -283,7 +297,7 @@
} }
.doc-option-name, .doc-option-name,
> i { > i:not(.pi) {
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace;
position: relative; position: relative;
scroll-margin-top: 6.5rem; scroll-margin-top: 6.5rem;

View File

@ -6,7 +6,7 @@
left: 250px; left: 250px;
width: calc(100% - 250px); width: calc(100% - 250px);
z-index: 1100; z-index: 1100;
border-bottom: 1px solid var(--surface-border); transition: background-color 1s;
.layout-topbar-inner { .layout-topbar-inner {
height: 100%; height: 100%;
@ -41,3 +41,20 @@
} }
} }
} }
.layout-wrapper-light {
.layout-topbar {
&.layout-topbar-sticky {
background-color: rgba(255,255,255,.7);
}
}
}
.layout-wrapper-dark {
.layout-topbar {
&.layout-topbar-sticky {
background-color: rgba(0,0,0,.3);
}
}
}

View File

@ -1,9 +1,3 @@
@import '../../components/lib/common/Common.css'; /**
@import '../../components/lib/badge/Badge.css'; * The primevue[.min].css has been deprecated. In order not to break existing projects, it is currently included in the build as an empty file.
@import '../../components/lib/button/Button.css'; */
@import '../../components/lib/checkbox/Checkbox.css';
@import '../../components/lib/colorpicker/ColorPicker.css';
@import '../../components/lib/inputtext/InputText.css';
@import '../../components/lib/radiobutton/RadioButton.css';
@import '../../components/lib/ripple/Ripple.css';
@import '../../components/lib/tooltip/Tooltip.css';

View File

@ -15,6 +15,7 @@ function copyDependencies(inFolder, outFolder) {
copyDependencies('./components/lib/', 'dist/'); copyDependencies('./components/lib/', 'dist/');
copyDependencies('./components/lib/icons/', 'dist/icons/'); copyDependencies('./components/lib/icons/', 'dist/icons/');
copyDependencies('./components/lib/passthrough/', 'dist/passthrough/');
fs.copySync(path.resolve(__dirname, './components/lib/ts-helpers.d.ts'), 'dist/ts-helpers.d.ts'); fs.copySync(path.resolve(__dirname, './components/lib/ts-helpers.d.ts'), 'dist/ts-helpers.d.ts');
fs.copySync(path.resolve(__dirname, './package-build.json'), 'dist/package.json'); fs.copySync(path.resolve(__dirname, './package-build.json'), 'dist/package.json');

Some files were not shown because too many files have changed in this diff Show More