Skip to content

Commit dc55487

Browse files
committed
Merge branch 'icons_model_updates' of github.com:conradennis/carbon into pr/conradennis/17169
2 parents b641542 + 4948483 commit dc55487

File tree

58 files changed

+1416
-1618
lines changed

Some content is hidden

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

58 files changed

+1416
-1618
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
27+
uses: github/codeql-action/init@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
2828
with:
2929
languages: javascript
3030

3131
- name: Perform CodeQL Analysis
32-
uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
32+
uses: github/codeql-action/analyze@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2

.github/workflows/dco.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
(github.event.comment.body == 'recheck' || github.event.comment.body
1717
== 'I have read the DCO document and I hereby sign the DCO.') ||
1818
github.event_name == 'pull_request_target'
19-
uses: cla-assistant/github-action@9340315624c6e16cef1f2c63bdeb0f0c49c6f474 #v2.4.0
19+
uses: cla-assistant/github-action@f41946747f85d28e9a738f4f38dbcc74b69c7e0e # v2.5.1
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

.github/workflows/nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: macos-13
10+
runs-on: macos-14
1111
# Needed as recommended by npm docs on publishing with provenance https://docs.npmjs.com/generating-provenance-statements
1212
permissions:
1313
id-token: write
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

.yarn/releases/yarn-4.2.2.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

.yarn/releases/yarn-4.4.0.cjs

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ supportedArchitectures:
1818
- linux
1919
- win32
2020

21-
yarnPath: .yarn/releases/yarn-4.2.2.cjs
21+
yarnPath: .yarn/releases/yarn-4.4.0.cjs

README.md

Lines changed: 3 additions & 0 deletions

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"eslint": "^9.0.0",
6666
"eslint-plugin-playwright": "^1.0.0",
6767
"fs-extra": "^11.0.0",
68-
"glob": "^10.0.0",
68+
"glob": "^11.0.0",
6969
"husky": "^9.0.0",
7070
"jest": "^28.1.0",
7171
"jest-junit": "^16.0.0",
@@ -145,5 +145,5 @@
145145
"./config/stylelint-config-carbon"
146146
]
147147
},
148-
"packageManager": "yarn@4.2.2"
148+
"packageManager": "yarn@4.4.0"
149149
}

packages/icons-vue/examples/vue-cli/yarn.lock

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ bluebird@^3.1.1, bluebird@^3.5.1:
15221522
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7"
15231523
integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==
15241524

1525-
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0:
1525+
bn.js@^4.0.0, bn.js@^4.1.0:
15261526
version "4.11.8"
15271527
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
15281528
integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==
@@ -2833,23 +2833,10 @@ electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.82:
28332833
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.85.tgz#5c46f790aa96445cabc57eb9d17346b1e46476fe"
28342834
integrity sha512-kWSDVVF9t3mft2OHVZy4K85X2beP6c6mFm3teFS/mLSDJpQwuFIWHrULCX+w6H1E55ZYmFRlT+ATAFRwhrYzsw==
28352835

2836-
elliptic@^6.0.0:
2837-
version "6.4.1"
2838-
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.1.tgz#c2d0b7776911b86722c632c3c06c60f2f819939a"
2839-
integrity sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==
2840-
dependencies:
2841-
bn.js "^4.4.0"
2842-
brorand "^1.0.1"
2843-
hash.js "^1.0.0"
2844-
hmac-drbg "^1.0.0"
2845-
inherits "^2.0.1"
2846-
minimalistic-assert "^1.0.0"
2847-
minimalistic-crypto-utils "^1.0.0"
2848-
2849-
elliptic@^6.5.4:
2850-
version "6.5.4"
2851-
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
2852-
integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
2836+
elliptic@^6.0.0, elliptic@^6.5.4:
2837+
version "6.5.7"
2838+
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b"
2839+
integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==
28532840
dependencies:
28542841
bn.js "^4.11.9"
28552842
brorand "^1.1.0"
@@ -3825,7 +3812,7 @@ hex-color-regex@^1.1.0:
38253812
resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
38263813
integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==
38273814

3828-
hmac-drbg@^1.0.0, hmac-drbg@^1.0.1:
3815+
hmac-drbg@^1.0.1:
38293816
version "1.0.1"
38303817
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
38313818
integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=
@@ -4926,7 +4913,7 @@ minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
49264913
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
49274914
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==
49284915

4929-
minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
4916+
minimalistic-crypto-utils@^1.0.1:
49304917
version "1.0.1"
49314918
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
49324919
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=

packages/pictograms-react/examples/storybook/yarn.lock

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ bluebird@^3.3.5, bluebird@^3.5.3:
24572457
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
24582458
integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==
24592459

2460-
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0:
2460+
bn.js@^4.0.0, bn.js@^4.1.0:
24612461
version "4.11.8"
24622462
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
24632463
integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==
@@ -3529,23 +3529,10 @@ electron-to-chromium@^1.3.122, electron-to-chromium@^1.3.150:
35293529
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.158.tgz#5e16909dcfd25ab7cd1665114ee381083a3ee858"
35303530
integrity sha512-wJsJaWsViNQ129XPGmyO5gGs1jPMHr9vffjHAhUje1xZbEzQcqbENdvfyRD9q8UF0TgFQFCCUbaIpJarFbvsIg==
35313531

3532-
elliptic@^6.0.0:
3533-
version "6.4.1"
3534-
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.1.tgz#c2d0b7776911b86722c632c3c06c60f2f819939a"
3535-
integrity sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==
3536-
dependencies:
3537-
bn.js "^4.4.0"
3538-
brorand "^1.0.1"
3539-
hash.js "^1.0.0"
3540-
hmac-drbg "^1.0.0"
3541-
inherits "^2.0.1"
3542-
minimalistic-assert "^1.0.0"
3543-
minimalistic-crypto-utils "^1.0.0"
3544-
3545-
elliptic@^6.5.4:
3546-
version "6.5.4"
3547-
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
3548-
integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
3532+
elliptic@^6.0.0, elliptic@^6.5.4:
3533+
version "6.5.7"
3534+
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b"
3535+
integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==
35493536
dependencies:
35503537
bn.js "^4.11.9"
35513538
brorand "^1.1.0"
@@ -4370,7 +4357,7 @@ highlight.js@~9.12.0:
43704357
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e"
43714358
integrity sha1-5tnb5Xy+/mB1HwKvM2GVhwyQwB4=
43724359

4373-
hmac-drbg@^1.0.0, hmac-drbg@^1.0.1:
4360+
hmac-drbg@^1.0.1:
43744361
version "1.0.1"
43754362
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
43764363
integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=
@@ -5313,7 +5300,7 @@ minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
53135300
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
53145301
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==
53155302

5316-
minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
5303+
minimalistic-crypto-utils@^1.0.1:
53175304
version "1.0.1"
53185305
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
53195306
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=

packages/react/src/components/Tag/InteractiveTag.mdx

Lines changed: 2 additions & 2 deletions

packages/react/src/components/Tag/InteractiveTag.stories.js

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import { default as SelectableTag } from './SelectableTag';
1111
import { default as OperationalTag } from './OperationalTag';
1212
import { default as DismissibleTag } from './DismissibleTag';
1313
import { Asleep } from '@carbon/icons-react';
14-
import { Toggletip, ToggletipButton, ToggletipContent } from '../Toggletip';
1514
import { Popover, PopoverContent } from '../Popover';
1615
import mdx from './InteractiveTag.mdx';
1716
import './storyInteractiveTag.scss';
17+
import { Text } from '../Text';
1818

1919
export default {
2020
title: 'Experimental/unstable__InteractiveTag',
@@ -89,6 +89,7 @@ Selectable.argTypes = {
8989

9090
export const Operational = (args) => {
9191
const [open, setOpen] = useState(false);
92+
const [openHighContrast, setOpenHighContrast] = useState(false);
9293

9394
return (
9495
<>
@@ -173,31 +174,33 @@ export const Operational = (args) => {
173174
justifyContent: 'flex-start',
174175
marginTop: '1rem',
175176
}}>
176-
<Toggletip>
177-
<ToggletipButton label="Tag content" tabIndex={-1} as="div">
178-
<OperationalTag
179-
renderIcon={Asleep}
180-
text="Tag content"
181-
className="some-class"
182-
{...args}
183-
/>
184-
</ToggletipButton>
185-
<ToggletipContent>
186-
<div style={{ lineHeight: 0 }}>
187-
<p>Tag 1 name</p>
188-
<p>Tag 2 name</p>
189-
<p>Tag 3 name</p>
190-
<p>Tag 4 name</p>
191-
<p>Tag 5 name</p>
192-
</div>
193-
</ToggletipContent>
194-
</Toggletip>
177+
{/* High contrast example */}
178+
<Popover open={openHighContrast} highContrast>
179+
<OperationalTag
180+
onClick={() => {
181+
setOpenHighContrast(!openHighContrast);
182+
}}
183+
aria-expanded={openHighContrast}
184+
renderIcon={Asleep}
185+
text="Tag content"
186+
className="some-class"
187+
{...args}
188+
/>
189+
<PopoverContent className="popover-content">
190+
<Text as="p">Tag 1 name</Text>
191+
<Text as="p">Tag 2 name</Text>
192+
<Text as="p">Tag 3 name</Text>
193+
<Text as="p">Tag 4 name</Text>
194+
<Text as="p">Tag 5 name</Text>
195+
</PopoverContent>
196+
</Popover>
195197

196198
<Popover open={open}>
197199
<OperationalTag
198200
onClick={() => {
199201
setOpen(!open);
200202
}}
203+
aria-expanded={open}
201204
renderIcon={Asleep}
202205
text="Tag content"
203206
className="some-class"

packages/react/src/components/Tag/storyInteractiveTag.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@
99
--cds-popover-offset: 5px;
1010
--cds-popover-caret-height: 5px;
1111
}
12+
13+
.popover-content {
14+
line-height: 0;
15+
padding: 1rem;
16+
17+
p {
18+
font-size: 14px;
19+
}
20+
}

packages/styles/package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,7 @@
4747
"@carbon/motion": "^11.20.0",
4848
"@carbon/themes": "^11.38.0",
4949
"@carbon/type": "^11.29.0",
50-
"@ibm/plex-mono": "0.0.3-alpha.0",
51-
"@ibm/plex-sans": "0.0.3-alpha.0",
52-
"@ibm/plex-sans-arabic": "0.0.3-alpha.0",
53-
"@ibm/plex-sans-devanagari": "0.0.3-alpha.0",
54-
"@ibm/plex-sans-hebrew": "0.0.3-alpha.0",
55-
"@ibm/plex-sans-thai": "0.0.3-alpha.0",
56-
"@ibm/plex-sans-thai-looped": "0.0.3-alpha.0",
57-
"@ibm/plex-serif": "0.0.3-alpha.0",
50+
"@ibm/plex": "6.0.0-next.6",
5851
"@ibm/telemetry-js": "^1.5.0"
5952
},
6053
"devDependencies": {

packages/styles/scss/_reset.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
border: 0;
100100
margin: 0;
101101
font: inherit;
102-
font-feature-settings: 'liga' 1;
103102
font-size: 100%;
104103
vertical-align: baseline;
105104
}

packages/styles/scss/components/ui-shell/header-panel/_header-panel.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
border-inline-end: 1px solid $border-subtle;
3939
border-inline-start: 1px solid $border-subtle;
4040
inline-size: mini-units(32);
41+
overflow-y: auto;
4142
}
4243
}

0 commit comments

Comments
 (0)