@exhaustive-ui/styles 0.0.0-stage → 3.0.0-alpha.0
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/LICENSE +23 -0
- package/README.md +47 -2
- package/dist/accordion/index.mjs +103 -0
- package/dist/accordion/index.mjs.map +1 -0
- package/dist/autocomplete/index.mjs +308 -0
- package/dist/autocomplete/index.mjs.map +1 -0
- package/dist/avatar/index.mjs +82 -0
- package/dist/avatar/index.mjs.map +1 -0
- package/dist/badge/index.mjs +77 -0
- package/dist/badge/index.mjs.map +1 -0
- package/dist/base/index.mjs +114 -0
- package/dist/base/index.mjs.map +1 -0
- package/dist/blockui/index.mjs +18 -0
- package/dist/blockui/index.mjs.map +1 -0
- package/dist/breadcrumb/index.mjs +70 -0
- package/dist/breadcrumb/index.mjs.map +1 -0
- package/dist/button/index.mjs +652 -0
- package/dist/button/index.mjs.map +1 -0
- package/dist/buttongroup/index.mjs +34 -0
- package/dist/buttongroup/index.mjs.map +1 -0
- package/dist/card/index.mjs +33 -0
- package/dist/card/index.mjs.map +1 -0
- package/dist/carousel/index.mjs +106 -0
- package/dist/carousel/index.mjs.map +1 -0
- package/dist/cascadeselect/index.mjs +263 -0
- package/dist/cascadeselect/index.mjs.map +1 -0
- package/dist/checkbox/index.mjs +141 -0
- package/dist/checkbox/index.mjs.map +1 -0
- package/dist/checkboxgroup/index.mjs +6 -0
- package/dist/checkboxgroup/index.mjs.map +1 -0
- package/dist/chip/index.mjs +55 -0
- package/dist/chip/index.mjs.map +1 -0
- package/dist/colorpicker/index.mjs +109 -0
- package/dist/colorpicker/index.mjs.map +1 -0
- package/dist/confirmdialog/index.mjs +15 -0
- package/dist/confirmdialog/index.mjs.map +1 -0
- package/dist/confirmpopup/index.mjs +92 -0
- package/dist/confirmpopup/index.mjs.map +1 -0
- package/dist/contextmenu/index.mjs +141 -0
- package/dist/contextmenu/index.mjs.map +1 -0
- package/dist/datatable/index.mjs +609 -0
- package/dist/datatable/index.mjs.map +1 -0
- package/dist/dataview/index.mjs +62 -0
- package/dist/dataview/index.mjs.map +1 -0
- package/dist/datepicker/index.mjs +462 -0
- package/dist/datepicker/index.mjs.map +1 -0
- package/dist/dialog/index.mjs +100 -0
- package/dist/dialog/index.mjs.map +1 -0
- package/dist/divider/index.mjs +83 -0
- package/dist/divider/index.mjs.map +1 -0
- package/dist/dock/index.mjs +114 -0
- package/dist/dock/index.mjs.map +1 -0
- package/dist/drawer/index.mjs +186 -0
- package/dist/drawer/index.mjs.map +1 -0
- package/dist/editor/index.mjs +982 -0
- package/dist/editor/index.mjs.map +1 -0
- package/dist/fieldset/index.mjs +89 -0
- package/dist/fieldset/index.mjs.map +1 -0
- package/dist/fileupload/index.mjs +88 -0
- package/dist/fileupload/index.mjs.map +1 -0
- package/dist/floatlabel/index.mjs +106 -0
- package/dist/floatlabel/index.mjs.map +1 -0
- package/dist/galleria/index.mjs +461 -0
- package/dist/galleria/index.mjs.map +1 -0
- package/dist/iconfield/index.mjs +47 -0
- package/dist/iconfield/index.mjs.map +1 -0
- package/dist/iftalabel/index.mjs +50 -0
- package/dist/iftalabel/index.mjs.map +1 -0
- package/dist/image/index.mjs +135 -0
- package/dist/image/index.mjs.map +1 -0
- package/dist/imagecompare/index.mjs +87 -0
- package/dist/imagecompare/index.mjs.map +1 -0
- package/dist/index.d.mts +94 -0
- package/dist/index.mjs +1 -0
- package/dist/inlinemessage/index.mjs +93 -0
- package/dist/inlinemessage/index.mjs.map +1 -0
- package/dist/inplace/index.mjs +31 -0
- package/dist/inplace/index.mjs.map +1 -0
- package/dist/inputchips/index.mjs +105 -0
- package/dist/inputchips/index.mjs.map +1 -0
- package/dist/inputgroup/index.mjs +106 -0
- package/dist/inputgroup/index.mjs.map +1 -0
- package/dist/inputnumber/index.mjs +194 -0
- package/dist/inputnumber/index.mjs.map +1 -0
- package/dist/inputotp/index.mjs +23 -0
- package/dist/inputotp/index.mjs.map +1 -0
- package/dist/inputtext/index.mjs +80 -0
- package/dist/inputtext/index.mjs.map +1 -0
- package/dist/knob/index.mjs +40 -0
- package/dist/knob/index.mjs.map +1 -0
- package/dist/listbox/index.mjs +124 -0
- package/dist/listbox/index.mjs.map +1 -0
- package/dist/megamenu/index.mjs +343 -0
- package/dist/megamenu/index.mjs.map +1 -0
- package/dist/menu/index.mjs +84 -0
- package/dist/menu/index.mjs.map +1 -0
- package/dist/menubar/index.mjs +272 -0
- package/dist/menubar/index.mjs.map +1 -0
- package/dist/message/index.mjs +317 -0
- package/dist/message/index.mjs.map +1 -0
- package/dist/metergroup/index.mjs +91 -0
- package/dist/metergroup/index.mjs.map +1 -0
- package/dist/multiselect/index.mjs +251 -0
- package/dist/multiselect/index.mjs.map +1 -0
- package/dist/orderlist/index.mjs +18 -0
- package/dist/orderlist/index.mjs.map +1 -0
- package/dist/organizationchart/index.mjs +123 -0
- package/dist/organizationchart/index.mjs.map +1 -0
- package/dist/overlaybadge/index.mjs +22 -0
- package/dist/overlaybadge/index.mjs.map +1 -0
- package/dist/paginator/index.mjs +103 -0
- package/dist/paginator/index.mjs.map +1 -0
- package/dist/panel/index.mjs +49 -0
- package/dist/panel/index.mjs.map +1 -0
- package/dist/panelmenu/index.mjs +170 -0
- package/dist/panelmenu/index.mjs.map +1 -0
- package/dist/password/index.mjs +100 -0
- package/dist/password/index.mjs.map +1 -0
- package/dist/picklist/index.mjs +22 -0
- package/dist/picklist/index.mjs.map +1 -0
- package/dist/popover/index.mjs +64 -0
- package/dist/popover/index.mjs.map +1 -0
- package/dist/progressbar/index.mjs +119 -0
- package/dist/progressbar/index.mjs.map +1 -0
- package/dist/progressspinner/index.mjs +75 -0
- package/dist/progressspinner/index.mjs.map +1 -0
- package/dist/radiobutton/index.mjs +146 -0
- package/dist/radiobutton/index.mjs.map +1 -0
- package/dist/radiobuttongroup/index.mjs +6 -0
- package/dist/radiobuttongroup/index.mjs.map +1 -0
- package/dist/rating/index.mjs +59 -0
- package/dist/rating/index.mjs.map +1 -0
- package/dist/ripple/index.mjs +22 -0
- package/dist/ripple/index.mjs.map +1 -0
- package/dist/scrollpanel/index.mjs +69 -0
- package/dist/scrollpanel/index.mjs.map +1 -0
- package/dist/scrolltop/index.mjs +30 -0
- package/dist/scrolltop/index.mjs.map +1 -0
- package/dist/select/index.mjs +243 -0
- package/dist/select/index.mjs.map +1 -0
- package/dist/selectbutton/index.mjs +44 -0
- package/dist/selectbutton/index.mjs.map +1 -0
- package/dist/skeleton/index.mjs +52 -0
- package/dist/skeleton/index.mjs.map +1 -0
- package/dist/slider/index.mjs +93 -0
- package/dist/slider/index.mjs.map +1 -0
- package/dist/speeddial/index.mjs +70 -0
- package/dist/speeddial/index.mjs.map +1 -0
- package/dist/splitbutton/index.mjs +51 -0
- package/dist/splitbutton/index.mjs.map +1 -0
- package/dist/splitter/index.mjs +84 -0
- package/dist/splitter/index.mjs.map +1 -0
- package/dist/stepper/index.mjs +198 -0
- package/dist/stepper/index.mjs.map +1 -0
- package/dist/steps/index.mjs +118 -0
- package/dist/steps/index.mjs.map +1 -0
- package/dist/tabmenu/index.mjs +99 -0
- package/dist/tabmenu/index.mjs.map +1 -0
- package/dist/tabs/index.mjs +161 -0
- package/dist/tabs/index.mjs.map +1 -0
- package/dist/tabview/index.mjs +135 -0
- package/dist/tabview/index.mjs.map +1 -0
- package/dist/tag/index.mjs +55 -0
- package/dist/tag/index.mjs.map +1 -0
- package/dist/terminal/index.mjs +42 -0
- package/dist/terminal/index.mjs.map +1 -0
- package/dist/textarea/index.mjs +85 -0
- package/dist/textarea/index.mjs.map +1 -0
- package/dist/tieredmenu/index.mjs +150 -0
- package/dist/tieredmenu/index.mjs.map +1 -0
- package/dist/timeline/index.mjs +158 -0
- package/dist/timeline/index.mjs.map +1 -0
- package/dist/toast/index.mjs +272 -0
- package/dist/toast/index.mjs.map +1 -0
- package/dist/togglebutton/index.mjs +121 -0
- package/dist/togglebutton/index.mjs.map +1 -0
- package/dist/toggleswitch/index.mjs +116 -0
- package/dist/toggleswitch/index.mjs.map +1 -0
- package/dist/toolbar/index.mjs +22 -0
- package/dist/toolbar/index.mjs.map +1 -0
- package/dist/tooltip/index.mjs +62 -0
- package/dist/tooltip/index.mjs.map +1 -0
- package/dist/tree/index.mjs +189 -0
- package/dist/tree/index.mjs.map +1 -0
- package/dist/treeselect/index.mjs +178 -0
- package/dist/treeselect/index.mjs.map +1 -0
- package/dist/treetable/index.mjs +446 -0
- package/dist/treetable/index.mjs.map +1 -0
- package/dist/types.d.mts +6 -0
- package/dist/types.mjs +1 -0
- package/dist/virtualscroller/index.mjs +13 -0
- package/dist/virtualscroller/index.mjs.map +1 -0
- package/package.json +59 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-steps {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.p-steps-list {
|
|
7
|
+
padding: 0;
|
|
8
|
+
margin: 0;
|
|
9
|
+
list-style-type: none;
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-steps-item {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
flex: 1 1 auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-steps-item.p-disabled,
|
|
21
|
+
.p-steps-item.p-disabled * {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
pointer-events: auto;
|
|
24
|
+
user-select: auto;
|
|
25
|
+
cursor: auto;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-steps-item:before {
|
|
29
|
+
content: ' ';
|
|
30
|
+
border-top: 2px solid dt('steps.separator.background');
|
|
31
|
+
width: 100%;
|
|
32
|
+
top: 50%;
|
|
33
|
+
left: 0;
|
|
34
|
+
display: block;
|
|
35
|
+
position: absolute;
|
|
36
|
+
margin-top: calc(-1rem + 1px);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-steps-item:first-child::before {
|
|
40
|
+
width: calc(50% + 1rem);
|
|
41
|
+
transform: translateX(100%);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.p-steps-item:last-child::before {
|
|
45
|
+
width: 50%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-steps-item-link {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
align-items: center;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
transition:
|
|
55
|
+
outline-color dt('steps.transition.duration'),
|
|
56
|
+
box-shadow dt('steps.transition.duration');
|
|
57
|
+
border-radius: dt('steps.item.link.border.radius');
|
|
58
|
+
outline-color: transparent;
|
|
59
|
+
gap: dt('steps.item.link.gap');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-steps-item-link:not(.p-disabled):focus-visible {
|
|
63
|
+
box-shadow: dt('steps.item.link.focus.ring.shadow');
|
|
64
|
+
outline: dt('steps.item.link.focus.ring.width') dt('steps.item.link.focus.ring.style') dt('steps.item.link.focus.ring.color');
|
|
65
|
+
outline-offset: dt('steps.item.link.focus.ring.offset');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.p-steps-item-label {
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
text-overflow: ellipsis;
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
color: dt('steps.item.label.color');
|
|
74
|
+
display: block;
|
|
75
|
+
font-weight: dt('steps.item.label.font.weight');
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-steps-item-number {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
color: dt('steps.item.number.color');
|
|
83
|
+
border: 2px solid dt('steps.item.number.border.color');
|
|
84
|
+
background: dt('steps.item.number.background');
|
|
85
|
+
min-width: dt('steps.item.number.size');
|
|
86
|
+
height: dt('steps.item.number.size');
|
|
87
|
+
line-height: dt('steps.item.number.size');
|
|
88
|
+
font-size: dt('steps.item.number.font.size');
|
|
89
|
+
z-index: 1;
|
|
90
|
+
border-radius: dt('steps.item.number.border.radius');
|
|
91
|
+
position: relative;
|
|
92
|
+
font-weight: dt('steps.item.number.font.weight');
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-steps-item-number::after {
|
|
96
|
+
content: ' ';
|
|
97
|
+
position: absolute;
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: 100%;
|
|
100
|
+
border-radius: dt('steps.item.number.border.radius');
|
|
101
|
+
box-shadow: dt('steps.item.number.shadow');
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.p-steps:not(.p-readonly) .p-steps-item {
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.p-steps-item-active .p-steps-item-number {
|
|
109
|
+
background: dt('steps.item.number.active.background');
|
|
110
|
+
border-color: dt('steps.item.number.active.border.color');
|
|
111
|
+
color: dt('steps.item.number.active.color');
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.p-steps-item-active .p-steps-item-label {
|
|
115
|
+
color: dt('steps.item.label.active.color');
|
|
116
|
+
}
|
|
117
|
+
`;export{style};
|
|
118
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/steps/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-steps {\n position: relative;\n }\n\n .p-steps-list {\n padding: 0;\n margin: 0;\n list-style-type: none;\n display: flex;\n }\n\n .p-steps-item {\n position: relative;\n display: flex;\n justify-content: center;\n flex: 1 1 auto;\n }\n\n .p-steps-item.p-disabled,\n .p-steps-item.p-disabled * {\n opacity: 1;\n pointer-events: auto;\n user-select: auto;\n cursor: auto;\n }\n\n .p-steps-item:before {\n content: ' ';\n border-top: 2px solid dt('steps.separator.background');\n width: 100%;\n top: 50%;\n left: 0;\n display: block;\n position: absolute;\n margin-top: calc(-1rem + 1px);\n }\n\n .p-steps-item:first-child::before {\n width: calc(50% + 1rem);\n transform: translateX(100%);\n }\n\n .p-steps-item:last-child::before {\n width: 50%;\n }\n\n .p-steps-item-link {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n overflow: hidden;\n text-decoration: none;\n transition:\n outline-color dt('steps.transition.duration'),\n box-shadow dt('steps.transition.duration');\n border-radius: dt('steps.item.link.border.radius');\n outline-color: transparent;\n gap: dt('steps.item.link.gap');\n }\n\n .p-steps-item-link:not(.p-disabled):focus-visible {\n box-shadow: dt('steps.item.link.focus.ring.shadow');\n outline: dt('steps.item.link.focus.ring.width') dt('steps.item.link.focus.ring.style') dt('steps.item.link.focus.ring.color');\n outline-offset: dt('steps.item.link.focus.ring.offset');\n }\n\n .p-steps-item-label {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n color: dt('steps.item.label.color');\n display: block;\n font-weight: dt('steps.item.label.font.weight');\n }\n\n .p-steps-item-number {\n display: flex;\n align-items: center;\n justify-content: center;\n color: dt('steps.item.number.color');\n border: 2px solid dt('steps.item.number.border.color');\n background: dt('steps.item.number.background');\n min-width: dt('steps.item.number.size');\n height: dt('steps.item.number.size');\n line-height: dt('steps.item.number.size');\n font-size: dt('steps.item.number.font.size');\n z-index: 1;\n border-radius: dt('steps.item.number.border.radius');\n position: relative;\n font-weight: dt('steps.item.number.font.weight');\n }\n\n .p-steps-item-number::after {\n content: ' ';\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: dt('steps.item.number.border.radius');\n box-shadow: dt('steps.item.number.shadow');\n }\n\n .p-steps:not(.p-readonly) .p-steps-item {\n cursor: pointer;\n }\n\n .p-steps-item-active .p-steps-item-number {\n background: dt('steps.item.number.active.background');\n border-color: dt('steps.item.number.active.border.color');\n color: dt('steps.item.number.active.color');\n }\n\n .p-steps-item-active .p-steps-item-label {\n color: dt('steps.item.label.active.color');\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-tabmenu {
|
|
3
|
+
overflow-x: auto;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.p-tabmenu-tablist {
|
|
7
|
+
display: flex;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
list-style-type: none;
|
|
11
|
+
background: dt('tabmenu.tablist.background');
|
|
12
|
+
border-style: solid;
|
|
13
|
+
border-color: dt('tabmenu.tablist.border.color');
|
|
14
|
+
border-width: dt('tabmenu.tablist.border.width');
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-tabmenu-item-link {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
user-select: none;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
position: relative;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
background: dt('tabmenu.item.background');
|
|
27
|
+
border-style: solid;
|
|
28
|
+
border-width: dt('tabmenu.item.border.width');
|
|
29
|
+
border-color: dt('tabmenu.item.border.color');
|
|
30
|
+
color: dt('tabmenu.item.color');
|
|
31
|
+
padding: dt('tabmenu.item.padding');
|
|
32
|
+
font-weight: dt('tabmenu.item.font.weight');
|
|
33
|
+
transition:
|
|
34
|
+
background dt('tabmenu.transition.duration'),
|
|
35
|
+
border-color dt('tabmenu.transition.duration'),
|
|
36
|
+
color dt('tabmenu.transition.duration'),
|
|
37
|
+
outline-color dt('tabmenu.transition.duration'),
|
|
38
|
+
box-shadow dt('tabmenu.transition.duration');
|
|
39
|
+
margin: dt('tabmenu.item.margin');
|
|
40
|
+
outline-color: transparent;
|
|
41
|
+
gap: dt('tabmenu.item.gap');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.p-tabmenu-item-link:focus-visible {
|
|
45
|
+
z-index: 1;
|
|
46
|
+
box-shadow: dt('tabmenu.item.focus.ring.shadow');
|
|
47
|
+
outline: dt('tabmenu.item.focus.ring.width') dt('tabmenu.item.focus.ring.style') dt('tabmenu.item.focus.ring.color');
|
|
48
|
+
outline-offset: dt('tabmenu.item.focus.ring.offset');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.p-tabmenu-item-icon {
|
|
52
|
+
color: dt('tabmenu.item.icon.color');
|
|
53
|
+
transition:
|
|
54
|
+
background dt('tabmenu.transition.duration'),
|
|
55
|
+
border-color dt('tabmenu.transition.duration'),
|
|
56
|
+
color dt('tabmenu.transition.duration'),
|
|
57
|
+
outline-color dt('tabmenu.transition.duration'),
|
|
58
|
+
box-shadow dt('tabmenu.transition.duration');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-tabmenu-item-label {
|
|
62
|
+
line-height: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-tabmenu-item:not(.p-tabmenu-item-active):not(.p-disabled):hover .p-tabmenu-item-link {
|
|
66
|
+
background: dt('tabmenu.item.hover.background');
|
|
67
|
+
border-color: dt('tabmenu.item.hover.border.color');
|
|
68
|
+
color: dt('tabmenu.item.hover.color');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-tabmenu-item:not(.p-tabmenu-item-active):not(.p-disabled):hover .p-tabmenu-item-icon {
|
|
72
|
+
color: dt('tabmenu.item.icon.hover.color');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.p-tabmenu-item-active .p-tabmenu-item-link {
|
|
76
|
+
background: dt('tabmenu.item.active.background');
|
|
77
|
+
border-color: dt('tabmenu.item.active.border.color');
|
|
78
|
+
color: dt('tabmenu.item.active.color');
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.p-tabmenu-item-active .p-tabmenu-item-icon {
|
|
82
|
+
color: dt('tabmenu.item.icon.active.color');
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.p-tabmenu-active-bar {
|
|
86
|
+
z-index: 1;
|
|
87
|
+
display: block;
|
|
88
|
+
position: absolute;
|
|
89
|
+
bottom: dt('tabmenu.active.bar.bottom');
|
|
90
|
+
height: dt('tabmenu.active.bar.height');
|
|
91
|
+
background: dt('tabmenu.active.bar.background');
|
|
92
|
+
transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-tabmenu::-webkit-scrollbar {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
`;export{style};
|
|
99
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/tabmenu/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-tabmenu {\n overflow-x: auto;\n }\n\n .p-tabmenu-tablist {\n display: flex;\n margin: 0;\n padding: 0;\n list-style-type: none;\n background: dt('tabmenu.tablist.background');\n border-style: solid;\n border-color: dt('tabmenu.tablist.border.color');\n border-width: dt('tabmenu.tablist.border.width');\n position: relative;\n }\n\n .p-tabmenu-item-link {\n cursor: pointer;\n user-select: none;\n display: flex;\n align-items: center;\n text-decoration: none;\n position: relative;\n overflow: hidden;\n background: dt('tabmenu.item.background');\n border-style: solid;\n border-width: dt('tabmenu.item.border.width');\n border-color: dt('tabmenu.item.border.color');\n color: dt('tabmenu.item.color');\n padding: dt('tabmenu.item.padding');\n font-weight: dt('tabmenu.item.font.weight');\n transition:\n background dt('tabmenu.transition.duration'),\n border-color dt('tabmenu.transition.duration'),\n color dt('tabmenu.transition.duration'),\n outline-color dt('tabmenu.transition.duration'),\n box-shadow dt('tabmenu.transition.duration');\n margin: dt('tabmenu.item.margin');\n outline-color: transparent;\n gap: dt('tabmenu.item.gap');\n }\n\n .p-tabmenu-item-link:focus-visible {\n z-index: 1;\n box-shadow: dt('tabmenu.item.focus.ring.shadow');\n outline: dt('tabmenu.item.focus.ring.width') dt('tabmenu.item.focus.ring.style') dt('tabmenu.item.focus.ring.color');\n outline-offset: dt('tabmenu.item.focus.ring.offset');\n }\n\n .p-tabmenu-item-icon {\n color: dt('tabmenu.item.icon.color');\n transition:\n background dt('tabmenu.transition.duration'),\n border-color dt('tabmenu.transition.duration'),\n color dt('tabmenu.transition.duration'),\n outline-color dt('tabmenu.transition.duration'),\n box-shadow dt('tabmenu.transition.duration');\n }\n\n .p-tabmenu-item-label {\n line-height: 1;\n }\n\n .p-tabmenu-item:not(.p-tabmenu-item-active):not(.p-disabled):hover .p-tabmenu-item-link {\n background: dt('tabmenu.item.hover.background');\n border-color: dt('tabmenu.item.hover.border.color');\n color: dt('tabmenu.item.hover.color');\n }\n\n .p-tabmenu-item:not(.p-tabmenu-item-active):not(.p-disabled):hover .p-tabmenu-item-icon {\n color: dt('tabmenu.item.icon.hover.color');\n }\n\n .p-tabmenu-item-active .p-tabmenu-item-link {\n background: dt('tabmenu.item.active.background');\n border-color: dt('tabmenu.item.active.border.color');\n color: dt('tabmenu.item.active.color');\n }\n\n .p-tabmenu-item-active .p-tabmenu-item-icon {\n color: dt('tabmenu.item.icon.active.color');\n }\n\n .p-tabmenu-active-bar {\n z-index: 1;\n display: block;\n position: absolute;\n bottom: dt('tabmenu.active.bar.bottom');\n height: dt('tabmenu.active.bar.height');\n background: dt('tabmenu.active.bar.background');\n transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);\n }\n\n .p-tabmenu::-webkit-scrollbar {\n display: none;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-tabs {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-tablist {
|
|
8
|
+
display: flex;
|
|
9
|
+
position: relative;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
background: dt('tabs.tablist.background');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-tablist-viewport {
|
|
15
|
+
overflow-x: auto;
|
|
16
|
+
overflow-y: hidden;
|
|
17
|
+
scroll-behavior: smooth;
|
|
18
|
+
scrollbar-width: none;
|
|
19
|
+
overscroll-behavior: contain auto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-tablist-viewport::-webkit-scrollbar {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-tablist-tab-list {
|
|
27
|
+
position: relative;
|
|
28
|
+
display: flex;
|
|
29
|
+
border-style: solid;
|
|
30
|
+
border-color: dt('tabs.tablist.border.color');
|
|
31
|
+
border-width: dt('tabs.tablist.border.width');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-tablist-content {
|
|
35
|
+
flex-grow: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-tablist-nav-button {
|
|
39
|
+
all: unset;
|
|
40
|
+
position: absolute !important;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
inset-block-start: 0;
|
|
43
|
+
z-index: 2;
|
|
44
|
+
height: 100%;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
background: dt('tabs.nav.button.background');
|
|
49
|
+
color: dt('tabs.nav.button.color');
|
|
50
|
+
width: dt('tabs.nav.button.width');
|
|
51
|
+
transition:
|
|
52
|
+
color dt('tabs.transition.duration'),
|
|
53
|
+
outline-color dt('tabs.transition.duration'),
|
|
54
|
+
box-shadow dt('tabs.transition.duration');
|
|
55
|
+
box-shadow: dt('tabs.nav.button.shadow');
|
|
56
|
+
outline-color: transparent;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-tablist-nav-button:focus-visible {
|
|
61
|
+
z-index: 1;
|
|
62
|
+
box-shadow: dt('tabs.nav.button.focus.ring.shadow');
|
|
63
|
+
outline: dt('tabs.nav.button.focus.ring.width') dt('tabs.nav.button.focus.ring.style') dt('tabs.nav.button.focus.ring.color');
|
|
64
|
+
outline-offset: dt('tabs.nav.button.focus.ring.offset');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.p-tablist-nav-button:hover {
|
|
68
|
+
color: dt('tabs.nav.button.hover.color');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-tablist-prev-button {
|
|
72
|
+
inset-inline-start: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.p-tablist-next-button {
|
|
76
|
+
inset-inline-end: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.p-tablist-prev-button:dir(rtl),
|
|
80
|
+
.p-tablist-next-button:dir(rtl) {
|
|
81
|
+
transform: rotate(180deg);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.p-tab {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
user-select: none;
|
|
90
|
+
position: relative;
|
|
91
|
+
border-style: solid;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
gap: dt('tabs.tab.gap');
|
|
94
|
+
background: dt('tabs.tab.background');
|
|
95
|
+
border-width: dt('tabs.tab.border.width');
|
|
96
|
+
border-color: dt('tabs.tab.border.color');
|
|
97
|
+
color: dt('tabs.tab.color');
|
|
98
|
+
padding: dt('tabs.tab.padding');
|
|
99
|
+
font-weight: dt('tabs.tab.font.weight');
|
|
100
|
+
transition:
|
|
101
|
+
background dt('tabs.transition.duration'),
|
|
102
|
+
border-color dt('tabs.transition.duration'),
|
|
103
|
+
color dt('tabs.transition.duration'),
|
|
104
|
+
outline-color dt('tabs.transition.duration'),
|
|
105
|
+
box-shadow dt('tabs.transition.duration');
|
|
106
|
+
margin: dt('tabs.tab.margin');
|
|
107
|
+
outline-color: transparent;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.p-tab.p-disabled {
|
|
111
|
+
cursor: default;
|
|
112
|
+
pointer-events: auto;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.p-tab.p-disabled .p-ink {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.p-tab:not(.p-disabled):focus-visible {
|
|
120
|
+
z-index: 1;
|
|
121
|
+
box-shadow: dt('tabs.tab.focus.ring.shadow');
|
|
122
|
+
outline: dt('tabs.tab.focus.ring.width') dt('tabs.tab.focus.ring.style') dt('tabs.tab.focus.ring.color');
|
|
123
|
+
outline-offset: dt('tabs.tab.focus.ring.offset');
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.p-tab:not(.p-tab-active):not(.p-disabled):hover {
|
|
127
|
+
background: dt('tabs.tab.hover.background');
|
|
128
|
+
border-color: dt('tabs.tab.hover.border.color');
|
|
129
|
+
color: dt('tabs.tab.hover.color');
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.p-tab-active {
|
|
133
|
+
background: dt('tabs.tab.active.background');
|
|
134
|
+
border-color: dt('tabs.tab.active.border.color');
|
|
135
|
+
color: dt('tabs.tab.active.color');
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.p-tabpanels {
|
|
139
|
+
background: dt('tabs.tabpanel.background');
|
|
140
|
+
color: dt('tabs.tabpanel.color');
|
|
141
|
+
padding: dt('tabs.tabpanel.padding');
|
|
142
|
+
outline: 0 none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.p-tabpanel:focus-visible {
|
|
146
|
+
box-shadow: dt('tabs.tabpanel.focus.ring.shadow');
|
|
147
|
+
outline: dt('tabs.tabpanel.focus.ring.width') dt('tabs.tabpanel.focus.ring.style') dt('tabs.tabpanel.focus.ring.color');
|
|
148
|
+
outline-offset: dt('tabs.tabpanel.focus.ring.offset');
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.p-tablist-active-bar {
|
|
152
|
+
z-index: 1;
|
|
153
|
+
display: block;
|
|
154
|
+
position: absolute;
|
|
155
|
+
inset-block-end: dt('tabs.active.bar.bottom');
|
|
156
|
+
height: dt('tabs.active.bar.height');
|
|
157
|
+
background: dt('tabs.active.bar.background');
|
|
158
|
+
transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
159
|
+
}
|
|
160
|
+
`;export{style};
|
|
161
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/tabs/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-tabs {\n display: flex;\n flex-direction: column;\n }\n\n .p-tablist {\n display: flex;\n position: relative;\n overflow: hidden;\n background: dt('tabs.tablist.background');\n }\n\n .p-tablist-viewport {\n overflow-x: auto;\n overflow-y: hidden;\n scroll-behavior: smooth;\n scrollbar-width: none;\n overscroll-behavior: contain auto;\n }\n\n .p-tablist-viewport::-webkit-scrollbar {\n display: none;\n }\n\n .p-tablist-tab-list {\n position: relative;\n display: flex;\n border-style: solid;\n border-color: dt('tabs.tablist.border.color');\n border-width: dt('tabs.tablist.border.width');\n }\n\n .p-tablist-content {\n flex-grow: 1;\n }\n\n .p-tablist-nav-button {\n all: unset;\n position: absolute !important;\n flex-shrink: 0;\n inset-block-start: 0;\n z-index: 2;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: dt('tabs.nav.button.background');\n color: dt('tabs.nav.button.color');\n width: dt('tabs.nav.button.width');\n transition:\n color dt('tabs.transition.duration'),\n outline-color dt('tabs.transition.duration'),\n box-shadow dt('tabs.transition.duration');\n box-shadow: dt('tabs.nav.button.shadow');\n outline-color: transparent;\n cursor: pointer;\n }\n\n .p-tablist-nav-button:focus-visible {\n z-index: 1;\n box-shadow: dt('tabs.nav.button.focus.ring.shadow');\n outline: dt('tabs.nav.button.focus.ring.width') dt('tabs.nav.button.focus.ring.style') dt('tabs.nav.button.focus.ring.color');\n outline-offset: dt('tabs.nav.button.focus.ring.offset');\n }\n\n .p-tablist-nav-button:hover {\n color: dt('tabs.nav.button.hover.color');\n }\n\n .p-tablist-prev-button {\n inset-inline-start: 0;\n }\n\n .p-tablist-next-button {\n inset-inline-end: 0;\n }\n\n .p-tablist-prev-button:dir(rtl),\n .p-tablist-next-button:dir(rtl) {\n transform: rotate(180deg);\n }\n\n .p-tab {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n cursor: pointer;\n user-select: none;\n position: relative;\n border-style: solid;\n white-space: nowrap;\n gap: dt('tabs.tab.gap');\n background: dt('tabs.tab.background');\n border-width: dt('tabs.tab.border.width');\n border-color: dt('tabs.tab.border.color');\n color: dt('tabs.tab.color');\n padding: dt('tabs.tab.padding');\n font-weight: dt('tabs.tab.font.weight');\n transition:\n background dt('tabs.transition.duration'),\n border-color dt('tabs.transition.duration'),\n color dt('tabs.transition.duration'),\n outline-color dt('tabs.transition.duration'),\n box-shadow dt('tabs.transition.duration');\n margin: dt('tabs.tab.margin');\n outline-color: transparent;\n }\n\n .p-tab.p-disabled {\n cursor: default;\n pointer-events: auto;\n }\n\n .p-tab.p-disabled .p-ink {\n display: none;\n }\n\n .p-tab:not(.p-disabled):focus-visible {\n z-index: 1;\n box-shadow: dt('tabs.tab.focus.ring.shadow');\n outline: dt('tabs.tab.focus.ring.width') dt('tabs.tab.focus.ring.style') dt('tabs.tab.focus.ring.color');\n outline-offset: dt('tabs.tab.focus.ring.offset');\n }\n\n .p-tab:not(.p-tab-active):not(.p-disabled):hover {\n background: dt('tabs.tab.hover.background');\n border-color: dt('tabs.tab.hover.border.color');\n color: dt('tabs.tab.hover.color');\n }\n\n .p-tab-active {\n background: dt('tabs.tab.active.background');\n border-color: dt('tabs.tab.active.border.color');\n color: dt('tabs.tab.active.color');\n }\n\n .p-tabpanels {\n background: dt('tabs.tabpanel.background');\n color: dt('tabs.tabpanel.color');\n padding: dt('tabs.tabpanel.padding');\n outline: 0 none;\n }\n\n .p-tabpanel:focus-visible {\n box-shadow: dt('tabs.tabpanel.focus.ring.shadow');\n outline: dt('tabs.tabpanel.focus.ring.width') dt('tabs.tabpanel.focus.ring.style') dt('tabs.tabpanel.focus.ring.color');\n outline-offset: dt('tabs.tabpanel.focus.ring.offset');\n }\n\n .p-tablist-active-bar {\n z-index: 1;\n display: block;\n position: absolute;\n inset-block-end: dt('tabs.active.bar.bottom');\n height: dt('tabs.active.bar.height');\n background: dt('tabs.active.bar.background');\n transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-tabview-tablist-container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.p-tabview-scrollable > .p-tabview-tablist-container {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-tabview-tablist-scroll-container {
|
|
11
|
+
overflow-x: auto;
|
|
12
|
+
overflow-y: hidden;
|
|
13
|
+
scroll-behavior: smooth;
|
|
14
|
+
scrollbar-width: none;
|
|
15
|
+
overscroll-behavior: contain auto;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-tabview-tablist-scroll-container::-webkit-scrollbar {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-tabview-tablist {
|
|
23
|
+
display: flex;
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
list-style-type: none;
|
|
27
|
+
flex: 1 1 auto;
|
|
28
|
+
background: dt('tabview.tab.list.background');
|
|
29
|
+
border: 1px solid dt('tabview.tab.list.border.color');
|
|
30
|
+
border-width: 0 0 1px 0;
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-tabview-tab-header {
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
user-select: none;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
position: relative;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
border-style: solid;
|
|
43
|
+
border-width: 0 0 1px 0;
|
|
44
|
+
border-color: transparent transparent dt('tabview.tab.border.color') transparent;
|
|
45
|
+
color: dt('tabview.tab.color');
|
|
46
|
+
padding: 1rem 1.125rem;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
border-top-right-radius: dt('border.radius.md');
|
|
49
|
+
border-top-left-radius: dt('border.radius.md');
|
|
50
|
+
transition:
|
|
51
|
+
color dt('tabview.transition.duration'),
|
|
52
|
+
outline-color dt('tabview.transition.duration');
|
|
53
|
+
margin: 0 0 -1px 0;
|
|
54
|
+
outline-color: transparent;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-tabview-tablist-item:not(.p-disabled) .p-tabview-tab-header:focus-visible {
|
|
58
|
+
outline: dt('focus.ring.width') dt('focus.ring.style') dt('focus.ring.color');
|
|
59
|
+
outline-offset: -1px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-tabview-tablist-item:not(.p-highlight):not(.p-disabled):hover > .p-tabview-tab-header {
|
|
63
|
+
color: dt('tabview.tab.hover.color');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-tabview-tablist-item.p-highlight > .p-tabview-tab-header {
|
|
67
|
+
color: dt('tabview.tab.active.color');
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-tabview-tab-title {
|
|
71
|
+
line-height: 1;
|
|
72
|
+
white-space: nowrap;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.p-tabview-next-button,
|
|
76
|
+
.p-tabview-prev-button {
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 0;
|
|
79
|
+
margin: 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
z-index: 2;
|
|
82
|
+
height: 100%;
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
background: dt('tabview.nav.button.background');
|
|
87
|
+
color: dt('tabview.nav.button.color');
|
|
88
|
+
width: 2.5rem;
|
|
89
|
+
border-radius: 0;
|
|
90
|
+
outline-color: transparent;
|
|
91
|
+
transition:
|
|
92
|
+
color dt('tabview.transition.duration'),
|
|
93
|
+
outline-color dt('tabview.transition.duration');
|
|
94
|
+
box-shadow: dt('tabview.nav.button.shadow');
|
|
95
|
+
border: none;
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
user-select: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-tabview-next-button:focus-visible,
|
|
101
|
+
.p-tabview-prev-button:focus-visible {
|
|
102
|
+
outline: dt('focus.ring.width') dt('focus.ring.style') dt('focus.ring.color');
|
|
103
|
+
outline-offset: dt('focus.ring.offset');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-tabview-next-button:hover,
|
|
107
|
+
.p-tabview-prev-button:hover {
|
|
108
|
+
color: dt('tabview.nav.button.hover.color');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.p-tabview-prev-button {
|
|
112
|
+
left: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.p-tabview-next-button {
|
|
116
|
+
right: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.p-tabview-panels {
|
|
120
|
+
background: dt('tabview.tab.panel.background');
|
|
121
|
+
color: dt('tabview.tab.panel.color');
|
|
122
|
+
padding: 0.875rem 1.125rem 1.125rem 1.125rem;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.p-tabview-ink-bar {
|
|
126
|
+
z-index: 1;
|
|
127
|
+
display: block;
|
|
128
|
+
position: absolute;
|
|
129
|
+
bottom: -1px;
|
|
130
|
+
height: 1px;
|
|
131
|
+
background: dt('tabview.tab.active.border.color');
|
|
132
|
+
transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
133
|
+
}
|
|
134
|
+
`;export{style};
|
|
135
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/tabview/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-tabview-tablist-container {\n position: relative;\n }\n\n .p-tabview-scrollable > .p-tabview-tablist-container {\n overflow: hidden;\n }\n\n .p-tabview-tablist-scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n scroll-behavior: smooth;\n scrollbar-width: none;\n overscroll-behavior: contain auto;\n }\n\n .p-tabview-tablist-scroll-container::-webkit-scrollbar {\n display: none;\n }\n\n .p-tabview-tablist {\n display: flex;\n margin: 0;\n padding: 0;\n list-style-type: none;\n flex: 1 1 auto;\n background: dt('tabview.tab.list.background');\n border: 1px solid dt('tabview.tab.list.border.color');\n border-width: 0 0 1px 0;\n position: relative;\n }\n\n .p-tabview-tab-header {\n cursor: pointer;\n user-select: none;\n display: flex;\n align-items: center;\n text-decoration: none;\n position: relative;\n overflow: hidden;\n border-style: solid;\n border-width: 0 0 1px 0;\n border-color: transparent transparent dt('tabview.tab.border.color') transparent;\n color: dt('tabview.tab.color');\n padding: 1rem 1.125rem;\n font-weight: 600;\n border-top-right-radius: dt('border.radius.md');\n border-top-left-radius: dt('border.radius.md');\n transition:\n color dt('tabview.transition.duration'),\n outline-color dt('tabview.transition.duration');\n margin: 0 0 -1px 0;\n outline-color: transparent;\n }\n\n .p-tabview-tablist-item:not(.p-disabled) .p-tabview-tab-header:focus-visible {\n outline: dt('focus.ring.width') dt('focus.ring.style') dt('focus.ring.color');\n outline-offset: -1px;\n }\n\n .p-tabview-tablist-item:not(.p-highlight):not(.p-disabled):hover > .p-tabview-tab-header {\n color: dt('tabview.tab.hover.color');\n }\n\n .p-tabview-tablist-item.p-highlight > .p-tabview-tab-header {\n color: dt('tabview.tab.active.color');\n }\n\n .p-tabview-tab-title {\n line-height: 1;\n white-space: nowrap;\n }\n\n .p-tabview-next-button,\n .p-tabview-prev-button {\n position: absolute;\n top: 0;\n margin: 0;\n padding: 0;\n z-index: 2;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: dt('tabview.nav.button.background');\n color: dt('tabview.nav.button.color');\n width: 2.5rem;\n border-radius: 0;\n outline-color: transparent;\n transition:\n color dt('tabview.transition.duration'),\n outline-color dt('tabview.transition.duration');\n box-shadow: dt('tabview.nav.button.shadow');\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-tabview-next-button:focus-visible,\n .p-tabview-prev-button:focus-visible {\n outline: dt('focus.ring.width') dt('focus.ring.style') dt('focus.ring.color');\n outline-offset: dt('focus.ring.offset');\n }\n\n .p-tabview-next-button:hover,\n .p-tabview-prev-button:hover {\n color: dt('tabview.nav.button.hover.color');\n }\n\n .p-tabview-prev-button {\n left: 0;\n }\n\n .p-tabview-next-button {\n right: 0;\n }\n\n .p-tabview-panels {\n background: dt('tabview.tab.panel.background');\n color: dt('tabview.tab.panel.color');\n padding: 0.875rem 1.125rem 1.125rem 1.125rem;\n }\n\n .p-tabview-ink-bar {\n z-index: 1;\n display: block;\n position: absolute;\n bottom: -1px;\n height: 1px;\n background: dt('tabview.tab.active.border.color');\n transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-tag {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
background: dt('tag.primary.background');
|
|
7
|
+
color: dt('tag.primary.color');
|
|
8
|
+
font-size: dt('tag.font.size');
|
|
9
|
+
font-weight: dt('tag.font.weight');
|
|
10
|
+
padding: dt('tag.padding');
|
|
11
|
+
border-radius: dt('tag.border.radius');
|
|
12
|
+
gap: dt('tag.gap');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-tag-icon {
|
|
16
|
+
font-size: dt('tag.icon.size');
|
|
17
|
+
width: dt('tag.icon.size');
|
|
18
|
+
height: dt('tag.icon.size');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-tag-rounded {
|
|
22
|
+
border-radius: dt('tag.rounded.border.radius');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-tag-success {
|
|
26
|
+
background: dt('tag.success.background');
|
|
27
|
+
color: dt('tag.success.color');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-tag-info {
|
|
31
|
+
background: dt('tag.info.background');
|
|
32
|
+
color: dt('tag.info.color');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-tag-warn {
|
|
36
|
+
background: dt('tag.warn.background');
|
|
37
|
+
color: dt('tag.warn.color');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-tag-danger {
|
|
41
|
+
background: dt('tag.danger.background');
|
|
42
|
+
color: dt('tag.danger.color');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-tag-secondary {
|
|
46
|
+
background: dt('tag.secondary.background');
|
|
47
|
+
color: dt('tag.secondary.color');
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-tag-contrast {
|
|
51
|
+
background: dt('tag.contrast.background');
|
|
52
|
+
color: dt('tag.contrast.color');
|
|
53
|
+
}
|
|
54
|
+
`;export{style};
|
|
55
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/tag/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-tag {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: dt('tag.primary.background');\n color: dt('tag.primary.color');\n font-size: dt('tag.font.size');\n font-weight: dt('tag.font.weight');\n padding: dt('tag.padding');\n border-radius: dt('tag.border.radius');\n gap: dt('tag.gap');\n }\n\n .p-tag-icon {\n font-size: dt('tag.icon.size');\n width: dt('tag.icon.size');\n height: dt('tag.icon.size');\n }\n\n .p-tag-rounded {\n border-radius: dt('tag.rounded.border.radius');\n }\n\n .p-tag-success {\n background: dt('tag.success.background');\n color: dt('tag.success.color');\n }\n\n .p-tag-info {\n background: dt('tag.info.background');\n color: dt('tag.info.color');\n }\n\n .p-tag-warn {\n background: dt('tag.warn.background');\n color: dt('tag.warn.color');\n }\n\n .p-tag-danger {\n background: dt('tag.danger.background');\n color: dt('tag.danger.color');\n }\n\n .p-tag-secondary {\n background: dt('tag.secondary.background');\n color: dt('tag.secondary.color');\n }\n\n .p-tag-contrast {\n background: dt('tag.contrast.background');\n color: dt('tag.contrast.color');\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-terminal {
|
|
3
|
+
display: block;
|
|
4
|
+
height: dt('terminal.height');
|
|
5
|
+
overflow: auto;
|
|
6
|
+
background: dt('terminal.background');
|
|
7
|
+
color: dt('terminal.color');
|
|
8
|
+
border: 1px solid dt('terminal.border.color');
|
|
9
|
+
padding: dt('terminal.padding');
|
|
10
|
+
border-radius: dt('terminal.border.radius');
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-terminal-prompt {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-terminal-prompt-value {
|
|
19
|
+
flex: 1 1 auto;
|
|
20
|
+
border: 0 none;
|
|
21
|
+
background: transparent;
|
|
22
|
+
color: inherit;
|
|
23
|
+
padding: 0;
|
|
24
|
+
outline: 0 none;
|
|
25
|
+
font-family: inherit;
|
|
26
|
+
font-feature-settings: inherit;
|
|
27
|
+
font-size: 1rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-terminal-prompt-label {
|
|
31
|
+
margin-inline-end: dt('terminal.prompt.gap');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-terminal-input::-ms-clear {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-terminal-command-response {
|
|
39
|
+
margin: dt('terminal.command.response.margin');
|
|
40
|
+
}
|
|
41
|
+
`;export{style};
|
|
42
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/terminal/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-terminal {\n display: block;\n height: dt('terminal.height');\n overflow: auto;\n background: dt('terminal.background');\n color: dt('terminal.color');\n border: 1px solid dt('terminal.border.color');\n padding: dt('terminal.padding');\n border-radius: dt('terminal.border.radius');\n }\n\n .p-terminal-prompt {\n display: flex;\n align-items: center;\n }\n\n .p-terminal-prompt-value {\n flex: 1 1 auto;\n border: 0 none;\n background: transparent;\n color: inherit;\n padding: 0;\n outline: 0 none;\n font-family: inherit;\n font-feature-settings: inherit;\n font-size: 1rem;\n }\n\n .p-terminal-prompt-label {\n margin-inline-end: dt('terminal.prompt.gap');\n }\n\n .p-terminal-input::-ms-clear {\n display: none;\n }\n\n .p-terminal-command-response {\n margin: dt('terminal.command.response.margin');\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|