-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #4530 - Export styles of all components
- Loading branch information
1 parent
7b6d458
commit dc2913e
Showing
463 changed files
with
10,696 additions
and
9,670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Editor configuration, see https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"main": "./accordion.cjs.js", | ||
"module": "./accordion.esm.js", | ||
"unpkg": "./accordion.min.js", | ||
"types": "./Accordion.d.ts", | ||
"browser": { | ||
"./sfc": "./Accordion.vue" | ||
} | ||
} | ||
"main": "./accordion.cjs.js", | ||
"module": "./accordion.esm.js", | ||
"unpkg": "./accordion.min.js", | ||
"types": "./Accordion.d.ts", | ||
"browser": { | ||
"./sfc": "./Accordion.vue" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import BaseStyle from 'primevue/base/style'; | ||
|
||
const css = ` | ||
@layer primevue { | ||
.p-accordion-header-action { | ||
cursor: pointer; | ||
display: flex; | ||
align-items: center; | ||
user-select: none; | ||
position: relative; | ||
text-decoration: none; | ||
} | ||
.p-accordion-header-action:focus { | ||
z-index: 1; | ||
} | ||
.p-accordion-header-text { | ||
line-height: 1; | ||
} | ||
} | ||
`; | ||
|
||
const classes = { | ||
root: 'p-accordion p-component', | ||
tab: { | ||
root: ({ instance, index }) => [ | ||
'p-accordion-tab', | ||
{ | ||
'p-accordion-tab-active': instance.isTabActive(index) | ||
} | ||
], | ||
header: ({ instance, tab, index }) => [ | ||
'p-accordion-header', | ||
{ | ||
'p-highlight': instance.isTabActive(index), | ||
'p-disabled': instance.getTabProp(tab, 'disabled') | ||
} | ||
], | ||
headerAction: 'p-accordion-header-link p-accordion-header-action', | ||
headerIcon: 'p-accordion-toggle-icon', | ||
headerTitle: 'p-accordion-header-text', | ||
toggleableContent: 'p-toggleable-content', | ||
content: 'p-accordion-content' | ||
} | ||
}; | ||
|
||
export default BaseStyle.extend({ | ||
name: 'accordion', | ||
css, | ||
classes | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"main": "./accordionstyle.cjs.js", | ||
"module": "./accordionstyle.esm.js", | ||
"unpkg": "./accordionstyle.min.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"main": "./accordiontab.cjs.js", | ||
"module": "./accordiontab.esm.js", | ||
"unpkg": "./accordiontab.min.js", | ||
"types": "./AccordionTab.d.ts", | ||
"browser": { | ||
"./sfc": "./AccordionTab.vue" | ||
} | ||
} | ||
"main": "./accordiontab.cjs.js", | ||
"module": "./accordiontab.esm.js", | ||
"unpkg": "./accordiontab.min.js", | ||
"types": "./AccordionTab.d.ts", | ||
"browser": { | ||
"./sfc": "./AccordionTab.vue" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"main": "./accordiontabstyle.cjs.js", | ||
"module": "./accordiontabstyle.esm.js", | ||
"unpkg": "./accordiontabstyle.min.js" | ||
} |
Oops, something went wrong.