@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,44 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-selectbutton {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
user-select: none;
|
|
5
|
+
vertical-align: bottom;
|
|
6
|
+
outline-color: transparent;
|
|
7
|
+
border-radius: dt('selectbutton.border.radius');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-selectbutton .p-togglebutton {
|
|
11
|
+
border-radius: 0;
|
|
12
|
+
border-width: 1px 1px 1px 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-selectbutton .p-togglebutton:focus-visible {
|
|
16
|
+
position: relative;
|
|
17
|
+
z-index: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-selectbutton .p-togglebutton:first-child {
|
|
21
|
+
border-inline-start-width: 1px;
|
|
22
|
+
border-start-start-radius: dt('selectbutton.border.radius');
|
|
23
|
+
border-end-start-radius: dt('selectbutton.border.radius');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-selectbutton .p-togglebutton:last-child {
|
|
27
|
+
border-start-end-radius: dt('selectbutton.border.radius');
|
|
28
|
+
border-end-end-radius: dt('selectbutton.border.radius');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-selectbutton.p-invalid {
|
|
32
|
+
outline: 1px solid dt('selectbutton.invalid.border.color');
|
|
33
|
+
outline-offset: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-selectbutton-fluid {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-selectbutton-fluid .p-togglebutton {
|
|
41
|
+
flex: 1 1 0;
|
|
42
|
+
}
|
|
43
|
+
`;export{style};
|
|
44
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/selectbutton/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-selectbutton {\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n outline-color: transparent;\n border-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton .p-togglebutton {\n border-radius: 0;\n border-width: 1px 1px 1px 0;\n }\n\n .p-selectbutton .p-togglebutton:focus-visible {\n position: relative;\n z-index: 1;\n }\n\n .p-selectbutton .p-togglebutton:first-child {\n border-inline-start-width: 1px;\n border-start-start-radius: dt('selectbutton.border.radius');\n border-end-start-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton .p-togglebutton:last-child {\n border-start-end-radius: dt('selectbutton.border.radius');\n border-end-end-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton.p-invalid {\n outline: 1px solid dt('selectbutton.invalid.border.color');\n outline-offset: 0;\n }\n\n .p-selectbutton-fluid {\n width: 100%;\n }\n \n .p-selectbutton-fluid .p-togglebutton {\n flex: 1 1 0;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-skeleton {
|
|
3
|
+
display: block;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
background: dt('skeleton.background');
|
|
6
|
+
border-radius: dt('skeleton.border.radius');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-skeleton::after {
|
|
10
|
+
content: '';
|
|
11
|
+
animation: p-skeleton-animation 1.2s infinite;
|
|
12
|
+
height: 100%;
|
|
13
|
+
left: 0;
|
|
14
|
+
position: absolute;
|
|
15
|
+
right: 0;
|
|
16
|
+
top: 0;
|
|
17
|
+
transform: translateX(-100%);
|
|
18
|
+
z-index: 1;
|
|
19
|
+
background: linear-gradient(90deg, rgba(255, 255, 255, 0), dt('skeleton.animation.background'), rgba(255, 255, 255, 0));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[dir='rtl'] .p-skeleton::after {
|
|
23
|
+
animation-name: p-skeleton-animation-rtl;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-skeleton-circle {
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-skeleton-animation-none::after {
|
|
31
|
+
animation: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@keyframes p-skeleton-animation {
|
|
35
|
+
from {
|
|
36
|
+
transform: translateX(-100%);
|
|
37
|
+
}
|
|
38
|
+
to {
|
|
39
|
+
transform: translateX(100%);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes p-skeleton-animation-rtl {
|
|
44
|
+
from {
|
|
45
|
+
transform: translateX(100%);
|
|
46
|
+
}
|
|
47
|
+
to {
|
|
48
|
+
transform: translateX(-100%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
`;export{style};
|
|
52
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/skeleton/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-skeleton {\n display: block;\n overflow: hidden;\n background: dt('skeleton.background');\n border-radius: dt('skeleton.border.radius');\n }\n\n .p-skeleton::after {\n content: '';\n animation: p-skeleton-animation 1.2s infinite;\n height: 100%;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n transform: translateX(-100%);\n z-index: 1;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0), dt('skeleton.animation.background'), rgba(255, 255, 255, 0));\n }\n\n [dir='rtl'] .p-skeleton::after {\n animation-name: p-skeleton-animation-rtl;\n }\n\n .p-skeleton-circle {\n border-radius: 50%;\n }\n\n .p-skeleton-animation-none::after {\n animation: none;\n }\n\n @keyframes p-skeleton-animation {\n from {\n transform: translateX(-100%);\n }\n to {\n transform: translateX(100%);\n }\n }\n\n @keyframes p-skeleton-animation-rtl {\n from {\n transform: translateX(100%);\n }\n to {\n transform: translateX(-100%);\n }\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-slider {
|
|
3
|
+
display: block;
|
|
4
|
+
position: relative;
|
|
5
|
+
background: dt('slider.track.background');
|
|
6
|
+
border-radius: dt('slider.track.border.radius');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-slider-handle {
|
|
10
|
+
cursor: grab;
|
|
11
|
+
touch-action: none;
|
|
12
|
+
user-select: none;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
height: dt('slider.handle.height');
|
|
17
|
+
width: dt('slider.handle.width');
|
|
18
|
+
background: dt('slider.handle.background');
|
|
19
|
+
border-radius: dt('slider.handle.border.radius');
|
|
20
|
+
transition:
|
|
21
|
+
background dt('slider.transition.duration'),
|
|
22
|
+
color dt('slider.transition.duration'),
|
|
23
|
+
border-color dt('slider.transition.duration'),
|
|
24
|
+
box-shadow dt('slider.transition.duration'),
|
|
25
|
+
outline-color dt('slider.transition.duration');
|
|
26
|
+
outline-color: transparent;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-slider-handle::before {
|
|
30
|
+
content: '';
|
|
31
|
+
width: dt('slider.handle.content.width');
|
|
32
|
+
height: dt('slider.handle.content.height');
|
|
33
|
+
display: block;
|
|
34
|
+
background: dt('slider.handle.content.background');
|
|
35
|
+
border-radius: dt('slider.handle.content.border.radius');
|
|
36
|
+
box-shadow: dt('slider.handle.content.shadow');
|
|
37
|
+
transition: background dt('slider.transition.duration');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-slider:not(.p-disabled) .p-slider-handle:hover {
|
|
41
|
+
background: dt('slider.handle.hover.background');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.p-slider:not(.p-disabled) .p-slider-handle:hover::before {
|
|
45
|
+
background: dt('slider.handle.content.hover.background');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-slider-handle:focus-visible {
|
|
49
|
+
box-shadow: dt('slider.handle.focus.ring.shadow');
|
|
50
|
+
outline: dt('slider.handle.focus.ring.width') dt('slider.handle.focus.ring.style') dt('slider.handle.focus.ring.color');
|
|
51
|
+
outline-offset: dt('slider.handle.focus.ring.offset');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-slider-range {
|
|
55
|
+
display: block;
|
|
56
|
+
background: dt('slider.range.background');
|
|
57
|
+
border-radius: dt('slider.track.border.radius');
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-slider.p-slider-horizontal {
|
|
61
|
+
height: dt('slider.track.size');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.p-slider-horizontal .p-slider-range {
|
|
65
|
+
inset-block-start: 0;
|
|
66
|
+
inset-inline-start: 0;
|
|
67
|
+
height: 100%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-slider-horizontal .p-slider-handle {
|
|
71
|
+
inset-block-start: 50%;
|
|
72
|
+
margin-block-start: calc(-1 * calc(dt('slider.handle.height') / 2));
|
|
73
|
+
margin-inline-start: calc(-1 * calc(dt('slider.handle.width') / 2));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.p-slider-vertical {
|
|
77
|
+
min-height: 100px;
|
|
78
|
+
width: dt('slider.track.size');
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.p-slider-vertical .p-slider-handle {
|
|
82
|
+
inset-inline-start: 50%;
|
|
83
|
+
margin-inline-start: calc(-1 * calc(dt('slider.handle.width') / 2));
|
|
84
|
+
margin-block-end: calc(-1 * calc(dt('slider.handle.height') / 2));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.p-slider-vertical .p-slider-range {
|
|
88
|
+
inset-block-end: 0;
|
|
89
|
+
inset-inline-start: 0;
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
`;export{style};
|
|
93
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/slider/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-slider {\n display: block;\n position: relative;\n background: dt('slider.track.background');\n border-radius: dt('slider.track.border.radius');\n }\n\n .p-slider-handle {\n cursor: grab;\n touch-action: none;\n user-select: none;\n display: flex;\n justify-content: center;\n align-items: center;\n height: dt('slider.handle.height');\n width: dt('slider.handle.width');\n background: dt('slider.handle.background');\n border-radius: dt('slider.handle.border.radius');\n transition:\n background dt('slider.transition.duration'),\n color dt('slider.transition.duration'),\n border-color dt('slider.transition.duration'),\n box-shadow dt('slider.transition.duration'),\n outline-color dt('slider.transition.duration');\n outline-color: transparent;\n }\n\n .p-slider-handle::before {\n content: '';\n width: dt('slider.handle.content.width');\n height: dt('slider.handle.content.height');\n display: block;\n background: dt('slider.handle.content.background');\n border-radius: dt('slider.handle.content.border.radius');\n box-shadow: dt('slider.handle.content.shadow');\n transition: background dt('slider.transition.duration');\n }\n\n .p-slider:not(.p-disabled) .p-slider-handle:hover {\n background: dt('slider.handle.hover.background');\n }\n\n .p-slider:not(.p-disabled) .p-slider-handle:hover::before {\n background: dt('slider.handle.content.hover.background');\n }\n\n .p-slider-handle:focus-visible {\n box-shadow: dt('slider.handle.focus.ring.shadow');\n outline: dt('slider.handle.focus.ring.width') dt('slider.handle.focus.ring.style') dt('slider.handle.focus.ring.color');\n outline-offset: dt('slider.handle.focus.ring.offset');\n }\n\n .p-slider-range {\n display: block;\n background: dt('slider.range.background');\n border-radius: dt('slider.track.border.radius');\n }\n\n .p-slider.p-slider-horizontal {\n height: dt('slider.track.size');\n }\n\n .p-slider-horizontal .p-slider-range {\n inset-block-start: 0;\n inset-inline-start: 0;\n height: 100%;\n }\n\n .p-slider-horizontal .p-slider-handle {\n inset-block-start: 50%;\n margin-block-start: calc(-1 * calc(dt('slider.handle.height') / 2));\n margin-inline-start: calc(-1 * calc(dt('slider.handle.width') / 2));\n }\n\n .p-slider-vertical {\n min-height: 100px;\n width: dt('slider.track.size');\n }\n\n .p-slider-vertical .p-slider-handle {\n inset-inline-start: 50%;\n margin-inline-start: calc(-1 * calc(dt('slider.handle.width') / 2));\n margin-block-end: calc(-1 * calc(dt('slider.handle.height') / 2));\n }\n\n .p-slider-vertical .p-slider-range {\n inset-block-end: 0;\n inset-inline-start: 0;\n width: 100%;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-speeddial {
|
|
3
|
+
position: static;
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: dt('speeddial.gap');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-speeddial-button {
|
|
9
|
+
z-index: 1;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-speeddial-button.p-speeddial-rotate {
|
|
13
|
+
transition:
|
|
14
|
+
transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
15
|
+
background dt('speeddial.transition.duration'),
|
|
16
|
+
color dt('speeddial.transition.duration'),
|
|
17
|
+
border-color dt('speeddial.transition.duration'),
|
|
18
|
+
box-shadow dt('speeddial.transition.duration'),
|
|
19
|
+
outline-color dt('speeddial.transition.duration');
|
|
20
|
+
will-change: transform;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-speeddial-list {
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
list-style: none;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
transition: inset-block-start 0s linear dt('speeddial.transition.duration');
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
outline: 0 none;
|
|
33
|
+
z-index: 2;
|
|
34
|
+
gap: dt('speeddial.gap');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-speeddial-item {
|
|
38
|
+
transform: scale(0);
|
|
39
|
+
opacity: 0;
|
|
40
|
+
transition:
|
|
41
|
+
transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
42
|
+
opacity 0.8s;
|
|
43
|
+
will-change: transform;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-speeddial-circle .p-speeddial-item,
|
|
47
|
+
.p-speeddial-semi-circle .p-speeddial-item,
|
|
48
|
+
.p-speeddial-quarter-circle .p-speeddial-item {
|
|
49
|
+
position: absolute;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-speeddial-mask {
|
|
53
|
+
position: absolute;
|
|
54
|
+
border-radius: dt('content.border.radius');
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-speeddial-open .p-speeddial-list {
|
|
58
|
+
pointer-events: auto;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-speeddial-open .p-speeddial-item {
|
|
62
|
+
transform: scale(1);
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-speeddial-open .p-speeddial-rotate {
|
|
67
|
+
transform: rotate(45deg);
|
|
68
|
+
}
|
|
69
|
+
`;export{style};
|
|
70
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/speeddial/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-speeddial {\n position: static;\n display: flex;\n gap: dt('speeddial.gap');\n }\n\n .p-speeddial-button {\n z-index: 1;\n }\n\n .p-speeddial-button.p-speeddial-rotate {\n transition:\n transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n background dt('speeddial.transition.duration'),\n color dt('speeddial.transition.duration'),\n border-color dt('speeddial.transition.duration'),\n box-shadow dt('speeddial.transition.duration'),\n outline-color dt('speeddial.transition.duration');\n will-change: transform;\n }\n\n .p-speeddial-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: inset-block-start 0s linear dt('speeddial.transition.duration');\n pointer-events: none;\n outline: 0 none;\n z-index: 2;\n gap: dt('speeddial.gap');\n }\n\n .p-speeddial-item {\n transform: scale(0);\n opacity: 0;\n transition:\n transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n opacity 0.8s;\n will-change: transform;\n }\n\n .p-speeddial-circle .p-speeddial-item,\n .p-speeddial-semi-circle .p-speeddial-item,\n .p-speeddial-quarter-circle .p-speeddial-item {\n position: absolute;\n }\n\n .p-speeddial-mask {\n position: absolute;\n border-radius: dt('content.border.radius');\n }\n\n .p-speeddial-open .p-speeddial-list {\n pointer-events: auto;\n }\n\n .p-speeddial-open .p-speeddial-item {\n transform: scale(1);\n opacity: 1;\n }\n\n .p-speeddial-open .p-speeddial-rotate {\n transform: rotate(45deg);\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-splitbutton {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
position: relative;
|
|
5
|
+
border-radius: dt('splitbutton.border.radius');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-splitbutton-button.p-button {
|
|
9
|
+
border-start-end-radius: 0;
|
|
10
|
+
border-end-end-radius: 0;
|
|
11
|
+
border-inline-end: 0 none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-splitbutton-button.p-button:focus-visible,
|
|
15
|
+
.p-splitbutton-dropdown.p-button:focus-visible {
|
|
16
|
+
z-index: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-splitbutton-button.p-button:not(:disabled):hover,
|
|
20
|
+
.p-splitbutton-button.p-button:not(:disabled):active {
|
|
21
|
+
border-inline-end: 0 none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-splitbutton-dropdown.p-button {
|
|
25
|
+
border-start-start-radius: 0;
|
|
26
|
+
border-end-start-radius: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-splitbutton .p-menu {
|
|
30
|
+
min-width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.p-splitbutton-fluid {
|
|
34
|
+
display: flex;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-splitbutton-rounded .p-splitbutton-dropdown.p-button {
|
|
38
|
+
border-start-end-radius: dt('splitbutton.rounded.border.radius');
|
|
39
|
+
border-end-end-radius: dt('splitbutton.rounded.border.radius');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-splitbutton-rounded .p-splitbutton-button.p-button {
|
|
43
|
+
border-start-start-radius: dt('splitbutton.rounded.border.radius');
|
|
44
|
+
border-end-start-radius: dt('splitbutton.rounded.border.radius');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-splitbutton-raised {
|
|
48
|
+
box-shadow: dt('splitbutton.raised.shadow');
|
|
49
|
+
}
|
|
50
|
+
`;export{style};
|
|
51
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/splitbutton/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-splitbutton {\n display: inline-flex;\n position: relative;\n border-radius: dt('splitbutton.border.radius');\n }\n\n .p-splitbutton-button.p-button {\n border-start-end-radius: 0;\n border-end-end-radius: 0;\n border-inline-end: 0 none;\n }\n\n .p-splitbutton-button.p-button:focus-visible,\n .p-splitbutton-dropdown.p-button:focus-visible {\n z-index: 1;\n }\n\n .p-splitbutton-button.p-button:not(:disabled):hover,\n .p-splitbutton-button.p-button:not(:disabled):active {\n border-inline-end: 0 none;\n }\n\n .p-splitbutton-dropdown.p-button {\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n }\n\n .p-splitbutton .p-menu {\n min-width: 100%;\n }\n\n .p-splitbutton-fluid {\n display: flex;\n }\n\n .p-splitbutton-rounded .p-splitbutton-dropdown.p-button {\n border-start-end-radius: dt('splitbutton.rounded.border.radius');\n border-end-end-radius: dt('splitbutton.rounded.border.radius');\n }\n\n .p-splitbutton-rounded .p-splitbutton-button.p-button {\n border-start-start-radius: dt('splitbutton.rounded.border.radius');\n border-end-start-radius: dt('splitbutton.rounded.border.radius');\n }\n\n .p-splitbutton-raised {\n box-shadow: dt('splitbutton.raised.shadow');\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-splitter {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: nowrap;
|
|
5
|
+
border: 1px solid dt('splitter.border.color');
|
|
6
|
+
background: dt('splitter.background');
|
|
7
|
+
border-radius: dt('border.radius.md');
|
|
8
|
+
color: dt('splitter.color');
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-splitter-vertical {
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-splitter-gutter {
|
|
16
|
+
flex-grow: 0;
|
|
17
|
+
flex-shrink: 0;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
z-index: 1;
|
|
22
|
+
background: dt('splitter.gutter.background');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-splitter-gutter-handle {
|
|
26
|
+
border-radius: dt('splitter.handle.border.radius');
|
|
27
|
+
background: dt('splitter.handle.background');
|
|
28
|
+
transition:
|
|
29
|
+
outline-color dt('splitter.transition.duration'),
|
|
30
|
+
box-shadow dt('splitter.transition.duration');
|
|
31
|
+
outline-color: transparent;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-splitter-gutter-handle:focus-visible {
|
|
35
|
+
box-shadow: dt('splitter.handle.focus.ring.shadow');
|
|
36
|
+
outline: dt('splitter.handle.focus.ring.width') dt('splitter.handle.focus.ring.style') dt('splitter.handle.focus.ring.color');
|
|
37
|
+
outline-offset: dt('splitter.handle.focus.ring.offset');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-splitter-horizontal.p-splitter-resizing {
|
|
41
|
+
cursor: col-resize;
|
|
42
|
+
user-select: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-splitter-vertical.p-splitter-resizing {
|
|
46
|
+
cursor: row-resize;
|
|
47
|
+
user-select: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle {
|
|
51
|
+
height: dt('splitter.handle.size');
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle {
|
|
56
|
+
width: dt('splitter.handle.size');
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-splitter-horizontal > .p-splitter-gutter {
|
|
61
|
+
cursor: col-resize;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.p-splitter-vertical > .p-splitter-gutter {
|
|
65
|
+
cursor: row-resize;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.p-splitterpanel {
|
|
69
|
+
flex-grow: 1;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.p-splitterpanel-nested {
|
|
74
|
+
display: flex;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-splitterpanel .p-splitter {
|
|
78
|
+
flex-grow: 1;
|
|
79
|
+
min-width: 0;
|
|
80
|
+
min-height: 0;
|
|
81
|
+
border: 0 none;
|
|
82
|
+
}
|
|
83
|
+
`;export{style};
|
|
84
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/splitter/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-splitter {\n display: flex;\n flex-wrap: nowrap;\n border: 1px solid dt('splitter.border.color');\n background: dt('splitter.background');\n border-radius: dt('border.radius.md');\n color: dt('splitter.color');\n }\n\n .p-splitter-vertical {\n flex-direction: column;\n }\n\n .p-splitter-gutter {\n flex-grow: 0;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n background: dt('splitter.gutter.background');\n }\n\n .p-splitter-gutter-handle {\n border-radius: dt('splitter.handle.border.radius');\n background: dt('splitter.handle.background');\n transition:\n outline-color dt('splitter.transition.duration'),\n box-shadow dt('splitter.transition.duration');\n outline-color: transparent;\n }\n\n .p-splitter-gutter-handle:focus-visible {\n box-shadow: dt('splitter.handle.focus.ring.shadow');\n outline: dt('splitter.handle.focus.ring.width') dt('splitter.handle.focus.ring.style') dt('splitter.handle.focus.ring.color');\n outline-offset: dt('splitter.handle.focus.ring.offset');\n }\n\n .p-splitter-horizontal.p-splitter-resizing {\n cursor: col-resize;\n user-select: none;\n }\n\n .p-splitter-vertical.p-splitter-resizing {\n cursor: row-resize;\n user-select: none;\n }\n\n .p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle {\n height: dt('splitter.handle.size');\n width: 100%;\n }\n\n .p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle {\n width: dt('splitter.handle.size');\n height: 100%;\n }\n\n .p-splitter-horizontal > .p-splitter-gutter {\n cursor: col-resize;\n }\n\n .p-splitter-vertical > .p-splitter-gutter {\n cursor: row-resize;\n }\n\n .p-splitterpanel {\n flex-grow: 1;\n overflow: hidden;\n }\n\n .p-splitterpanel-nested {\n display: flex;\n }\n\n .p-splitterpanel .p-splitter {\n flex-grow: 1;\n min-width: 0;\n min-height: 0;\n border: 0 none;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-steplist {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
margin: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
list-style-type: none;
|
|
10
|
+
overflow-x: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-step {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1 1 auto;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: dt('stepper.step.gap');
|
|
19
|
+
padding: dt('stepper.step.padding');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-step:last-of-type {
|
|
23
|
+
flex: initial;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-step-header {
|
|
27
|
+
border: 0 none;
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
transition:
|
|
33
|
+
background dt('stepper.transition.duration'),
|
|
34
|
+
color dt('stepper.transition.duration'),
|
|
35
|
+
border-color dt('stepper.transition.duration'),
|
|
36
|
+
outline-color dt('stepper.transition.duration'),
|
|
37
|
+
box-shadow dt('stepper.transition.duration');
|
|
38
|
+
border-radius: dt('stepper.step.header.border.radius');
|
|
39
|
+
outline-color: transparent;
|
|
40
|
+
background: transparent;
|
|
41
|
+
padding: dt('stepper.step.header.padding');
|
|
42
|
+
gap: dt('stepper.step.header.gap');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-step-header:focus-visible {
|
|
46
|
+
box-shadow: dt('stepper.step.header.focus.ring.shadow');
|
|
47
|
+
outline: dt('stepper.step.header.focus.ring.width') dt('stepper.step.header.focus.ring.style') dt('stepper.step.header.focus.ring.color');
|
|
48
|
+
outline-offset: dt('stepper.step.header.focus.ring.offset');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.p-stepper.p-stepper-readonly .p-step {
|
|
52
|
+
cursor: auto;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-step-title {
|
|
56
|
+
display: block;
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
text-overflow: ellipsis;
|
|
60
|
+
max-width: 100%;
|
|
61
|
+
color: dt('stepper.step.title.color');
|
|
62
|
+
font-weight: dt('stepper.step.title.font.weight');
|
|
63
|
+
transition:
|
|
64
|
+
background dt('stepper.transition.duration'),
|
|
65
|
+
color dt('stepper.transition.duration'),
|
|
66
|
+
border-color dt('stepper.transition.duration'),
|
|
67
|
+
box-shadow dt('stepper.transition.duration'),
|
|
68
|
+
outline-color dt('stepper.transition.duration');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-step-number {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
color: dt('stepper.step.number.color');
|
|
76
|
+
border: 2px solid dt('stepper.step.number.border.color');
|
|
77
|
+
background: dt('stepper.step.number.background');
|
|
78
|
+
min-width: dt('stepper.step.number.size');
|
|
79
|
+
height: dt('stepper.step.number.size');
|
|
80
|
+
line-height: dt('stepper.step.number.size');
|
|
81
|
+
font-size: dt('stepper.step.number.font.size');
|
|
82
|
+
z-index: 1;
|
|
83
|
+
border-radius: dt('stepper.step.number.border.radius');
|
|
84
|
+
position: relative;
|
|
85
|
+
font-weight: dt('stepper.step.number.font.weight');
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-step-number::after {
|
|
89
|
+
content: ' ';
|
|
90
|
+
position: absolute;
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 100%;
|
|
93
|
+
border-radius: dt('stepper.step.number.border.radius');
|
|
94
|
+
box-shadow: dt('stepper.step.number.shadow');
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.p-step-active .p-step-header {
|
|
98
|
+
cursor: default;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.p-step-active .p-step-number {
|
|
102
|
+
background: dt('stepper.step.number.active.background');
|
|
103
|
+
border-color: dt('stepper.step.number.active.border.color');
|
|
104
|
+
color: dt('stepper.step.number.active.color');
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.p-step-active .p-step-title {
|
|
108
|
+
color: dt('stepper.step.title.active.color');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.p-step:not(.p-disabled):focus-visible {
|
|
112
|
+
outline: dt('focus.ring.width') dt('focus.ring.style') dt('focus.ring.color');
|
|
113
|
+
outline-offset: dt('focus.ring.offset');
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.p-step:has(~ .p-step-active) .p-stepper-separator {
|
|
117
|
+
background: dt('stepper.separator.active.background');
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.p-stepper-separator {
|
|
121
|
+
flex: 1 1 0;
|
|
122
|
+
background: dt('stepper.separator.background');
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: dt('stepper.separator.size');
|
|
125
|
+
transition:
|
|
126
|
+
background dt('stepper.transition.duration'),
|
|
127
|
+
color dt('stepper.transition.duration'),
|
|
128
|
+
border-color dt('stepper.transition.duration'),
|
|
129
|
+
box-shadow dt('stepper.transition.duration'),
|
|
130
|
+
outline-color dt('stepper.transition.duration');
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.p-steppanels {
|
|
134
|
+
padding: dt('stepper.steppanels.padding');
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.p-steppanel {
|
|
138
|
+
background: dt('stepper.steppanel.background');
|
|
139
|
+
color: dt('stepper.steppanel.color');
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.p-stepper:has(.p-stepitem) {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.p-stepitem {
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
flex: initial;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.p-stepitem.p-stepitem-active {
|
|
154
|
+
flex: 1 1 auto;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.p-stepitem .p-step {
|
|
158
|
+
flex: initial;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.p-stepitem .p-steppanel {
|
|
162
|
+
display: grid;
|
|
163
|
+
grid-template-rows: 1fr;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.p-stepitem .p-steppanel-content-wrapper {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex: 1 1 auto;
|
|
169
|
+
min-height: 0;
|
|
170
|
+
}
|
|
171
|
+
.p-stepitem .p-steppanel-content {
|
|
172
|
+
width: 100%;
|
|
173
|
+
padding: dt('stepper.steppanel.padding');
|
|
174
|
+
margin-inline-start: 1rem;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.p-stepitem .p-stepper-separator {
|
|
178
|
+
flex: 0 0 auto;
|
|
179
|
+
width: dt('stepper.separator.size');
|
|
180
|
+
height: auto;
|
|
181
|
+
margin: dt('stepper.separator.margin');
|
|
182
|
+
position: relative;
|
|
183
|
+
left: calc(-1 * dt('stepper.separator.size'));
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.p-stepitem .p-stepper-separator:dir(rtl) {
|
|
187
|
+
left: calc(-9 * dt('stepper.separator.size'));
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {
|
|
191
|
+
background: dt('stepper.separator.active.background');
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.p-stepitem:last-of-type .p-steppanel {
|
|
195
|
+
padding-inline-start: dt('stepper.step.number.size');
|
|
196
|
+
}
|
|
197
|
+
`;export{style};
|
|
198
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/stepper/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-steplist {\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow-x: auto;\n }\n\n .p-step {\n position: relative;\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: dt('stepper.step.gap');\n padding: dt('stepper.step.padding');\n }\n\n .p-step:last-of-type {\n flex: initial;\n }\n\n .p-step-header {\n border: 0 none;\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n transition:\n background dt('stepper.transition.duration'),\n color dt('stepper.transition.duration'),\n border-color dt('stepper.transition.duration'),\n outline-color dt('stepper.transition.duration'),\n box-shadow dt('stepper.transition.duration');\n border-radius: dt('stepper.step.header.border.radius');\n outline-color: transparent;\n background: transparent;\n padding: dt('stepper.step.header.padding');\n gap: dt('stepper.step.header.gap');\n }\n\n .p-step-header:focus-visible {\n box-shadow: dt('stepper.step.header.focus.ring.shadow');\n outline: dt('stepper.step.header.focus.ring.width') dt('stepper.step.header.focus.ring.style') dt('stepper.step.header.focus.ring.color');\n outline-offset: dt('stepper.step.header.focus.ring.offset');\n }\n\n .p-stepper.p-stepper-readonly .p-step {\n cursor: auto;\n }\n\n .p-step-title {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n color: dt('stepper.step.title.color');\n font-weight: dt('stepper.step.title.font.weight');\n transition:\n background dt('stepper.transition.duration'),\n color dt('stepper.transition.duration'),\n border-color dt('stepper.transition.duration'),\n box-shadow dt('stepper.transition.duration'),\n outline-color dt('stepper.transition.duration');\n }\n\n .p-step-number {\n display: flex;\n align-items: center;\n justify-content: center;\n color: dt('stepper.step.number.color');\n border: 2px solid dt('stepper.step.number.border.color');\n background: dt('stepper.step.number.background');\n min-width: dt('stepper.step.number.size');\n height: dt('stepper.step.number.size');\n line-height: dt('stepper.step.number.size');\n font-size: dt('stepper.step.number.font.size');\n z-index: 1;\n border-radius: dt('stepper.step.number.border.radius');\n position: relative;\n font-weight: dt('stepper.step.number.font.weight');\n }\n\n .p-step-number::after {\n content: ' ';\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: dt('stepper.step.number.border.radius');\n box-shadow: dt('stepper.step.number.shadow');\n }\n\n .p-step-active .p-step-header {\n cursor: default;\n }\n\n .p-step-active .p-step-number {\n background: dt('stepper.step.number.active.background');\n border-color: dt('stepper.step.number.active.border.color');\n color: dt('stepper.step.number.active.color');\n }\n\n .p-step-active .p-step-title {\n color: dt('stepper.step.title.active.color');\n }\n\n .p-step:not(.p-disabled):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-step:has(~ .p-step-active) .p-stepper-separator {\n background: dt('stepper.separator.active.background');\n }\n\n .p-stepper-separator {\n flex: 1 1 0;\n background: dt('stepper.separator.background');\n width: 100%;\n height: dt('stepper.separator.size');\n transition:\n background dt('stepper.transition.duration'),\n color dt('stepper.transition.duration'),\n border-color dt('stepper.transition.duration'),\n box-shadow dt('stepper.transition.duration'),\n outline-color dt('stepper.transition.duration');\n }\n\n .p-steppanels {\n padding: dt('stepper.steppanels.padding');\n }\n\n .p-steppanel {\n background: dt('stepper.steppanel.background');\n color: dt('stepper.steppanel.color');\n }\n\n .p-stepper:has(.p-stepitem) {\n display: flex;\n flex-direction: column;\n }\n\n .p-stepitem {\n display: flex;\n flex-direction: column;\n flex: initial;\n }\n\n .p-stepitem.p-stepitem-active {\n flex: 1 1 auto;\n }\n\n .p-stepitem .p-step {\n flex: initial;\n }\n \n .p-stepitem .p-steppanel {\n display: grid;\n grid-template-rows: 1fr;\n }\n\n .p-stepitem .p-steppanel-content-wrapper {\n display: flex;\n flex: 1 1 auto;\n min-height: 0;\n }\n .p-stepitem .p-steppanel-content {\n width: 100%;\n padding: dt('stepper.steppanel.padding');\n margin-inline-start: 1rem;\n }\n\n .p-stepitem .p-stepper-separator {\n flex: 0 0 auto;\n width: dt('stepper.separator.size');\n height: auto;\n margin: dt('stepper.separator.margin');\n position: relative;\n left: calc(-1 * dt('stepper.separator.size'));\n }\n\n .p-stepitem .p-stepper-separator:dir(rtl) {\n left: calc(-9 * dt('stepper.separator.size'));\n }\n\n .p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {\n background: dt('stepper.separator.active.background');\n }\n\n .p-stepitem:last-of-type .p-steppanel {\n padding-inline-start: dt('stepper.step.number.size');\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|