1 line
1.8 KiB
JavaScript
1 line
1.8 KiB
JavaScript
var r={transitionDuration:"{transition.duration}"},o={width:"3rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},e={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},css="\n.p-inputnumber-stacked .p-inputnumber-button-group {\n top: 2px;\n right: 2px;\n height: calc(100% - 4px);\n}\n\n.p-inputnumber-horizontal:has(.p-variant-filled) .p-inputnumber-button {\n border-block-start-color: dt('inputtext.filled.background');\n border-inline-color: dt('inputtext.filled.background');\n background: dt('inputtext.filled.background') no-repeat;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-inputnumber-vertical:has(.p-variant-filled) .p-inputnumber-button {\n border-block-color: dt('inputtext.filled.background');\n border-inline-color: dt('inputtext.filled.background');\n background: dt('inputtext.filled.background') no-repeat;\n}\n\n.p-inputnumber-vertical:has(.p-variant-filled) .p-inputnumber-increment-button {\n border-block-end: 1px solid dt('inputtext.border.color')\n}\n",n={root:r,button:o,colorScheme:e,css:css};export{o as button,e as colorScheme,css,n as default,r as root};//# sourceMappingURL=index.mjs.map
|