@wippy-fe/theme 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/THEMING.md +316 -0
- package/package.json +35 -0
- package/primevue/accordion.css +58 -0
- package/primevue/autocomplete.css +144 -0
- package/primevue/avatar.css +50 -0
- package/primevue/badge.css +53 -0
- package/primevue/blockui.css +15 -0
- package/primevue/breadcrumb.css +41 -0
- package/primevue/button.css +341 -0
- package/primevue/buttongroup.css +19 -0
- package/primevue/card.css +22 -0
- package/primevue/carousel.css +64 -0
- package/primevue/cascadeselect.css +169 -0
- package/primevue/checkbox.css +84 -0
- package/primevue/chip.css +27 -0
- package/primevue/colorpicker.css +47 -0
- package/primevue/common.css +81 -0
- package/primevue/confirmdialog.css +10 -0
- package/primevue/confirmpopup.css +66 -0
- package/primevue/contextmenu.css +101 -0
- package/primevue/datatable.css +408 -0
- package/primevue/dataview.css +29 -0
- package/primevue/datepicker.css +211 -0
- package/primevue/dialog.css +125 -0
- package/primevue/divider.css +52 -0
- package/primevue/dock.css +84 -0
- package/primevue/drawer.css +94 -0
- package/primevue/fieldset.css +45 -0
- package/primevue/fileupload.css +57 -0
- package/primevue/floatlabel.css +73 -0
- package/primevue/galleria.css +244 -0
- package/primevue/iconfield.css +23 -0
- package/primevue/iftalabel.css +32 -0
- package/primevue/image.css +56 -0
- package/primevue/imagecompare.css +38 -0
- package/primevue/inplace.css +13 -0
- package/primevue/inputgroup.css +67 -0
- package/primevue/inputnumber.css +84 -0
- package/primevue/inputotp.css +9 -0
- package/primevue/inputtext.css +38 -0
- package/primevue/knob.css +37 -0
- package/primevue/listbox.css +79 -0
- package/primevue/megamenu.css +207 -0
- package/primevue/menu.css +51 -0
- package/primevue/menubar.css +169 -0
- package/primevue/message.css +228 -0
- package/primevue/metergroup.css +67 -0
- package/primevue/multiselect.css +143 -0
- package/primevue/orderlist.css +10 -0
- package/primevue/organizationchart.css +71 -0
- package/primevue/overlaybadge.css +13 -0
- package/primevue/paginator.css +58 -0
- package/primevue/panel.css +27 -0
- package/primevue/panelmenu.css +94 -0
- package/primevue/password.css +61 -0
- package/primevue/picklist.css +18 -0
- package/primevue/popover.css +46 -0
- package/primevue/progressbar.css +67 -0
- package/primevue/progressspinner.css +58 -0
- package/primevue/radiobutton.css +93 -0
- package/primevue/rating.css +23 -0
- package/primevue/ripple.css +7 -0
- package/primevue/scrollpanel.css +41 -0
- package/primevue/scrolltop.css +25 -0
- package/primevue/select.css +144 -0
- package/primevue/selectbutton.css +25 -0
- package/primevue/skeleton.css +11 -0
- package/primevue/slider.css +42 -0
- package/primevue/speeddial.css +48 -0
- package/primevue/splitbutton.css +34 -0
- package/primevue/splitter.css +56 -0
- package/primevue/stepper.css +102 -0
- package/primevue/tabs.css +84 -0
- package/primevue/tag.css +38 -0
- package/primevue/tailwind.css +104 -0
- package/primevue/terminal.css +22 -0
- package/primevue/textarea.css +42 -0
- package/primevue/tieredmenu.css +105 -0
- package/primevue/timeline.css +113 -0
- package/primevue/toast.css +172 -0
- package/primevue/togglebutton.css +63 -0
- package/primevue/toggleswitch.css +66 -0
- package/primevue/toolbar.css +12 -0
- package/primevue/tooltip.css +38 -0
- package/primevue/tree.css +103 -0
- package/primevue/treeselect.css +116 -0
- package/primevue/treetable.css +300 -0
- package/primevue-plugin.ts +8 -0
- package/tailwind.config.ts +28 -0
- package/theme-config.css +124 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@import './button';
|
|
2
|
+
|
|
3
|
+
.p-speeddial {
|
|
4
|
+
@apply static flex gap-2
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-speeddial-button {
|
|
8
|
+
@apply z-10
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-speeddial-button.p-speeddial-rotate {
|
|
12
|
+
@apply [transition:transform_250ms_cubic-bezier(0.4,0,0.2,1)_0ms,background_200ms,color_200ms,border-color_200ms] will-change-transform
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-speeddial-list {
|
|
16
|
+
@apply m-0 p-0 list-none flex items-center justify-center pointer-events-none outline-none z-20 gap-2
|
|
17
|
+
transition-[top] ease-linear duration-200
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-speeddial-item {
|
|
21
|
+
@apply scale-0 opacity-0 [transition:transform_200ms_cubic-bezier(0.4,0,0.2,1)_0ms,opacity_0.8s] will-change-transform
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-speeddial-circle .p-speeddial-item,
|
|
25
|
+
.p-speeddial-semi-circle .p-speeddial-item,
|
|
26
|
+
.p-speeddial-quarter-circle .p-speeddial-item {
|
|
27
|
+
@apply absolute
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-speeddial-mask {
|
|
31
|
+
@apply absolute start-0 top-0 w-full h-full opacity-0 bg-white/40 dark:bg-white/60 rounded-md transition-opacity duration-150
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-speeddial-mask-visible {
|
|
35
|
+
@apply pointer-events-none opacity-100 transition-opacity duration-150
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-speeddial-open .p-speeddial-list {
|
|
39
|
+
@apply pointer-events-auto
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-speeddial-open .p-speeddial-item {
|
|
43
|
+
@apply scale-100 opacity-100
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-speeddial-open .p-speeddial-rotate {
|
|
47
|
+
@apply rotate-45
|
|
48
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import './button';
|
|
2
|
+
@import './tieredmenu';
|
|
3
|
+
|
|
4
|
+
.p-splitbutton {
|
|
5
|
+
@apply inline-flex relative rounded-md
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-splitbutton-button {
|
|
9
|
+
@apply rounded-e-none border-r-0 enabled:hover:border-r-0 enabled:active:border-r-0 focus-visible:z-10
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-splitbutton-dropdown {
|
|
13
|
+
@apply rounded-s-none focus-visible:z-10
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-splitbutton .p-menu {
|
|
17
|
+
@apply min-w-full
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-splitbutton-fluid {
|
|
21
|
+
@apply w-full
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-splitbutton-rounded .p-splitbutton-dropdown {
|
|
25
|
+
@apply rounded-e-[2rem]
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-splitbutton-rounded .p-splitbutton-button {
|
|
29
|
+
@apply rounded-s-[2rem]
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-splitbutton-raised {
|
|
33
|
+
@apply shadow-[0_3px_1px_-2px_rgba(0,0,0,0.2),0_2px_2px_0_rgba(0,0,0,0.14),0_1px_5px_0_rgba(0,0,0,0.12)]
|
|
34
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.p-splitter {
|
|
2
|
+
@apply flex flex-wrap
|
|
3
|
+
border border-surface-200 dark:border-surface-700 rounded-md
|
|
4
|
+
bg-surface-0 dark:bg-surface-900
|
|
5
|
+
text-surface-700 dark:text-surface-0
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-splitter-vertical {
|
|
9
|
+
@apply flex-col
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-splitter-gutter {
|
|
13
|
+
@apply flex-grow-0 flex-shrink-0 flex items-center justify-center z-10 bg-surface-200 dark:bg-surface-600
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-splitter-gutter-handle {
|
|
17
|
+
@apply rounded-md bg-transparent
|
|
18
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
19
|
+
transition-colors duration-200
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-splitter-horizontal.p-splitter-resizing {
|
|
23
|
+
@apply cursor-col-resize select-none
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-splitter-vertical.p-splitter-resizing {
|
|
27
|
+
@apply cursor-row-resize select-none
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle {
|
|
31
|
+
@apply h-[24px] w-full
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle {
|
|
35
|
+
@apply w-[24px] h-full
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-splitter-horizontal > .p-splitter-gutter {
|
|
39
|
+
@apply cursor-col-resize
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-splitter-vertical > .p-splitter-gutter {
|
|
43
|
+
@apply cursor-row-resize
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-splitterpanel {
|
|
47
|
+
@apply flex-grow overflow-hidden
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-splitterpanel-nested {
|
|
51
|
+
@apply flex
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-splitterpanel .p-splitter {
|
|
55
|
+
@apply flex-grow border-none
|
|
56
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.p-steplist {
|
|
2
|
+
@apply relative flex justify-between items-center m-0 p-0 list-none overflow-x-auto
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.p-step {
|
|
6
|
+
@apply relative flex flex-auto items-center gap-4 p-2 last-of-type:flex-initial
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-step-header {
|
|
10
|
+
@apply border-none inline-flex items-center no-underline cursor-pointer
|
|
11
|
+
transition-colors duration-200 rounded-md bg-transparent p-0 gap-2
|
|
12
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-step.p-disabled .p-step-header {
|
|
16
|
+
@apply cursor-default
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
.p-stepper.p-stepper-readonly .p-step {
|
|
21
|
+
@apply cursor-auto
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-step-title {
|
|
25
|
+
@apply block whitespace-nowrap overflow-hidden text-ellipsis max-w-full
|
|
26
|
+
text-surface-500 dark:text-surface-400 font-medium transition-colors duration-200
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-step-number {
|
|
30
|
+
@apply flex items-center justify-center text-surface-500 dark:text-surface-400
|
|
31
|
+
bg-surface-0 dark:bg-surface-900 border-2 border-surface-200 dark:border-surface-700
|
|
32
|
+
min-w-8 h-8 leading-8 text-lg font-medium rounded-full z-10 relative
|
|
33
|
+
after:absolute after:w-full after:h-full after:rounded-full after:shadow-[0px_0.5px_0px_0px_rgba(0,0,0,0.06),0px_1px_1px_0px_rgba(0,0,0,0.12)]
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-step-active .p-step-header {
|
|
37
|
+
@apply cursor-default
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-step-active .p-step-number {
|
|
41
|
+
@apply bg-surface-0 dark:bg-surface-900 text-primary border-surface-200 dark:border-surface-700
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.p-step-active .p-step-title {
|
|
45
|
+
@apply text-primary
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-step:not(.p-disabled):focus-visible {
|
|
49
|
+
@apply outline outline-1 outline-offset-2 outline-primary
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-step:has(~ .p-step-active) .p-stepper-separator {
|
|
53
|
+
@apply bg-primary
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.p-stepper-separator {
|
|
57
|
+
@apply flex-1 bg-surface-200 dark:bg-surface-700 w-full h-[2px] transition-colors duration-200
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-steppanels {
|
|
61
|
+
@apply pt-[0.875rem] pb-[1.125rem] px-2
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.p-steppanel {
|
|
65
|
+
@apply bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.p-stepper:has(.p-stepitem) {
|
|
69
|
+
@apply flex flex-col
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.p-stepitem {
|
|
73
|
+
@apply flex flex-col flex-initial
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.p-stepitem.p-stepitem-active {
|
|
77
|
+
@apply flex-auto
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.p-stepitem .p-step {
|
|
81
|
+
@apply flex-initial
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.p-stepitem .p-steppanel-content {
|
|
85
|
+
@apply w-full ps-4
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-stepitem .p-steppanel {
|
|
89
|
+
@apply flex flex-auto
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.p-stepitem .p-stepper-separator {
|
|
93
|
+
@apply flex-grow-0 flex-shrink-0 basis-auto w-[2px] h-auto ms-[1.625rem] relative start-[-2.5px]
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {
|
|
97
|
+
@apply bg-primary
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-stepitem:last-of-type .p-steppanel {
|
|
101
|
+
@apply ps-8
|
|
102
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.p-tabs {
|
|
2
|
+
@apply flex flex-col
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.p-tablist {
|
|
6
|
+
@apply flex relative
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-tabs-scrollable > .p-tablist {
|
|
10
|
+
@apply overflow-hidden
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-tablist-viewport {
|
|
14
|
+
@apply overflow-x-auto overflow-y-hidden overscroll-y-contain overscroll-x-auto
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-tablist-viewport::-webkit-scrollbar {
|
|
18
|
+
@apply hidden
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-tablist-tab-list {
|
|
22
|
+
@apply relative flex bg-surface-0 dark:bg-surface-900 border-b border-surface-200 dark:border-surface-700
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-tablist-content {
|
|
26
|
+
@apply flex-grow
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-tablist-nav-button {
|
|
30
|
+
@apply !absolute flex-shrink-0 top-0 z-20 h-full flex items-center justify-center cursor-pointer
|
|
31
|
+
bg-surface-0 dark:bg-surface-900 text-surface-500 dark:text-surface-400 hover:text-surface-700 dark:hover:text-surface-0 w-10
|
|
32
|
+
shadow-[0px_0px_10px_50px_rgba(255,255,255,0.6)] dark:shadow-[0px_0px_10px_50px] dark:shadow-surface-900/50
|
|
33
|
+
focus-visible:z-10 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-[-1px] focus-visible:outline-primary
|
|
34
|
+
transition-colors duration-200
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-tablist-prev-button {
|
|
38
|
+
@apply start-0
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-tablist-next-button {
|
|
42
|
+
@apply end-0
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-tablist-prev-button:dir(rtl),
|
|
46
|
+
.p-tablist-next-button:dir(rtl) {
|
|
47
|
+
@apply rotate-180
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-tab {
|
|
51
|
+
@apply flex-shrink-0 cursor-pointer select-none relative whitespace-nowrap py-4 px-[1.125rem]
|
|
52
|
+
border-b border-surface-200 dark:border-surface-700 font-semibold
|
|
53
|
+
text-surface-500 dark:text-surface-400
|
|
54
|
+
transition-colors duration-200 -mb-px
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-tab.p-disabled {
|
|
58
|
+
@apply cursor-default
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-tab:not(.p-disabled):focus-visible {
|
|
62
|
+
@apply z-10 outline outline-1 outline-offset-[-1px] outline-primary
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-tab:not(.p-tab-active):not(.p-disabled):hover {
|
|
66
|
+
@apply text-surface-700 dark:text-surface-0
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.p-tab-active {
|
|
70
|
+
@apply border-primary text-primary
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.p-tabpanels {
|
|
74
|
+
@apply bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0
|
|
75
|
+
pt-[0.875rem] pb-[1.125rem] px-[1.125rem] outline-none
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-tablist-active-bar {
|
|
79
|
+
@apply z-10 block absolute -bottom-px h-px bg-primary transition-[left] duration-200 ease-[cubic-bezier(0.35,0,0.25,1)]
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.p-tablist-viewport {
|
|
83
|
+
@apply [scrollbar-behavior:smooth] [scrollbar-width:none]
|
|
84
|
+
}
|
package/primevue/tag.css
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.p-tag {
|
|
2
|
+
@apply inline-flex items-center justify-center
|
|
3
|
+
bg-primary-100 dark:bg-primary-500/15
|
|
4
|
+
text-primary-700 dark:text-primary-300
|
|
5
|
+
text-sm font-bold py-1 px-2 rounded-md gap-1
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-tag-icon {
|
|
9
|
+
@apply text-xs w-3 h-3
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-tag-rounded {
|
|
13
|
+
@apply rounded-2xl
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-tag-success {
|
|
17
|
+
@apply bg-green-100 dark:bg-green-500/15 text-green-700 dark:text-green-300
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-tag-info {
|
|
21
|
+
@apply bg-sky-100 dark:bg-sky-500/15 text-sky-700 dark:text-sky-300
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-tag-warn {
|
|
25
|
+
@apply bg-orange-100 dark:bg-orange-500/15 text-orange-700 dark:text-orange-300
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-tag-danger {
|
|
29
|
+
@apply bg-red-100 dark:bg-red-500/15 text-red-700 dark:text-red-300
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-tag-secondary {
|
|
33
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-600 dark:text-surface-300
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-tag-contrast {
|
|
37
|
+
@apply bg-surface-950 dark:bg-surface-0 text-surface-0 dark:text-surface-950
|
|
38
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
@import './common';
|
|
2
|
+
|
|
3
|
+
/* Form */
|
|
4
|
+
@import './autocomplete';
|
|
5
|
+
@import './cascadeselect';
|
|
6
|
+
@import './checkbox';
|
|
7
|
+
@import './colorpicker';
|
|
8
|
+
@import './datepicker';
|
|
9
|
+
@import './iconfield';
|
|
10
|
+
@import './iftalabel';
|
|
11
|
+
@import './inputgroup';
|
|
12
|
+
@import './inputnumber';
|
|
13
|
+
@import './inputotp';
|
|
14
|
+
@import './inputtext';
|
|
15
|
+
@import './floatlabel';
|
|
16
|
+
@import './knob';
|
|
17
|
+
@import './listbox';
|
|
18
|
+
@import './multiselect';
|
|
19
|
+
@import './password';
|
|
20
|
+
@import './radiobutton';
|
|
21
|
+
@import './rating';
|
|
22
|
+
@import './select';
|
|
23
|
+
@import './selectbutton';
|
|
24
|
+
@import './slider';
|
|
25
|
+
@import './textarea';
|
|
26
|
+
@import './togglebutton';
|
|
27
|
+
@import './toggleswitch';
|
|
28
|
+
@import './treeselect';
|
|
29
|
+
|
|
30
|
+
/* Button */
|
|
31
|
+
@import './button';
|
|
32
|
+
@import './buttongroup';
|
|
33
|
+
@import './speeddial';
|
|
34
|
+
@import './splitbutton';
|
|
35
|
+
|
|
36
|
+
/* Data */
|
|
37
|
+
@import './datatable';
|
|
38
|
+
@import './dataview';
|
|
39
|
+
@import './paginator';
|
|
40
|
+
@import './picklist';
|
|
41
|
+
@import './orderlist';
|
|
42
|
+
@import './organizationchart';
|
|
43
|
+
@import './timeline';
|
|
44
|
+
@import './tree';
|
|
45
|
+
@import './treetable';
|
|
46
|
+
|
|
47
|
+
/* Overlay */
|
|
48
|
+
@import './confirmdialog';
|
|
49
|
+
@import './confirmpopup';
|
|
50
|
+
@import './dialog';
|
|
51
|
+
@import './drawer';
|
|
52
|
+
@import './popover';
|
|
53
|
+
@import './tooltip';
|
|
54
|
+
|
|
55
|
+
/* Menu */
|
|
56
|
+
@import './breadcrumb';
|
|
57
|
+
@import './contextmenu';
|
|
58
|
+
@import './dock';
|
|
59
|
+
@import './menu';
|
|
60
|
+
@import './menubar';
|
|
61
|
+
@import './megamenu';
|
|
62
|
+
@import './panelmenu';
|
|
63
|
+
@import './tieredmenu';
|
|
64
|
+
|
|
65
|
+
/* Panel */
|
|
66
|
+
@import './accordion';
|
|
67
|
+
@import './card';
|
|
68
|
+
@import './divider';
|
|
69
|
+
@import './fieldset';
|
|
70
|
+
@import './panel';
|
|
71
|
+
@import './scrollpanel';
|
|
72
|
+
@import './splitter';
|
|
73
|
+
@import './stepper';
|
|
74
|
+
@import './tabs';
|
|
75
|
+
@import './toolbar';
|
|
76
|
+
|
|
77
|
+
/* File */
|
|
78
|
+
@import './fileupload';
|
|
79
|
+
|
|
80
|
+
/* Message */
|
|
81
|
+
@import './message';
|
|
82
|
+
@import './toast';
|
|
83
|
+
|
|
84
|
+
/* Media */
|
|
85
|
+
@import './carousel';
|
|
86
|
+
@import './galleria';
|
|
87
|
+
@import './image';
|
|
88
|
+
@import './imagecompare';
|
|
89
|
+
|
|
90
|
+
/* Misc */
|
|
91
|
+
@import './avatar';
|
|
92
|
+
@import './badge';
|
|
93
|
+
@import './blockui';
|
|
94
|
+
@import './chip';
|
|
95
|
+
@import './inplace';
|
|
96
|
+
@import './metergroup';
|
|
97
|
+
@import './overlaybadge';
|
|
98
|
+
@import './progressbar';
|
|
99
|
+
@import './progressspinner';
|
|
100
|
+
@import './ripple';
|
|
101
|
+
@import './scrolltop';
|
|
102
|
+
@import './skeleton';
|
|
103
|
+
@import './tag';
|
|
104
|
+
@import './terminal';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.p-terminal {
|
|
2
|
+
@apply h-72 overflow-auto px-3 py-2 rounded-md
|
|
3
|
+
border border-surface-300 dark:border-surface-700
|
|
4
|
+
bg-surface-0 dark:bg-surface-950
|
|
5
|
+
text-surface-700 dark:text-surface-0
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-terminal-prompt {
|
|
9
|
+
@apply flex items-center
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-terminal-prompt-value {
|
|
13
|
+
@apply flex-auto border-none bg-transparent text-inherit p-0 outline-none text-base
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-terminal-prompt-label {
|
|
17
|
+
@apply me-1
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-terminal-input::-ms-clear {
|
|
21
|
+
@apply hidden
|
|
22
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.p-textarea {
|
|
2
|
+
@apply appearance-none rounded-md
|
|
3
|
+
border border-surface-300 dark:border-surface-700
|
|
4
|
+
enabled:hover:border-surface-400 dark:enabled:hover:border-surface-600
|
|
5
|
+
enabled:focus:border-primary
|
|
6
|
+
bg-surface-0 dark:bg-surface-950
|
|
7
|
+
text-surface-700 dark:text-surface-0
|
|
8
|
+
disabled:bg-surface-200 disabled:text-surface-500 disabled:opacity-100 dark:disabled:bg-surface-700 dark:disabled:text-surface-400
|
|
9
|
+
placeholder:text-surface-500 dark:placeholder:text-surface-400
|
|
10
|
+
px-3 py-2
|
|
11
|
+
transition-colors duration-200
|
|
12
|
+
shadow-[0_1px_2px_0_rgba(18,18,23,0.05)]
|
|
13
|
+
outline-none
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-textarea.p-invalid {
|
|
17
|
+
@apply border-red-400 dark:border-red-300
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-textarea.p-variant-filled {
|
|
21
|
+
@apply bg-surface-50 dark:bg-surface-800
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-textarea-fluid {
|
|
25
|
+
@apply w-full
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-textarea-resizable {
|
|
29
|
+
@apply overflow-hidden resize-none
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-textarea-sm {
|
|
33
|
+
@apply text-sm px-[0.625rem] py-[0.375rem]
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-textarea-sm {
|
|
37
|
+
@apply text-xs px-2 py-1
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-textarea-lg {
|
|
41
|
+
@apply text-lg px-[0.875rem] py-[0.625rem]
|
|
42
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.p-tieredmenu {
|
|
2
|
+
@apply bg-surface-0 dark:bg-surface-900
|
|
3
|
+
text-surface-700 dark:text-surface-0
|
|
4
|
+
border border-surface-200 dark:border-surface-700
|
|
5
|
+
rounded-md min-w-52
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-tieredmenu-root-list,
|
|
9
|
+
.p-tieredmenu-submenu {
|
|
10
|
+
@apply m-0 p-1 list-none outline-none flex flex-col gap-[2px]
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-tieredmenu-submenu {
|
|
14
|
+
@apply absolute min-w-full z-10 rounded-md
|
|
15
|
+
bg-surface-0 dark:bg-surface-900
|
|
16
|
+
text-surface-700 dark:text-surface-0
|
|
17
|
+
border border-surface-200 dark:border-surface-700
|
|
18
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-tieredmenu-item {
|
|
22
|
+
@apply relative
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-tieredmenu-item-content {
|
|
26
|
+
@apply transition-colors duration-200 rounded-sm text-surface-700 dark:text-surface-0
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-tieredmenu-item-link {
|
|
30
|
+
@apply cursor-pointer flex items-center no-underline overflow-hidden relative text-inherit
|
|
31
|
+
px-3 py-2 gap-2 select-none outline-none
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-tieredmenu-item-icon {
|
|
35
|
+
@apply text-surface-400 dark:text-surface-500
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-tieredmenu-submenu-icon {
|
|
39
|
+
@apply text-surface-400 dark:text-surface-500 ms-auto text-sm w-[0.875rem] h-[0.875rem]
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content {
|
|
43
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content .p-tieredmenu-item-icon {
|
|
47
|
+
@apply text-surface-500 dark:text-surface-400
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content .p-tieredmenu-submenu-icon {
|
|
51
|
+
@apply text-surface-500 dark:text-surface-400
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover {
|
|
55
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover .p-tieredmenu-item-icon {
|
|
59
|
+
@apply text-surface-500 dark:text-surface-400
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover .p-tieredmenu-submenu-icon {
|
|
63
|
+
@apply text-surface-500 dark:text-surface-400
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-tieredmenu-item-active > .p-tieredmenu-item-content {
|
|
67
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-item-icon {
|
|
71
|
+
@apply text-surface-500 dark:text-surface-400
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-submenu-icon {
|
|
75
|
+
@apply text-surface-500 dark:text-surface-400
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-tieredmenu-separator {
|
|
79
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.p-tieredmenu-overlay {
|
|
83
|
+
@apply shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.p-tieredmenu-enter-from,
|
|
87
|
+
.p-tieredmenu-leave-active {
|
|
88
|
+
@apply opacity-0
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.p-tieredmenu-enter-active {
|
|
92
|
+
@apply transition-opacity duration-[250ms]
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-tieredmenu-mobile .p-tieredmenu-submenu {
|
|
96
|
+
@apply static shadow-none border-none ps-4 pe-0
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.p-tieredmenu-mobile .p-tieredmenu-submenu-icon {
|
|
100
|
+
@apply transition-transform duration-200 rotate-90
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.p-tieredmenu-mobile .p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-submenu-icon {
|
|
104
|
+
@apply -rotate-90
|
|
105
|
+
}
|