@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,62 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-dataview {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: block;
|
|
5
|
+
border-color: dt('dataview.border.color');
|
|
6
|
+
border-width: dt('dataview.border.width');
|
|
7
|
+
border-style: solid;
|
|
8
|
+
border-radius: dt('dataview.border.radius');
|
|
9
|
+
padding: dt('dataview.padding');
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-dataview-header {
|
|
13
|
+
background: dt('dataview.header.background');
|
|
14
|
+
color: dt('dataview.header.color');
|
|
15
|
+
border-color: dt('dataview.header.border.color');
|
|
16
|
+
border-width: dt('dataview.header.border.width');
|
|
17
|
+
border-style: solid;
|
|
18
|
+
padding: dt('dataview.header.padding');
|
|
19
|
+
border-radius: dt('dataview.header.border.radius');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-dataview-content {
|
|
23
|
+
background: dt('dataview.content.background');
|
|
24
|
+
border-color: dt('dataview.content.border.color');
|
|
25
|
+
border-width: dt('dataview.content.border.width');
|
|
26
|
+
border-style: solid;
|
|
27
|
+
color: dt('dataview.content.color');
|
|
28
|
+
padding: dt('dataview.content.padding');
|
|
29
|
+
border-radius: dt('dataview.content.border.radius');
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-dataview-footer {
|
|
33
|
+
background: dt('dataview.footer.background');
|
|
34
|
+
color: dt('dataview.footer.color');
|
|
35
|
+
border-color: dt('dataview.footer.border.color');
|
|
36
|
+
border-width: dt('dataview.footer.border.width');
|
|
37
|
+
border-style: solid;
|
|
38
|
+
padding: dt('dataview.footer.padding');
|
|
39
|
+
border-radius: dt('dataview.footer.border.radius');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-dataview-paginator-top {
|
|
43
|
+
border-width: dt('dataview.paginator.top.border.width');
|
|
44
|
+
border-color: dt('dataview.paginator.top.border.color');
|
|
45
|
+
border-style: solid;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-dataview-paginator-bottom {
|
|
49
|
+
border-width: dt('dataview.paginator.bottom.border.width');
|
|
50
|
+
border-color: dt('dataview.paginator.bottom.border.color');
|
|
51
|
+
border-style: solid;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-dataview-loading-overlay {
|
|
55
|
+
position: absolute;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
z-index: 2;
|
|
60
|
+
}
|
|
61
|
+
`;export{style};
|
|
62
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/dataview/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-dataview {\n position: relative;\n display: block;\n border-color: dt('dataview.border.color');\n border-width: dt('dataview.border.width');\n border-style: solid;\n border-radius: dt('dataview.border.radius');\n padding: dt('dataview.padding');\n }\n\n .p-dataview-header {\n background: dt('dataview.header.background');\n color: dt('dataview.header.color');\n border-color: dt('dataview.header.border.color');\n border-width: dt('dataview.header.border.width');\n border-style: solid;\n padding: dt('dataview.header.padding');\n border-radius: dt('dataview.header.border.radius');\n }\n\n .p-dataview-content {\n background: dt('dataview.content.background');\n border-color: dt('dataview.content.border.color');\n border-width: dt('dataview.content.border.width');\n border-style: solid;\n color: dt('dataview.content.color');\n padding: dt('dataview.content.padding');\n border-radius: dt('dataview.content.border.radius');\n }\n\n .p-dataview-footer {\n background: dt('dataview.footer.background');\n color: dt('dataview.footer.color');\n border-color: dt('dataview.footer.border.color');\n border-width: dt('dataview.footer.border.width');\n border-style: solid;\n padding: dt('dataview.footer.padding');\n border-radius: dt('dataview.footer.border.radius');\n }\n\n .p-dataview-paginator-top {\n border-width: dt('dataview.paginator.top.border.width');\n border-color: dt('dataview.paginator.top.border.color');\n border-style: solid;\n }\n\n .p-dataview-paginator-bottom {\n border-width: dt('dataview.paginator.bottom.border.width');\n border-color: dt('dataview.paginator.bottom.border.color');\n border-style: solid;\n }\n\n .p-dataview-loading-overlay {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 2;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-datepicker {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-input {
|
|
8
|
+
border-start-end-radius: 0;
|
|
9
|
+
border-end-end-radius: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-datepicker-input {
|
|
13
|
+
flex: 1 1 auto;
|
|
14
|
+
width: 1%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-datepicker-dropdown {
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
user-select: none;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
position: relative;
|
|
25
|
+
width: dt('datepicker.dropdown.width');
|
|
26
|
+
border-start-end-radius: dt('datepicker.dropdown.border.radius');
|
|
27
|
+
border-end-end-radius: dt('datepicker.dropdown.border.radius');
|
|
28
|
+
background: dt('datepicker.dropdown.background');
|
|
29
|
+
border: 1px solid dt('datepicker.dropdown.border.color');
|
|
30
|
+
border-inline-start: 0 none;
|
|
31
|
+
color: dt('datepicker.dropdown.color');
|
|
32
|
+
transition:
|
|
33
|
+
background dt('datepicker.transition.duration'),
|
|
34
|
+
color dt('datepicker.transition.duration'),
|
|
35
|
+
border-color dt('datepicker.transition.duration'),
|
|
36
|
+
outline-color dt('datepicker.transition.duration');
|
|
37
|
+
outline-color: transparent;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-datepicker-dropdown:not(:disabled):hover {
|
|
41
|
+
background: dt('datepicker.dropdown.hover.background');
|
|
42
|
+
border-color: dt('datepicker.dropdown.hover.border.color');
|
|
43
|
+
color: dt('datepicker.dropdown.hover.color');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-datepicker-dropdown:not(:disabled):active {
|
|
47
|
+
background: dt('datepicker.dropdown.active.background');
|
|
48
|
+
border-color: dt('datepicker.dropdown.active.border.color');
|
|
49
|
+
color: dt('datepicker.dropdown.active.color');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-datepicker-dropdown:focus-visible {
|
|
53
|
+
box-shadow: dt('datepicker.dropdown.focus.ring.shadow');
|
|
54
|
+
outline: dt('datepicker.dropdown.focus.ring.width') dt('datepicker.dropdown.focus.ring.style') dt('datepicker.dropdown.focus.ring.color');
|
|
55
|
+
outline-offset: dt('datepicker.dropdown.focus.ring.offset');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) {
|
|
59
|
+
position: relative;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input {
|
|
63
|
+
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-datepicker-input-icon-container {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 50%;
|
|
70
|
+
inset-inline-end: dt('form.field.padding.x');
|
|
71
|
+
margin-block-start: calc(-1 * (dt('icon.size') / 2));
|
|
72
|
+
color: dt('datepicker.input.icon.color');
|
|
73
|
+
line-height: 1;
|
|
74
|
+
z-index: 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-datepicker:has(.p-datepicker-input:disabled) .p-datepicker-input-icon-container {
|
|
78
|
+
cursor: default;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.p-datepicker-fluid {
|
|
82
|
+
display: flex;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.p-datepicker .p-datepicker-panel {
|
|
86
|
+
min-width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.p-datepicker-panel {
|
|
90
|
+
width: auto;
|
|
91
|
+
padding: dt('datepicker.panel.padding');
|
|
92
|
+
background: dt('datepicker.panel.background');
|
|
93
|
+
color: dt('datepicker.panel.color');
|
|
94
|
+
border: 1px solid dt('datepicker.panel.border.color');
|
|
95
|
+
border-radius: dt('datepicker.panel.border.radius');
|
|
96
|
+
box-shadow: dt('datepicker.panel.shadow');
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.p-datepicker-panel-inline {
|
|
100
|
+
display: inline-block;
|
|
101
|
+
overflow-x: auto;
|
|
102
|
+
box-shadow: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.p-datepicker-header {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: space-between;
|
|
109
|
+
padding: dt('datepicker.header.padding');
|
|
110
|
+
background: dt('datepicker.header.background');
|
|
111
|
+
color: dt('datepicker.header.color');
|
|
112
|
+
border-block-end: 1px solid dt('datepicker.header.border.color');
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.p-datepicker-next-button:dir(rtl) {
|
|
116
|
+
order: -1;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.p-datepicker-prev-button:dir(rtl) {
|
|
120
|
+
order: 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.p-datepicker-title {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: space-between;
|
|
127
|
+
gap: dt('datepicker.title.gap');
|
|
128
|
+
font-weight: dt('datepicker.title.font.weight');
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.p-datepicker-select-year,
|
|
132
|
+
.p-datepicker-select-month {
|
|
133
|
+
border: none;
|
|
134
|
+
background: transparent;
|
|
135
|
+
margin: 0;
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
font-weight: inherit;
|
|
138
|
+
transition:
|
|
139
|
+
background dt('datepicker.transition.duration'),
|
|
140
|
+
color dt('datepicker.transition.duration'),
|
|
141
|
+
border-color dt('datepicker.transition.duration'),
|
|
142
|
+
outline-color dt('datepicker.transition.duration'),
|
|
143
|
+
box-shadow dt('datepicker.transition.duration');
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-datepicker-select-month {
|
|
147
|
+
padding: dt('datepicker.select.month.padding');
|
|
148
|
+
color: dt('datepicker.select.month.color');
|
|
149
|
+
border-radius: dt('datepicker.select.month.border.radius');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-datepicker-select-year {
|
|
153
|
+
padding: dt('datepicker.select.year.padding');
|
|
154
|
+
color: dt('datepicker.select.year.color');
|
|
155
|
+
border-radius: dt('datepicker.select.year.border.radius');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.p-datepicker-select-month:enabled:hover {
|
|
159
|
+
background: dt('datepicker.select.month.hover.background');
|
|
160
|
+
color: dt('datepicker.select.month.hover.color');
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.p-datepicker-select-year:enabled:hover {
|
|
164
|
+
background: dt('datepicker.select.year.hover.background');
|
|
165
|
+
color: dt('datepicker.select.year.hover.color');
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.p-datepicker-select-month:focus-visible,
|
|
169
|
+
.p-datepicker-select-year:focus-visible {
|
|
170
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
171
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
172
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.p-datepicker-calendar-container {
|
|
176
|
+
display: flex;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.p-datepicker-calendar-container .p-datepicker-calendar {
|
|
180
|
+
flex: 1 1 auto;
|
|
181
|
+
border-inline-start: 1px solid dt('datepicker.group.border.color');
|
|
182
|
+
padding-inline-end: dt('datepicker.group.gap');
|
|
183
|
+
padding-inline-start: dt('datepicker.group.gap');
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.p-datepicker-calendar-container .p-datepicker-calendar:first-child {
|
|
187
|
+
padding-inline-start: 0;
|
|
188
|
+
border-inline-start: 0 none;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.p-datepicker-calendar-container .p-datepicker-calendar:last-child {
|
|
192
|
+
padding-inline-end: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.p-datepicker-day-view {
|
|
196
|
+
width: 100%;
|
|
197
|
+
border-collapse: collapse;
|
|
198
|
+
font-size: 1rem;
|
|
199
|
+
margin: dt('datepicker.day.view.margin');
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.p-datepicker-weekday-cell {
|
|
203
|
+
padding: dt('datepicker.week.day.padding');
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.p-datepicker-weekday {
|
|
207
|
+
font-weight: dt('datepicker.week.day.font.weight');
|
|
208
|
+
color: dt('datepicker.week.day.color');
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.p-datepicker-day-cell {
|
|
212
|
+
padding: dt('datepicker.date.padding');
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.p-datepicker-day {
|
|
216
|
+
display: flex;
|
|
217
|
+
justify-content: center;
|
|
218
|
+
align-items: center;
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
margin: 0 auto;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
position: relative;
|
|
223
|
+
width: dt('datepicker.date.width');
|
|
224
|
+
height: dt('datepicker.date.height');
|
|
225
|
+
border-radius: dt('datepicker.date.border.radius');
|
|
226
|
+
transition:
|
|
227
|
+
background dt('datepicker.transition.duration'),
|
|
228
|
+
color dt('datepicker.transition.duration'),
|
|
229
|
+
border-color dt('datepicker.transition.duration'),
|
|
230
|
+
box-shadow dt('datepicker.transition.duration'),
|
|
231
|
+
outline-color dt('datepicker.transition.duration');
|
|
232
|
+
border: 1px solid transparent;
|
|
233
|
+
outline-color: transparent;
|
|
234
|
+
color: dt('datepicker.date.color');
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.p-datepicker-day:not(.p-datepicker-day-selected):not(.p-disabled):hover {
|
|
238
|
+
background: dt('datepicker.date.hover.background');
|
|
239
|
+
color: dt('datepicker.date.hover.color');
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.p-datepicker-day:focus-visible {
|
|
243
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
244
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
245
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.p-datepicker-day-selected {
|
|
249
|
+
background: dt('datepicker.date.selected.background');
|
|
250
|
+
color: dt('datepicker.date.selected.color');
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.p-datepicker-day-selected-range {
|
|
254
|
+
background: dt('datepicker.date.range.selected.background');
|
|
255
|
+
color: dt('datepicker.date.range.selected.color');
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.p-datepicker-today > .p-datepicker-day {
|
|
259
|
+
background: dt('datepicker.today.background');
|
|
260
|
+
color: dt('datepicker.today.color');
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.p-datepicker-today > .p-datepicker-day-selected {
|
|
264
|
+
background: dt('datepicker.date.selected.background');
|
|
265
|
+
color: dt('datepicker.date.selected.color');
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.p-datepicker-today > .p-datepicker-day-selected-range {
|
|
269
|
+
background: dt('datepicker.date.range.selected.background');
|
|
270
|
+
color: dt('datepicker.date.range.selected.color');
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.p-datepicker-weeknumber {
|
|
274
|
+
text-align: center;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.p-datepicker-month-view {
|
|
278
|
+
margin: dt('datepicker.month.view.margin');
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.p-datepicker-month {
|
|
282
|
+
width: 33.3%;
|
|
283
|
+
display: inline-flex;
|
|
284
|
+
align-items: center;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
cursor: pointer;
|
|
287
|
+
overflow: hidden;
|
|
288
|
+
position: relative;
|
|
289
|
+
padding: dt('datepicker.month.padding');
|
|
290
|
+
transition:
|
|
291
|
+
background dt('datepicker.transition.duration'),
|
|
292
|
+
color dt('datepicker.transition.duration'),
|
|
293
|
+
border-color dt('datepicker.transition.duration'),
|
|
294
|
+
box-shadow dt('datepicker.transition.duration'),
|
|
295
|
+
outline-color dt('datepicker.transition.duration');
|
|
296
|
+
border-radius: dt('datepicker.month.border.radius');
|
|
297
|
+
outline-color: transparent;
|
|
298
|
+
color: dt('datepicker.date.color');
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.p-datepicker-month:not(.p-disabled):not(.p-datepicker-month-selected):hover {
|
|
302
|
+
color: dt('datepicker.date.hover.color');
|
|
303
|
+
background: dt('datepicker.date.hover.background');
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.p-datepicker-month-selected {
|
|
307
|
+
color: dt('datepicker.date.selected.color');
|
|
308
|
+
background: dt('datepicker.date.selected.background');
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.p-datepicker-month:not(.p-disabled):focus-visible {
|
|
312
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
313
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
314
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.p-datepicker-year-view {
|
|
318
|
+
margin: dt('datepicker.year.view.margin');
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.p-datepicker-year {
|
|
322
|
+
width: 50%;
|
|
323
|
+
display: inline-flex;
|
|
324
|
+
align-items: center;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
cursor: pointer;
|
|
327
|
+
overflow: hidden;
|
|
328
|
+
position: relative;
|
|
329
|
+
padding: dt('datepicker.year.padding');
|
|
330
|
+
transition:
|
|
331
|
+
background dt('datepicker.transition.duration'),
|
|
332
|
+
color dt('datepicker.transition.duration'),
|
|
333
|
+
border-color dt('datepicker.transition.duration'),
|
|
334
|
+
box-shadow dt('datepicker.transition.duration'),
|
|
335
|
+
outline-color dt('datepicker.transition.duration');
|
|
336
|
+
border-radius: dt('datepicker.year.border.radius');
|
|
337
|
+
outline-color: transparent;
|
|
338
|
+
color: dt('datepicker.date.color');
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.p-datepicker-year:not(.p-disabled):not(.p-datepicker-year-selected):hover {
|
|
342
|
+
color: dt('datepicker.date.hover.color');
|
|
343
|
+
background: dt('datepicker.date.hover.background');
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.p-datepicker-year-selected {
|
|
347
|
+
color: dt('datepicker.date.selected.color');
|
|
348
|
+
background: dt('datepicker.date.selected.background');
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.p-datepicker-year:not(.p-disabled):focus-visible {
|
|
352
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
353
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
354
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.p-datepicker-buttonbar {
|
|
358
|
+
display: flex;
|
|
359
|
+
justify-content: space-between;
|
|
360
|
+
align-items: center;
|
|
361
|
+
padding: dt('datepicker.buttonbar.padding');
|
|
362
|
+
border-block-start: 1px solid dt('datepicker.buttonbar.border.color');
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.p-datepicker-buttonbar .p-button {
|
|
366
|
+
width: auto;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.p-datepicker-time-picker {
|
|
370
|
+
display: flex;
|
|
371
|
+
justify-content: center;
|
|
372
|
+
align-items: center;
|
|
373
|
+
border-block-start: 1px solid dt('datepicker.time.picker.border.color');
|
|
374
|
+
padding: 0;
|
|
375
|
+
gap: dt('datepicker.time.picker.gap');
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.p-datepicker-calendar-container + .p-datepicker-time-picker {
|
|
379
|
+
padding: dt('datepicker.time.picker.padding');
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.p-datepicker-time-picker > div {
|
|
383
|
+
display: flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
flex-direction: column;
|
|
386
|
+
gap: dt('datepicker.time.picker.button.gap');
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.p-datepicker-time-picker span {
|
|
390
|
+
font-size: 1rem;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.p-datepicker-timeonly .p-datepicker-time-picker {
|
|
394
|
+
border-block-start: 0 none;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.p-datepicker-time-picker:dir(rtl) {
|
|
398
|
+
flex-direction: row-reverse;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown {
|
|
402
|
+
width: dt('datepicker.dropdown.sm.width');
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown .p-icon,
|
|
406
|
+
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-input-icon {
|
|
407
|
+
font-size: dt('form.field.sm.font.size');
|
|
408
|
+
width: dt('form.field.sm.font.size');
|
|
409
|
+
height: dt('form.field.sm.font.size');
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown {
|
|
413
|
+
width: dt('datepicker.dropdown.lg.width');
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown .p-icon,
|
|
417
|
+
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-input-icon {
|
|
418
|
+
font-size: dt('form.field.lg.font.size');
|
|
419
|
+
width: dt('form.field.lg.font.size');
|
|
420
|
+
height: dt('form.field.lg.font.size');
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.p-datepicker-clear-icon {
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 50%;
|
|
426
|
+
margin-top: -0.5rem;
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
color: dt('form.field.icon.color');
|
|
429
|
+
inset-inline-end: dt('form.field.padding.x');
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-clear-icon {
|
|
433
|
+
inset-inline-end: calc(dt('datepicker.dropdown.width') + dt('form.field.padding.x'));
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-clear-icon {
|
|
437
|
+
inset-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input {
|
|
441
|
+
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input {
|
|
445
|
+
padding-inline-end: calc((dt('form.field.padding.x') * 3) + calc(dt('icon.size') * 2));
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.p-inputgroup .p-datepicker-dropdown {
|
|
449
|
+
border-radius: 0;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.p-inputgroup > .p-datepicker:last-child:has(.p-datepicker-dropdown) > .p-datepicker-input {
|
|
453
|
+
border-start-end-radius: 0;
|
|
454
|
+
border-end-end-radius: 0;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.p-inputgroup > .p-datepicker:last-child .p-datepicker-dropdown {
|
|
458
|
+
border-start-end-radius: dt('datepicker.dropdown.border.radius');
|
|
459
|
+
border-end-end-radius: dt('datepicker.dropdown.border.radius');
|
|
460
|
+
}
|
|
461
|
+
`;export{style};
|
|
462
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/datepicker/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-datepicker {\n display: inline-flex;\n max-width: 100%;\n }\n\n .p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-input {\n border-start-end-radius: 0;\n border-end-end-radius: 0;\n }\n\n .p-datepicker-input {\n flex: 1 1 auto;\n width: 1%;\n }\n\n .p-datepicker-dropdown {\n cursor: pointer;\n display: inline-flex;\n user-select: none;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n width: dt('datepicker.dropdown.width');\n border-start-end-radius: dt('datepicker.dropdown.border.radius');\n border-end-end-radius: dt('datepicker.dropdown.border.radius');\n background: dt('datepicker.dropdown.background');\n border: 1px solid dt('datepicker.dropdown.border.color');\n border-inline-start: 0 none;\n color: dt('datepicker.dropdown.color');\n transition:\n background dt('datepicker.transition.duration'),\n color dt('datepicker.transition.duration'),\n border-color dt('datepicker.transition.duration'),\n outline-color dt('datepicker.transition.duration');\n outline-color: transparent;\n }\n\n .p-datepicker-dropdown:not(:disabled):hover {\n background: dt('datepicker.dropdown.hover.background');\n border-color: dt('datepicker.dropdown.hover.border.color');\n color: dt('datepicker.dropdown.hover.color');\n }\n\n .p-datepicker-dropdown:not(:disabled):active {\n background: dt('datepicker.dropdown.active.background');\n border-color: dt('datepicker.dropdown.active.border.color');\n color: dt('datepicker.dropdown.active.color');\n }\n\n .p-datepicker-dropdown:focus-visible {\n box-shadow: dt('datepicker.dropdown.focus.ring.shadow');\n outline: dt('datepicker.dropdown.focus.ring.width') dt('datepicker.dropdown.focus.ring.style') dt('datepicker.dropdown.focus.ring.color');\n outline-offset: dt('datepicker.dropdown.focus.ring.offset');\n }\n\n .p-datepicker:has(.p-datepicker-input-icon-container) {\n position: relative;\n }\n\n .p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input {\n padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));\n }\n\n .p-datepicker-input-icon-container {\n cursor: pointer;\n position: absolute;\n top: 50%;\n inset-inline-end: dt('form.field.padding.x');\n margin-block-start: calc(-1 * (dt('icon.size') / 2));\n color: dt('datepicker.input.icon.color');\n line-height: 1;\n z-index: 1;\n }\n\n .p-datepicker:has(.p-datepicker-input:disabled) .p-datepicker-input-icon-container {\n cursor: default;\n }\n\n .p-datepicker-fluid {\n display: flex;\n }\n\n .p-datepicker .p-datepicker-panel {\n min-width: 100%;\n }\n\n .p-datepicker-panel {\n width: auto;\n padding: dt('datepicker.panel.padding');\n background: dt('datepicker.panel.background');\n color: dt('datepicker.panel.color');\n border: 1px solid dt('datepicker.panel.border.color');\n border-radius: dt('datepicker.panel.border.radius');\n box-shadow: dt('datepicker.panel.shadow');\n }\n\n .p-datepicker-panel-inline {\n display: inline-block;\n overflow-x: auto;\n box-shadow: none;\n }\n\n .p-datepicker-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: dt('datepicker.header.padding');\n background: dt('datepicker.header.background');\n color: dt('datepicker.header.color');\n border-block-end: 1px solid dt('datepicker.header.border.color');\n }\n\n .p-datepicker-next-button:dir(rtl) {\n order: -1;\n }\n\n .p-datepicker-prev-button:dir(rtl) {\n order: 1;\n }\n\n .p-datepicker-title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: dt('datepicker.title.gap');\n font-weight: dt('datepicker.title.font.weight');\n }\n\n .p-datepicker-select-year,\n .p-datepicker-select-month {\n border: none;\n background: transparent;\n margin: 0;\n cursor: pointer;\n font-weight: inherit;\n transition:\n background dt('datepicker.transition.duration'),\n color dt('datepicker.transition.duration'),\n border-color dt('datepicker.transition.duration'),\n outline-color dt('datepicker.transition.duration'),\n box-shadow dt('datepicker.transition.duration');\n }\n\n .p-datepicker-select-month {\n padding: dt('datepicker.select.month.padding');\n color: dt('datepicker.select.month.color');\n border-radius: dt('datepicker.select.month.border.radius');\n }\n\n .p-datepicker-select-year {\n padding: dt('datepicker.select.year.padding');\n color: dt('datepicker.select.year.color');\n border-radius: dt('datepicker.select.year.border.radius');\n }\n\n .p-datepicker-select-month:enabled:hover {\n background: dt('datepicker.select.month.hover.background');\n color: dt('datepicker.select.month.hover.color');\n }\n\n .p-datepicker-select-year:enabled:hover {\n background: dt('datepicker.select.year.hover.background');\n color: dt('datepicker.select.year.hover.color');\n }\n\n .p-datepicker-select-month:focus-visible,\n .p-datepicker-select-year:focus-visible {\n box-shadow: dt('datepicker.date.focus.ring.shadow');\n outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');\n outline-offset: dt('datepicker.date.focus.ring.offset');\n }\n\n .p-datepicker-calendar-container {\n display: flex;\n }\n\n .p-datepicker-calendar-container .p-datepicker-calendar {\n flex: 1 1 auto;\n border-inline-start: 1px solid dt('datepicker.group.border.color');\n padding-inline-end: dt('datepicker.group.gap');\n padding-inline-start: dt('datepicker.group.gap');\n }\n\n .p-datepicker-calendar-container .p-datepicker-calendar:first-child {\n padding-inline-start: 0;\n border-inline-start: 0 none;\n }\n\n .p-datepicker-calendar-container .p-datepicker-calendar:last-child {\n padding-inline-end: 0;\n }\n\n .p-datepicker-day-view {\n width: 100%;\n border-collapse: collapse;\n font-size: 1rem;\n margin: dt('datepicker.day.view.margin');\n }\n\n .p-datepicker-weekday-cell {\n padding: dt('datepicker.week.day.padding');\n }\n\n .p-datepicker-weekday {\n font-weight: dt('datepicker.week.day.font.weight');\n color: dt('datepicker.week.day.color');\n }\n\n .p-datepicker-day-cell {\n padding: dt('datepicker.date.padding');\n }\n\n .p-datepicker-day {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin: 0 auto;\n overflow: hidden;\n position: relative;\n width: dt('datepicker.date.width');\n height: dt('datepicker.date.height');\n border-radius: dt('datepicker.date.border.radius');\n transition:\n background dt('datepicker.transition.duration'),\n color dt('datepicker.transition.duration'),\n border-color dt('datepicker.transition.duration'),\n box-shadow dt('datepicker.transition.duration'),\n outline-color dt('datepicker.transition.duration');\n border: 1px solid transparent;\n outline-color: transparent;\n color: dt('datepicker.date.color');\n }\n\n .p-datepicker-day:not(.p-datepicker-day-selected):not(.p-disabled):hover {\n background: dt('datepicker.date.hover.background');\n color: dt('datepicker.date.hover.color');\n }\n\n .p-datepicker-day:focus-visible {\n box-shadow: dt('datepicker.date.focus.ring.shadow');\n outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');\n outline-offset: dt('datepicker.date.focus.ring.offset');\n }\n\n .p-datepicker-day-selected {\n background: dt('datepicker.date.selected.background');\n color: dt('datepicker.date.selected.color');\n }\n\n .p-datepicker-day-selected-range {\n background: dt('datepicker.date.range.selected.background');\n color: dt('datepicker.date.range.selected.color');\n }\n\n .p-datepicker-today > .p-datepicker-day {\n background: dt('datepicker.today.background');\n color: dt('datepicker.today.color');\n }\n\n .p-datepicker-today > .p-datepicker-day-selected {\n background: dt('datepicker.date.selected.background');\n color: dt('datepicker.date.selected.color');\n }\n\n .p-datepicker-today > .p-datepicker-day-selected-range {\n background: dt('datepicker.date.range.selected.background');\n color: dt('datepicker.date.range.selected.color');\n }\n\n .p-datepicker-weeknumber {\n text-align: center;\n }\n\n .p-datepicker-month-view {\n margin: dt('datepicker.month.view.margin');\n }\n\n .p-datepicker-month {\n width: 33.3%;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n padding: dt('datepicker.month.padding');\n transition:\n background dt('datepicker.transition.duration'),\n color dt('datepicker.transition.duration'),\n border-color dt('datepicker.transition.duration'),\n box-shadow dt('datepicker.transition.duration'),\n outline-color dt('datepicker.transition.duration');\n border-radius: dt('datepicker.month.border.radius');\n outline-color: transparent;\n color: dt('datepicker.date.color');\n }\n\n .p-datepicker-month:not(.p-disabled):not(.p-datepicker-month-selected):hover {\n color: dt('datepicker.date.hover.color');\n background: dt('datepicker.date.hover.background');\n }\n\n .p-datepicker-month-selected {\n color: dt('datepicker.date.selected.color');\n background: dt('datepicker.date.selected.background');\n }\n\n .p-datepicker-month:not(.p-disabled):focus-visible {\n box-shadow: dt('datepicker.date.focus.ring.shadow');\n outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');\n outline-offset: dt('datepicker.date.focus.ring.offset');\n }\n\n .p-datepicker-year-view {\n margin: dt('datepicker.year.view.margin');\n }\n\n .p-datepicker-year {\n width: 50%;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n padding: dt('datepicker.year.padding');\n transition:\n background dt('datepicker.transition.duration'),\n color dt('datepicker.transition.duration'),\n border-color dt('datepicker.transition.duration'),\n box-shadow dt('datepicker.transition.duration'),\n outline-color dt('datepicker.transition.duration');\n border-radius: dt('datepicker.year.border.radius');\n outline-color: transparent;\n color: dt('datepicker.date.color');\n }\n\n .p-datepicker-year:not(.p-disabled):not(.p-datepicker-year-selected):hover {\n color: dt('datepicker.date.hover.color');\n background: dt('datepicker.date.hover.background');\n }\n\n .p-datepicker-year-selected {\n color: dt('datepicker.date.selected.color');\n background: dt('datepicker.date.selected.background');\n }\n\n .p-datepicker-year:not(.p-disabled):focus-visible {\n box-shadow: dt('datepicker.date.focus.ring.shadow');\n outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');\n outline-offset: dt('datepicker.date.focus.ring.offset');\n }\n\n .p-datepicker-buttonbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: dt('datepicker.buttonbar.padding');\n border-block-start: 1px solid dt('datepicker.buttonbar.border.color');\n }\n\n .p-datepicker-buttonbar .p-button {\n width: auto;\n }\n\n .p-datepicker-time-picker {\n display: flex;\n justify-content: center;\n align-items: center;\n border-block-start: 1px solid dt('datepicker.time.picker.border.color');\n padding: 0;\n gap: dt('datepicker.time.picker.gap');\n }\n\n .p-datepicker-calendar-container + .p-datepicker-time-picker {\n padding: dt('datepicker.time.picker.padding');\n }\n\n .p-datepicker-time-picker > div {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: dt('datepicker.time.picker.button.gap');\n }\n\n .p-datepicker-time-picker span {\n font-size: 1rem;\n }\n\n .p-datepicker-timeonly .p-datepicker-time-picker {\n border-block-start: 0 none;\n }\n\n .p-datepicker-time-picker:dir(rtl) {\n flex-direction: row-reverse;\n }\n\n .p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown {\n width: dt('datepicker.dropdown.sm.width');\n }\n\n .p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown .p-icon,\n .p-datepicker:has(.p-inputtext-sm) .p-datepicker-input-icon {\n font-size: dt('form.field.sm.font.size');\n width: dt('form.field.sm.font.size');\n height: dt('form.field.sm.font.size');\n }\n\n .p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown {\n width: dt('datepicker.dropdown.lg.width');\n }\n\n .p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown .p-icon,\n .p-datepicker:has(.p-inputtext-lg) .p-datepicker-input-icon {\n font-size: dt('form.field.lg.font.size');\n width: dt('form.field.lg.font.size');\n height: dt('form.field.lg.font.size');\n }\n\n .p-datepicker-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n cursor: pointer;\n color: dt('form.field.icon.color');\n inset-inline-end: dt('form.field.padding.x');\n }\n\n .p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-clear-icon {\n inset-inline-end: calc(dt('datepicker.dropdown.width') + dt('form.field.padding.x'));\n }\n\n .p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-clear-icon {\n inset-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));\n }\n\n .p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input {\n padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));\n }\n\n .p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input {\n padding-inline-end: calc((dt('form.field.padding.x') * 3) + calc(dt('icon.size') * 2));\n }\n\n .p-inputgroup .p-datepicker-dropdown {\n border-radius: 0;\n }\n\n .p-inputgroup > .p-datepicker:last-child:has(.p-datepicker-dropdown) > .p-datepicker-input {\n border-start-end-radius: 0;\n border-end-end-radius: 0;\n }\n\n .p-inputgroup > .p-datepicker:last-child .p-datepicker-dropdown {\n border-start-end-radius: dt('datepicker.dropdown.border.radius');\n border-end-end-radius: dt('datepicker.dropdown.border.radius');\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
const style=`
|
|
2
|
+
.p-dialog {
|
|
3
|
+
max-height: 90%;
|
|
4
|
+
transform: scale(1);
|
|
5
|
+
border-radius: dt('dialog.border.radius');
|
|
6
|
+
box-shadow: dt('dialog.shadow');
|
|
7
|
+
background: dt('dialog.background');
|
|
8
|
+
border: 1px solid dt('dialog.border.color');
|
|
9
|
+
color: dt('dialog.color');
|
|
10
|
+
will-change: transform;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-dialog-content {
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
padding: dt('dialog.content.padding');
|
|
16
|
+
flex-grow: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-dialog-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
padding: dt('dialog.header.padding');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-dialog-title {
|
|
28
|
+
font-weight: dt('dialog.title.font.weight');
|
|
29
|
+
font-size: dt('dialog.title.font.size');
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-dialog-footer {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
padding: dt('dialog.footer.padding');
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: flex-end;
|
|
37
|
+
gap: dt('dialog.footer.gap');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-dialog-header-actions {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: dt('dialog.header.gap');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-dialog-top .p-dialog,
|
|
47
|
+
.p-dialog-bottom .p-dialog,
|
|
48
|
+
.p-dialog-left .p-dialog,
|
|
49
|
+
.p-dialog-right .p-dialog,
|
|
50
|
+
.p-dialog-topleft .p-dialog,
|
|
51
|
+
.p-dialog-topright .p-dialog,
|
|
52
|
+
.p-dialog-bottomleft .p-dialog,
|
|
53
|
+
.p-dialog-bottomright .p-dialog {
|
|
54
|
+
margin: 1rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-dialog-maximized {
|
|
58
|
+
width: 100vw !important;
|
|
59
|
+
height: 100vh !important;
|
|
60
|
+
top: 0px !important;
|
|
61
|
+
left: 0px !important;
|
|
62
|
+
max-height: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
border-radius: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.p-dialog .p-resizable-handle {
|
|
68
|
+
position: absolute;
|
|
69
|
+
font-size: 0.1px;
|
|
70
|
+
display: block;
|
|
71
|
+
cursor: se-resize;
|
|
72
|
+
width: 12px;
|
|
73
|
+
height: 12px;
|
|
74
|
+
right: 1px;
|
|
75
|
+
bottom: 1px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-dialog-enter-active {
|
|
79
|
+
animation: p-animate-dialog-enter 300ms cubic-bezier(.19,1,.22,1);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.p-dialog-leave-active {
|
|
83
|
+
animation: p-animate-dialog-leave 300ms cubic-bezier(.19,1,.22,1);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@keyframes p-animate-dialog-enter {
|
|
87
|
+
from {
|
|
88
|
+
opacity: 0;
|
|
89
|
+
transform: scale(0.93);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@keyframes p-animate-dialog-leave {
|
|
94
|
+
to {
|
|
95
|
+
opacity: 0;
|
|
96
|
+
transform: scale(0.93);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`;export{style};
|
|
100
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/dialog/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-dialog {\n max-height: 90%;\n transform: scale(1);\n border-radius: dt('dialog.border.radius');\n box-shadow: dt('dialog.shadow');\n background: dt('dialog.background');\n border: 1px solid dt('dialog.border.color');\n color: dt('dialog.color');\n will-change: transform;\n }\n\n .p-dialog-content {\n overflow-y: auto;\n padding: dt('dialog.content.padding');\n flex-grow: 1;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n padding: dt('dialog.header.padding');\n }\n\n .p-dialog-title {\n font-weight: dt('dialog.title.font.weight');\n font-size: dt('dialog.title.font.size');\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n padding: dt('dialog.footer.padding');\n display: flex;\n justify-content: flex-end;\n gap: dt('dialog.footer.gap');\n }\n\n .p-dialog-header-actions {\n display: flex;\n align-items: center;\n gap: dt('dialog.header.gap');\n }\n\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-topleft .p-dialog,\n .p-dialog-topright .p-dialog,\n .p-dialog-bottomleft .p-dialog,\n .p-dialog-bottomright .p-dialog {\n margin: 1rem;\n }\n\n .p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n border-radius: 0;\n }\n\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n\n .p-dialog-enter-active {\n animation: p-animate-dialog-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-dialog-leave-active {\n animation: p-animate-dialog-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-dialog-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-dialog-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
|