diff --git a/assets/styles/layout/_topbar.scss b/assets/styles/layout/_topbar.scss index a1f4c4603..1b24ae875 100644 --- a/assets/styles/layout/_topbar.scss +++ b/assets/styles/layout/_topbar.scss @@ -6,7 +6,7 @@ left: 250px; width: calc(100% - 250px); z-index: 1100; - border-bottom: 1px solid var(--surface-border); + transition: background-color 1s; .layout-topbar-inner { height: 100%; @@ -40,4 +40,21 @@ font-size: 1.5rem; } } +} + + +.layout-wrapper-light { + .layout-topbar { + &.layout-topbar-sticky { + background-color: rgba(255,255,255,.7); + } + } +} + +.layout-wrapper-dark { + .layout-topbar { + &.layout-topbar-sticky { + background-color: rgba(0,0,0,.3); + } + } } \ No newline at end of file diff --git a/components/lib/organizationchart/OrganizationChartNode.vue b/components/lib/organizationchart/OrganizationChartNode.vue index bb00e639d..75866412b 100755 --- a/components/lib/organizationchart/OrganizationChartNode.vue +++ b/components/lib/organizationchart/OrganizationChartNode.vue @@ -13,7 +13,7 @@ - +
diff --git a/components/lib/paginator/Paginator.d.ts b/components/lib/paginator/Paginator.d.ts index ac3cf18dc..f8142ce22 100755 --- a/components/lib/paginator/Paginator.d.ts +++ b/components/lib/paginator/Paginator.d.ts @@ -193,7 +193,7 @@ export interface PaginatorProps { */ rowsPerPageOptions?: number[] | undefined; /** - * Template of the paginator, can either be a string or an object with key-value pairs to define templates per breakpoint. + * Template of the paginator, can either be a string or an object with key-value pairs to define templates per breakpoint. Available templates are the following; * * - FirstPageLink * - PrevPageLink diff --git a/components/lib/tooltip/Tooltip.js b/components/lib/tooltip/Tooltip.js index d03267da4..a8a2ef88c 100755 --- a/components/lib/tooltip/Tooltip.js +++ b/components/lib/tooltip/Tooltip.js @@ -136,6 +136,23 @@ function getTooltipElement(el) { return document.getElementById(el.$_ptooltipId); } +function setGlobalPTOptions(el, container) { + const addCSS = (element, section) => { + section.class && DomHandler.addMultipleClasses(element, section.class); + section.style && DomHandler.addStyles(element, section.style); + }; + + el.$_ptooltipPTOptions.css && addCSS(container, el.$_ptooltipPTOptions.css.root); + el.$_ptooltipPTCss && addCSS(container, el.$_ptooltipPTCss.root); + + for (let section of ['arrow', 'text']) { + const element = DomHandler.findSingle(container, `[data-pc-section="${section}"]`); + + el.$_ptooltipPTOptions.css[section] && addCSS(element, el.$_ptooltipPTOptions.css[section]); + el.$_ptooltipPTCss[section] && addCSS(element, el.$_ptooltipPTCss[section]); + } +} + function create(el) { const id = el.$_ptooltipIdAttr !== '' ? el.$_ptooltipIdAttr : UniqueComponentId() + '_tooltip'; @@ -144,15 +161,22 @@ function create(el) { let container = document.createElement('div'); container.id = id; + container.setAttribute('data-pc-section', 'root'); + container.setAttribute('data-pc-name', 'tooltip'); let tooltipArrow = document.createElement('div'); - tooltipArrow.className = 'p-tooltip-arrow'; + tooltipArrow.setAttribute('data-pc-section', 'arrow'); container.appendChild(tooltipArrow); let tooltipText = document.createElement('div'); - tooltipText.className = 'p-tooltip-text'; + tooltipText.setAttribute('data-pc-section', 'text'); + + if (!el.$_ptooltipUnstyled) { + tooltipArrow.className = 'p-tooltip-arrow'; + tooltipText.className = 'p-tooltip-text'; + } if (el.$_ptooltipEscape) { tooltipText.innerHTML = el.$_ptooltipValue; @@ -171,6 +195,8 @@ function create(el) { container.style.width = 'fit-content'; } + setGlobalPTOptions(el, container); + return container; } @@ -306,7 +332,7 @@ function preAlign(el, position) { tooltipElement.style.left = -999 + 'px'; tooltipElement.style.top = -999 + 'px'; - tooltipElement.className = `p-tooltip p-component p-tooltip-${position} ${el.$_ptooltipClass || ''}`; + tooltipElement.className += el.$_ptooltipUnstyled ? el.$_ptooltipClass : ` p-tooltip p-component p-tooltip-${position} ${el.$_ptooltipClass || ''}`; } function isOutOfBounds(el) { @@ -356,28 +382,36 @@ const Tooltip = { target.$_ptooltipEscape = false; target.$_ptooltipClass = null; target.$_ptooltipFitContent = true; + target.$_ptooltipIdAttr = ''; target.$_ptooltipShowDelay = 0; target.$_ptooltipHideDelay = 0; + target.$_ptooltipPTCss = ''; } else if (typeof options.value === 'object' && options.value) { if (ObjectUtils.isEmpty(options.value.value) || options.value.value.trim() === '') return; else { - /* eslint-disable */ target.$_ptooltipValue = options.value.value; target.$_ptooltipDisabled = !!options.value.disabled === options.value.disabled ? options.value.disabled : false; target.$_ptooltipEscape = !!options.value.escape === options.value.escape ? options.value.escape : false; - target.$_ptooltipClass = options.value.class; + target.$_ptooltipClass = options.value.class || ''; target.$_ptooltipFitContent = !!options.value.fitContent === options.value.fitContent ? options.value.fitContent : true; target.$_ptooltipIdAttr = options.value.id || ''; target.$_ptooltipShowDelay = options.value.showDelay || 0; target.$_ptooltipHideDelay = options.value.hideDelay || 0; + target.$_ptooltipPTCss = options.value.pt && options.value.pt.css; } } - target.$_ptooltipZIndex = options.instance.$primevue && options.instance.$primevue.config && options.instance.$primevue.config.zIndex.tooltip; + if (options.instance.$primevue && options.instance.$primevue.config) { + target.$_ptooltipZIndex = options.instance.$primevue.config.zIndex.tooltip; + target.$_ptooltipUnstyled = options.instance.$primevue.config.unstyled || false; + target.$_ptooltipPTOptions = options.instance.$primevue.config.pt && options.instance.$primevue.config.pt.directives && options.instance.$primevue.config.pt.directives.tooltip; + } + bindEvents(target); }, unmounted(el) { let target = getTarget(el); + remove(target); unbindEvents(target); @@ -388,10 +422,12 @@ const Tooltip = { }, updated(el, options) { let target = getTarget(el); + target.$_ptooltipModifiers = getModifiers(options); if (!options.value) { unbindEvents(target); + return; } @@ -403,26 +439,32 @@ const Tooltip = { target.$_ptooltipIdAttr = ''; target.$_ptooltipShowDelay = 0; target.$_ptooltipHideDelay = 0; + target.$_ptooltipPTCss = ''; bindEvents(target); } else if (typeof options.value === 'object' && options.value) { if (ObjectUtils.isEmpty(options.value.value) || options.value.value.trim() === '') { unbindEvents(target); + return; } else { - /* eslint-disable */ target.$_ptooltipValue = options.value.value; target.$_ptooltipDisabled = !!options.value.disabled === options.value.disabled ? options.value.disabled : false; target.$_ptooltipEscape = !!options.value.escape === options.value.escape ? options.value.escape : false; - target.$_ptooltipClass = options.value.class; + target.$_ptooltipClass = options.value.class || ''; target.$_ptooltipFitContent = !!options.value.fitContent === options.value.fitContent ? options.value.fitContent : true; target.$_ptooltipIdAttr = options.value.id || ''; target.$_ptooltipShowDelay = options.value.showDelay || 0; target.$_ptooltipHideDelay = options.value.hideDelay || 0; + target.$_ptooltipPTCss = options.value.pt && options.value.pt.css; bindEvents(target); } } + + if (options.instance.$primevue && options.instance.$primevue.config) { + target.$_ptooltipPTOptions = options.instance.$primevue.config.pt && options.instance.$primevue.config.pt.directives && options.instance.$primevue.config.pt.directives.tooltip; + } } }; diff --git a/components/lib/tree/TreeNode.vue b/components/lib/tree/TreeNode.vue index 4cd2893a9..cd5b5611a 100755 --- a/components/lib/tree/TreeNode.vue +++ b/components/lib/tree/TreeNode.vue @@ -13,7 +13,6 @@ :tabindex="index === 0 ? 0 : -1" @keydown="onKeyDown" v-bind="level === 1 ? getPTOptions('node') : ptm('subgroup')" - data-pc-section="treeitem" >
-

Slot Props

-

Initate the implementation of Slot Props to provide advanced control over component internals.

+

Pass Through Props

+

Initate the implementation of Pass Through Props to provide advanced control over component internals.

-
+
-

Testing

-

Increase unit test coverage.

+

Unstyled Mode

+

Introduce new unstyled mode to fully support styling with CSS libraries like Tailwind.

+
+
+
+
+
+

Tailwind Theme

+

Implement a built-in TailwindCSS theme using the new Unstyled mode.

+
+
+
+
+
+
+
+

CSS Variables

+

Migrate to CSS variables for a dynamic approach.

-

Unstyled Mode

-

Introduce new unstyled mode to fully support styling with CSS libraries like Tailwind.

+

RTL Mode

+

Implement RTL support for all components.

@@ -72,26 +88,32 @@
+
+

Testing

+

Increase unit test coverage.

+
+
+
+
-
Figma UI Kit

Tokens

-

Add support for Figma Tokens.

+

Initiated support for Figma Tokens.

-
+
-
-

Theme Generator

-

Create a Figma Plugin to generate themes from Figma.

+
+

Tokens

+

Finalize Figma Tokens..

-
+
@@ -129,24 +151,8 @@
PrimeBlocks
-
-
-

Blocks Update

-

30+ new UI Blocks.

-
-
-
-
-
-
-
-

Blocks Update

-

New UI Blocks.

-
-
-
-
-
+
+

Blocks Update

@@ -167,24 +173,18 @@
-
Styling
+
Designer

Open Source Designer

Open source the sass based theming api and the visual designer.

-
+
+
-
-

CSS Variables

-

Migrate to CSS variables for a dynamic approach.

-
-
-
-

New UI Based Theme Editor

Advanced Theme Editor with full control over the Theming API.

@@ -194,7 +194,6 @@
-
Templates
@@ -210,7 +209,7 @@

Migrate to Vite

Initiate migration of templates to Vite.

-
+
@@ -219,7 +218,7 @@

Migrate to Vite

Finish migration of templates to Vite.

-
+
diff --git a/pages/team/index.vue b/pages/team/index.vue index 53ae4c69f..a771a9f61 100644 --- a/pages/team/index.vue +++ b/pages/team/index.vue @@ -28,6 +28,11 @@ Onur Şentüre Design Lead +
+ Yiğit Fındıklı + Yiğit Fındıklı + Technical Lead +
Dilara Can Dilara Güngenci @@ -78,6 +83,16 @@ Olgu Başak Java Web Developer
+
+ Furkan Seziş + Furkan Seziş + Front-End Developer +
+
+ Burak Sağlam + Burak Sağlam + Front-End Developer +