Skip to content

Commit e50563d

Browse files
hynes-dialpadbraddialpadjeverhart-dialpadfrancisrupertsemantic-release-bot
authored
feat(avatar): DLT-2942 updated avatar component (#1047)
Co-authored-by: Brad Paugh <brad.paugh@dialpad.com> Co-authored-by: Josh Everhart <josh.everhart@dialpad.com> Co-authored-by: Francis Rupert <francis.rupert@dialpad.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: Nina Repetto <nina.repetto@dialpad.com> Co-authored-by: Ignacio Ropolo <89984179+iropolo@users.noreply.github.com> Co-authored-by: iropolo <ignacio.ropolo@dialpad.com> Co-authored-by: belumontoya <163597542+belumontoya@users.noreply.github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent de23e12 commit e50563d

File tree

44 files changed

+1759
-725
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1759
-725
lines changed

.github/actions/setup-environment/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ runs:
1717
env:
1818
NODE_AUTH_TOKEN: ${{ github.token }}
1919

20+
- name: Configure GitHub Packages auth
21+
shell: bash
22+
run: |
23+
echo "@dialpad:registry=https://npm.pkg.github.com" >> ~/.npmrc
24+
echo "//npm.pkg.github.com/:_authToken=${{ github.token }}" >> ~/.npmrc
25+
2026
- name: Install dependencies
2127
shell: bash
2228
run: pnpm install --frozen-lockfile

CHANGELOG.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
# [9.154.0-next.5](https://github.com/dialpad/dialtone/compare/dialtone/v9.154.0-next.4...dialtone/v9.154.0-next.5) (2026-02-03)
1+
## [9.156.1](https://github.com/dialpad/dialtone/compare/dialtone/v9.156.0...dialtone/v9.156.1) (2026-01-30)
22

33

44
### Bug Fixes
55

6-
* **Tokens:** handle multi-layer box shadows correctly in postcss plugin ([feea7f1](https://github.com/dialpad/dialtone/commit/feea7f19f8f5380460db28eae0d51fab73413c24))
6+
* **Contact Info:** DLT-2904 remove min-width from left section ([#1032](https://github.com/dialpad/dialtone/issues/1032)) ([7dbc88d](https://github.com/dialpad/dialtone/commit/7dbc88d699e8adee9f86ace3cb31fab5930f5238))
7+
* **Tokens:** DP-173715 downgrade sd-transforms/colorjs.io ([#1039](https://github.com/dialpad/dialtone/issues/1039)) ([b0fbcd0](https://github.com/dialpad/dialtone/commit/b0fbcd0bc75478618a441b143b3a781761a6bd22))
78

8-
# [9.154.0-next.4](https://github.com/dialpad/dialtone/compare/dialtone/v9.154.0-next.3...dialtone/v9.154.0-next.4) (2026-02-03)
9+
# [9.156.0](https://github.com/dialpad/dialtone/compare/dialtone/v9.155.4...dialtone/v9.156.0) (2026-01-29)
910

1011

11-
### Bug Fixes
12-
13-
* **Tokens:** NO-JIRA output line-height as unitless instead of percentages ([#1040](https://github.com/dialpad/dialtone/issues/1040)) ([33d8505](https://github.com/dialpad/dialtone/commit/33d850503133a0507968fadd73f0722b48a35e3e))
12+
### Documentation
1413

15-
# [9.154.0-next.3](https://github.com/dialpad/dialtone/compare/dialtone/v9.154.0-next.2...dialtone/v9.154.0-next.3) (2026-01-30)
14+
* DLT-2854 add MCP Server guide to documentation ([#1035](https://github.com/dialpad/dialtone/issues/1035)) ([dd4ebb6](https://github.com/dialpad/dialtone/commit/dd4ebb6fe9c975494ee6a44742af748eecbd2432))
1615

1716

18-
### Code Refactoring
17+
### Features
1918

20-
* **Text:** DLT-2883 rename headline sizes from xxl => 2xl, etc ([#1029](https://github.com/dialpad/dialtone/issues/1029)) ([0ac86f3](https://github.com/dialpad/dialtone/commit/0ac86f30fb59298942a633d0fc42e68ee3ff348f))
19+
* NO-JIRA export everything from utils/constants ([#1038](https://github.com/dialpad/dialtone/issues/1038)) ([1aa0814](https://github.com/dialpad/dialtone/commit/1aa0814903d5a7417c52919aaac7959bf5b39456))
2120

2221
## [9.155.4](https://github.com/dialpad/dialtone/compare/dialtone/v9.155.3...dialtone/v9.155.4) (2026-01-22)
2322

apps/dialtone-documentation/docs/.vuepress/baseComponents/ComponentClassTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<th
3939
scope="row"
4040
class="d-code--sm d-docsite-code"
41-
v-text="`.${className}`"
41+
v-text="className.startsWith('data-') ? className : `.${className}`"
4242
/>
4343
<td class="d-code--sm">
4444
<span
Lines changed: 3 additions & 3 deletions
Loading

apps/dialtone-documentation/docs/_data/avatar.json

Lines changed: 36 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -6,124 +6,94 @@
66
"description": "Root level of Avatar."
77
},
88
{
9-
"class": "d-avatar--xs",
10-
"applies": ".d-avatar",
11-
"description": "Applies extra-small size."
12-
},
13-
{
14-
"class": "d-avatar--sm",
15-
"applies": ".d-avatar",
16-
"description": "Applies small size."
17-
},
18-
{
19-
"class": "d-avatar--md",
20-
"applies": ".d-avatar",
21-
"description": "Applies medium size."
22-
},
23-
{
24-
"class": "d-avatar--lg",
25-
"applies": ".d-avatar",
26-
"description": "Applies large size."
27-
},
28-
{
29-
"class": "d-avatar--xl",
30-
"applies": ".d-avatar",
31-
"description": "Applies extra-large size."
32-
},
33-
{
34-
"class": "d-avatar--color-000",
35-
"applies": ".d-avatar",
36-
"description": "Applies the default grey color."
37-
},
38-
{
39-
"class": "d-avatar--color-100",
9+
"class": "d-avatar--size-100",
4010
"applies": ".d-avatar",
41-
"description": "Applies a unique color."
11+
"description": "Applies size 100 (16px). Supports presence."
4212
},
4313
{
44-
"class": "d-avatar--color-200",
14+
"class": "d-avatar--size-150",
4515
"applies": ".d-avatar",
46-
"description": "Applies a unique color."
16+
"description": "Applies size 150 (20px). Supports presence."
4717
},
4818
{
49-
"class": "d-avatar--color-300",
19+
"class": "d-avatar--size-200",
5020
"applies": ".d-avatar",
51-
"description": "Applies a unique color."
21+
"description": "Applies size 200 (24px). Supports presence."
5222
},
5323
{
54-
"class": "d-avatar--color-400",
24+
"class": "d-avatar--size-250",
5525
"applies": ".d-avatar",
56-
"description": "Applies a unique color."
26+
"description": "Applies size 250 (28px). Supports presence."
5727
},
5828
{
59-
"class": "d-avatar--color-500",
29+
"class": "d-avatar--size-300",
6030
"applies": ".d-avatar",
61-
"description": "Applies a unique color."
31+
"description": "Applies size 300 (32px). Default size. Supports presence."
6232
},
6333
{
64-
"class": "d-avatar--color-600",
34+
"class": "d-avatar--size-400",
6535
"applies": ".d-avatar",
66-
"description": "Applies a unique color."
36+
"description": "Applies size 400 (40px). Supports presence."
6737
},
6838
{
69-
"class": "d-avatar--color-700",
39+
"class": "d-avatar--size-500",
7040
"applies": ".d-avatar",
71-
"description": "Applies a unique color."
41+
"description": "Applies size 500 (48px). Supports presence."
7242
},
7343
{
74-
"class": "d-avatar--color-800",
44+
"class": "d-avatar--size-600",
7545
"applies": ".d-avatar",
76-
"description": "Applies a unique color."
46+
"description": "Applies size 600 (64px)."
7747
},
7848
{
79-
"class": "d-avatar--color-900",
49+
"class": "d-avatar--size-700",
8050
"applies": ".d-avatar",
81-
"description": "Applies a unique color."
51+
"description": "Applies size 700 (96px)."
8252
},
8353
{
84-
"class": "d-avatar--color-1000",
54+
"class": "d-avatar--size-800",
8555
"applies": ".d-avatar",
86-
"description": "Applies a unique color."
56+
"description": "Applies size 800 (128px)."
8757
},
8858
{
89-
"class": "d-avatar--color-1100",
59+
"class": "d-avatar--size-900",
9060
"applies": ".d-avatar",
91-
"description": "Applies a unique color."
61+
"description": "Applies size 900 (256px)."
9262
},
9363
{
94-
"class": "d-avatar--color-1200",
64+
"class": "d-avatar--xs",
9565
"applies": ".d-avatar",
96-
"description": "Applies a unique color."
66+
"description": "Deprecated. Alias for size-100 (16px)."
9767
},
9868
{
99-
"class": "d-avatar--color-1300",
69+
"class": "d-avatar--sm",
10070
"applies": ".d-avatar",
101-
"description": "Applies a unique color."
71+
"description": "Deprecated. Alias for size-200 (24px)."
10272
},
10373
{
104-
"class": "d-avatar--color-1400",
74+
"class": "d-avatar--md",
10575
"applies": ".d-avatar",
106-
"description": "Applies a unique color."
76+
"description": "Deprecated. Alias for size-300 (32px)."
10777
},
10878
{
109-
"class": "d-avatar--color-1500",
79+
"class": "d-avatar--lg",
11080
"applies": ".d-avatar",
111-
"description": "Applies a unique color."
81+
"description": "Deprecated. Alias for size-400 (40px)."
11282
},
11383
{
114-
"class": "d-avatar--color-1600",
84+
"class": "d-avatar--xl",
11585
"applies": ".d-avatar",
116-
"description": "Applies a unique color."
86+
"description": "Deprecated. Alias for size-500 (48px)."
11787
},
11888
{
119-
"class": "d-avatar--color-1700",
89+
"class": "data-avatar-family=\"[1-12]\"",
12090
"applies": ".d-avatar",
121-
"description": "Applies a unique color."
91+
"description": "Sets the hue family (1-12). Each family is 30° apart on the color wheel, offset from the theme's anchor hue."
12292
},
12393
{
124-
"class": "d-avatar--color-1800",
94+
"class": "data-avatar-variant=\"[0-9]\"",
12595
"applies": ".d-avatar",
126-
"description": "Applies a unique color."
96+
"description": "Sets the lightness/chroma variant (0-9). 0=darkest, 9=lightest. Variants 0-5 use light text, 6-9 use dark text."
12797
},
12898
{
12999
"class": "d-avatar--group",

0 commit comments

Comments
 (0)