// src/presets/material/treeselect/index.ts var treeselect_default = { root: { background: "{form.field.background}", disabledBackground: "{form.field.disabled.background}", filledBackground: "{form.field.filled.background}", filledHoverBackground: "{form.field.filled.hover.background}", filledFocusBackground: "{form.field.filled.focus.background}", borderColor: "{form.field.border.color}", hoverBorderColor: "{form.field.hover.border.color}", focusBorderColor: "{form.field.focus.border.color}", invalidBorderColor: "{form.field.invalid.border.color}", color: "{form.field.color}", disabledColor: "{form.field.disabled.color}", placeholderColor: "{form.field.placeholder.color}", invalidPlaceholderColor: "{form.field.invalid.placeholder.color}", shadow: "{form.field.shadow}", paddingX: "{form.field.padding.x}", paddingY: "{form.field.padding.y}", borderRadius: "{form.field.border.radius}", focusRing: { width: "{form.field.focus.ring.width}", style: "{form.field.focus.ring.style}", color: "{form.field.focus.ring.color}", offset: "{form.field.focus.ring.offset}", shadow: "{form.field.focus.ring.shadow}" }, transitionDuration: "{form.field.transition.duration}", sm: { fontSize: "{form.field.sm.font.size}", paddingX: "{form.field.sm.padding.x}", paddingY: "{form.field.sm.padding.y}" }, lg: { fontSize: "{form.field.lg.font.size}", paddingX: "{form.field.lg.padding.x}", paddingY: "{form.field.lg.padding.y}" } }, dropdown: { width: "2.5rem", color: "{form.field.icon.color}" }, overlay: { background: "{overlay.select.background}", borderColor: "{overlay.select.border.color}", borderRadius: "{overlay.select.border.radius}", color: "{overlay.select.color}", shadow: "{overlay.select.shadow}" }, tree: { padding: "{list.padding}" }, emptyMessage: { padding: "{list.option.padding}" }, chip: { borderRadius: "{border.radius.sm}" }, clearIcon: { color: "{form.field.icon.color}" }, css: ({ dt }) => ` .p-treeselect.p-variant-filled { border-end-start-radius: 0 border-end-end-radius: 0; border: 1px solid transparent; background: ${dt("treeselect.filled.background")} no-repeat; background-image: linear-gradient(to bottom, ${dt("treeselect.focus.border.color")}, ${dt("treeselect.focus.border.color")}), linear-gradient(to bottom, ${dt("treeselect.border.color")}, ${dt("treeselect.border.color")}); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-treeselect.p-variant-filled:not(.p-disabled):hover { background: ${dt("treeselect.filled.hover.background")} no-repeat; background-image: linear-gradient(to bottom, ${dt("treeselect.focus.border.color")}, ${dt("treeselect.focus.border.color")}), linear-gradient(to bottom, ${dt("treeselect.hover.border.color")}, ${dt("treeselect.hover.border.color")}); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-treeselect.p-variant-filled:not(.p-disabled).p-focus { outline: 0 none; background: ${dt("treeselect.filled.focus.background")} no-repeat; background-image: linear-gradient(to bottom, ${dt("treeselect.focus.border.color")}, ${dt("treeselect.focus.border.color")}), linear-gradient(to bottom, ${dt("treeselect.border.color")}, ${dt("treeselect.border.color")}); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-treeselect.p-variant-filled:not(.p-disabled).p-focus:hover { background-image: linear-gradient(to bottom, ${dt("treeselect.focus.border.color")}, ${dt("treeselect.focus.border.color")}), linear-gradient(to bottom, ${dt("treeselect.hover.border.color")}, ${dt("treeselect.hover.border.color")}); } .p-treeselect.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, ${dt("treeselect.invalid.border.color")}, ${dt("treeselect.invalid.border.color")}), linear-gradient(to bottom, ${dt("treeselect.invalid.border.color")}, ${dt("treeselect.invalid.border.color")}); } .p-treeselect.p-variant-filled.p-invalid:not(.p-disabled).p-focus { background-image: linear-gradient(to bottom, ${dt("treeselect.invalid.border.color")}, ${dt("treeselect.invalid.border.color")}), linear-gradient(to bottom, ${dt("treeselect.invalid.border.color")}, ${dt("treeselect.invalid.border.color")}); } ` }; export { treeselect_default as default }; //# sourceMappingURL=index.mjs.map