pull/6537/head
Mert Sincan 2024-10-04 14:14:16 +01:00
parent 6e28de62f2
commit 6417a11185
29 changed files with 37 additions and 38 deletions

View File

@ -48,7 +48,7 @@ export default {
color: '{text.color}',
padding: '0 1.25rem 1.25rem 1.25rem'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-accordionpanel {
box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
transition: margin ${dt('accordion.transition.duration')};

View File

@ -95,7 +95,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-autocomplete-dropdown:focus-visible {
background: ${dt('autocomplete.dropdown.hover.background')};
border-color: ${dt('autocomplete.dropdown.hover.border.color')};

View File

@ -484,7 +484,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-button:focus-visible {
background: ${dt('button.primary.active.background')};
border-color: ${dt('button.primary.active.background')};

View File

@ -37,7 +37,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-carousel-indicator-button:hover {
box-shadow: 0 0 1px 10px color-mix(in srgb, ${dt('text.color')}, transparent 96%);
}

View File

@ -56,7 +56,7 @@ export default {
size: '0.875rem'
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-cascadeselect.p-variant-filled {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;

View File

@ -33,7 +33,7 @@ export default {
checkedHoverColor: '{primary.contrast.color}',
disabledColor: '{form.field.disabled.color}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-checkbox {
border-radius: 50%;
transition: box-shadow ${dt('checkbox.transition.duration')};

View File

@ -166,7 +166,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-datatable-header-cell,
.p-datatable-tbody > tr {
transition: none;

View File

@ -137,7 +137,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-datepicker-header {
justify-content: start;
}

View File

@ -30,7 +30,7 @@ export default {
color: '{content.color}',
borderRadius: '{content.border.radius}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-editor .p-editor-toolbar {
padding: 0.75rem
}

View File

@ -33,7 +33,7 @@ export default {
content: {
padding: '0'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-fieldset-toggle-button:focus-visible {
background: ${dt('navigation.item.active.background')};

View File

@ -180,7 +180,7 @@ export default {
tooltip,
ripple
},
style: ({ dt }) => `
css: ({ dt }) => `
`
};

View File

@ -35,7 +35,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-inputnumber-stacked .p-inputnumber-button-group {
top: 2px;
right: 2px;

View File

@ -35,7 +35,7 @@ export default {
paddingY: '1rem'
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-inputtext.p-variant-filled {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;

View File

@ -63,7 +63,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-listbox-option {
transition: none;
}

View File

@ -75,7 +75,7 @@ export default {
shadow: 'none'
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-megamenu-button:focus-visible {
background: ${dt('navigation.item.active.background')};
}

View File

@ -59,7 +59,7 @@ export default {
shadow: 'none'
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-menubar-button:focus-visible {
background: ${dt('navigation.item.active.background')};
}

View File

@ -67,7 +67,7 @@ export default {
emptyMessage: {
padding: '{list.option.padding}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-multiselect.p-variant-filled {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;

View File

@ -38,7 +38,7 @@ export default {
color: '{navigation.submenu.icon.color}',
focusColor: '{navigation.submenu.icon.focus.color}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-panelmenu-panel {
box-shadow: 0 0 0 1px ${dt('panelmenu.panel.border.color')};
transition: margin ${dt('panelmenu.transition.duration')};

View File

@ -31,7 +31,7 @@ export default {
checkedHoverColor: '{primary.color}',
disabledColor: '{form.field.disabled.color}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-radiobutton {
border-radius: 50%;
transition: box-shadow ${dt('radiobutton.transition.duration')};

View File

@ -16,7 +16,7 @@ export default {
hoverColor: '{primary.color}',
activeColor: '{primary.color}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option:hover {
background: color-mix(in srgb, ${dt('rating.icon.color')}, transparent 96%);
box-shadow: 0 0 1px 8px color-mix(in srgb, ${dt('rating.icon.color')}, transparent 96%);

View File

@ -71,7 +71,7 @@ export default {
emptyMessage: {
padding: '{list.option.padding}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-select.p-variant-filled {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;

View File

@ -32,7 +32,7 @@ export default {
shadow: 'none'
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-slider-handle {
transition: box-shadow ${dt('slider.transition.duration')};
}

View File

@ -63,10 +63,9 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-step-header:focus-visible {
background: ${dt('navigation.item.active.background')};
}
}
`
};

View File

@ -61,7 +61,7 @@ export default {
bottom: '-1px',
background: '{primary.color}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-tabs-scrollable .p-tab {

View File

@ -49,7 +49,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-togglebutton:focus-visible {
background: ${dt('togglebutton.hover.background')};
}

View File

@ -65,7 +65,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-toggleswitch-handle {
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

View File

@ -48,7 +48,7 @@ export default {
loadingIcon: {
size: '2rem'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-tree-node-content {
transition: none;
}

View File

@ -45,7 +45,7 @@ export default {
chip: {
borderRadius: '{border.radius.sm}'
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-treeselect.p-variant-filled {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;

View File

@ -120,7 +120,7 @@ export default {
}
}
},
style: ({ dt }) => `
css: ({ dt }) => `
.p-treetable-header-cell,
.p-treetable-tbody > tr {
transition: none;