Skip to content

Commit ebc153a

Browse files
feat: Update Clockface to 5.2.0 (Icon Refactor) (#5128)
* feat: updated clockface to 5.0.0, and updated all old icons * fix: updated to 5.1.0 and updated broken icon * fix: unit tests * feat: updated to 5.2.0 and updated multi org icons
1 parent 4708a57 commit ebc153a

File tree

52 files changed

+76
-79
lines changed

Some content is hidden

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

52 files changed

+76
-79
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"dependencies": {
165165
"@codingame/monaco-jsonrpc": "^0.3.1",
166166
"@docsearch/react": "^3.0.0-alpha.37",
167-
"@influxdata/clockface": "^4.8.0",
167+
"@influxdata/clockface": "^5.2.0",
168168
"@influxdata/flux-lsp-browser": "0.8.28",
169169
"@influxdata/giraffe": "^2.32.0",
170170
"@influxdata/influxdb-templates": "0.9.0",

src/alerting/components/AlertingIndex.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const AlertingIndex: FunctionComponent = () => {
7676
{flowsCTA.alerts && (
7777
<FeatureFlag name="flowsCTA">
7878
<div className="header-cta">
79-
<Icon glyph={IconFont.BookPencil} />
79+
<Icon glyph={IconFont.Pencil} />
8080
Now you can use {PROJECT_NAME_PLURAL} to explore your data while
8181
building an alert
8282
<Link

src/alerting/components/SentTableField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const SentTableField: FC<Props> = ({row: {sent}}) => {
1818
data-testid={`sent-table-field ${modifier}`}
1919
>
2020
{sent === 'true' ? (
21-
<Icon glyph={IconFont.Checkmark_New} />
21+
<Icon glyph={IconFont.CheckMark_New} />
2222
) : (
2323
<Icon glyph={IconFont.AlertTriangle} />
2424
)}

src/authorizations/components/AllAccessTokenOverlay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ const AllAccessTokenOverlay: FC<OwnProps> = props => {
109109
<Button
110110
text="Cancel"
111111
color={ComponentColor.Tertiary}
112-
icon={IconFont.Remove}
112+
icon={IconFont.Remove_New}
113113
onClick={handleDismiss}
114114
/>
115115

116116
<Button
117117
text="Save"
118118
testID="button--save"
119-
icon={IconFont.Checkmark}
119+
icon={IconFont.CheckMark_New}
120120
color={ComponentColor.Success}
121121
type={ButtonType.Submit}
122122
/>

src/authorizations/components/TokensTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class TokensTab extends PureComponent<Props, State> {
313313
return IconFont.Subtract
314314
}
315315
if (tokensSelectedForBatchOperation.length === tokensOnCurrentPage.length) {
316-
return IconFont.Checkmark
316+
return IconFont.CheckMark_New
317317
}
318318

319319
return IconFont.Subtract

src/billing/components/PayAsYouGo/NotificationSettingsOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const NotificationSettingsOverlay: FC<Props> = ({onHideOverlay}) => {
127127
}
128128
>
129129
<Input
130-
icon={IconFont.CurrencyUSD}
130+
icon={IconFont.CurrencyDollar}
131131
type={InputType.Number}
132132
min={10}
133133
value={balanceThreshold}

src/checkout/NotificationSettingsForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const NotificationSettingsForm: FC = () => {
2424
return (
2525
<>
2626
<FormToggle
27-
icon={IconFont.Checkmark_New}
27+
icon={IconFont.CheckMark_New}
2828
id="shouldNotify"
2929
label="Send me an email when my bill exceeds a certain amount"
3030
tabIndex={0}
@@ -43,7 +43,7 @@ const NotificationSettingsForm: FC = () => {
4343
</Grid.Column>
4444
<Grid.Column widthSM={Columns.Three}>
4545
<FormInput
46-
icon={IconFont.CurrencyUSD}
46+
icon={IconFont.CurrencyDollar}
4747
id="balanceThreshold"
4848
label={`Limit ($${MINIMUM_BALANCE_THRESHOLD} minimum)`}
4949
min={MINIMUM_BALANCE_THRESHOLD}

src/checks/components/CheckEOSaveButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const CheckEOSaveButton: FunctionComponent<Props> = ({
7373
<SquareButton
7474
ref={triggerRef}
7575
className={className}
76-
icon={IconFont.Checkmark_New}
76+
icon={IconFont.CheckMark_New}
7777
color={ComponentColor.Success}
7878
size={ComponentSize.Small}
7979
status={status}
@@ -98,7 +98,7 @@ const QueryChecklistItem: FunctionComponent<ChecklistItemProps> = ({
9898
const className = selected
9999
? 'query-checklist--item valid'
100100
: 'query-checklist--item error'
101-
const icon = selected ? IconFont.Checkmark_New : IconFont.Remove_New
101+
const icon = selected ? IconFont.CheckMark_New : IconFont.Remove_New
102102

103103
return (
104104
<li className={className}>

src/cloud/components/RateLimitAlert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const RateLimitAlert: FC<Props> = ({alertOnly, className, location}) => {
107107
})
108108

109109
const icon = isFlagEnabled('credit250Experiment')
110-
? IconFont.Stop
110+
? IconFont.AlertTriangle
111111
: IconFont.Cloud
112112

113113
if (CLOUD && status === 'exceeded' && resources.includes('cardinality')) {

src/dashboards/components/VEOHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class VEOHeader extends PureComponent<Props> {
5656
/>
5757
<SquareButton
5858
className={saveButtonClass}
59-
icon={IconFont.Checkmark_New}
59+
icon={IconFont.CheckMark_New}
6060
color={ComponentColor.Success}
6161
size={ComponentSize.Small}
6262
onClick={onSave}

0 commit comments

Comments
 (0)