Remove `lib/theme` folder

pull/5507/head
mertsincan 2024-02-19 23:00:14 +00:00
parent b5df82f247
commit d30500cac7
155 changed files with 0 additions and 12094 deletions

View File

@ -1,87 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
header: {
background: '{surface.0}',
textColor: '{surface.500}',
textColorHover: '{surface.700}',
textColorActive: '{surface.700}'
},
content: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
}
},
dark: {
header: {
background: '{surface.900}',
textColor: '{surface.400}',
textColorHover: '{surface.0}',
textColorActive: '{surface.0}'
},
content: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
}
}
}
},
css: `
.p-accordion-header-link {
cursor: pointer;
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
user-select: none;
text-decoration: none;
padding: 1.125rem 1.125rem 1.125rem 1.125rem;
color: var(--p-accordion-header-text-color);
background: var(--p-accordion-header-background);
font-weight: 600;
border-radius: var(--p-rounded-base);
transition: color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-accordion-header-text {
line-height: 1;
}
.p-accordion-header:not(.p-disabled) .p-accordion-header-link:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: -2px;
}
.p-accordion-header:not(.p-highlight):not(.p-disabled):hover .p-accordion-header-link {
color: var(--p-accordion-header-text-color-hover);
}
.p-accordion-header:not(.p-disabled).p-highlight .p-accordion-header-link {
color: var(--p-accordion-header-text-color-active);
}
.p-accordion-toggle-icon {
transform: rotate(90deg);
}
.p-accordion-header.p-highlight .p-accordion-toggle-icon {
transform: rotate(-180deg);
}
.p-accordion-content {
padding: 0 1.125rem 1.125rem 1.125rem;
background: var(--p-accordion-content-background);
color: var(--p-accordion-content-text-color);
}
.p-accordion-tab {
border-bottom: 1px solid var(--p-accordion-content-border-color);
}
.p-accordion-tab:last-child {
border-bottom: 0 none
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,84 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.200}',
borderColor: '{surface.0}'
}
},
dark: {
root: {
background: '{surface.700}',
borderColor: '{surface.900}'
}
}
}
},
css: `
.p-avatar {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
font-size: 1rem;
background: var(--p-avatar-background);
border-radius: var(--p-rounded-base);
}
.p-avatar-image {
background-color: transparent;
}
.p-avatar-circle {
border-radius: 50%;
}
.p-avatar-circle img {
border-radius: 50%;
}
.p-avatar-icon {
font-size: 1rem;
}
.p-avatar img {
width: 100%;
height: 100%;
}
.p-avatar-lg {
width: 3rem;
height: 3rem;
font-size: 1.5rem;
}
.p-avatar-lg .p-avatar-icon {
font-size: 1.5rem;
}
.p-avatar-xl {
width: 4rem;
height: 4rem;
font-size: 2rem;
}
.p-avatar-xl .p-avatar-icon {
font-size: 2rem;
}
.p-avatar-group {
display: flex;
align-items: center;
}
.p-avatar-group .p-avatar + .p-avatar {
margin-left: -1rem;
}
.p-avatar-group .p-avatar {
border: 2px solid var(--p-avatar-border-color);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,151 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
primary: {
background: '{primary.color}',
textColor: '{primary.inverseColor}'
},
secondary: {
background: '{surface.100}',
textColor: '{surface.600}'
},
success: {
background: '{green.500}',
textColor: '{surface.0}'
},
info: {
background: '{sky.500}',
textColor: '{surface.0}'
},
warn: {
background: '{orange.500}',
textColor: '{surface.0}'
},
danger: {
background: '{red.500}',
textColor: '{surface.0}'
},
contrast: {
background: '{surface.950}',
textColor: '{surface.0}'
}
},
dark: {
primary: {
background: '{primary.color}',
textColor: '{primary.inverseColor}'
},
secondary: {
background: '{surface.800}',
textColor: '{surface.300}'
},
success: {
background: '{green.400}',
textColor: '{green.950}'
},
info: {
background: '{sky.400}',
textColor: '{sky.950}'
},
warn: {
background: '{orange.400}',
textColor: '{orange.950}'
},
danger: {
background: '{red.400}',
textColor: '{red.950}'
},
contrast: {
background: '{surface.0}',
textColor: '{surface.950}'
}
}
}
},
css: `
.p-badge {
display: inline-flex;
border-radius: 10px;
justify-content: center;
padding: 0 0.5rem;
background: var(--p-badge-primary-background);
color: var(--p-badge-primary-text-color);
font-size: 0.75rem;
font-weight: 700;
min-width: 1.5rem;
height: 1.5rem;
line-height: 1.5rem;
}
.p-overlay-badge {
position: relative;
}
.p-overlay-badge .p-badge {
position: absolute;
top: 0;
right: 0;
transform: translate(50%, -50%);
transform-origin: 100% 0;
margin: 0;
}
.p-badge-dot {
width: 0.5rem;
min-width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
padding: 0;
}
.p-badge-no-gutter {
padding: 0;
border-radius: 50%;
}
.p-badge-secondary {
background-color: var(--p-badge-secondary-background);
color: var(--p-badge-secondary-text-color);
}
.p-badge-success {
background-color: var(--p-badge-success-background);
color: var(--p-badge-success-text-color);
}
.p-badge-info {
background-color: var(--p-badge-info-background);
color: var(--p-badge-info-text-color);
}
.p-badge-warning {
background-color: var(--p-badge-warn-background);
color: var(--p-badge-warn-text-color);
}
.p-badge-danger {
background-color: var(--p-badge-danger-background);
color: var(--p-badge-danger-text-color);
}
.p-badge-contrast {
background-color: var(--p-badge-contrast-background);
color: var(--p-badge-contrast-text-color);
}
.p-badge-lg {
font-size: 1.125rem;
min-width: 2.25rem;
height: 2.25rem;
line-height: 2.25rem;
}
.p-badge-xl {
font-size: 1.5rem;
min-width: 3rem;
height: 3rem;
line-height: 3rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,18 +0,0 @@
export default {
css: `
.p-blockui {
border-radius: var(--p-rounded-base);
}
.p-blockui-container {
position: relative;
}
.p-blockui.p-component-overlay {
position: absolute;
}
.p-blockui-document.p-component-overlay {
position: fixed;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,96 +0,0 @@
export default {
variables: {
colorScheme: {
root: {
background: '{surface.0}'
},
light: {
item: {
textColor: '{surface.500}',
textColorHover: '{surface.700}',
iconColor: '{surface.400}'
},
separator: {
color: '{surface.400}'
}
},
dark: {
root: {
background: '{surface.900}'
},
item: {
textColor: '{surface.400}',
textColorHover: '{surface.0}',
iconColor: '{surface.500}'
},
separator: {
color: '{surface.500}'
}
}
}
},
css: `
.p-breadcrumb {
background: var(-p-breadcrumb-background);
border: 0 none;
border-radius: 6px;
padding: 1rem;
overflow-x: auto;
}
.p-breadcrumb .p-breadcrumb-list {
margin: 0;
padding: 0;
list-style-type: none;
display: flex;
align-items: center;
flex-wrap: nowrap;
}
.p-breadcrumb .p-menuitem-link {
text-decoration: none;
display: flex;
align-items: center;
}
.p-breadcrumb .p-menuitem-separator {
display: flex;
align-items: center;
}
.p-breadcrumb::-webkit-scrollbar {
display: none;
}
.p-breadcrumb .p-menuitem-link {
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
border-radius: var(--p-rounded-base);
outline-color: transparent;
}
.p-breadcrumb .p-menuitem-link:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-breadcrumb .p-menuitem-text {
color: var(--p-breadcrumb-item-text-color);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
line-height: 1;
}
.p-breadcrumb .p-menuitem-text:hover {
color: var(--p-breadcrumb-item-text-color-hover);
line-height: 1;
}
.p-breadcrumb .p-menuitem-icon {
color: var(--p-breadcrumb-item-icon-color);
}
.p-breadcrumb .p-breadcrumb-list li.p-menuitem-separator {
margin: 0 0.5rem 0 0.5rem;
color: var(--p-breadcrumb-separator-color);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,57 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
textColor: '{surface.700}'
},
subtitle: {
textColor: '{surface.500}'
}
},
dark: {
root: {
background: '{surface.900}',
textColor: '{surface.0}'
},
subtitle: {
textColor: '{surface.400}'
}
}
}
},
css: `
.p-card {
background: var(--p-card-background);
color: var(--p-card-text-color);
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
border-radius: 12px;
display: flex;
flex-direction: column;
}
.p-card-caption {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.p-card-body {
padding: 1.5rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.p-card-title {
font-size: 1.25rem;
font-weight: 600;
}
.p-card-subtitle {
font-weight: 400;
color: var(--p-card-subtitle-text-color);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,142 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
navigator: {
color: '{surface.500}',
colorHover: '{surface.600}',
backgroundHover: '{surface.100}'
},
indicator: {
background: '{surface.200}',
backgroundHover: '{surface.300}',
backgroundActive: '{primary.color}'
}
},
dark: {
navigator: {
color: '{surface.400}',
colorHover: '{surface.300}',
backgroundHover: '{surface.800}'
},
indicator: {
background: '{surface.700}',
backgroundHover: '{surface.600}',
backgroundActive: '{primary.color}'
}
}
}
},
css: `
.p-carousel {
display: flex;
flex-direction: column;
}
.p-carousel-content {
display: flex;
flex-direction: column;
overflow: auto;
}
.p-carousel-container {
display: flex;
flex-direction: row;
}
.p-carousel-items-content {
overflow: hidden;
width: 100%;
}
.p-carousel-items-container {
display: flex;
flex-direction: row;
}
.p-carousel-prev,
.p-carousel-next {
align-self: center;
flex-grow: 0;
flex-shrink: 0;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
width: 1.75rem;
height: 1.75rem;
color: var(--p-carousel-navigator-color);
border: 0 none;
background: transparent;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration),outline-color var(--p-transition-duration);
outline-color: transparent;
margin: 0.5rem;
}
.p-carousel-prev:enabled:hover,
.p-carousel-next:enabled:hover {
color: var(--p-carousel-navigator-color-hover);
background: var(--p-carousel-navigator-background-hover);
}
.p-carousel-prev:focus-visible,
.p-carousel-next:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-carousel-indicators {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
padding: 1rem;
gap: 0.5rem;
}
.p-carousel-indicator button {
display: flex;
align-items: center;
justify-content: center;
background: var(--p-carousel-indicator-background);
width: 2rem;
height: 0.5rem;
border: 0 none;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
border-radius: var(--p-rounded-base);
}
.p-carousel-indicator button:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-carousel-indicator button:hover {
background: var(--p-carousel-indicator-background-hover);
}
.p-carousel-indicator.p-highlight button {
background: var(--p-carousel-indicator-background-active);
}
.p-carousel-vertical .p-carousel-container {
flex-direction: column;
}
.p-carousel-vertical .p-carousel-items-container {
flex-direction: column;
height: 100%;
}
.p-items-hidden .p-carousel-item {
visibility: hidden;
}
.p-items-hidden .p-carousel-item.p-carousel-item-active {
visibility: visible;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,133 +0,0 @@
export default {
variables: {
common: {
root: {
borderRadius: '{rounded.sm}',
width: '1.25rem',
height: '1.25rem',
background: '{form.field.background}',
backgroundChecked: '{primary.color}',
backgroundCheckedHover: '{primary.hover.color}',
backgroundDisabled: '{form.field.background.disabled}',
backgroundFilled: '{form.field.background.filled}',
borderColor: '{form.field.border.color}',
borderColorHover: '{form.field.border.color.hover}',
borderColorChecked: '{primary.color}',
borderColorCheckedHover: '{primary.hover.color}',
borderColorInvalid: '{form.field.border.color.invalid}',
boxShadow: '{form.field.box.shadow}'
},
icon: {
size: '0.875rem',
color: '{form.field.text.color}',
colorChecked: '{primary.inverse.color}',
colorCheckedHover: '{primary.inverse.color}',
colorDisabled: '{form.field.text.disabled}'
}
}
},
css: `
.p-checkbox {
position: relative;
display: inline-flex;
user-select: none;
vertical-align: bottom;
width: var(--p-checkbox-width);
height: var(--p-checkbox-height);
}
.p-checkbox-input {
cursor: pointer;
appearance: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
opacity: 0;
z-index: 1;
outline: 0 none;
border: 1px solid transparent;
border-radius: var(--p-checkbox-border-radius);
}
.p-checkbox-box {
display: flex;
justify-content: center;
align-items: center;
border-radius: var(--p-rounded-sm);
border: 1px solid var(--p-checkbox-border-color);
background: var(--p-checkbox-background);
width: var(--p-checkbox-width);
height: var(--p-checkbox-height);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), box-shadow var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
box-shadow: var(--p-checkbox-box-shadow);
}
.p-checkbox-icon {
transition-duration: var(--p-transition-duration);
color: var(--p-checkbox-icon-color);
font-size: var(--p-checkbox-icon-size);
width: var(--p-checkbox-icon-size);
height: var(--p-checkbox-icon-size);
}
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
border-color: var(--p-checkbox-border-color-hover);
}
.p-checkbox.p-highlight .p-checkbox-box {
border-color: var(--p-checkbox-border-color-checked);
background: var(--p-checkbox-background-checked);
}
.p-checkbox.p-highlight .p-checkbox-box .p-checkbox-icon {
color: var(--p-checkbox-icon-color-checked);
}
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover).p-highlight .p-checkbox-box {
border-color: var(--p-checkbox-border-color-checked-hover);
background: var(--p-checkbox-background-checked-hover)
}
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover).p-highlight .p-checkbox-box .p-checkbox-icon {
color: var(--p-checkbox-icon-color-checked-hover);
}
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-checkbox.p-invalid > .p-checkbox-box {
border-color: var(--p-checkbox-border-color-invalid);
}
.p-checkbox.p-variant-filled .p-checkbox-box {
background: var(--p-checkbox-background-filled);
}
.p-checkbox.p-variant-filled.p-highlight .p-checkbox-box {
background: var(--p-checkbox-background-checked);
}
.p-checkbox.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover).p-highlight .p-checkbox-box {
background: var(--p-checkbox-background-checked-hover);
}
.p-checkbox.p-disabled {
opacity: 1;
}
.p-checkbox.p-disabled .p-checkbox-box {
background: var(--p-checkbox-background-disabled);
}
.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon {
color: var(--p-checkbox-icon-color-disabled);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,63 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.100}',
textColor: '{surface.800}'
}
},
dark: {
root: {
background: '{surface.700}',
textColor: '{surface.0}'
}
}
}
},
css: `
.p-chip {
display: inline-flex;
align-items: center;
background-color: var(--p-chip-background);
color: var(--p-chip-text-color);
border-radius: 16px;
padding: 0.25rem 0.75rem;
}
.p-chip:has(.p-chip-remove-icon) {
padding-right: 0.5rem;
}
.p-chip-text {
line-height: 1.5;
}
.p-chip-icon {
line-height: 1.5;
margin-right: 0.5rem;
}
.p-chip-remove-icon {
line-height: 1.5;
cursor: pointer;
margin-left: 0.375rem;
border-radius: 6px;
transition: outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-chip img {
border-radius: 50%;
width: 2rem;
height: 2rem;
margin-left: -0.5rem;
margin-right: 0.5rem;
}
.p-chip-remove-icon:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,147 +0,0 @@
export default {
variables: {
common: {
root: {
background: '{form.field.background}',
backgroundDisabled: '{form.field.background.disabled}',
backgroundFilled: '{form.field.background.filled}',
backgroundFilledFocus: '{form.field.background.filled.focus}',
borderColor: '{form.field.border.color}',
borderColorHover: '{form.field.border.color.hover}',
borderColorFocus: '{form.field.border.color.focus}',
borderColorInvalid: '{form.field.border.color.invalid}',
textColor: '{form.field.text.color}',
textColorDisabled: '{form.field.text.disabled}',
placeholderTextColor: '{form.field.placeholder.text.color}',
boxShadow: '{form.field.box.shadow}'
}
},
colorScheme: {
light: {
chip: {
background: '{surface.100}',
backgroundFocus: '{surface.200}',
textColor: '{surface.800}',
textColorFocus: '{surface.900}'
}
},
dark: {
chip: {
background: '{surface.700}',
backgroundFocus: '{surface.600}',
textColor: '{surface.0}',
textColorFocus: '{surface.0}'
}
}
}
},
css: `
.p-chips {
display: inline-flex;
}
.p-chips-multiple-container {
margin: 0;
padding: 0;
list-style-type: none;
cursor: text;
overflow: hidden;
display: flex;
align-items: center;
flex-wrap: wrap;
padding: 0.25rem 0.25rem;
gap: 0.25rem;
color: var(--p-chips-text-color);
background: var(--p-chips-background);
border: 1px solid var(--p-chips-border-color);
border-radius: var(--p-rounded-base);
width: 100%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
box-shadow: var(--p-chips-box-shadow);
}
.p-chips:not(.p-disabled):hover .p-chips-multiple-container {
border-color: var(--p-chips-border-color-hover);
}
.p-chips:not(.p-disabled).p-focus .p-chips-multiple-container {
border-color: var(--p-chips-border-color-focus);
outline: 0 none;
}
.p-chips.p-invalid .p-chips-multiple-container {
border-color: var(--p-chips-border-color-invalid);
}
.p-variant-filled.p-chips-multiple-container {
background: var(--p-chips-background-filled);
}
.p-chips:not(.p-disabled).p-focus .p-variant-filled.p-chips-multiple-container {
background: var(--p-chips-background-filled-focus);
}
.p-chips.p-disabled .p-chips-multiple-container {
opacity: 1;
background: var(--p-chips-background-disabled);
color: var(--p-chips-text-color-disabled);
}
.p-chips-token {
cursor: default;
display: inline-flex;
align-items: center;
flex: 0 0 auto;
padding: 0.25rem 0.75rem;
background: var(--p-chips-chip-background);
color: var(--p-chips-chip-text-color);
border-radius: var(--p-rounded-sm);
}
.p-chips-token.p-focus {
background: var(--p-chips-chip-background-focus);
color: var(--p-chips-chip-text-color-focus);
}
.p-chips-input-token {
flex: 1 1 auto;
display: inline-flex;
}
.p-chips-token-icon {
cursor: pointer;
margin-left: 0.375rem;
}
.p-chips-input-token {
padding: 0.25rem 0;
margin-left: 0.5rem;
}
.p-chips-input-token input {
border: 0 none;
outline: 0 none;
background-color: transparent;
margin: 0;
padding: 0;
box-shadow: none;
border-radius: 0;
width: 100%;
font-family: inherit;
font-feature-settings: inherit;
font-size: 1rem;
color: inherit;
padding: 0;
margin: 0;
}
.p-chips-input-token input::placeholder {
color: var(--p-chips-placeholder-text-color);
}
.p-fluid .p-chips {
display: flex;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,70 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
panel: {
background: '{surface.800}',
borderColor: '{surface.900}'
},
handle: {
color: '{surface.0}'
}
},
dark: {
panel: {
background: '{surface.900}',
borderColor: '{surface.700}'
},
handle: {
color: '{surface.0}'
}
}
}
},
css: `
.p-colorpicker-color {
background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
.p-colorpicker-hue {
background: linear-gradient(0deg,
red 0,
#ff0 17%,
#0f0 33%,
#0ff 50%,
#00f 67%,
#f0f 83%,
red);
}
.p-colorpicker-preview {
width: 1.5rem;
height: 1.5rem;
padding: 0;
border: 0 none;
border-radius: var(--p-rounded-base);
transition: outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-colorpicker-preview:enabled:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-colorpicker > .p-colorpicker-panel {
background: var(--p-colorpicker-panel-background);
border: 1px solid var(--p-colorpicker-panel-border-color);
border-radius: var(--p-rounded-base);
}
.p-colorpicker-panel .p-colorpicker-color-handle,
.p-colorpicker-panel .p-colorpicker-hue-handle {
border-color: var(--p-colorpicker-handle-color);
}
.p-colorpicker-overlay-panel {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,19 +0,0 @@
export default {
variables: {
colorScheme: {
light: {},
dark: {}
}
},
css: `
.p-confirm-dialog .p-dialog-content {
display: flex;
align-items: center;
gap: 1rem;
}
.p-confirm-dialog-icon {
font-size: 2rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,129 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
}
}
}
},
css: `
.p-confirm-popup {
position: absolute;
margin-top: 10px;
top: 0;
left: 0;
background: var(--p-confirmpopup-background);
color: var(--p-confirmpopup-text-color);
border: 1px solid var(--p-confirmpopup-border-color);
border-radius: var(--p-rounded-base);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.p-confirm-popup-content {
display: flex;
align-items: center;
padding: 1rem;
}
.p-confirm-popup-icon {
font-size: 1.5rem;
width: 1.5rem;
height: 1.5rem;
}
.p-confirm-popup-message {
margin-left: 1rem;
}
.p-confirm-popup-footer {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
padding: 0 1rem 1rem 1rem;
}
.p-confirm-popup-footer button {
width: auto;
}
.p-confirm-popup-footer button:last-child {
margin: 0;
}
.p-confirm-popup-flipped {
margin-top: 0;
margin-bottom: 10px;
}
.p-confirm-popup-enter-from {
opacity: 0;
transform: scaleY(0.8);
}
.p-confirm-popup-leave-to {
opacity: 0;
}
.p-confirm-popup-enter-active {
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
.p-confirm-popup-leave-active {
transition: opacity 0.1s linear;
}
.p-confirm-popup:after,
.p-confirm-popup:before {
bottom: 100%;
left: calc(var(--overlayArrowLeft, 0) + 1.25rem);
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.p-confirm-popup:after {
border-width: 8px;
margin-left: -8px;
border-style: solid;
border-color: transparent;
border-bottom-color: var(--p-confirmpopup-background);
}
.p-confirm-popup:before {
border-width: 10px;
margin-left: -10px;
border-style: solid;
border-color: transparent;
border-bottom-color: var(--p-confirmpopup-border-color);
}
.p-confirm-popup-flipped:after,
.p-confirm-popup-flipped:before {
bottom: auto;
top: 100%;
}
.p-confirm-popup-flipped:after {
border-bottom-color: transparent;
border-top-color: var(--p-confirmpopup-background);
}
.p-confirm-popup-flipped:before {
border-bottom-color: transparent;
border-top-color: var(--p-confirmpopup-border-color);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,172 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
item: {
backgroundFocus: '{surface.100}',
text: {
color: '{surface.700}',
colorFocus: '{surface.800}'
},
icon: {
color: '{surface.400}',
colorFocus: '{surface.500}'
}
},
separator: {
borderColor: '{surface.200}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
item: {
backgroundFocus: '{surface.800}',
text: {
color: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: {
color: '{surface.500}',
colorFocus: '{surface.400}'
}
},
separator: {
borderColor: '{surface.700}'
}
}
}
},
css: `
.p-contextmenu {
padding: 0.25rem 0.25rem;
background: var(--p-contextmenu-background);
color: var(--p-contextmenu-text-color);
border: 1px solid var(--p-contextmenu-border-color);
border-radius: var(--p-rounded-base);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
min-width: 12.5rem;
}
.p-contextmenu ul {
margin: 0;
padding: 0;
list-style: none;
}
.p-contextmenu-root-list {
outline: 0 none;
}
.p-contextmenu .p-submenu-list {
position: absolute;
min-width: 100%;
z-index: 1;
padding: 0.25rem 0.25rem;
background: var(--p-contextmenu-background);
color: var(--p-contextmenu-text-color);
border: 1px solid var(--p-contextmenu-border-color);
border-radius: var(--p-rounded-base);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.p-contextmenu .p-menuitem-link {
cursor: pointer;
display: flex;
align-items: center;
text-decoration: none;
overflow: hidden;
position: relative;
color: inherit;
padding: 0.5rem 0.75rem;
user-select: none;
}
.p-contextmenu .p-menuitem-text {
line-height: 1;
}
.p-contextmenu .p-menuitem {
position: relative;
margin: 2px 0;
}
.p-contextmenu .p-menuitem:first-child {
margin-top: 0;
}
.p-contextmenu .p-menuitem:last-child {
margin-bottom: 0;
}
.p-contextmenu .p-menuitem-content {
transition: background-color var(--p-transition-duration), color var(--p-transition-duration);
border-radius: var(--p-rounded-sm);
color: var(--p-contextmenu-item-text-color);
}
.p-contextmenu .p-menuitem-icon {
color: var(--p-contextmenu-item-icon-color);
margin-right: 0.5rem;
}
.p-contextmenu .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color);
margin-left: auto;
font-size: 0.875rem;
width: 0.875rem;
height: 0.875rem;
}
.p-contextmenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-contextmenu-item-text-color-focus);
background: var(--p-contextmenu-item-background-focus);
}
.p-contextmenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-contextmenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color-focus);
}
.p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-contextmenu-item-text-color-focus);
background: var(--p-contextmenu-item-background-focus);
}
.p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color-focus);
}
.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content {
color: var(--p-contextmenu-item-text-color-focus);
background: var(--p-contextmenu-item-background-focus);
}
.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color-focus);
}
.p-contextmenu .p-menuitem-separator {
border-top: 1px solid var(--p-contextmenu-separator-border-color);
margin: 2px 0;
}
.p-contextmenu-enter-from,
.p-contextmenu-leave-active {
opacity: 0;
}
.p-contextmenu-enter-active {
transition: opacity 250ms;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,625 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
header: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
headerCell: {
background: '{surface.0}',
backgroundHover: '{surface.100}',
borderColor: '{surface.200}',
textColor: '{surface.700}',
textColorHover: '{surface.800}'
},
row: {
background: '{surface.0}',
backgroundStriped: '{surface.50}',
backgroundHover: '{surface.100}',
textColor: '{surface.700}',
textColorHover: '{surface.800}'
},
bodyCell: {
borderColor: '{surface.200}',
borderColorSelected: '{primary.100}'
},
footerCell: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
footer: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
dropPointColor: '{primary.color}',
resizerColor: '{primary.color}',
sortIcon: {
color: '{surface.500}',
colorHover: '{surface.600}'
},
rowAction: {
backgroundHover: '{surface.100}',
backgroundHoverHighlight: '{surface.0}',
color: '{surface.500}',
colorHover: '{surface.500}'
}
},
dark: {
header: {
background: '{surface.900}',
borderColor: '{surface.800}',
textColor: '{surface.0}'
},
headerCell: {
background: '{surface.900}',
backgroundHover: '{surface.800}',
borderColor: '{surface.800}',
textColor: '{surface.0}',
textColorHover: '{surface.0}'
},
row: {
background: '{surface.900}',
backgroundStriped: '{surface.950}',
backgroundHover: '{surface.800}',
textColor: '{surface.0}',
textColorHover: '{surface.0}'
},
bodyCell: {
borderColor: '{surface.800}',
borderColorSelected: '{primary.900}'
},
footerCell: {
background: '{surface.900}',
borderColor: '{surface.800}',
textColor: '{surface.0}'
},
footer: {
background: '{surface.900}',
borderColor: '{surface.800}',
textColor: '{surface.0}'
},
dropPointColor: '{primary.color}',
resizerColor: '{primary.color}',
sortIcon: {
color: '{surface.400}',
colorHover: '{surface.300}'
},
rowAction: {
backgroundHover: '{surface.800}',
backgroundHoverHighlight: '{surface.900}',
color: '{surface.400}',
colorHover: '{surface.300}'
}
}
}
},
css: `
.p-datatable {
position: relative;
}
.p-datatable-table {
border-spacing: 0px;
width: 100%;
}
.p-datatable .p-sortable-column {
cursor: pointer;
user-select: none;
outline-color: transparent;
}
.p-datatable .p-sortable-column .p-column-title,
.p-datatable .p-sortable-column .p-sortable-column-icon,
.p-datatable .p-sortable-column .p-sortable-column-badge {
vertical-align: middle;
}
.p-datatable .p-sortable-column .p-sortable-column-icon {
color: var(--p-datatable-sort-icon-color);
margin-left: 0.5rem;
transition: color var(--p-transition-duration);
}
.p-datatable .p-sortable-column .p-sortable-column-badge {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
height: 1rem;
min-width: 1rem;
line-height: 1rem;
margin-left: 0.5rem;
}
.p-datatable .p-sortable-column:not(.p-highlight):hover {
background: var(--p-datatable-header-cell-background-hover);
color: var(--p-datatable-header-cell-text-color-hover);
}
.p-datatable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon {
color: var(--p-datatable-sort-icon-color-hover);
}
.p-datatable .p-sortable-column.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-datatable .p-sortable-column:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: -1px;
}
.p-datatable .p-sortable-column.p-highlight .p-sortable-column-icon {
color: var(--p-highlight-text-color);
}
.p-datatable-hoverable-rows .p-selectable-row {
cursor: pointer;
}
.p-datatable-scrollable > .p-datatable-wrapper {
position: relative;
}
.p-datatable-scrollable-table > .p-datatable-thead {
top: 0;
z-index: 1;
}
.p-datatable-scrollable-table > .p-datatable-frozen-tbody {
position: sticky;
z-index: 1;
}
.p-datatable-scrollable-table>.p-datatable-tfoot {
bottom: 0;
z-index: 1;
}
.p-datatable-scrollable .p-frozen-column {
position: sticky;
background: inherit;
}
.p-datatable-scrollable th.p-frozen-column {
z-index: 1;
}
.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
.p-datatable-scrollable > .p-datatable-wrapper > .p-virtualscroller > .p-datatable-table > .p-datatable-thead {
background: var(--p-datatable-header-cell-background);
}
.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot,
.p-datatable-scrollable > .p-datatable-wrapper > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot {
background: var(--p-datatable-footer-cell-background);
}
.p-datatable-flex-scrollable {
display: flex;
flex-direction: column;
height: 100%;
}
.p-datatable-flex-scrollable>.p-datatable-wrapper {
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
}
.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header {
position: sticky;
z-index: 1;
}
/* Resizable */
.p-datatable-resizable-table > .p-datatable-thead > tr > th,
.p-datatable-resizable-table > .p-datatable-tfoot > tr > td,
.p-datatable-resizable-table > .p-datatable-tbody > tr > td {
overflow: hidden;
white-space: nowrap;
}
.p-datatable-resizable-table>.p-datatable-thead > tr > th.p-resizable-column:not(.p-frozen-column) {
background-clip: padding-box;
position: relative;
}
.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-resizable-column:last-child .p-column-resizer {
display: none;
}
.p-datatable .p-column-resizer {
display: block;
position: absolute;
top: 0;
right: 0;
margin: 0;
width: 0.5rem;
height: 100%;
padding: 0px;
cursor: col-resize;
border: 1px solid transparent;
}
.p-datatable .p-column-header-content {
display: flex;
align-items: center;
}
.p-datatable .p-column-resizer-helper {
width: 1px;
position: absolute;
z-index: 10;
display: none;
background: var(--p-datatable-resizer-color);
}
.p-datatable .p-row-toggler,
.p-datatable .p-row-editor-init,
.p-datatable .p-row-editor-save,
.p-datatable .p-row-editor-cancel {
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
width: 1.75rem;
height: 1.75rem;
color: var(--p-datatable-row-action-color);
border: 0 none;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), box-shadow var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-datatable .p-row-toggler:enabled:hover,
.p-datatable .p-row-editor-init:enabled:hover,
.p-datatable .p-row-editor-save:enabled:hover,
.p-datatable .p-row-editor-cancel:enabled:hover {
color: var(--p-datatable-row-action-color-hover);
background: var(--p-datatable-row-action-background-hover);
}
.p-datatable .p-row-toggler:focus-visible,
.p-datatable .p-row-editor-init:focus-visible,
.p-datatable .p-row-editor-save:focus-visible,
.p-datatable .p-row-editor-cancel:focus-visible {
outline: 1px solid var(--p-focus-ring-color);
outline-offset: 2px;
}
.p-datatable .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable-tbody > tr.p-highlight .p-row-toggler:hover,
.p-datatable-tbody > tr.p-highlight .p-row-editor-init:hover,
.p-datatable-tbody > tr.p-highlight .p-row-editor-save:hover,
.p-datatable-tbody > tr.p-highlight .p-row-editor-cancel:hover {
background: var(--p-datatable-row-action-background-hover-highlight);
color: inherit;
}
.p-datatable-reorder-indicator-up,
.p-datatable-reorder-indicator-down {
position: absolute;
display: none;
}
.p-reorderable-column,
.p-datatable-reorderablerow-handle {
cursor: move;
}
.p-datatable .p-datatable-loading-overlay {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
.p-column-filter-row {
display: flex;
align-items: center;
width: 100%;
}
.p-column-filter-menu {
display: inline-flex;
margin-left: auto;
}
.p-column-filter-row .p-column-filter-element {
flex: 1 1 auto;
width: 1%;
}
.p-column-filter-menu-button,
.p-column-filter-clear-button {
display: inline-flex;
justify-content: center;
align-items: center;
cursor: pointer;
text-decoration: none;
overflow: hidden;
position: relative;
}
.p-column-filter-row-items {
margin: 0;
padding: 0;
list-style: none;
}
.p-column-filter-row-item {
cursor: pointer;
}
.p-column-filter-add-button,
.p-column-filter-remove-button {
justify-content: center;
}
.p-column-filter-add-button .p-button-label,
.p-column-filter-remove-button .p-button-label {
flex-grow: 0;
}
.p-column-filter-buttonbar {
display: flex;
align-items: center;
justify-content: space-between;
}
.p-column-filter-buttonbar .p-button:not(.p-button-icon-only) {
width: auto;
}
.p-datatable-virtualscroller-spacer {
display: flex;
}
.p-datatable .p-virtualscroller .p-virtualscroller-loading {
transform: none !important;
min-height: 0;
position: sticky;
top: 0;
left: 0;
}
.p-datatable .p-paginator-top {
border-width: 0 0 1px 0;
border-radius: 0;
}
.p-datatable .p-paginator-bottom {
border-width: 0 0 1px 0;
border-radius: 0;
}
.p-datatable-header {
background: var(--p-datatable-header-background);
color: var(--p-datatable-header-text-color);
border: 1px solid var(--p-datatable-header-border-color);
border-width: 0 0 1px 0;
padding: 0.75rem 1rem;
font-weight: 600;
}
.p-datatable-footer {
background: var(--p-datatable-header-background);
color: var(--p-datatable-header-text-color);
border: 1px solid var(--p-datatable-header-border-color);
border-width: 0 0 1px 0;
padding: 0.75rem 1rem;
font-weight: 600;
}
.p-datatable-thead > tr > th {
text-align: left;
padding: 0.75rem 1rem;
background: var(--p-datatable-header-cell-background);
border: 1px solid var(--p-datatable-header-cell-border-color);
border-width: 0 0 1px 0;
color: var(--p-datatable-header-cell-text-color);
font-weight: 600;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), box-shadow var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-datatable-tbody > tr {
outline-color: transparent;
background: var(--p-datatable-row-background);
color: var(--p-datatable-row-text-color);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), box-shadow var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-datatable-tbody > tr > td {
text-align: left;
border: 1px solid var(--p-datatable-body-cell-border-color);
border-width: 0 0 1px 0;
padding: 0.75rem 1rem;
}
.p-datatable-hoverable-rows .p-datatable-tbody > tr:not(.p-highlight):hover {
background: var(--p-datatable-row-background-hover);
color: var(--p-datatable-row-text-color-hover);
}
.p-datatable-tbody > tr.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-datatable-tbody > tr:has(+ .p-highlight) > td {
border-bottom-color: var(--p-datatable-body-cell-border-color-selected);
}
.p-datatable-tbody > tr.p-highlight > td {
border-bottom-color: var(--p-datatable-body-cell-border-color-selected);
}
.p-datatable-tbody > tr:focus-visible {
outline: 1px solid var(--p-focus-ring-color);
outline-offset: -1px;
}
.p-datatable-tbody > tr.p-highlight-contextmenu {
outline: 1px solid var(--p-focus-ring-color);
outline-offset: -1px;
}
.p-datatable-tfoot > tr > td {
text-align: left;
padding: 0.75rem 1rem;
border: 1px solid var(--p-datatable-footer-cell-border-color);
border-width: 0 0 1px 0;
font-weight: 600;
color: var(--p-datatable-footer-cell-text-color);
background: var(--p-datatable-footer-cell-background);
}
.p-datatable-tbody > tr.p-datatable-dragpoint-top > td {
box-shadow: inset 0 2px 0 0 var(--p-datatable-drop-point-color);
}
.p-datatable-tbody>tr.p-datatable-dragpoint-bottom > td {
box-shadow: inset 0 -2px 0 0 var(--p-datatable-drop-point-color);
}
.p-datatable-loading-icon {
font-size: 2rem;
width: 2rem;
height: 2rem;
}
.p-datatable.p-datatable-gridlines .p-datatable-header {
border-width: 1px 1px 0 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-footer {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-paginator-top {
border-width: 0 1px 0 1px;
}
.p-datatable.p-datatable-gridlines .p-paginator-bottom {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead>tr>th {
border-width: 1px 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead>tr>th:last-child {
border-width: 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody>tr>td {
border-width: 1px 0 0 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody>tr>td:last-child {
border-width: 1px 1px 0 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody>tr:last-child>td {
border-width: 1px 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody>tr:last-child>td:last-child {
border-width: 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tfoot>tr>td {
border-width: 1px 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tfoot>tr>td:last-child {
border-width: 1px 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead+.p-datatable-tfoot > tr > td {
border-width: 0 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead+.p-datatable-tfoot > tr > td:last-child {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td {
border-width: 0 0 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td {
border-width: 0 0 0 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody >tr:last-child >td:last-child {
border-width: 0 1px 0 1px;
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd {
background: var(--p-datatable-row-background-striped);
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-datatable.p-datatable-sm .p-datatable-header {
padding: 0.375rem 0.5rem;
}
.p-datatable.p-datatable-sm .p-datatable-thead > tr > th {
padding: 0.375rem 0.5rem;
}
.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td {
padding: 0.375rem 0.5rem;
}
.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td {
padding: 0.375rem 0.5rem;
}
.p-datatable.p-datatable-sm .p-datatable-footer {
padding: 0.375rem 0.5rem;
}
.p-datatable.p-datatable-lg .p-datatable-header {
padding: 0.9375rem 1.25rem;
}
.p-datatable.p-datatable-lg .p-datatable-thead > tr > th {
padding: 0.9375rem 1.25rem;
}
.p-datatable.p-datatable-lg .p-datatable-tbody>tr>td {
padding: 0.9375rem 1.25rem;
}
.p-datatable.p-datatable-lg .p-datatable-tfoot>tr>td {
padding: 0.9375rem 1.25rem;
}
.p-datatable.p-datatable-lg .p-datatable-footer {
padding: 0.9375rem 1.25rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,78 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
header: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
content: {
background: '{surface.0}',
textColor: '{surface.700}'
},
footer: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
}
},
dark: {
header: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
content: {
background: '{surface.900}',
textColor: '{surface.0}'
},
footer: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
}
}
}
},
css: `
.p-dataview .p-paginator-top {
border-width: 0 0 1px 0;
border-radius: 0;
}
.p-dataview .p-paginator-bottom {
border-width: 0 0 1px 0;
border-radius: 0;
}
.p-dataview-header {
background: var(--p-dataview-header-background);
color: var(--p-dataview-header-text-color);
border: 1px solid var(--p-dataview-header-border-color);
border-width: 0 0 1px 0;
padding: 0.75rem 1rem;
font-weight: 600;
}
.p-dataview-content {
background: var(--p-dataview-content-background);
color: var(--p-dataview-content-text-color);
border: 0 none;
padding: 0;
}
.p-dataview-footer {
background: var(--p-dataview-footer-background);
color: var(--p-dataview-footer-text-color);
border: 1px solid var(--p-dataview-footer-border-color);
border-width: 0 0 1px 0;
padding: 0.75rem 1rem;
font-weight: 600;
}
.p-dataview-layout-options.p-selectbutton .p-button svg {
position: relative;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,186 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
headerIcon: {
color: '{surface.500}',
colorHover: '{surface.600}',
backgroundHover: '{surface.100}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
headerIcon: {
color: '{surface.400}',
colorHover: '{surface.300}',
backgroundHover: '{surface.800}'
}
}
}
},
css: `
.p-dialog {
max-height: 90%;
transform: scale(1);
border-radius: var(--p-rounded-xl);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
background: var(--p-dialog-background);
border: 1px solid var(--p-dialog-border-color);
color: var(--p-dialog-text-color);
}
.p-dialog-content {
overflow-y: auto;
padding: 0 1.5rem 1.5rem 1.5rem;
}
.p-dialog-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
padding: 1.5rem;
}
.p-dialog-title {
font-weight: 600;
font-size: 1.25rem;
}
.p-dialog-footer {
flex-shrink: 0;
padding: 0 1.5rem 1.5rem 1.5rem;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}
.p-dialog-header-icons {
display: flex;
align-items: center;
gap: 0.5rem;
}
.p-dialog-header-icon {
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
width: 1.75rem;
height: 1.75rem;
color: var(--p-dialog-header-icon-color);
border: 0 none;
background: transparent;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-dialog-header-icon:enabled:hover {
background: var(--p-dialog-header-icon-background-hover);
color: var(--p-dialog-header-icon-color-hover);
}
.p-dialog-header-icon:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-dialog-enter-active {
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
}
.p-dialog-leave-active {
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.p-dialog-enter-from,
.p-dialog-leave-to {
opacity: 0;
transform: scale(0.7);
}
.p-dialog-top .p-dialog,
.p-dialog-bottom .p-dialog,
.p-dialog-left .p-dialog,
.p-dialog-right .p-dialog,
.p-dialog-topleft .p-dialog,
.p-dialog-topright .p-dialog,
.p-dialog-bottomleft .p-dialog,
.p-dialog-bottomright .p-dialog {
margin: 0.75rem;
transform: translate3d(0px, 0px, 0px);
}
.p-dialog-top .p-dialog-enter-active,
.p-dialog-top .p-dialog-leave-active,
.p-dialog-bottom .p-dialog-enter-active,
.p-dialog-bottom .p-dialog-leave-active,
.p-dialog-left .p-dialog-enter-active,
.p-dialog-left .p-dialog-leave-active,
.p-dialog-right .p-dialog-enter-active,
.p-dialog-right .p-dialog-leave-active,
.p-dialog-topleft .p-dialog-enter-active,
.p-dialog-topleft .p-dialog-leave-active,
.p-dialog-topright .p-dialog-enter-active,
.p-dialog-topright .p-dialog-leave-active,
.p-dialog-bottomleft .p-dialog-enter-active,
.p-dialog-bottomleft .p-dialog-leave-active,
.p-dialog-bottomright .p-dialog-enter-active,
.p-dialog-bottomright .p-dialog-leave-active {
transition: all 0.3s ease-out;
}
.p-dialog-top .p-dialog-enter-from,
.p-dialog-top .p-dialog-leave-to {
transform: translate3d(0px, -100%, 0px);
}
.p-dialog-bottom .p-dialog-enter-from,
.p-dialog-bottom .p-dialog-leave-to {
transform: translate3d(0px, 100%, 0px);
}
.p-dialog-left .p-dialog-enter-from,
.p-dialog-left .p-dialog-leave-to,
.p-dialog-topleft .p-dialog-enter-from,
.p-dialog-topleft .p-dialog-leave-to,
.p-dialog-bottomleft .p-dialog-enter-from,
.p-dialog-bottomleft .p-dialog-leave-to {
transform: translate3d(-100%, 0px, 0px);
}
.p-dialog-right .p-dialog-enter-from,
.p-dialog-right .p-dialog-leave-to,
.p-dialog-topright .p-dialog-enter-from,
.p-dialog-topright .p-dialog-leave-to,
.p-dialog-bottomright .p-dialog-enter-from,
.p-dialog-bottomright .p-dialog-leave-to {
transform: translate3d(100%, 0px, 0px);
}
.p-dialog-maximized {
width: 100vw !important;
height: 100vh !important;
top: 0px !important;
left: 0px !important;
max-height: 100%;
height: 100%;
border-radius: 0;
}
.p-dialog-maximized .p-dialog-content {
flex-grow: 1;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,102 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
borderColor: '{surface.200}'
},
content: {
background: '{surface.0}',
textColor: '{surface.700}'
}
},
dark: {
root: {
borderColor: '{surface.700}'
},
content: {
background: '{surface.900}',
textColor: '{surface.0}'
}
}
}
},
css: `
.p-divider-horizontal {
display: flex;
width: 100%;
position: relative;
align-items: center;
margin: 1rem 0;
padding: 0 1rem;
}
.p-divider-horizontal:before {
position: absolute;
display: block;
top: 50%;
left: 0;
width: 100%;
content: "";
border-top: 1px solid var(--p-divider-border-color);
}
.p-divider-horizontal .p-divider-content {
padding: 0 0.5rem;
}
.p-divider-vertical {
min-height: 100%;
margin: 0 1rem;
display: flex;
position: relative;
justify-content: center;
margin: 0 1rem;
padding: 1rem 0;
}
.p-divider-vertical:before {
position: absolute;
display: block;
top: 0;
left: 50%;
height: 100%;
content: "";
border-left: 1px solid var(--p-divider-border-color);
}
.p-divider.p-divider-vertical .p-divider-content {
padding: 0.5rem 0;
}
.p-divider-content {
z-index: 1;
background: var(--p-divider-content-background);
color: var(--p-divider-content-text-color);
}
.p-divider-solid.p-divider-horizontal:before {
border-top-style: solid;
}
.p-divider-solid.p-divider-vertical:before {
border-left-style: solid;
}
.p-divider-dashed.p-divider-horizontal:before {
border-top-style: dashed;
}
.p-divider-dashed.p-divider-vertical:before {
border-left-style: dashed;
}
.p-divider-dotted.p-divider-horizontal:before {
border-top-style: dotted;
}
.p-divider-dotted.p-divider-vertical:before {
border-left-style: dotted;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,179 +0,0 @@
export default {
variables: {
colorScheme: {
light: {},
dark: {}
}
},
css: `
.p-dock {
position: absolute;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}
.p-dock-list-container {
display: flex;
pointer-events: auto;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 0.5rem 0.5rem;
border-radius: 0.5rem;
}
.p-dock-list {
margin: 0;
padding: 0;
list-style: none;
display: flex;
align-items: center;
justify-content: center;
outline: 0 none;
}
.p-dock-item {
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
will-change: transform;
padding: 0.5rem;
border-radius: 6px;
}
p-dock-item.p-focus {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-dock-link {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
cursor: default;
width: 3rem;
height: 3rem;
}
.p-dock-item-second-prev,
.p-dock-item-second-next {
transform: scale(1.2);
}
.p-dock-item-prev,
.p-dock-item-next {
transform: scale(1.4);
}
.p-dock-item-current {
transform: scale(1.6);
z-index: 1;
}
.p-dock-top {
left: 0;
top: 0;
width: 100%;
}
.p-dock-top .p-dock-item {
transform-origin: center top;
}
.p-dock-bottom {
left: 0;
bottom: 0;
width: 100%;
}
.p-dock-bottom .p-dock-item {
transform-origin: center bottom;
}
.p-dock-right {
right: 0;
top: 0;
height: 100%;
}
.p-dock-right .p-dock-item {
transform-origin: center right;
}
.p-dock-right .p-dock-list {
flex-direction: column;
}
.p-dock-left {
left: 0;
top: 0;
height: 100%;
}
.p-dock-left .p-dock-item {
transform-origin: center left;
}
.p-dock-left .p-dock-list {
flex-direction: column;
}
.p-dock-top .p-dock-item-second-prev,
.p-dock-top .p-dock-item-second-next,
.p-dock-bottom .p-dock-item-second-prev,
.p-dock-bottom .p-dock-item-second-next {
margin: 0 0.9rem;
}
.p-dock-top .p-dock-item-prev,
.p-dock-top .p-dock-item-next,
.p-dock-bottom .p-dock-item-prev,
.p-dock-bottom .p-dock-item-next {
margin: 0 1.3rem;
}
.p-dock-top .p-dock-item-current,
.p-dock-bottom .p-dock-item-current {
margin: 0 1.5rem;
}
.p-dock-left .p-dock-item-second-prev,
.p-dock-left .p-dock-item-second-next,
.p-dock-right .p-dock-item-second-prev,
.p-dock-right .p-dock-item-second-next {
margin: 0.9rem 0;
}
.p-dock-left .p-dock-item-prev,
.p-dock-left .p-dock-item-next,
.p-dock-right .p-dock-item-prev,
.p-dock-right .p-dock-item-next {
margin: 1.3rem 0;
}
.p-dock-left .p-dock-item-current,
.p-dock-right .p-dock-item-current {
margin: 1.5rem 0;
}
.p-dock-mobile.p-dock-top .p-dock-list-container,
.p-dock-mobile.p-dock-bottom .p-dock-list-container {
overflow-x: auto;
width: 100%;
}
.p-dock-mobile.p-dock-top .p-dock-list-container .p-dock-list,
.p-dock-mobile.p-dock-bottom .p-dock-list-container .p-dock-list {
margin: 0 auto;
}
.p-dock-mobile.p-dock-left .p-dock-list-container,
.p-dock-mobile.p-dock-right .p-dock-list-container {
overflow-y: auto;
height: 100%;
}
.p-dock-mobile.p-dock-left .p-dock-list-container .p-dock-list,
.p-dock-mobile.p-dock-right .p-dock-list-container .p-dock-list {
margin: auto 0;
}
.p-dock-mobile .p-dock-list .p-dock-item {
transform: none;
margin: 0;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,100 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
legend: {
backgroundHover: '{surface.100}',
textColor: '{surface.700}',
textColorHover: '{surface.800}'
},
toggleIcon: {
color: '{surface.500}',
colorHover: '{surface.600}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
legend: {
backgroundHover: '{surface.800}',
textColor: '{surface.0}',
textColorHover: '{surface.0}'
},
toggleIcon: {
color: '{surface.400}',
colorHover: '{surface.300}'
}
}
}
},
css: `
.p-fieldset {
border: 1px solid var(--p-fieldset-border-color);
background: var(--p-fieldset-background);
color: var(--p-fieldset-text-color);
border-radius: var(--p-rounded-base);
padding: 0 1.125rem 1.125rem 1.125rem;
margin: 0;
}
.p-fieldset-legend {
font-weight: 600;
border-radius: 6px;
border: 0 none;
padding: 0.5rem 0.75rem;
margin-bottom: 0.375rem;
}
.p-fieldset-toggleable > .p-fieldset-legend {
padding: 0;
}
.p-fieldset-toggleable > .p-fieldset-legend > a {
cursor: pointer;
user-select: none;
overflow: hidden;
position: relative;
text-decoration: none;
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: center;
padding: 0.5rem 0.75rem;
color: var(--p-legend-text-color);
border-radius: var(--p-rounded-base);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-fieldset-toggleable > .p-fieldset-legend > a:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-fieldset-toggleable > .p-fieldset-legend > a:hover {
color: var(--p-fieldset-legend-text-color-hover);
background: var(--p-fieldset-legend-background-hover);
}
.p-fieldset-toggler {
color: var(--p-fieldset-toggle-icon-color);
transition: color var(--p-transition-duration);
}
.p-fieldset-toggleable > .p-fieldset-legend > a:hover > .p-fieldset-toggler {
color: var(--p-fieldset-toggle-icon-color-hover);
}
.p-fieldset .p-fieldset-content {
padding: 0;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,11 +0,0 @@
export default {
variables: {
colorScheme: {
light: {},
dark: {},
},
},
css: `
`,
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,466 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
navigator: {
backgroundHover: 'rgba(255, 255, 255, 0.1)',
color: '{surface.100}'
},
thumbnailNavigator: {
backgroundHover: '{surface.200}',
color: '{surface.600}',
colorHover: '{surface.700}'
},
thumbnailContainer: {
background: '{surface.50}'
},
caption: {
background: 'rgba(0, 0, 0, 0.5)',
textColor: '{surface.100}'
},
indicator: {
background: '{surface.200}',
backgroundHover: '{surface.300}',
backgroundActive: '{primary.color}'
},
insetIndicators: {
background: 'rgba(0, 0, 0, 0.5)'
},
insetIndicator: {
background: 'rgba(255, 255, 255, 0.4)',
backgroundHover: 'rgba(255, 255, 255, 0.4)',
backgroundActive: '{primary.color}'
},
mask: {
background: 'rgba(0,0,0,0.9)'
},
close: {
backgroundHover: 'rgba(255,255,255,0.1)',
color: '{surface.50}',
colorHover: '{surface.0}'
}
},
dark: {
navigator: {
backgroundHover: 'rgba(255, 255, 255, 0.1)',
color: '{surface.400}'
},
thumbnailNavigator: {
backgroundHover: '{surface.800}',
color: '{surface.400}',
colorHover: '{surface.300}'
},
thumbnailContainer: {
background: '{surface.950}'
},
caption: {
background: 'rgba(0, 0, 0, 0.5)',
textColor: '{surface.100}'
},
indicator: {
background: '{surface.200}',
backgroundHover: '{surface.300}',
backgroundActive: '{primary.color}'
},
insetIndicators: {
background: 'rgba(0, 0, 0, 0.5)'
},
insetIndicator: {
background: 'rgba(255, 255, 255, 0.4)',
backgroundHover: 'rgba(255, 255, 255, 0.4)',
backgroundActive: '{primary.color}'
},
mask: {
background: 'rgba(0,0,0,0.9)'
},
close: {
backgroundHover: 'rgba(255,255,255,0.1)',
color: '{surface.50}',
colorHover: '{surface.0}'
}
}
}
},
css: `
.p-galleria-content {
display: flex;
flex-direction: column;
}
.p-galleria-item-wrapper {
display: flex;
flex-direction: column;
position: relative;
}
.p-galleria-item-container {
position: relative;
display: flex;
height: 100%;
}
.p-galleria-item-nav {
position: absolute;
top: 50%;
margin-top: -0.5rem;
display: inline-flex;
justify-content: center;
align-items: center;
overflow: hidden;
background: transparent;
color: var(--p-galleria-navigator-color);
width: 3rem;
height: 3rem;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
border-radius: 50%;
margin: 0 0.5rem;
}
.p-galleria-item-nav:not(.p-disabled):hover {
background: var(--p-galleria-navigator-background-hover);
}
.p-galleria-item-prev-icon,
.p-galleria-item-next-icon {
font-size: 1.5rem;
width: 1.5rem;
height: 1.5rem;
}
.p-galleria-item-prev {
left: 0;
}
.p-galleria-item-next {
right: 0;
}
.p-galleria-item {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
.p-galleria-item-nav-onhover .p-galleria-item-nav {
pointer-events: none;
opacity: 0;
transition: opacity var(--p-transition-duration) ease-in-out;
}
.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav {
pointer-events: all;
opacity: 1;
}
.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled {
pointer-events: none;
}
.p-galleria-caption {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: var(--p-galleria-caption-background);
color: var(--p-galleria-caption-text-color);
padding: 1rem;
}
.p-galleria-thumbnail-wrapper {
display: flex;
flex-direction: column;
overflow: auto;
flex-shrink: 0;
}
.p-galleria-thumbnail-prev,
.p-galleria-thumbnail-next {
align-self: center;
flex: 0 0 auto;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
margin: 0.5rem;
background: transparent;
color: var(--p-galleria-thumbnail-navigator-color);
width: 2rem;
height: 2rem;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
border-radius: 50%;
}
.p-galleria-thumbnail-prev:hover,
.p-galleria-thumbnail-next:hover {
background: var(--p-galleria-thumbnail-navigator-background-hover);
color: var(--p-galleria-thumbnail-navigator-color-hover);
}
.p-galleria-thumbnail-prev:focus-visible,
.p-galleria-thumbnail-next:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-galleria-thumbnail-prev span,
.p-galleria-thumbnail-next span {
display: flex;
justify-content: center;
align-items: center;
}
.p-galleria-thumbnail-container {
display: flex;
flex-direction: row;
background: var(--p-galleria-thumbnail-container-background);
padding: 1rem 0.25rem;
}
.p-galleria-thumbnail-items-container {
overflow: hidden;
width: 100%;
}
.p-galleria-thumbnail-items {
display: flex;
}
.p-galleria-thumbnail-item {
overflow: auto;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0.5;
}
.p-galleria-thumbnail-item-content {
outline-color: transparent;
}
.p-galleria-thumbnail-item-content:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-galleria-thumbnail-item:hover {
opacity: 1;
transition: opacity 0.3s;
}
.p-galleria-thumbnail-item-current {
opacity: 1;
}
.p-galleria-thumbnails-left .p-galleria-content,
.p-galleria-thumbnails-right .p-galleria-content {
flex-direction: row;
}
.p-galleria-thumbnails-left .p-galleria-item-wrapper,
.p-galleria-thumbnails-right .p-galleria-item-wrapper {
flex-direction: row;
}
.p-galleria-thumbnails-left .p-galleria-item-wrapper,
.p-galleria-thumbnails-top .p-galleria-item-wrapper {
order: 2;
}
.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,
.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper {
order: 1;
}
.p-galleria-thumbnails-left .p-galleria-thumbnail-container,
.p-galleria-thumbnails-right .p-galleria-thumbnail-container {
flex-direction: column;
flex-grow: 1;
}
.p-galleria-thumbnails-left .p-galleria-thumbnail-items,
.p-galleria-thumbnails-right .p-galleria-thumbnail-items {
flex-direction: column;
height: 100%;
}
.p-galleria-indicators {
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
gap: 0.5rem;
}
.p-galleria-indicator > button {
display: inline-flex;
align-items: center;
background-color: var(--p-galleria-indicator-background);
width: 1rem;
height: 1rem;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
border-radius: 50%;
}
.p-galleria-indicator > button:hover {
background: var(--p-galleria-indicator-background-hover);
}
.p-galleria-indicator > button:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-galleria-indicator.p-highlight > button {
background-color: var(--p-galleria-indicator-background-active);
}
.p-galleria-indicators-left .p-galleria-item-wrapper,
.p-galleria-indicators-right .p-galleria-item-wrapper {
flex-direction: row;
align-items: center;
}
.p-galleria-indicators-left .p-galleria-item-container,
.p-galleria-indicators-top .p-galleria-item-container {
order: 2;
}
.p-galleria-indicators-left .p-galleria-indicators,
.p-galleria-indicators-top .p-galleria-indicators {
order: 1;
}
.p-galleria-indicators-left .p-galleria-indicators,
.p-galleria-indicators-right .p-galleria-indicators {
flex-direction: column;
}
.p-galleria-indicator-onitem .p-galleria-indicators {
position: absolute;
display: flex;
z-index: 1;
background: var(--p-galleria-inset-indicators-background);
}
.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator > button {
background: var(--p-galleria-inset-indicator-background);
}
.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator.p-highlight > button {
background-color: var(--p-galleria-inset-indicator-background-active);
}
.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators {
top: 0;
left: 0;
width: 100%;
align-items: flex-start;
}
.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators {
right: 0;
top: 0;
height: 100%;
align-items: flex-end;
}
.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators {
bottom: 0;
left: 0;
width: 100%;
align-items: flex-end;
}
.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators {
left: 0;
top: 0;
height: 100%;
align-items: flex-start;
}
.p-galleria-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
--p-mask-background: var(--p-galleria-mask-background);
}
.p-galleria-close {
position: absolute;
top: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
margin: 0.5rem;
background: transparent;
color: var(--p-galleria-close-color);
width: 3rem;
height: 3rem;
border-radius: 50%;
outline-color: transparent;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-galleria-close-icon {
font-size: 1.5rem;
width: 1.5rem;
height: 1.5rem;
}
.p-galleria-close:hover {
background: var(--p-galleria-close-background-hover);
color: var(--p-galleria-close-color-hover);
}
.p-galleria-close:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-galleria-mask .p-galleria-item-nav {
position: fixed;
top: 50%;
margin-top: -0.5rem;
}
.p-galleria-enter-active {
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
}
.p-galleria-leave-active {
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.p-galleria-enter-from,
.p-galleria-leave-to {
opacity: 0;
transform: scale(0.7);
}
.p-galleria-enter-active .p-galleria-item-nav {
opacity: 0;
}
.p-items-hidden .p-galleria-thumbnail-item {
visibility: hidden;
}
.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {
visibility: visible;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,232 +0,0 @@
export default {
css: `
.p-component,
.p-component * {
box-sizing: border-box;
}
.p-hidden-space {
visibility: hidden;
}
.p-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.p-disabled,
.p-disabled * {
cursor: default;
pointer-events: none;
user-select: none;
}
.p-component-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.p-unselectable-text {
user-select: none;
}
.p-sr-only {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal;
}
.p-link {
text-align: left;
background-color: transparent;
margin: 0;
padding: 0;
border: none;
cursor: pointer;
user-select: none;
}
.p-link:disabled {
cursor: default;
}
/* Non vue overlay animations */
.p-connected-overlay {
opacity: 0;
transform: scaleY(0.8);
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
.p-connected-overlay-visible {
opacity: 1;
transform: scaleY(1);
}
.p-connected-overlay-hidden {
opacity: 0;
transform: scaleY(1);
transition: opacity 0.1s linear;
}
/* Vue based overlay animations */
.p-connected-overlay-enter-from {
opacity: 0;
transform: scaleY(0.8);
}
.p-connected-overlay-leave-to {
opacity: 0;
}
.p-connected-overlay-enter-active {
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
.p-connected-overlay-leave-active {
transition: opacity 0.1s linear;
}
/* Toggleable Content */
.p-toggleable-content-enter-from,
.p-toggleable-content-leave-to {
max-height: 0;
}
.p-toggleable-content-enter-to,
.p-toggleable-content-leave-from {
max-height: 1000px;
}
.p-toggleable-content-leave-active {
overflow: hidden;
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
}
.p-toggleable-content-enter-active {
overflow: hidden;
transition: max-height 1s ease-in-out;
}
* {
box-sizing: border-box;
}
.p-component {
font-family: var(--p-font-family);
font-feature-settings: var(--p-font-feature-settings, normal);
font-size: 1rem;
font-weight: normal;
}
.p-component-overlay {
background-color: rgba(0, 0, 0, 0.4);
transition-duration: var(--p-transition-duration);
}
.p-disabled,
.p-component:disabled {
opacity: 0.6;
}
.p-error {
color: #f87171;
}
.p-text-secondary {
color: #64748b;
}
.pi {
font-size: 1rem;
}
.p-icon {
width: 1rem;
height: 1rem;
}
.p-link {
font-family: var(--p-font-family);
font-feature-settings: var(--p-font-feature-settings, normal);
font-size: 1rem;
border-radius: 6px;
outline-color: transparent;
}
.p-link:focus-visible {
outline: 1px solid var(--p-focus-ring-color);
outline-offset: 2px;
box-shadow: none;
}
.p-component-overlay-enter {
animation: p-component-overlay-enter-animation 150ms forwards;
}
.p-component-overlay-leave {
animation: p-component-overlay-leave-animation 150ms forwards;
}
@keyframes p-component-overlay-enter-animation {
from {
background-color: transparent;
}
to {
background-color: var(--p-mask-background);
}
}
@keyframes p-component-overlay-leave-animation {
from {
background-color: var(--p-mask-background);
}
to {
background-color: transparent;
}
}
.p-ripple {
overflow: hidden;
position: relative;
}
.p-ink {
display: block;
position: absolute;
background: rgba(255, 255, 255, 0.5);
border-radius: 100%;
transform: scale(0);
pointer-events: none;
}
.p-ink-active {
animation: ripple 0.4s linear;
}
.p-ripple-disabled .p-ink {
display: none;
}
@keyframes ripple {
100% {
opacity: 0;
transform: scale(2.5);
}
}
`
};

View File

@ -1,35 +0,0 @@
export default {
variables: {
colorScheme: {
light: {},
dark: {}
}
},
css: `
.p-icon-field {
position: relative;
}
.p-icon-field .p-input-icon {
position: absolute;
top: 50%;
margin-top: -.5rem;
}
.p-icon-field-left .p-input-icon {
left: 0.75rem;
}
.p-icon-field-right .p-input-icon {
right: 0.75rem;
}
.p-icon-field-left .p-inputtext {
padding-left: 2.5rem;
}
.p-icon-field-right .p-inputtext {
padding-right: 2.5rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,141 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
previewIndicator: {
background: '{maskBackground}',
textColor: '{surface.200}'
},
mask: {
background: 'rgba(0,0,0,0.9)'
},
action: {
backgroundHover: 'rgba(255,255,255,0.1)',
color: '{surface.50}',
colorHover: '{surface.0}'
}
},
dark: {
previewIndicator: {
background: '{maskBackground}',
textColor: '{surface.200}'
},
mask: {
background: 'rgba(0,0,0,0.9)'
},
action: {
backgroundHover: 'rgba(255,255,255,0.1)',
color: '{surface.50}',
colorHover: '{surface.0}'
}
}
}
},
css: `
.p-image-mask {
display: flex;
align-items: center;
justify-content: center;
--p-mask-background: var(--p-image-mask-background);
}
.p-image-preview-container {
position: relative;
display: inline-flex;
line-height: 0;
}
.p-image-preview-indicator {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s;
border: 0 none;
padding: 0;
cursor: pointer;
background: transparent;
color: var(--p-image-preview-indicator-text-color);
transition: background-color var(--p-transition-duration);
}
.p-image-preview-container:hover > .p-image-preview-indicator {
opacity: 1;
cursor: pointer;
background: var(--p-image-preview-indicator-background);
}
.p-image-preview-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-image-toolbar {
position: absolute;
top: 0;
right: 0;
display: flex;
z-index: 1;
padding: 1rem;
gap: 0.5rem;
}
.p-image-action {
display: inline-flex;
justify-content: center;
align-items: center;
color: var(--p-image-action-color);
background: transparent;
width: 3rem;
height: 3rem;
border-radius: 50%;
outline-color: transparent;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-image-action:hover {
color: var(--p-image-action-color-hover);
background: var(--p-image-action-background-hover);
}
.p-image-action:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-image-action .p-icon {
font-size: 1.5rem;
width: 1.5rem;
height: 1.5rem;
}
.p-image-action.p-disabled {
pointer-events: auto;
}
.p-image-preview {
transition: transform 0.15s;
max-width: 100vw;
max-height: 100vh;
}
.p-image-preview-enter-active {
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
}
.p-image-preview-leave-active {
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.p-image-preview-enter-from,
.p-image-preview-leave-to {
opacity: 0;
transform: scale(0.7);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,292 +0,0 @@
import accordion from 'primevue/theme/aura/accordion';
import avatar from 'primevue/theme/aura/avatar';
import badge from 'primevue/theme/aura/badge';
import blockui from 'primevue/theme/aura/blockui';
import breadcrumb from 'primevue/theme/aura/breadcrumb';
import button from 'primevue/theme/aura/button';
import card from 'primevue/theme/aura/card';
import carousel from 'primevue/theme/aura/carousel';
import checkbox from 'primevue/theme/aura/checkbox';
import chip from 'primevue/theme/aura/chip';
import chips from 'primevue/theme/aura/chips';
import colorpicker from 'primevue/theme/aura/colorpicker';
import confirmdialog from 'primevue/theme/aura/confirmdialog';
import confirmpopup from 'primevue/theme/aura/confirmpopup';
import contextmenu from 'primevue/theme/aura/contextmenu';
import datatable from 'primevue/theme/aura/datatable';
import dataview from 'primevue/theme/aura/dataview';
import dialog from 'primevue/theme/aura/dialog';
import divider from 'primevue/theme/aura/divider';
import dock from 'primevue/theme/aura/dock';
import fieldset from 'primevue/theme/aura/fieldset';
import galleria from 'primevue/theme/aura/galleria';
import global from 'primevue/theme/aura/global';
import iconfield from 'primevue/theme/aura/iconfield';
import image from 'primevue/theme/aura/image';
import inlinemessage from 'primevue/theme/aura/inlinemessage';
import inplace from 'primevue/theme/aura/inplace';
import inputgroup from 'primevue/theme/aura/inputgroup';
import inputswitch from 'primevue/theme/aura/inputswitch';
import inputtext from 'primevue/theme/aura/inputtext';
import knob from 'primevue/theme/aura/knob';
import megamenu from 'primevue/theme/aura/megamenu';
import menu from 'primevue/theme/aura/menu';
import menubar from 'primevue/theme/aura/menubar';
import message from 'primevue/theme/aura/message';
import metergroup from 'primevue/theme/aura/metergroup';
import orderlist from 'primevue/theme/aura/orderlist';
import organizationchart from 'primevue/theme/aura/organizationchart';
import overlaypanel from 'primevue/theme/aura/overlaypanel';
import paginator from 'primevue/theme/aura/paginator';
import panel from 'primevue/theme/aura/panel';
import panelmenu from 'primevue/theme/aura/panelmenu';
import password from 'primevue/theme/aura/password';
import picklist from 'primevue/theme/aura/picklist';
import progressbar from 'primevue/theme/aura/progressbar';
import progressspinner from 'primevue/theme/aura/progressspinner';
import radiobutton from 'primevue/theme/aura/radiobutton';
import rating from 'primevue/theme/aura/rating';
import scrollpanel from 'primevue/theme/aura/scrollpanel';
import scrolltop from 'primevue/theme/aura/scrolltop';
import selectbutton from 'primevue/theme/aura/selectbutton';
import sidebar from 'primevue/theme/aura/sidebar';
import skeleton from 'primevue/theme/aura/skeleton';
import slider from 'primevue/theme/aura/slider';
import speeddial from 'primevue/theme/aura/speeddial';
import splitbutton from 'primevue/theme/aura/splitbutton';
import splitter from 'primevue/theme/aura/splitter';
import steps from 'primevue/theme/aura/steps';
import tabmenu from 'primevue/theme/aura/tabmenu';
import tabview from 'primevue/theme/aura/tabview';
import tag from 'primevue/theme/aura/tag';
import terminal from 'primevue/theme/aura/terminal';
import textarea from 'primevue/theme/aura/textarea';
import tieredmenu from 'primevue/theme/aura/tieredmenu';
import timeline from 'primevue/theme/aura/timeline';
import toast from 'primevue/theme/aura/toast';
import togglebutton from 'primevue/theme/aura/togglebutton';
import toolbar from 'primevue/theme/aura/toolbar';
import tooltip from 'primevue/theme/aura/tooltip';
import tree from 'primevue/theme/aura/tree';
import treetable from 'primevue/theme/aura/treetable';
export default {
primitive: {
rounded: {
sm: '4px',
base: '6px',
lg: '8px',
xl: '12px'
},
emerald: { 50: '#ecfdf5', 100: '#d1fae5', 200: '#a7f3d0', 300: '#6ee7b7', 400: '#34d399', 500: '#10b981', 600: '#059669', 700: '#047857', 800: '#065f46', 900: '#064e3b', 950: '#022c22' },
green: { 50: '#f0fdf4', 100: '#dcfce7', 200: '#bbf7d0', 300: '#86efac', 400: '#4ade80', 500: '#22c55e', 600: '#16a34a', 700: '#15803d', 800: '#166534', 900: '#14532d', 950: '#052e16' },
lime: { 50: '#f7fee7', 100: '#ecfccb', 200: '#d9f99d', 300: '#bef264', 400: '#a3e635', 500: '#84cc16', 600: '#65a30d', 700: '#4d7c0f', 800: '#3f6212', 900: '#365314', 950: '#1a2e05' },
red: { 50: '#fef2f2', 100: '#fee2e2', 200: '#fecaca', 300: '#fca5a5', 400: '#f87171', 500: '#ef4444', 600: '#dc2626', 700: '#b91c1c', 800: '#991b1b', 900: '#7f1d1d', 950: '#450a0a' },
orange: { 50: '#fff7ed', 100: '#ffedd5', 200: '#fed7aa', 300: '#fdba74', 400: '#fb923c', 500: '#f97316', 600: '#ea580c', 700: '#c2410c', 800: '#9a3412', 900: '#7c2d12', 950: '#431407' },
amber: { 50: '#fffbeb', 100: '#fef3c7', 200: '#fde68a', 300: '#fcd34d', 400: '#fbbf24', 500: '#f59e0b', 600: '#d97706', 700: '#b45309', 800: '#92400e', 900: '#78350f', 950: '#451a03' },
yellow: { 50: '#fefce8', 100: '#fef9c3', 200: '#fef08a', 300: '#fde047', 400: '#facc15', 500: '#eab308', 600: '#ca8a04', 700: '#a16207', 800: '#854d0e', 900: '#713f12', 950: '#422006' },
teal: { 50: '#f0fdfa', 100: '#ccfbf1', 200: '#99f6e4', 300: '#5eead4', 400: '#2dd4bf', 500: '#14b8a6', 600: '#0d9488', 700: '#0f766e', 800: '#115e59', 900: '#134e4a', 950: '#042f2e' },
cyan: { 50: '#ecfeff', 100: '#cffafe', 200: '#a5f3fc', 300: '#67e8f9', 400: '#22d3ee', 500: '#06b6d4', 600: '#0891b2', 700: '#0e7490', 800: '#155e75', 900: '#164e63', 950: '#083344' },
sky: { 50: '#f0f9ff', 100: '#e0f2fe', 200: '#bae6fd', 300: '#7dd3fc', 400: '#38bdf8', 500: '#0ea5e9', 600: '#0284c7', 700: '#0369a1', 800: '#075985', 900: '#0c4a6e', 950: '#082f49' },
blue: { 50: '#eff6ff', 100: '#dbeafe', 200: '#bfdbfe', 300: '#93c5fd', 400: '#60a5fa', 500: '#3b82f6', 600: '#2563eb', 700: '#1d4ed8', 800: '#1e40af', 900: '#1e3a8a', 950: '#172554' },
indigo: { 50: '#eef2ff', 100: '#e0e7ff', 200: '#c7d2fe', 300: '#a5b4fc', 400: '#818cf8', 500: '#6366f1', 600: '#4f46e5', 700: '#4338ca', 800: '#3730a3', 900: '#312e81', 950: '#1e1b4b' },
violet: { 50: '#f5f3ff', 100: '#ede9fe', 200: '#ddd6fe', 300: '#c4b5fd', 400: '#a78bfa', 500: '#8b5cf6', 600: '#7c3aed', 700: '#6d28d9', 800: '#5b21b6', 900: '#4c1d95', 950: '#2e1065' },
purple: { 50: '#faf5ff', 100: '#f3e8ff', 200: '#e9d5ff', 300: '#d8b4fe', 400: '#c084fc', 500: '#a855f7', 600: '#9333ea', 700: '#7e22ce', 800: '#6b21a8', 900: '#581c87', 950: '#3b0764' },
fuchsia: { 50: '#fdf4ff', 100: '#fae8ff', 200: '#f5d0fe', 300: '#f0abfc', 400: '#e879f9', 500: '#d946ef', 600: '#c026d3', 700: '#a21caf', 800: '#86198f', 900: '#701a75', 950: '#4a044e' },
pink: { 50: '#fdf2f8', 100: '#fce7f3', 200: '#fbcfe8', 300: '#f9a8d4', 400: '#f472b6', 500: '#ec4899', 600: '#db2777', 700: '#be185d', 800: '#9d174d', 900: '#831843', 950: '#500724' },
rose: { 50: '#fff1f2', 100: '#ffe4e6', 200: '#fecdd3', 300: '#fda4af', 400: '#fb7185', 500: '#f43f5e', 600: '#e11d48', 700: '#be123c', 800: '#9f1239', 900: '#881337', 950: '#4c0519' },
slate: { 50: '#f8fafc', 100: '#f1f5f9', 200: '#e2e8f0', 300: '#cbd5e1', 400: '#94a3b8', 500: '#64748b', 600: '#475569', 700: '#334155', 800: '#1e293b', 900: '#0f172a', 950: '#020617' },
gray: { 50: '#f9fafb', 100: '#f3f4f6', 200: '#e5e7eb', 300: '#d1d5db', 400: '#9ca3af', 500: '#6b7280', 600: '#4b5563', 700: '#374151', 800: '#1f2937', 900: '#111827', 950: '#030712' },
zinc: { 50: '#fafafa', 100: '#f4f4f5', 200: '#e4e4e7', 300: '#d4d4d8', 400: '#a1a1aa', 500: '#71717a', 600: '#52525b', 700: '#3f3f46', 800: '#27272a', 900: '#18181b', 950: '#09090b' },
neutral: { 50: '#fafafa', 100: '#f5f5f5', 200: '#e5e5e5', 300: '#d4d4d4', 400: '#a3a3a3', 500: '#737373', 600: '#525252', 700: '#404040', 800: '#262626', 900: '#171717', 950: '#0a0a0a' },
stone: { 50: '#fafaf9', 100: '#f5f5f4', 200: '#e7e5e4', 300: '#d6d3d1', 400: '#a8a29e', 500: '#78716c', 600: '#57534e', 700: '#44403c', 800: '#292524', 900: '#1c1917', 950: '#0c0a09' }
},
semantic: {
fontFamily: '"Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
fontFeatureSettings: '"cv02", "cv03", "cv04", "cv11"',
transitionDuration: '0.2s',
focusRing: {
width: '1px',
style: 'solid',
color: '{primary.500}',
offset: '2px'
},
anchorGutter: '2px',
primary: {
50: '{emerald.50}',
100: '{emerald.100}',
200: '{emerald.200}',
300: '{emerald.300}',
400: '{emerald.400}',
500: '{emerald.500}',
600: '{emerald.600}',
700: '{emerald.700}',
800: '{emerald.800}',
900: '{emerald.900}',
950: '{emerald.950}'
},
colorScheme: {
light: {
surface: {
0: '#ffffff',
50: '{slate.50}',
100: '{slate.100}',
200: '{slate.200}',
300: '{slate.300}',
400: '{slate.400}',
500: '{slate.500}',
600: '{slate.600}',
700: '{slate.700}',
800: '{slate.800}',
900: '{slate.900}',
950: '{slate.950}'
},
primary: {
color: '{primary.500}',
inverseColor: '#ffffff',
hoverColor: '{primary.600}',
activeColor: '{primary.700}'
},
highlight: {
background: '{primary.50}',
backgroundFocus: '{primary.100}',
textColor: '{primary.700}',
textColorFocus: '{primary.800}'
},
maskBackground: 'rgba(0,0,0,0.4)',
formField: {
background: '{surface.0}',
backgroundDisabled: '{surface.200}',
backgroundFilled: '{surface.50}',
backgroundFilledFocus: '{surface.0}',
borderColor: '{surface.300}',
borderColorHover: '{surface.400}',
borderColorFocus: '{primary.color}',
borderColorInvalid: '{red.400}',
textColor: '{surface.700}',
textColorDisabled: '{surface.500}',
placeholderTextColor: '{surface.500}',
boxShadow: '0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)'
}
},
dark: {
surface: {
0: '#ffffff',
50: '{zinc.50}',
100: '{zinc.100}',
200: '{zinc.200}',
300: '{zinc.300}',
400: '{zinc.400}',
500: '{zinc.500}',
600: '{zinc.600}',
700: '{zinc.700}',
800: '{zinc.800}',
900: '{zinc.900}',
950: '{zinc.950}'
},
primary: {
color: '{primary.400}',
inverseColor: '{surface.900}',
hoverColor: '{primary.300}',
activeColor: '{primary.200}'
},
highlight: {
background: 'color-mix(in srgb, {primary.400}, transparent 84%)',
backgroundFocus: 'color-mix(in srgb, {primary.400}, transparent 76%)',
textColor: 'rgba(255,255,255,.87)',
textColorFocus: 'rgba(255,255,255,.87)'
},
maskBackground: 'rgba(0,0,0,0.4)',
formField: {
background: '{surface.950}',
backgroundDisabled: '{surface.700}',
backgroundFilled: '{surface.800}',
backgroundFilledFocus: '{surface.950}',
borderColor: '{surface.700}',
borderColorHover: '{surface.600}',
borderColorFocus: '{primary.color}',
borderColorInvalid: '{red.300}',
textColor: '{surface.0}',
textColorDisabled: '{surface.400}',
placeholderTextColor: '{surface.400}',
boxShadow: '0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)'
}
}
}
},
components: {
global,
accordion,
avatar,
badge,
blockui,
breadcrumb,
button,
card,
carousel,
checkbox,
chip,
chips,
colorpicker,
confirmdialog,
confirmpopup,
contextmenu,
dataview,
datatable,
dialog,
divider,
dock,
fieldset,
galleria,
iconfield,
image,
inlinemessage,
inplace,
inputgroup,
inputswitch,
inputtext,
knob,
megamenu,
menu,
menubar,
message,
metergroup,
orderlist,
organizationchart,
overlaypanel,
paginator,
password,
panel,
panelmenu,
picklist,
progressbar,
progressspinner,
radiobutton,
rating,
scrollpanel,
scrolltop,
selectbutton,
skeleton,
sidebar,
slider,
speeddial,
splitter,
splitbutton,
steps,
tabmenu,
tabview,
textarea,
tieredmenu,
tag,
terminal,
timeline,
togglebutton,
tree,
treetable,
toast,
toolbar
},
directives: {
tooltip
}
};

View File

@ -1,174 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
info: {
background: 'color-mix(in srgb, {blue.50}, transparent 5%)',
borderColor: '{blue.200}',
textColor: '{blue.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)'
},
success: {
background: 'color-mix(in srgb, {green.50}, transparent 5%)',
borderColor: '{green.200}',
textColor: '{green.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)'
},
warn: {
background: 'color-mix(in srgb,{yellow.50}, transparent 5%)',
borderColor: '{yellow.200}',
textColor: '{yellow.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)'
},
error: {
background: 'color-mix(in srgb, {red.50}, transparent 5%)',
borderColor: '{red.200}',
textColor: '{red.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)'
},
secondary: {
background: '{surface.100}',
borderColor: '{surface.200}',
textColor: '{surface.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)'
},
contrast: {
background: '{surface.900}',
borderColor: '{surface.950}',
textColor: '{surface.50}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)'
}
},
dark: {
info: {
background: 'color-mix(in srgb, {blue.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {blue.700}, transparent 64%)',
textColor: '{blue.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)'
},
success: {
background: 'color-mix(in srgb, {green.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {green.700}, transparent 64%)',
textColor: '{green.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)'
},
warn: {
background: 'color-mix(in srgb, {yellow.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {yellow.700}, transparent 64%)',
textColor: '{yellow.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)'
},
error: {
background: 'color-mix(in srgb, {red.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {red.700}, transparent 64%)',
textColor: '{red.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)'
},
secondary: {
background: '{surface.800}',
borderColor: '{surface.700}',
textColor: '{surface.300}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)'
},
contrast: {
background: '{surface.0}',
borderColor: '{surface.100}',
textColor: '{surface.950}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)'
}
}
}
},
css: `
.p-inline-message {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem 0.75rem;
margin: 0;
border-radius: var(--p-rounded-base);
}
.p-inline-message-text {
font-weight: 500;
}
.p-inline-message-icon {
flex-shrink: 0;
margin-right: 0.5rem;
}
.p-inline-message-icon-only .p-inline-message-text {
visibility: hidden;
width: 0;
}
.p-fluid .p-inline-message {
display: flex;
}
.p-inline-message-info {
background: var(--p-inlinemessage-info-background);
border: 1px solid var(--p-inlinemessage-info-border-color);
color: var(--p-inlinemessage-info-text-color);
box-shadow: var(--p-inlinemessage-info-box-shadow);
}
.p-inline-message-info .p-inline-message-icon {
color: var(--p-inlinemessage-info-text-color);
}
.p-inline-message-success {
background: var(--p-inlinemessage-success-background);
border: 1px solid var(--p-inlinemessage-success-border-color);
color: var(--p-inlinemessage-success-text-color);
box-shadow: var(--p-inlinemessage-success-box-shadow);
}
.p-inline-message-success .p-inline-message-icon {
color: var(--p-inlinemessage-success-text-color);
}
.p-inline-message-warn {
background: var(--p-inlinemessage-warn-background);
border: 1px solid var(--p-inlinemessage-warn-border-color);
color: var(--p-inlinemessage-warn-text-color);
box-shadow: var(--p-inlinemessage-warn-box-shadow);
}
.p-inline-message-warn .p-inline-message-icon {
color: var(--p-inlinemessage-warn-text-color);
}
.p-inline-message-error {
background: var(--p-inlinemessage-error-background);
border: 1px solid var(--p-inlinemessage-error-border-color);
color: var(--p-inlinemessage-error-text-color);
box-shadow: var(--p-inlinemessage-error-box-shadow);
}
.p-inline-message-error .p-inline-message-icon {
color: var(--p-inlinemessage-error-text-color);
}
.p-inline-message-secondary {
background: var(--p-inlinemessage-secondary-background);
border: 1px solid var(--p-inlinemessage-secondary-border-color);
color: var(--p-inlinemessage-secondary-text-color);
box-shadow: var(--p-inlinemessage-secondary-box-shadow);
}
.p-inline-message-secondary .p-inline-message-icon {
color: var(--p-inlinemessage-secondary-text-color);
}
.p-inline-message-contrast {
background: var(--p-inlinemessage-contrast-background);
border: 1px solid var(--p-inlinemessage-contrast-border-color);
color: var(--p-inlinemessage-contrast-text-color);
box-shadow: var(--p-inlinemessage-contrast-box-shadow);
}
.p-inline-message-contrast .p-inline-message-icon {
color: var(--p-inlinemessage-contrast-text-color);
}
.p-inline-message-icon-only .p-inline-message-icon {
margin-right: 0;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,54 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
display: {
backgroundHover: '{surface.100}',
textColorHover: '{surface.800}'
}
},
dark: {
display: {
backgroundHover: '{surface.800}',
textColorHover: '{surface.0}'
}
}
}
},
css: `
.p-inplace .p-inplace-display {
display: inline;
cursor: pointer;
}
.p-inplace .p-inplace-content {
display: inline;
}
.p-fluid .p-inplace.p-inplace-closable .p-inplace-content {
display: flex;
}
.p-fluid .p-inplace.p-inplace-closable .p-inplace-content > .p-inputtext {
flex: 1 1 auto;
width: 1%;
}
.p-inplace-display {
padding: 0.5rem 0.75rem;
border-radius: var(--p-rounded-base);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-inplace-display:not(.p-disabled):hover {
background: var(--p-inplace-display-background-hover);
color: var(--p-inplace-display-text-color-hover);
}
.p-inplace-display:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,111 +0,0 @@
export default {
variables: {
common: {
addon: {
background: '{form.field.background.color}',
borderColor: '{form.field.border.color}',
textColor: '{form.field.placeholder.color}'
}
}
},
css: `
.p-inputgroup {
display: flex;
align-items: stretch;
width: 100%;
}
.p-inputgroup-addon {
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
background: var(--p-inputgroup-addon-background);
color: var(--p-inputgroup-addon-text-color);
border-top: 1px solid var(--p-inputgroup-addon-border-color);
border-left: 1px solid var(--p-inputgroup-addon-border-color);
border-bottom: 1px solid var(--p-inputgroup-addon-border-color);
padding: 0.5rem 0.75rem;
min-width: 2.5rem;
}
.p-inputgroup .p-float-label {
display: flex;
align-items: stretch;
width: 100%;
}
.p-inputgroup .p-inputtext,
.p-fluid .p-inputgroup .p-inputtext,
.p-inputgroup .p-inputwrapper,
.p-fluid .p-inputgroup .p-input {
flex: 1 1 auto;
width: 1%;
}
.p-inputgroup-addon:last-child {
border-right: 1px solid var(--p-inputgroup-addon-border-color);
}
.p-inputgroup > .p-component,
.p-inputgroup > .p-inputwrapper > .p-inputtext,
.p-inputgroup > .p-float-label > .p-component {
border-radius: 0;
margin: 0;
}
.p-inputgroup > .p-component + .p-inputgroup-addon,
.p-inputgroup > .p-inputwrapper > .p-inputtext + .p-inputgroup-addon,
.p-inputgroup > .p-float-label > .p-component + .p-inputgroup-addon {
border-left: 0 none;
}
.p-inputgroup > .p-component:focus,
.p-inputgroup > .p-inputwrapper > .p-inputtext:focus,
.p-inputgroup > .p-float-label > .p-component:focus {
z-index: 1;
}
.p-inputgroup > .p-component:focus ~ label,
.p-inputgroup > .p-inputwrapper > .p-inputtext:focus~label,
.p-inputgroup > .p-float-label > .p-component:focus~label {
z-index: 1;
}
.p-inputgroup-addon:first-child,
.p-inputgroup button:first-child,
.p-inputgroup input:first-child,
.p-inputgroup > .p-inputwrapper:first-child,
.p-inputgroup > .p-inputwrapper:first-child > .p-inputtext {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.p-inputgroup .p-float-label:first-child input {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.p-inputgroup-addon:last-child,
.p-inputgroup button:last-child,
.p-inputgroup input:last-child,
.p-inputgroup > .p-inputwrapper:last-child,
.p-inputgroup > .p-inputwrapper:last-child > .p-inputtext {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.p-inputgroup .p-float-label:last-child input {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.p-fluid .p-inputgroup .p-button {
width: auto;
}
.p-fluid .p-inputgroup .p-button.p-button-icon-only {
width: 2.5rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,128 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.300}',
backgroundInvalid: '{red.400}',
backgroundHover: '{surface.400}',
backgroundChecked: '{primary.500}',
backgroundCheckedHover: '{primary.600}',
borderRadius: '30px'
},
handle: {
background: '{surface.0}',
backgroundHover: '{surface.0}',
backgroundChecked: '{surface.0}',
backgroundCheckedHover: '{surface.0}',
backgroundInvalid: '{surface.0}'
}
},
dark: {
root: {
background: '{surface.700}',
backgroundInvalid: '{red.300}',
backgroundHover: '{surface.600}',
backgroundChecked: '{primary.400}',
backgroundCheckedHover: '{primary.300}',
borderRadius: '30px'
},
handle: {
background: '{surface.400}',
backgroundHover: '{surface.300}',
backgroundChecked: '{surface.900}',
backgroundCheckedHover: '{surface.900}',
backgroundInvalid: '{surface.900}'
}
}
}
},
css: `
.p-inputswitch {
display: inline-block;
width: 2.5rem;
height: 1.5rem;
}
.p-inputswitch-input {
cursor: pointer;
appearance: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
opacity: 0;
z-index: 1;
outline: 0 none;
border-radius: var(--p-inputswitch-border-radius);
}
.p-inputswitch-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 0 none;
background: var(--p-inputswitch-background);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), box-shadow var(--p-transition-duration), outline-color var(--p-transition-duration);
border-radius: var(--p-inputswitch-border-radius);
outline-color: transparent;
}
.p-inputswitch-slider:before {
position: absolute;
content: "";
top: 50%;
background: var(--p-inputswitch-handle-background);
width: 1rem;
height: 1rem;
left: 0.25rem;
margin-top: -0.5rem;
border-radius: 50%;
transition: all var(--p-transition-duration);
}
.p-inputswitch.p-highlight .p-inputswitch-slider {
background: var(--p-inputswitch-background-checked);
}
.p-inputswitch.p-highlight .p-inputswitch-slider:before {
background: var(--p-inputswitch-handle-background-checked);
left: 1.25rem;
}
.p-inputswitch:not(.p-disabled):has(.p-inputswitch-input:hover) .p-inputswitch-slider {
background: var(--p-inputswitch-background-hover);
}
.p-inputswitch:not(.p-disabled):has(.p-inputswitch-input:hover) .p-inputswitch-slider:before {
background: var(--p-inputswitch-handle-background-hover);
}
.p-inputswitch:not(.p-disabled):has(.p-inputswitch-input:hover).p-highlight .p-inputswitch-slider {
background: var(--p-inputswitch-background-checked-hover);
}
.p-inputswitch:not(.p-disabled):has(.p-inputswitch-input:hover).p-highlight .p-inputswitch-slider:before {
background: var(--p-inputswitch-handle-background-checked-hover);
}
.p-inputswitch:not(.p-disabled):has(.p-inputswitch-input:focus-visible) .p-inputswitch-slider {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-inputswitch.p-invalid > .p-inputswitch-slider {
background: var(--p-inputswitch-background-invalid);
}
.p-inputswitch.p-invalid > .p-inputswitch-slider:before {
background: var(--p-inputswitch-handle-background-invalid);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,81 +0,0 @@
export default {
variables: {
common: {
root: {
background: '{form.field.background}',
backgroundDisabled: '{form.field.background.disabled}',
backgroundFilled: '{form.field.background.filled}',
backgroundFilledFocus: '{form.field.background.filled.focus}',
borderColor: '{form.field.border.color}',
borderColorHover: '{form.field.border.color.hover}',
borderColorFocus: '{form.field.border.color.focus}',
borderColorInvalid: '{form.field.border.color.invalid}',
textColor: '{form.field.text.color}',
textColorDisabled: '{form.field.text.disabled}',
placeholderTextColor: '{form.field.placeholder.text.color}',
boxShadow: '{form.field.box.shadow}'
}
}
},
css: `
.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-size: 1rem;
color: var(--p-inputtext-text-color);
background: var(--p-inputtext-background);
padding: 0.5rem 0.75rem;
border: 1px solid var(--p-inputtext-border-color);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), outline-color var(--p-transition-duration);
appearance: none;
border-radius: var(--p-rounded-base);
outline-color: transparent;
box-shadow: var(--p-inputtext-box-shadow);
}
.p-inputtext:enabled:hover {
border-color: var(--p-inputtext-border-color-hover);
}
.p-inputtext:enabled:focus {
border-color: var(--p-inputtext-border-color-focus);
outline: 0 none;
}
.p-inputtext.p-invalid {
border-color: var(--p-inputtext-border-color-invalid);
}
.p-inputtext.p-variant-filled {
background-color: var(--p-inputtext-background-filled);
}
.p-inputtext.p-variant-filled:enabled:focus {
background-color: var(--p-inputtext-background-filled-focus);
}
.p-inputtext:disabled {
opacity: 1;
background: var(--p-inputtext-background-disabled);
color: var(--p-inputtext-text-color-disabled);
}
.p-input-icon-right > svg:last-of-type,
.p-input-icon-right > i:last-of-type {
right: 0.75rem;
color: #94a3b8;
}
.p-input-icon-right > .p-inputtext {
padding-right: 2.5rem;
}
.p-inputtext::placeholder {
color: var(--p-inputtext-placeholder-text-color);
}
.p-fluid .p-inputtext {
width: 100%;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,41 +0,0 @@
export default {
variables: {
colorScheme: {
light: {},
dark: {}
}
},
css: `
.p-knob-range {
fill: none;
transition: stroke 0.1s ease-in;
}
.p-knob-value {
animation-name: p-knob-dash-frame;
animation-fill-mode: forwards;
fill: none;
}
.p-knob-text {
font-size: 1.3rem;
text-align: center;
}
.p-knob svg {
border-radius: var(--p-rounded-base);
outline-color: transparent;
transition: outline-color var(--p-transition-duration);
}
.p-knob svg:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
@keyframes p-knob-dash-frame {
100% {
stroke-dashoffset: 0;
}
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,344 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
item: {
backgroundFocus: '{surface.100}',
text: {
color: '{surface.700}',
colorFocus: '{surface.800}'
},
icon: {
color: '{surface.400}',
colorFocus: '{surface.500}'
}
},
submenuHeader: {
textColor: '{surface.400}'
},
separator: {
borderColor: '{surface.200}'
},
mobileToggle: {
color: '{surface.500}',
colorHover: '{surface.600}',
backgroundHover: '{surface.100}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
item: {
backgroundFocus: '{surface.800}',
text: {
color: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: {
color: '{surface.500}',
colorFocus: '{surface.400}'
}
},
submenuHeader: {
textColor: '{surface.500}'
},
separator: {
borderColor: '{surface.700}'
},
toggleIcon: {
color: '{surface.400}',
colorHover: '{surface.300}',
backgroundHover: '{surface.800}'
}
}
}
},
css: `
.p-megamenu {
display: flex;
position: relative;
padding: 0.5rem 0.5rem;
background: var(--p-megamenu-background);
color: var(--p-megamenu-text-color);
border: 1px solid var(--p-megamenu-border-color);
border-radius: var(--p-rounded-base);
}
.p-megamenu-root-list {
margin: 0;
padding: 0;
list-style: none;
}
.p-megamenu .p-menuitem-content {
transition: background-color var(--p-transition-duration), color var(--p-transition-duration);
border-radius: var(--p-rounded-sm);
color: var(--p-megamenu-item-text-color);
}
.p-megamenu .p-menuitem-link {
cursor: pointer;
display: flex;
align-items: center;
text-decoration: none;
overflow: hidden;
position: relative;
color: inherit;
padding: 0.5rem 0.75rem;
user-select: none;
}
.p-megamenu .p-menuitem-text {
line-height: 1;
}
.p-megamenu .p-menuitem-icon {
color: var(--p-megamenu-item-icon-color);
margin-right: 0.5rem;
}
.p-megamenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-megamenu-item-text-color-focus);
background: var(--p-megamenu-item-background-focus);
}
.p-megamenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-megamenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-megamenu-item-icon-color-focus);
}
.p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-megamenu-item-text-color-focus);
background: var(--p-megamenu-item-background-focus);
}
.p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-megamenu-item-icon-color-focus);
}
.p-megamenu .p-menuitem-active > .p-menuitem-content {
color: var(--p-megamenu-item-text-color-focus);
background: var(--p-megamenu-item-background-focus);
}
.p-megamenu .p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-megamenu .p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-megamenu-item-icon-color-focus);
}
.p-megamenu .p-submenu-icon {
color: var(--p-megamenu-item-icon-color);
margin-left: 0.5rem;
font-size: 0.875rem;
width: 0.875rem;
height: 0.875rem;
}
.p-megamenu-panel {
display: none;
position: absolute;
width: auto;
z-index: 1;
left: 0;
min-width: 100%;
background: var(--p-megamenu-background);
color: var(--p-megamenu-text-color);
border: 1px solid var(--p-megamenu-border-color);
border-radius: var(--p-rounded-base);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)
}
.p-megamenu-root-list > .p-menuitem-active > .p-megamenu-panel {
display: block;
}
.p-megamenu-submenu {
margin: 0;
list-style: none;
padding: 0.25rem 0.25rem;
min-width: 12.5rem;
}
.p-megamenu-submenu .p-menuitem {
margin: 2px 0;
}
.p-megamenu-submenu .p-menuitem:first-child {
margin-top: 0;
}
.p-megamenu-submenu .p-menuitem:last-child {
margin-bottom: 0;
}
.p-megamenu-submenu .p-submenu-header {
margin: 0;
padding: 0.5rem 0.75rem;
color: var(--p-megamenu-submenu-header-text-color);
font-weight: 600;
margin-bottom: 2px;
}
.p-megamenu-submenu .p-menuitem-separator {
border-top: 1px solid var(--p-megamenu-separator-border-color);
margin: 2px 0;
}
.p-megamenu-horizontal {
align-items: center;
}
.p-megamenu-horizontal .p-megamenu-root-list {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.p-megamenu-horizontal .p-megamenu-end {
margin-left: auto;
align-self: center;
}
.p-megamenu-vertical {
display: inline-flex;
flex-direction: column;
min-width: 12.5rem;
padding: 0.25rem 0.25rem;
}
.p-megamenu-vertical .p-megamenu-root-list {
flex-direction: column;
}
.p-megamenu-vertical .p-megamenu-root-list > .p-menuitem-active > .p-megamenu-panel {
left: 100%;
top: 0;
}
.p-megamenu-vertical .p-megamenu-root-list > .p-menuitem > .p-menuitem-content .p-submenu-icon {
margin-left: auto;
}
.p-megamenu-grid {
display: flex;
}
.p-megamenu-col-2,
.p-megamenu-col-3,
.p-megamenu-col-4,
.p-megamenu-col-6,
.p-megamenu-col-12 {
flex: 0 0 auto;
padding: 0.5rem;
}
.p-megamenu-col-2 {
width: 16.6667%;
}
.p-megamenu-col-3 {
width: 25%;
}
.p-megamenu-col-4 {
width: 33.3333%;
}
.p-megamenu-col-6 {
width: 50%;
}
.p-megamenu-col-12 {
width: 100%;
}
.p-megamenu-button {
display: none;
justify-content: center;
align-items: center;
cursor: pointer;
width: 1.75rem;
height: 1.75rem;
position: relative;
color: var(--p-megamenu-mobile-toggle-color);
border: 0 none;
background: transparent;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-megamenu-button:hover {
color: var(--p-megamenu-mobile-toggle-color-hover);
background: var(--p-megamenu-mobile-toggle-background-hover);
}
.p-megamenu-button:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-megamenu-mobile {
display: flex;
}
.p-megamenu-mobile .p-megamenu-button {
display: flex;
}
.p-megamenu-mobile .p-megamenu-root-list {
position: absolute;
display: none;
flex-direction: column;
top: 100%;
left: 0;
z-index: 1;
width: 100%;
padding: 0.25rem 0.25rem;
background: var(--p-megamenu-background);
border: 1px solid var(--p-megamenu-border-color);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
gap: 2px;
}
.p-megamenu-mobile-active .p-megamenu-root-list {
display: flex;
}
.p-megamenu-mobile .p-megamenu-root-list .p-menuitem {
width: 100%;
position: static;
}
.p-megamenu-mobile .p-megamenu-panel {
position: static;
border: 0 none;
border-radius: 0;
box-shadow: none;
}
.p-megamenu-mobile .p-megamenu-grid {
flex-wrap: wrap;
overflow: auto;
max-height: 90%;
}
.p-megamenu-mobile .p-megamenu-root-list > .p-menuitem > .p-menuitem-content .p-submenu-icon {
margin-left: auto;
transition: transform 0.2s;
}
.p-megamenu-mobile .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-content .p-submenu-icon {
transform: rotate(-180deg);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,144 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
item: {
backgroundFocus: '{surface.100}',
text: {
color: '{surface.700}',
colorFocus: '{surface.800}'
},
icon: {
color: '{surface.400}',
colorFocus: '{surface.500}'
}
},
submenuHeader: {
textColor: '{surface.400}'
},
separator: {
borderColor: '{surface.200}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
item: {
backgroundFocus: '{surface.800}',
text: {
color: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: {
color: '{surface.500}',
colorFocus: '{surface.400}'
}
},
submenuHeader: {
textColor: '{surface.500}'
},
separator: {
borderColor: '{surface.700}'
}
}
}
},
css: `
.p-menu {
padding: 0.25rem 0.25rem;
background: var(--p-menu-background);
color: var(--p-menu-text-color);
border: 1px solid var(--p-menu-border-color);
border-radius: var(--p-rounded-base);
min-width: 12.5rem;
}
.p-menu ul {
margin: 0;
padding: 0;
list-style: none;
}
.p-menu .p-menuitem {
margin: 2px 0;
}
.p-menu .p-menuitem:first-child {
margin-top: 0;
}
.p-menu .p-menuitem:last-child {
margin-bottom: 0;
}
.p-menu .p-menuitem-link {
cursor: pointer;
display: flex;
align-items: center;
text-decoration: none;
overflow: hidden;
position: relative;
color: inherit;
padding: 0.5rem 0.75rem;
user-select: none;
}
.p-menu .p-menuitem-text {
line-height: 1;
}
.p-menu .p-menuitem-content {
transition: background-color var(--p-transition-duration), color var(--p-transition-duration);
border-radius: var(--p-rounded-sm);
color: var(--p-menu-item-text-color);
}
.p-menu .p-menuitem-icon {
color: var(--p-menu-item-icon-color);
margin-right: 0.5rem;
}
.p-menu .p-menuitem.p-focus .p-menuitem-content {
color: var(--p-menu-item-text-color-focus);
background: var(--p-menu-item-background-focus);
}
.p-menu .p-menuitem.p-focus .p-menuitem-icon {
color: var(--p-menu-item-icon-color-focus);
}
.p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover {
color: var(--p-menu-item-text-color-focus);
background: var(--p-menu-item-background-focus);
}
.p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover .p-menuitem-icon,
.p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-menu-item-icon-color-focus);
}
.p-menu.p-menu-overlay {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.p-menu .p-submenu-header {
margin: 0;
padding: 0.5rem 0.75rem;
color: var(--p-menu-submenu-header-text-color);
font-weight: 600;
}
.p-menu .p-menuitem-separator {
border-top: 1px solid var(--p-menu-separator-border-color);
margin: 2px 0;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,298 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
item: {
backgroundFocus: '{surface.100}',
text: {
color: '{surface.700}',
colorFocus: '{surface.800}'
},
icon: {
color: '{surface.400}',
colorFocus: '{surface.500}'
}
},
separator: {
borderColor: '{surface.200}'
},
mobileToggle: {
color: '{surface.500}',
colorHover: '{surface.600}',
backgroundHover: '{surface.100}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
item: {
backgroundFocus: '{surface.800}',
text: {
color: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: {
color: '{surface.500}',
colorFocus: '{surface.400}'
}
},
separator: {
borderColor: '{surface.700}'
},
mobileToggle: {
color: '{surface.400}',
colorHover: '{surface.300}',
backgroundHover: '{surface.800}'
}
}
}
},
css: `
.p-menubar {
display: flex;
align-items: center;
padding: 0.5rem 0.5rem;
background: var(--p-menubar-background);
color: var(--p-menubar-text-color);
border: 1px solid var(--p-menubar-border-color);
border-radius: var(--p-rounded-base);
}
.p-menubar ul {
margin: 0;
padding: 0;
list-style: none;
}
.p-menubar .p-menuitem-link {
cursor: pointer;
display: flex;
align-items: center;
text-decoration: none;
overflow: hidden;
position: relative;
color: inherit;
padding: 0.5rem 0.75rem;
user-select: none;
}
.p-menubar .p-menuitem-text {
line-height: 1;
}
.p-menubar-root-list {
display: flex;
align-items: center;
flex-wrap: wrap;
outline: 0 none;
}
.p-menubar-root-list > .p-menuitem-active > .p-submenu-list {
display: block;
}
.p-menubar .p-menuitem-content {
transition: background-color var(--p-transition-duration), color var(--p-transition-duration);
border-radius: var(--p-rounded-sm);
color: var(--p-menubar-item-text-color);
}
.p-menubar .p-menuitem-icon {
color: var(--p-menubar-item-icon-color);
margin-right: 0.5rem;
}
.p-menubar .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-menubar-item-text-color-focus);
background: var(--p-menubar-item-background-focus);
}
.p-menubar .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-menubar .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-menubar-item-icon-color-focus);
}
.p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-menubar-item-text-color-focus);
background: var(--p-menubar-item-background-focus);
}
.p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-menubar-item-icon-color-focus);
}
.p-menubar .p-menuitem-active > .p-menuitem-content {
color: var(--p-menubar-item-text-color-focus);
background: var(--p-menubar-item-background-focus);
}
.p-menubar .p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-menubar .p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-menubar-item-icon-color-focus);
}
.p-menubar .p-submenu-icon {
color: var(--p-menubar-item-icon-color);
margin-left: auto;
font-size: 0.875rem;
width: 0.875rem;
height: 0.875rem;
}
.p-menubar-root-list > .p-menuitem > .p-menuitem-content .p-submenu-icon {
margin-left: 0.5rem;
}
.p-menubar .p-submenu-list {
display: none;
position: absolute;
min-width: 12.5rem;
z-index: 1;
padding: 0.25rem 0.25rem;
background: var(--p-menubar-background);
color: var(--p-menubar-text-color);
border: 1px solid var(--p-menubar-border-color);
border-radius: var(--p-rounded-base);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.p-menubar .p-submenu-list .p-menuitem-separator {
border-top: 1px solid var(--p-menubar-separator-border-color);
margin: 2px 0;
}
.p-menubar .p-submenu-list .p-menuitem {
position: relative;
margin: 2px 0;
}
.p-menubar .p-submenu-list .p-menuitem:first-child {
margin-top: 0;
}
.p-menubar .p-submenu-list .p-menuitem:last-child {
margin-bottom: 0;
}
.p-menubar .p-submenu-list > .p-menuitem-active > .p-submenu-list {
display: block;
left: 100%;
top: 0;
}
.p-menubar .p-menubar-end {
margin-left: auto;
align-self: center;
}
.p-menubar-button {
display: none;
justify-content: center;
align-items: center;
cursor: pointer;
width: 1.75rem;
height: 1.75rem;
position: relative;
color: var(--p-menubar-mobile-toggle-color);
border: 0 none;
background: transparent;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-menubar-button:hover {
color: var(--p-menubar-mobile-toggle-color-hover);
background: var(--p-menubar-mobile-toggle-background-hover);
}
.p-menubar-button:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-menubar-mobile {
position: relative;
}
.p-menubar-mobile .p-menubar-button {
display: flex;
}
.p-menubar-mobile .p-menubar-root-list {
position: absolute;
display: none;
width: 100%;
padding: 0.25rem 0.25rem;
background: var(--p-menubar-background);
border: 1px solid var(--p-menubar-border-color);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.p-menubar-mobile-active .p-menubar-root-list {
display: flex;
flex-direction: column;
top: 100%;
left: 0;
z-index: 1;
}
.p-menubar-mobile .p-menubar-root-list .p-menuitem {
width: 100%;
position: static;
}
.p-menubar-mobile .p-menubar-root-list .p-menuitem-separator {
border-top: 1px solid #e2e8f0;
margin: 2px 0;
}
.p-menubar-mobile .p-menubar-root-list > .p-menuitem {
position: relative;
margin: 2px 0;
}
.p-menubar-mobile .p-menubar-root-list > .p-menuitem:first-child {
margin-top: 0;
}
.p-menubar-mobile .p-menubar-root-list > .p-menuitem:last-child {
margin-bottom: 0;
}
.p-menubar-mobile .p-menubar-root-list > .p-menuitem > .p-menuitem-content .p-submenu-icon {
margin-left: auto;
transition: transform 0.2s;
}
.p-menubar-mobile .p-menubar-root-list > .p-menuitem-active > .p-menuitem-content .p-submenu-icon {
transform: rotate(-180deg);
}
.p-menubar-mobile .p-submenu-list .p-submenu-icon {
transition: transform 0.2s;
transform: rotate(90deg);
}
.p-menubar-mobile .p-menuitem-active > .p-menuitem-content .p-submenu-icon {
transform: rotate(-90deg);
}
.p-menubar-mobile .p-submenu-list {
width: 100%;
position: static;
box-shadow: none;
border: 0 none;
padding-left: 1rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,265 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
info: {
background: 'color-mix(in srgb, {blue.50}, transparent 5%)',
borderColor: '{blue.200}',
textColor: '{blue.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',
closeBackgroundHover: '{blue.100}'
},
success: {
background: 'color-mix(in srgb, {green.50}, transparent 5%)',
borderColor: '{green.200}',
textColor: '{green.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',
closeBackgroundHover: '{green.100}'
},
warn: {
background: 'color-mix(in srgb,{yellow.50}, transparent 5%)',
borderColor: '{yellow.200}',
textColor: '{yellow.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',
closeBackgroundHover: '{yellow.100}'
},
error: {
background: 'color-mix(in srgb, {red.50}, transparent 5%)',
borderColor: '{red.200}',
textColor: '{red.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',
closeBackgroundHover: '{red.100}'
},
secondary: {
background: '{surface.100}',
borderColor: '{surface.200}',
textColor: '{surface.600}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)',
closeBackgroundHover: '{surface.200}'
},
contrast: {
background: '{surface.900}',
borderColor: '{surface.950}',
textColor: '{surface.50}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
closeBackgroundHover: '{surface.800}'
}
},
dark: {
info: {
background: 'color-mix(in srgb, {blue.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {blue.700}, transparent 64%)',
textColor: '{blue.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
},
success: {
background: 'color-mix(in srgb, {green.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {green.700}, transparent 64%)',
textColor: '{green.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
},
warn: {
background: 'color-mix(in srgb, {yellow.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {yellow.700}, transparent 64%)',
textColor: '{yellow.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
},
error: {
background: 'color-mix(in srgb, {red.500}, transparent 84%)',
borderColor: 'color-mix(in srgb, {red.700}, transparent 64%)',
textColor: '{red.500}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
},
secondary: {
background: '{surface.800}',
borderColor: '{surface.700}',
textColor: '{surface.300}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)',
closeBackgroundHover: '{surface.700}'
},
contrast: {
background: '{surface.0}',
borderColor: '{surface.100}',
textColor: '{surface.950}',
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
closeBackgroundHover: '{surface.100}'
}
}
}
},
css: `
.p-message-wrapper {
display: flex;
align-items: center;
padding: 0.5rem 0.75rem;
}
.p-message {
margin: 1rem 0;
border-radius: 6px;
}
.p-message-icon {
flex-shrink: 0;
}
.p-message-close {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-left: auto;
overflow: hidden;
position: relative;
width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
background: transparent;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
color: inherit;
}
.p-message-close:focus-visible {
outline-width: var(--p-focus-ring-width);
outline-style: var(--p-focus-ring-style);
outline-offset: var(--p-focus-ring-offset);
}
.p-message-info {
background: var(--p-message-info-background);
border: 1px solid var(--p-message-info-border-color);
color: var(--p-message-info-text-color);
box-shadow: var(--p-message-info-box-shadow);
}
.p-message-info .p-message-close:focus-visible {
outline-color: var(--p-message-info-text-color);
}
.p-message-info .p-message-close:hover {
background: var(--p-message-info-close-background-hover);
}
.p-message-success {
background: var(--p-message-success-background);
border: 1px solid var(--p-message-success-border-color);
color: var(--p-message-success-text-color);
box-shadow: var(--p-message-success-box-shadow);
}
.p-message-success .p-message-close:focus-visible {
outline-color: var(--p-message-success-text-color);
}
.p-message-success .p-message-close:hover {
background: var(--p-message-success-close-background-hover);
}
.p-message-warn {
background: var(--p-message-warn-background);
border: 1px solid var(--p-message-warn-border-color);
color: var(--p-message-warn-text-color);
box-shadow: var(--p-message-warn-box-shadow);
}
.p-message-warn .p-message-close:focus-visible {
outline-color: var(--p-message-warn-text-color);
}
.p-message-warn .p-message-close:hover {
background: var(--p-message-warn-close-background-hover);
}
.p-message-error {
background: var(--p-message-error-background);
border: 1px solid var(--p-message-error-border-color);
color: var(--p-message-error-text-color);
box-shadow: var(--p-message-error-box-shadow);
}
.p-message-error .p-message-close:focus-visible {
outline-color: var(--p-message-error-text-color);
}
.p-message-error .p-message-close:hover {
background: var(--p-message-error-close-background-hover);
}
.p-message-secondary {
background: var(--p-message-secondary-background);
border: 1px solid var(--p-message-secondary-border-color);
color: var(--p-message-secondary-text-color);
box-shadow: var(--p-message-secondary-box-shadow);
}
.p-message-secondary .p-message-close:focus-visible {
outline-color: var(--p-message-secondary-text-color);
}
.p-message-secondary .p-message-close:hover {
background: var(--p-message-secondary-close-background-hover);
}
.p-message-contrast {
background: var(--p-message-contrast-background);
border: 1px solid var(--p-message-contrast-border-color);
color: var(--p-message-contrast-text-color);
box-shadow: var(--p-message-contrast-box-shadow);
}
.p-message-contrast .p-message-close:focus-visible {
outline-color: var(--p-message-contrast-text-color);
}
.p-message-contrast .p-message-close:hover {
background: var(--p-message-contrast-close-background-hover);
}
.p-message-text {
font-size: 1rem;
font-weight: 500;
}
.p-message-icon {
font-size: 1rem;
margin-right: 0.5rem;
}
.p-message .p-icon:not(.p-message-close-icon) {
width: 1rem;
height: 1rem;
}
.p-message-enter-from {
opacity: 0;
}
.p-message-enter-active {
transition: opacity 0.3s;
}
.p-message.p-message-leave-from {
max-height: 1000px;
}
.p-message.p-message-leave-to {
max-height: 0;
opacity: 0;
margin: 0;
}
.p-message-leave-active {
overflow: hidden;
transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin 0.15s;
}
.p-message-leave-active .p-message-close {
display: none;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,109 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
meters: {
background: '{surface.200}'
}
},
dark: {
meters: {
background: '{surface.700}'
}
}
}
},
css: `
.p-metergroup {
display: flex;
gap: 1rem;
}
.p-metergroup-meters {
display: flex;
background: var(--p-metergroup-meters-background);
border-radius: var(--p-rounded-base);
}
.p-metergroup-meter {
border: 0 none;
background: var(--p-primary-color);
}
.p-metergroup-labels {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
list-style-type: none;
}
.p-metergroup-label {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.p-metergroup-label-marker {
display: inline-flex;
background: var(--p-primary-color);
width: 0.5rem;
height: 0.5rem;
border-radius: 100%;
}
.p-metergroup-label-icon {
width: 1rem;
height: 1rem;
}
.p-metergroup-horizontal {
flex-direction: column;
}
.p-metergroup-labels-horizontal {
gap: 1rem;
}
.p-metergroup-horizontal .p-metergroup-meters {
height: 0.5rem;
}
.p-metergroup-horizontal .p-metergroup-meter:first-of-type {
border-top-left-radius: var(--p-rounded-base);
border-bottom-left-radius: var(--p-rounded-base);
}
.p-metergroup-horizontal .p-metergroup-meter:last-of-type {
border-top-right-radius: var(--p-rounded-base);
border-bottom-right-radius: var(--p-rounded-base);
}
.p-metergroup-vertical {
flex-direction: row;
}
.p-metergroup-labels-vertical {
flex-direction: column;
gap: 0.5rem;
}
.p-metergroup-vertical .p-metergroup-meters {
flex-direction: column;
width: 0.5rem;
height: 100%;
}
.p-metergroup-vertical .p-metergroup-labels {
align-items: start;
}
.p-metergroup-vertical .p-metergroup-meter:first-of-type {
border-top-left-radius: var(--p-rounded-base);
border-top-right-radius: var(--p-rounded-base);
}
.p-metergroup-vertical .p-metergroup-meter:last-of-type {
border-bottom-left-radius: var(--p-rounded-base);
border-bottom-right-radius: var(--p-rounded-base);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,167 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
list: {
background: '{surface.0}',
borderColor: '{surface.200}'
},
header: {
textColor: '{surface.500}'
},
item: {
background: 'transparent',
backgroundHover: '{surface.100}',
backgroundFocus: '{surface.100}',
textColor: '{surface.700}',
textColorHover: '{surface.800}',
textColorFocus: '{surface.800}'
},
control: {
background: '{surface.100}',
backgroundHover: '{surface.200}',
backgroundActive: '{surface.300}',
borderColor: '{surface.100}',
borderColorHover: '{surface.200}',
borderColorActive: '{surface.300}',
textColor: '{surface.600}',
textColorHover: '{surface.700}',
textColorActive: '{surface.800}'
}
},
dark: {
list: {
background: '{surface.900}',
borderColor: '{surface.700}'
},
header: {
textColor: '{surface.400}'
},
item: {
background: 'transparent',
backgroundHover: '{surface.800}',
backgroundFocus: '{surface.800}',
textColor: '{surface.0}',
textColorHover: '{surface.0}',
textColorFocus: '{surface.0}'
},
control: {
background: '{surface.800}',
backgroundHover: '{surface.700}',
backgroundActive: '{surface.600}',
borderColor: '{surface.800}',
borderColorHover: '{surface.700}',
borderColorActive: '{surface.600}',
textColor: '{surface.300}',
textColorHover: '{surface.200}',
textColorActive: '{surface.100}'
}
}
}
},
css: `
.p-orderlist {
display: flex;
gap: 1.125rem;
}
.p-orderlist-controls {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.5rem;
}
.p-orderlist-list-container {
flex: 1 1 auto;
background: var(--p-orderlist-list-background);
border: 1px solid var(--p-orderlist-list-border-color);
border-radius: var(--p-rounded-base);
}
.p-orderlist .p-orderlist-header {
color: var(--p-orderlist-header-text-color);
border: 0 none;
padding: 0.75rem 1rem 0.5rem 1rem;
font-weight: 600;
}
.p-orderlist-list {
list-style-type: none;
margin: 0;
padding: 0;
overflow: auto;
min-height: 12rem;
max-height: 24rem;
padding: 0.25rem 0.25rem;
outline: 0 none;
}
.p-orderlist-item {
cursor: pointer;
overflow: hidden;
position: relative;
padding: 0.5rem 0.75rem;
margin: 2px 0;
border-radius: var(--p-rounded-base);
border: 0 none;
color: var(--p-orderlist-item-text-color);
background: var(--p-orderlist-item-background);
outline-color: transparent;
transition: transform var(--p-transition-duration), background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-orderlist-item:first-child {
margin-top: 0;
}
.p-orderlist-item:last-child {
margin-bottom: 0;
}
.p-orderlist-item:not(.p-highlight):hover {
color: var(--p-orderlist-item-text-color-focus);
background: var(--p-orderlist-item-background-focus);
}
.p-orderlist-item.p-focus {
color: var(--p-orderlist-item-text-color-focus);
background: var(--p-orderlist-item-background-focus);
}
.p-orderlist-item.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-orderlist-item.p-highlight.p-focus {
background: var(--p-highlight-background-focus);
color: var(--p-highlight-text-color-focus);
}
.p-orderlist-controls .p-button {
background: var(--p-orderlist-control-background);
border: 1px solid var(--p-orderlist-control-border-color);
color: var(--p-order-listcontrol-text-color);
outline-color: transparent;
transition: opacity var(--p-transition-duration), outline-color var(--p-transition-duration), background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration);
}
.p-orderlist-controls .p-button:not(:disabled):hover {
background: var(--p-orderlist-control-background-hover);
border: 1px solid var(--p-orderlist-control-border-color-hover);
color: var(--p-order-listcontrol-text-color-hover);
}
.p-orderlist-controls .p-button:not(:disabled):active {
background: var(--p-orderlist-control-background-active);
border: 1px solid var(--p-orderlist-control-border-color-active);
color: var(--p-order-listcontrol-text-color-active);
}
.p-orderlist-controls .p-button:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-button-primary-background);
outline-offset: var(--p-focus-ring-offset);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,133 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
node: {
background: '{surface.0}',
backgroundHover: '{surface.100}',
borderColor: '{surface.200}',
textColor: '{surface.700}',
textColorHover: '{surface.800}'
},
toggleIcon: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.500}'
},
connector: {
color: '{surface.200}'
}
},
dark: {}
}
},
css: `
.p-organizationchart-table {
border-spacing: 0;
border-collapse: separate;
margin: 0 auto;
}
.p-organizationchart-table > tbody > tr > td {
text-align: center;
vertical-align: top;
padding: 0 0.75rem;
}
.p-organizationchart-node-content {
display: inline-block;
position: relative;
border: 1px solid var(--p-organizationchart-node-border-color);
background: var(--p-organizationchart-node-background);
color: var(--p-organizationchart-node-text-color);
padding: 0.75rem 1rem;
border-radius: var(--p-rounded-base);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration);
}
.p-organizationchart-node-content:has(.p-node-toggler) {
padding: 0.75rem 1rem 1.25rem 1rem;
}
.p-organizationchart-node-content.p-organizationchart-selectable-node:not(.p-highlight):hover {
background: var(--p-organizationchart-node-background-hover);
color: var(--p-organizationchart-node-text-color-hover);
}
.p-organizationchart-node-content.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-organizationchart-node-content .p-node-toggler {
position: absolute;
bottom: -0.75rem;
margin-left: -0.75rem;
z-index: 2;
left: 50%;
user-select: none;
cursor: pointer;
width: 1.5rem;
height: 1.5rem;
text-decoration: none;
background: var(--p-organizationchart-toggle-icon-background);
color: var(--p-organizationchart-toggle-icon-color);
border-radius: 50%;
border: 1px solid var(--p-organizationchart-toggle-icon-border-color);
display: inline-flex;
justify-content: center;
align-items: center;
outline-color: transparent;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-organizationchart-node-content .p-node-toggler:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-organizationchart-node-content .p-node-toggler .p-node-toggler-icon {
position: relative;
top: 1px;
}
.p-organizationchart-line-down {
margin: 0 auto;
height: 20px;
width: 1px;
background: var(--p-organizationchart-connector-color);
}
.p-organizationchart-line-right {
border-radius: 0;
border-left: 1px solid var(--p-organizationchart-connector-color);
border-top-left-radius: var(--p-rounded-base);
}
.p-organizationchart-line-left {
border-radius: 0;
border-right: 1px solid var(--p-organizationchart-connector-color);
}
.p-organizationchart-line-top {
border-top: 1px solid var(--p-organizationchart-connector-color);
}
.p-organizationchart-selectable-node {
cursor: pointer;
}
.p-organizationchart-lines :nth-child(1 of .p-organizationchart-line-left) {
border-right: 0 none;
}
.p-organizationchart-lines :nth-last-child(1 of .p-organizationchart-line-left) {
border-top-right-radius: var(--p-rounded-base);
}
.p-organizationchart-lines :nth-child(1 of .p-organizationchart-line-right) {
border-left: 1px solid var(--p-organizationchart-connector-color);
border-top-left-radius: var(--p-rounded-base);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,137 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
closeIcon: {
color: '{surface.500}',
colorHover: '{surface.600}',
backgroundHover: '{surface.100}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
closeIcon: {
color: '{surface.400}',
colorHover: '{surface.300}',
backgroundHover: '{surface.800}'
}
}
}
},
css: `
.p-overlaypanel {
margin-top: 10px;
background: var(--p-overlaypanel-background);
color: var(--p-overlaypanel-text-color);
border: 1px solid var(--p-overlaypanel-border-color);
border-radius: var(--p-rounded-base);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.p-overlaypanel-content {
padding: 0.75rem;
}
.p-overlaypanel-flipped {
margin-top: 0;
margin-bottom: 10px;
}
.p-overlaypanel-close {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
width: 1.75rem;
height: 1.75rem;
background: transparent;
color: var(--p-overlaypanel-close-icon-color);
border: 0 none;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
position: absolute;
top: 0.25rem;
right: 0.25rem;
}
.p-overlaypanel-close:enabled:hover {
background: var(--p-overlaypanel-close-icon-background-hover);
color: var(--p-overlaypanel-close-icon-color-hover);
}
.p-overlaypanel-close:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-overlaypanel-enter-from {
opacity: 0;
transform: scaleY(0.8);
}
.p-overlaypanel-leave-to {
opacity: 0;
}
.p-overlaypanel-enter-active {
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
.p-overlaypanel-leave-active {
transition: opacity 0.1s linear;
}
.p-overlaypanel:after,
.p-overlaypanel:before {
bottom: 100%;
left: calc(var(--overlayArrowLeft, 0) + 1.25rem);
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.p-overlaypanel:after {
border-width: 8px;
margin-left: -8px;
border-style: solid;
border-color: transparent;
border-bottom-color: var(--p-overlaypanel-background);
}
.p-overlaypanel:before {
border-width: 10px;
margin-left: -10px;
border-style: solid;
border-color: transparent;
border-bottom-color: var(--p-overlaypanel-border-color);
}
.p-overlaypanel-flipped:after,
.p-overlaypanel-flipped:before {
bottom: auto;
top: 100%;
}
.p-overlaypanel.p-overlaypanel-flipped:after {
border-bottom-color: transparent;
border-top-color: var(--p-overlaypanel-background);
}
.p-overlaypanel.p-overlaypanel-flipped:before {
border-bottom-color: transparent;
border-top-color: var(--p-overlaypanel-border-color);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,106 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
textColor: '{surface.700}'
},
navigator: {
backgroundHover: '{surface.100}',
color: '{surface.500}',
colorHover: '{surface.600}'
},
currentPageReport: {
textColor: '{surface.500}'
}
},
dark: {
root: {
background: '{surface.900}',
textColor: '{surface.0}'
},
navigator: {
backgroundHover: '{surface.800}',
color: '{surface.400}',
colorHover: '{surface.300}'
},
currentPageReport: {
textColor: '{surface.400}'
}
}
}
},
css: `
.p-paginator {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
background: var(--p-paginator-background);
color: var(--p-paginator-text-color);
border: 0 none;
padding: 0.5rem 1rem;
border-radius: var(--p-rounded-base);
gap: 0.25rem;
}
.p-paginator-left-content {
margin-right: auto;
}
.p-paginator-right-content {
margin-left: auto;
}
.p-paginator-page,
.p-paginator-next,
.p-paginator-last,
.p-paginator-first,
.p-paginator-prev {
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
user-select: none;
overflow: hidden;
position: relative;
background: transparent;
border: 0 none;
color: var(--p-paginator-navigator-color);
min-width: 2.5rem;
height: 2.5rem;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
border-radius: 50%;
}
.p-paginator-page:not(.p-disabled):not(.p-highlight):hover,
.p-paginator-first:not(.p-disabled):hover,
.p-paginator-prev:not(.p-disabled):hover,
.p-paginator-next:not(.p-disabled):hover,
.p-paginator-last:not(.p-disabled):hover {
background: var(--p-paginator-navigator-background-hover);
color: var(--p-paginator-navigator-color-hover);
}
.p-paginator-current {
color: var(--p-paginator-current-page-report-text-color);
}
.p-paginator-pages {
display: flex;
align-items: center;
gap: 0.25rem;
}
.p-paginator-page.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-paginator-page-input .p-inputtext {
max-width: 2.5rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,88 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
headerIcon: {
color: '{surface.500}',
colorHover: '{surface.600}',
backgroundHover: '{surface.100}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
headerIcon: {
color: '{surface.400}',
colorHover: '{surface.300}',
backgroundHover: '{surface.800}'
}
}
}
},
css: `
.p-panel {
border: 1px solid var(--p-panel-border-color);
border-radius: var(--p-rounded-base);
background: var(--p-panel-background);
color: var(--p-panel-text-color);
}
.p-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.125rem;
}
.p-panel-toggleable .p-panel-header {
padding: 0.75rem 1.125rem;
}
.p-panel-title {
line-height: 1;
font-weight: 600;
}
.p-panel-header-icon {
display: inline-flex;
justify-content: center;
align-items: center;
cursor: pointer;
width: 1.75rem;
height: 1.75rem;
position: relative;
color: var(--p-panel-header-icon-color);
border: 0 none;
background: transparent;
border-radius: 50%;
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
}
.p-panel-header-icon:enabled:hover {
color: var(--p-panel-header-icon-color-hover);
background: var(--p-panel-header-icon-background-hover);
}
.p-panel-header-icon:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-panel-content {
padding: 0 1.125rem 1.125rem 1.125rem;
}
.p-panel-footer {
padding: 0 1.125rem 1.125rem 1.125rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,168 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
panel: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
},
item: {
backgroundFocus: '{surface.100}',
text: {
color: '{surface.700}',
colorFocus: '{surface.800}'
},
icon: {
color: '{surface.400}',
colorFocus: '{surface.500}'
}
}
},
dark: {
panel: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
},
item: {
backgroundFocus: '{surface.800}',
text: {
color: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: {
color: '{surface.500}',
colorFocus: '{surface.400}'
}
}
}
}
},
css: `
.p-panelmenu {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.p-panelmenu-panel {
background: var(--p-panelmenu-panel-background);
border: 1px solid var(--p-panelmenu-panel-border-color);
color: var(--p-panelmenu-panel-text-color);
border-radius: var(--p-rounded-base);
padding: 0.25rem 0.25rem;
}
.p-panelmenu-header {
outline: 0 none;
border: 0 none;
}
.p-panelmenu-header-content {
border: 0 none;
color: var(--p-panelmenu-item-text-color);
border-radius: var(--p-rounded-base);
transition: background-color 0.2s, color 0.2s, outline-color 0.2s;
outline-color: transparent;
}
.p-panelmenu-header-action {
display: flex;
gap: 0.5rem;
align-items: center;
user-select: none;
cursor: pointer;
position: relative;
text-decoration: none;
color: inherit;
padding: 0.5rem 0.75rem;
font-weight: 600;
}
.p-panelmenu .p-submenu-icon,
.p-panelmenu .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color);
}
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content {
background: var(--p-panelmenu-item-background-focus);
color: var(--p-panelmenu-item-text-color-focus);
}
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-submenu-icon,
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color-focus);
}
.p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover {
background: var(--p-panelmenu-item-background-focus);
color: var(--p-panelmenu-item-text-color-focus);
}
.p-panelmenu-header:not(.p-disabled).p-panelmenu-header-content:hover .p-submenu-icon,
.p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color-focus);
}
.p-panelmenu .p-menuitem {
margin: 2px 0;
}
.p-panelmenu .p-menuitem:first-child {
margin-top: 0;
}
.p-panelmenu .p-menuitem:last-child {
margin-bottom: 0;
}
.p-panelmenu .p-submenu-list {
margin: 4px 0 0 0;
padding: 0 0 0 1rem;
list-style: none;
}
.p-panelmenu .p-menuitem-link {
display: flex;
gap: 0.5rem;
align-items: center;
user-select: none;
cursor: pointer;
text-decoration: none;
color: inherit;
position: relative;
overflow: hidden;
padding: 0.5rem 0.75rem;
}
.p-panelmenu .p-menuitem-text {
line-height: 1;
}
.p-panelmenu .p-menuitem-content {
transition: background-color var(--p-transition-duration), color var(--p-transition-duration);
border-radius: var(--p-rounded-sm);
color: var(--p-menu-item-text-color);
}
.p-panelmenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-panelmenu-item-text-color-focus);
background: var(--p-panelmenu-item-background-focus);
}
.p-panelmenu .p-menuitem.p-focus > .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color-focus);
}
.p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-panelmenu-item-text-color-focus);
background: var(--p-panelmenu-item-background-focus);
}
.p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-panelmenu-item-icon-color-focus);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,111 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
meter: {
borderColor: '{surface.200}'
},
icon: {
color: '{surface.500}'
},
strength: {
backgroundWeak: '{red.500}',
backgroundMedium: '{amber.500}',
backgroundStrong: '{green.500}'
},
overlay: {
background: '{surface.0}',
borderColor: '{surface.200}',
textColor: '{surface.700}'
}
},
dark: {
meter: {
borderColor: '{surface.700}'
},
icon: {
color: '{surface.400}'
},
strength: {
backgroundWeak: '{red.400}',
backgroundMedium: '{amber.400}',
backgroundStrong: '{green.400}'
},
overlay: {
background: '{surface.900}',
borderColor: '{surface.700}',
textColor: '{surface.0}'
}
}
}
},
css: `
.p-password {
display: inline-flex;
position: relative;
}
.p-password .p-password-panel {
min-width: 100%;
}
.p-password-meter {
height: 10px;
margin-bottom: 0.75rem;
background: var(--p-password-meter-border-color);
border-radius: var(--p-rounded-base);
}
.p-password-strength {
height: 100%;
width: 0;
transition: width 1s ease-in-out;
border-radius: var(--p-rounded-base);
}
.p-password-strength.weak {
background: var(--p-password-strength-background-weak);
}
.p-password-strength.medium {
background: var(--p-password-strength-background-medium);
}
.p-password-strength.strong {
background: var(--p-password-strength-background-strong);
}
.p-fluid .p-password {
display: flex;
}
.p-password-input::-ms-reveal,
.p-password-input::-ms-clear {
display: none;
}
.p-password-panel {
padding: 0.75rem;
background: var(--p-password-overlay-background);
color: var(--p-password-overlay-text-color);
border: 1px solid var(--p-password-overlay-border-color);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
border-radius: var(--p-rounded-base);
}
.p-password > svg:last-of-type,
.p-password > i:last-of-type {
right: 0.75rem;
color: var(--p-password-icon-color);
position: absolute;
top: 50%;
margin-top: -0.5rem;
width: 1rem;
height: 1rem;
}
.p-password:has(svg,i) .p-password-input {
padding-right: 2.5rem;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,167 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
list: {
background: '{surface.0}',
borderColor: '{surface.200}'
},
header: {
textColor: '{surface.500}'
},
item: {
background: 'transparent',
backgroundHover: '{surface.100}',
backgroundFocus: '{surface.100}',
textColor: '{surface.700}',
textColorHover: '{surface.800}',
textColorFocus: '{surface.800}'
},
control: {
background: '{surface.100}',
backgroundHover: '{surface.200}',
backgroundActive: '{surface.300}',
borderColor: '{surface.100}',
borderColorHover: '{surface.200}',
borderColorActive: '{surface.300}',
textColor: '{surface.600}',
textColorHover: '{surface.700}',
textColorActive: '{surface.800}'
}
},
dark: {
list: {
background: '{surface.900}',
borderColor: '{surface.700}'
},
header: {
textColor: '{surface.400}'
},
item: {
background: 'transparent',
backgroundHover: '{surface.800}',
backgroundFocus: '{surface.800}',
textColor: '{surface.0}',
textColorHover: '{surface.0}',
textColorFocus: '{surface.0}'
},
control: {
background: '{surface.800}',
backgroundHover: '{surface.700}',
backgroundActive: '{surface.600}',
borderColor: '{surface.800}',
borderColorHover: '{surface.700}',
borderColorActive: '{surface.600}',
textColor: '{surface.300}',
textColorHover: '{surface.200}',
textColorActive: '{surface.100}'
}
}
}
},
css: `
.p-picklist {
display: flex;
gap: 1.125rem;
}
.p-picklist-buttons {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.5rem;
}
.p-picklist-list-wrapper {
flex: 1 1 50%;
background: var(--p-picklist-list-background);
border: 1px solid var(--p-picklist-list-border-color);
border-radius: var(--p-picklist-base);
}
.p-picklist .p-picklist-header {
color: var(--p-picklist-header-text-color);
border: 0 none;
padding: 0.75rem 1rem 0.5rem 1rem;
font-weight: 600;
}
.p-picklist-list {
list-style-type: none;
margin: 0;
padding: 0;
overflow: auto;
min-height: 12rem;
max-height: 24rem;
padding: 0.25rem 0.25rem;
outline: 0 none;
}
.p-picklist-item {
cursor: pointer;
overflow: hidden;
position: relative;
padding: 0.5rem 0.75rem;
margin: 2px 0;
border-radius: var(--p-rounded-base);
border: 0 none;
color: var(--p-picklist-item-text-color);
background: var(--p-picklist-item-background);
outline-color: transparent;
transition: transform var(--p-transition-duration), background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
}
.p-picklist-item:first-child {
margin-top: 0;
}
.p-picklist-item:last-child {
margin-bottom: 0;
}
.p-picklist-item:not(.p-highlight):hover {
color: var(--p-picklist-item-text-color-focus);
background: var(--p-picklist-item-background-focus);
}
.p-picklist-item.p-focus {
color: var(--p-picklist-item-text-color-focus);
background: var(--p-picklist-item-background-focus);
}
.p-picklist-item.p-highlight {
background: var(--p-highlight-background);
color: var(--p-highlight-text-color);
}
.p-picklist-item.p-highlight.p-focus {
background: var(--p-highlight-background-focus);
color: var(--p-highlight-text-color-focus);
}
.p-picklist-buttons .p-button {
background: var(--p-picklist-control-background);
border: 1px solid var(--p-picklist-control-border-color);
color: var(--p-order-listcontrol-text-color);
outline-color: transparent;
transition: opacity var(--p-transition-duration), outline-color var(--p-transition-duration), background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration);
}
.p-picklist-buttons .p-button:not(:disabled):hover {
background: var(--p-picklist-control-background-hover);
border: 1px solid var(--p-picklist-control-border-color-hover);
color: var(--p-order-listcontrol-text-color-hover);
}
.p-picklist-buttons .p-button:not(:disabled):active {
background: var(--p-picklist-control-background-active);
border: 1px solid var(--p-picklist-control-border-color-active);
color: var(--p-order-listcontrol-text-color-active);
}
.p-picklist-buttons .p-button:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-button-primary-background);
outline-offset: var(--p-focus-ring-offset);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,139 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
background: '{surface.200}'
}
},
dark: {
root: {
background: '{surface.700}'
}
}
}
},
css: `
.p-progressbar {
position: relative;
overflow: hidden;
border: 0 none;
height: 1.25rem;
background: var(--p-progressbar-background);
border-radius: var(--p-rounded-base);
}
.p-progressbar-value {
border: 0 none;
margin: 0;
background: var(--p-primary-color);
}
.p-progressbar-label {
color: var(--p-primary-inverse-color);
line-height: 1.25rem;
font-size: .75rem;
font-weight: 600;
}
.p-progressbar-determinate .p-progressbar-value {
height: 100%;
width: 0%;
position: absolute;
display: none;
border: 0 none;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.p-progressbar-determinate .p-progressbar-label {
display: inline-flex;
}
.p-progressbar-determinate .p-progressbar-value-animate {
transition: width 1s ease-in-out;
}
.p-progressbar-indeterminate .p-progressbar-value::before {
content: "";
position: absolute;
background-color: inherit;
top: 0;
left: 0;
bottom: 0;
will-change: left, right;
animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
.p-progressbar-indeterminate .p-progressbar-value::after {
content: "";
position: absolute;
background-color: inherit;
top: 0;
left: 0;
bottom: 0;
will-change: left, right;
animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
animation-delay: 1.15s;
}
@-webkit-keyframes p-progressbar-indeterminate-anim {
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
}
@keyframes p-progressbar-indeterminate-anim {
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
}
@-webkit-keyframes p-progressbar-indeterminate-anim-short {
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
}
@keyframes p-progressbar-indeterminate-anim-short {
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,94 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
root: {
'color-1': '{red.500}',
'color-2': '{blue.500}',
'color-3': '{green.500}',
'color-4': '{yellow.500}'
}
},
dark: {
root: {
'color-1': '{red.400}',
'color-2': '{blue.400}',
'color-3': '{green.400}',
'color-4': '{yellow.400}'
}
}
}
},
css: `
.p-progress-spinner {
position: relative;
margin: 0 auto;
width: 100px;
height: 100px;
display: inline-block;
}
.p-progress-spinner::before {
content: "";
display: block;
padding-top: 100%;
}
.p-progress-spinner-svg {
height: 100%;
transform-origin: center center;
width: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
animation: p-progress-spinner-rotate 2s linear infinite;
}
.p-progress-spinner-circle {
stroke-dasharray: 89, 200;
stroke-dashoffset: 0;
stroke: var(--p-progressspinner-color-1);
animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
stroke-linecap: round;
}
@keyframes p-progress-spinner-rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes p-progress-spinner-dash {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35px;
}
100% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124px;
}
}
@keyframes p-progress-spinner-color {
100%,
0% {
stroke: var(--p-progressspinner-color-1);
}
40% {
stroke: var(--p-progressspinner-color-2);
}
66% {
stroke: var(--p-progressspinner-color-3);
}
80%,
90% {
stroke: var(--p-progressspinner-color-4);
}
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,136 +0,0 @@
export default {
variables: {
common: {
root: {
width: '1.25rem',
height: '1.25rem',
background: '{form.field.background}',
backgroundChecked: '{form.field.background}',
backgroundCheckedHover: '{form.field.background}',
backgroundDisabled: '{form.field.background.disabled}',
backgroundFilled: '{form.field.background.filled}',
borderColor: '{form.field.border.color}',
borderColorHover: '{form.field.border.color.hover}',
borderColorChecked: '{primary.color}',
borderColorCheckedHover: '{primary.hover.color}',
borderColorInvalid: '{form.field.border.color.invalid}',
boxShadow: '{form.field.box.shadow}'
},
icon: {
size: '0.75rem',
colorChecked: '{primary.color}',
colorCheckedHover: '{primary.hover.color}',
colorDisabled: '{form.field.text.disabled}'
}
}
},
css: `
.p-radiobutton {
position: relative;
display: inline-flex;
user-select: none;
vertical-align: bottom;
width: var(--p-radiobutton-width);
height: var(--p-radiobutton-height);
}
.p-radiobutton-input {
cursor: pointer;
appearance: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
opacity: 0;
z-index: 1;
outline: 0 none;
border: 1px solid transparent;
border-radius: 50%;
}
.p-radiobutton-box {
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
border: 1px solid var(--p-radiobutton-border-color);
background: var(--p-radiobutton-background);
width: var(--p-radiobutton-width);
height: var(--p-radiobutton-height);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), box-shadow var(--p-transition-duration), outline-color var(--p-transition-duration);
outline-color: transparent;
box-shadow: var(--p-radiobutton-box-shadow);
}
.p-radiobutton-icon {
transition-duration: var(--p-transition-duration);
background: transparent;
font-size: var(--p-radiobutton-icon-size);
width: var(--p-radiobutton-icon-size);
height: var(--p-radiobutton-icon-size);
border-radius: 50%;
backface-visibility: hidden;
transform: translateZ(0) scale(0.1);
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box {
border-color: var(--p-radiobutton-border-color-hover);
}
.p-radiobutton.p-highlight .p-radiobutton-box {
border-color: var(--p-radiobutton-border-color-checked);
background: var(--p-radiobutton-background-checked);
}
.p-radiobutton.p-highlight .p-radiobutton-box .p-radiobutton-icon {
background: var(--p-radiobutton-icon-color-checked);
transform: translateZ(0) scale(1, 1);
visibility: visible;
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-highlight .p-radiobutton-box {
border-color: var(--p-radiobutton-border-color-checked-hover);
background: var(--p-radiobutton-background-checked-hover)
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-highlight .p-radiobutton-box .p-radiobutton-icon {
background: var(--p-radiobutton-icon-color-checked-hover);
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-radiobutton.p-invalid > .p-radiobutton-box {
border-color: var(--p-radiobutton-border-color-invalid);
}
.p-radiobutton.p-variant-filled .p-radiobutton-box {
background: var(--p-radiobutton-background-filled);
}
.p-radiobutton.p-variant-filled.p-highlight .p-radiobutton-box {
background: var(--p-radiobutton-background-checked);
}
.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-highlight .p-radiobutton-box {
background: var(--p-radiobutton-background-checked-hover);
}
.p-radiobutton.p-disabled {
opacity: 1;
}
.p-radiobutton.p-disabled .p-radiobutton-box {
background: var(--p-radiobutton-background-disabled);
}
.p-radiobutton.p-disabled .p-radiobutton-box .p-radiobutton-icon {
color: var(--p-radiobutton-icon-color-disabled);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,58 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
icon: {
color: '{surface.500}',
colorHover: '{primary.color}',
colorActive: '{primary.color}'
}
},
dark: {
icon: {
color: '{surface.400}',
colorHover: '{primary.color}',
colorActive: '{primary.color}'
}
}
}
},
css: `
.p-rating {
position: relative;
display: flex;
align-items: center;
gap: 0.25rem;
}
.p-rating-item {
display: inline-flex;
align-items: center;
cursor: pointer;
outline-color: transparent;
border-radius: 50%;
cursor: pointer;
}
.p-rating-item.p-focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-rating-icon {
color: var(--p-rating-icon-color);
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), border-color var(--p-transition-duration), outline-color var(--p-transition-duration);
font-size: 1rem;
width: 1rem;
height: 1rem;
}
.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-item:hover .p-rating-icon {
color: var(--p-rating-icon-color-hover);
}
.p-rating-item-active .p-rating-icon {
color: var(--p-rating-icon-color-active);
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -1,81 +0,0 @@
export default {
variables: {
colorScheme: {
light: {
bar: {
background: '{surface.100}'
}
},
dark: {
bar: {
background: '{surface.800}'
}
}
}
},
css: `
.p-scrollpanel-wrapper {
overflow: hidden;
width: 100%;
height: 100%;
position: relative;
z-index: 1;
float: left;
}
.p-scrollpanel-content {
height: calc(100% + 18px);
width: calc(100% + 18px);
padding: 0 18px 18px 0;
position: relative;
overflow: auto;
box-sizing: border-box;
scrollbar-width: none;
}
.p-scrollpanel-content::-webkit-scrollbar {
display: none;
}
.p-scrollpanel-bar {
position: relative;
border-radius: 3px;
z-index: 2;
cursor: pointer;
opacity: 0;
outline-color: transparent;
transition: outline-color var(--p-transition-duration);
background: var(--p-scrollpanel-bar-background);
border: 0 none;
transition: outline-color var(--p-transition-duration), opacity var(--p-transition-duration);
}
.p-scrollpanel-bar:focus-visible {
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
outline-offset: var(--p-focus-ring-offset);
}
.p-scrollpanel-bar-y {
width: 9px;
top: 0;
}
.p-scrollpanel-bar-x {
height: 9px;
bottom: 0;
}
.p-scrollpanel-hidden {
visibility: hidden;
}
.p-scrollpanel:hover .p-scrollpanel-bar,
.p-scrollpanel:active .p-scrollpanel-bar {
opacity: 1;
}
.p-scrollpanel-grabbed {
user-select: none;
}
`
};

View File

@ -1,6 +0,0 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

Some files were not shown because too many files have changed in this diff Show More