Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion browser/public/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"23.2.915","date":"2026-08-20 10:35:10","note":"this file is auto-generated"}
{"version":"23.2.915","date":"2026-08-29 22:56:13","note":"this file is auto-generated"}
2 changes: 1 addition & 1 deletion browser/src/navigation/SamplesBrowser.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"23.2.915","date":"2026-08-20 10:35:10","note":"this file is auto-generated"}
{"version":"23.2.915","date":"2026-08-29 22:56:13","note":"this file is auto-generated"}
18 changes: 4 additions & 14 deletions samples/inputs/badge/dot/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ igc-avatar {
.icon-circle {
justify-content: center;
border-radius: 50%;
background: var(--ig-gray-200);
color: var(--ig-gray-800);
background: var(--ig-gray-300);
color: var(--ig-gray-900);
}

.notifications-card,
Expand Down Expand Up @@ -86,16 +86,6 @@ igc-avatar {
width: 12px;
}

.row-indicator igc-badge,
.nav-icon igc-badge {
--ig-badge-background-color: #0057A9;
}

.row-indicator igc-badge::part(base),
.nav-icon igc-badge::part(base) {
background-color: #0057A9;
}

.row-title {
flex: 1;
}
Expand All @@ -106,7 +96,7 @@ igc-avatar {
}

.row-time.unread {
color: #0057A9;
color: var(--ig-gray-900);
font-weight: 600;
}

Expand Down Expand Up @@ -135,7 +125,7 @@ igc-avatar {
}

.nav-item.active {
color: #0075D2;
color: var(--ig-primary-800);
}

.nav-icon {
Expand Down
2 changes: 1 addition & 1 deletion samples/inputs/badge/dot/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import { IgrAvatar, IgrBadge, IgrIcon, registerIconFromText } from 'igniteui-react';
import './index.css';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const notificationsIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"/></svg>';
Expand Down
23 changes: 4 additions & 19 deletions samples/inputs/badge/icon/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@

igc-avatar {
--size: 40px;
--ig-avatar-background: var(--ig-gray-700);
--ig-avatar-color: var(--ig-gray-50);
}

igc-badge[variant="info"] {
--ig-badge-background-color: #0057A9;
}

igc-badge[variant="info"]::part(base) {
background-color: #0057A9;
--ig-avatar-background: var(--ig-gray-400);
--ig-avatar-color: var(--ig-gray-800);
}

igc-badge igc-icon {
Expand Down Expand Up @@ -46,14 +38,6 @@ igc-badge igc-icon {
height: 40px;
}

.badge-settings {
--ig-badge-background-color: #0070BA;
}

.badge-settings::part(base) {
background-color: #0070BA;
}

.badge-icon {
display: flex;
align-items: center;
Expand All @@ -71,13 +55,14 @@ igc-badge igc-icon {
}

.badge-icon-item span {
color: #556c86;
color: var(--ig-gray-600);
font-family: "Aktiv Grotesk", sans-serif;
font-size: 13px;
font-weight: 400;
font-style: normal;
line-height: 20px;
letter-spacing: 0.3px;
white-space: nowrap;
transform: translateY(4px);
}

Expand Down
2 changes: 1 addition & 1 deletion samples/inputs/badge/icon/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrAvatar, IgrBadge, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const checkIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>';
Expand Down
23 changes: 3 additions & 20 deletions samples/inputs/badge/outlined/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ igc-badge {

igc-avatar {
--size: 40px;
--ig-avatar-background: var(--ig-gray-700);
--ig-avatar-color: var(--ig-gray-50);
--ig-avatar-background: var(--ig-gray-400);
--ig-avatar-color: var(--ig-gray-800);
}

.outlined-example igc-avatar igc-icon {
Expand Down Expand Up @@ -65,23 +65,6 @@ igc-avatar {
color: var(--ig-gray-800);
}

.badge-info-blue {
--ig-badge-background-color: #0057A9;
}

.badge-info-blue::part(base) {
background-color: #0057A9;
}

.payment-dot-blue {
--ig-badge-background-color: #0057A9;
--ig-badge-dot-size: 0.5rem;
}

.payment-dot-blue::part(base) {
background-color: #0057A9;
}

igc-badge::part(base),
igc-badge igc-icon {
color: var(--ig-gray-50);
Expand Down Expand Up @@ -134,7 +117,7 @@ igc-badge igc-icon {
}

.step-label {
color: #556c86;
color: var(--ig-gray-600);
font-family: "Aktiv Grotesk", sans-serif;
font-size: 13px;
font-weight: 400;
Expand Down
6 changes: 3 additions & 3 deletions samples/inputs/badge/outlined/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrBadge, IgrAvatar, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const favoriteBorderIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"/></svg>';
Expand All @@ -27,7 +27,7 @@ export default function BadgeOutlined(): JSX.Element {
<div className="icon-circle">
<IgrIcon name="favorite_border" collection="material" />
</div>
<IgrBadge variant="info" outlined={true} className="badge-info-blue">23</IgrBadge>
<IgrBadge variant="info" outlined={true}>23</IgrBadge>
</div>
<div className="outlined-example">
<IgrAvatar initials="AZ" shape="rounded" />
Expand All @@ -47,7 +47,7 @@ export default function BadgeOutlined(): JSX.Element {
{step.index}
</span>
{step.current && (
<IgrBadge dot={true} variant="info" outlined={true} className="payment-dot-blue" />
<IgrBadge dot={true} variant="info" outlined={true} />
)}
</div>
<span className="step-label">{step.label}</span>
Expand Down
6 changes: 0 additions & 6 deletions samples/inputs/badge/overview/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ igc-badge {
}

.event-example igc-chip::part(base) {
background-color: #E0E0E0;
border-radius: 999px;
}

Expand All @@ -42,11 +41,6 @@ igc-badge {
inset-inline-end: -0.8rem;
}

.event-example igc-badge::part(base) {
background-color: #0057A9;
color: var(--ig-gray-50);
}

.icon-example igc-badge {
inset-block-start: 0;
inset-inline-end: 0;
Expand Down
2 changes: 1 addition & 1 deletion samples/inputs/badge/overview/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrAvatar, IgrBadge, IgrChip, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const checkIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>';
Expand Down
19 changes: 1 addition & 18 deletions samples/inputs/badge/shape/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

.row-label {
justify-self: end;
color: #556c86;
color: var(--ig-gray-600);
font-family: "Aktiv Grotesk", sans-serif;
font-size: 13px;
font-weight: 400;
Expand All @@ -32,20 +32,3 @@
.badge-small {
--ig-size: var(--ig-size-small);
}

.badge-info-blue {
--ig-badge-background-color: #0057A9;
}

.badge-info-blue::part(base) {
background-color: #0057A9;
}

igc-badge::part(base),
igc-badge igc-icon {
color: var(--ig-gray-50);
}

igc-badge igc-icon {
fill: var(--ig-gray-50);
}
8 changes: 4 additions & 4 deletions samples/inputs/badge/shape/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrBadge, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const checkIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>';
Expand All @@ -26,11 +26,11 @@ export default function BadgeShape(): JSX.Element {
</div>
<div className="badge-shape-row">
<span className="row-label">Square</span>
<IgrBadge variant="info" shape="square" className="badge-info-blue">
<IgrBadge variant="info" shape="square">
<IgrIcon name="check" collection="material" />
</IgrBadge>
<IgrBadge variant="info" shape="square" className="badge-info-blue">2</IgrBadge>
<IgrBadge variant="info" shape="square" className="badge-small badge-info-blue">
<IgrBadge variant="info" shape="square">2</IgrBadge>
<IgrBadge variant="info" shape="square" className="badge-small">
<IgrIcon name="check" collection="material" />
</IgrBadge>
</div>
Expand Down
19 changes: 1 addition & 18 deletions samples/inputs/badge/size/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

.row-label {
justify-self: end;
color: #556c86;
color: var(--ig-gray-600);
font-family: "Aktiv Grotesk", sans-serif;
font-size: 13px;
font-weight: 400;
Expand All @@ -30,23 +30,6 @@
letter-spacing: 0.3px;
}

.badge-info-blue {
--ig-badge-background-color: #0057A9;
}

.badge-info-blue::part(base) {
background-color: #0057A9;
}

igc-badge::part(base),
igc-badge igc-icon {
color: var(--ig-gray-50);
}

igc-badge igc-icon {
fill: var(--ig-gray-50);
}

.badge-large { --ig-size: var(--ig-size-large); }
.badge-medium { --ig-size: var(--ig-size-medium); }
.badge-small { --ig-size: var(--ig-size-small); }
8 changes: 4 additions & 4 deletions samples/inputs/badge/size/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrBadge, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const checkIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>';
Expand All @@ -17,23 +17,23 @@ export default function BadgeSize(): JSX.Element {
<div className="badge-size-row badge-small">
<span className="row-label">Small</span>
<IgrBadge dot={true} variant="danger" />
<IgrBadge variant="info" className="badge-info-blue">2</IgrBadge>
<IgrBadge variant="info">2</IgrBadge>
<IgrBadge variant="success">
<IgrIcon name="check" collection="material" />
</IgrBadge>
</div>
<div className="badge-size-row badge-medium">
<span className="row-label">Medium</span>
<IgrBadge dot={true} variant="danger" />
<IgrBadge variant="info" className="badge-info-blue">2</IgrBadge>
<IgrBadge variant="info">2</IgrBadge>
<IgrBadge variant="success">
<IgrIcon name="check" collection="material" />
</IgrBadge>
</div>
<div className="badge-size-row badge-large">
<span className="row-label">Large</span>
<IgrBadge dot={true} variant="danger" />
<IgrBadge variant="info" className="badge-info-blue">2</IgrBadge>
<IgrBadge variant="info">2</IgrBadge>
<IgrBadge variant="success">
<IgrIcon name="check" collection="material" />
</IgrBadge>
Expand Down
6 changes: 3 additions & 3 deletions samples/inputs/badge/styling/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ igc-badge {
}

.styling-item.green igc-avatar {
--icon-color: #248436;
--ig-avatar-background: #A9CEB0;
--ig-avatar-color: #248436;
--icon-color: var(--ig-success-900);
--ig-avatar-background: var(--ig-success-200);
--ig-avatar-color: var(--ig-success-900);
}

.styling-item.pink igc-avatar {
Expand Down
2 changes: 1 addition & 1 deletion samples/inputs/badge/styling/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrAvatar, IgrBadge, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const personIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>';
Expand Down
6 changes: 3 additions & 3 deletions samples/inputs/badge/tailwind-styling/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ igc-badge {

igc-avatar {
--size: 40px;
--ig-avatar-background: var(--ig-gray-700);
--ig-avatar-color: var(--ig-gray-50);
--ig-avatar-background: var(--ig-gray-400);
--ig-avatar-color: var(--ig-gray-800);
}

igc-avatar igc-icon {
color: var(--ig-gray-50);
color: var(--ig-gray-800);
}

.badge-close {
Expand Down
2 changes: 1 addition & 1 deletion samples/inputs/badge/tailwind-styling/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { IgrAvatar, IgrBadge, IgrIcon, registerIconFromText } from 'igniteui-react';
import 'igniteui-webcomponents/themes/light/bootstrap.css';
import 'igniteui-webcomponents/themes/light/material.css';

const personIcon =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>';
Expand Down
Loading