Skip to content

Commit

Permalink
fix(icons-import): fix wrong import, that caused import of whole libr…
Browse files Browse the repository at this point in the history
…ary instead of one icon
  • Loading branch information
German Sigutov authored and Heymdall committed Dec 13, 2021
1 parent f7fba19 commit 88e2670
Show file tree
Hide file tree
Showing 15 changed files with 252 additions and 190 deletions.
2 changes: 1 addition & 1 deletion gemini/webpack.gemini.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = merge.smart(WEBPACK_BASE_TEMPLATE, {
loader: 'ts-loader',
options: {
transpileOnly: true,
}
},
},
],
},
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"author": "Good guys from Alfa Laboratory",
"license": "MPL-2.0",
"dependencies": {
"@alfalab/icons-classic": "^1.56.0",
"@alfalab/icons-glyph": "^1.143.0",
"@alfalab/icons-classic": "^2.1.0",
"@alfalab/icons-glyph": "^2.3.0",
"@babel/runtime-corejs2": "^7.7.6",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/lodash.sortedindexby": "^4.6.6",
Expand Down
6 changes: 3 additions & 3 deletions src/attach/attach.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import React from 'react';
import { createCn } from 'bem-react-classname';
import {
AttachmentSIcon
AttachmentSIcon,
} from '@alfalab/icons-classic/AttachmentSIcon';
import {
AttachmentMIcon
AttachmentMIcon,
} from '@alfalab/icons-classic/AttachmentMIcon';
import {
AttachmentLIcon
AttachmentLIcon,
} from '@alfalab/icons-classic/AttachmentLIcon';
import {
AttachmentXlIcon,
Expand Down
6 changes: 3 additions & 3 deletions src/calendar-input/calendar-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import React from 'react';
import formatDate from 'date-fns/format';
import { createCn } from 'bem-react-classname';
import {
CalendarMIcon
CalendarMIcon,
} from '@alfalab/icons-classic/CalendarMIcon';
import {
CalendarLIcon
CalendarLIcon,
} from '@alfalab/icons-classic/CalendarLIcon';
import {
CalendarSIcon
CalendarSIcon,
} from '@alfalab/icons-classic/CalendarSIcon';
import {
CalendarXlIcon,
Expand Down
8 changes: 4 additions & 4 deletions src/calendar/calendar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ describe('calendar', () => {
];
const calendar = mount(
<Calendar
value={startOfDay(new Date('2020-11-15')).valueOf()}
value={ startOfDay(new Date('2020-11-15')).valueOf() }
ignoreTimezone={ true }
eventDays={ eventDays }
/>
/>,
);

const days = calendar.find('.calendar__event');
Expand All @@ -390,10 +390,10 @@ describe('calendar', () => {
];
const calendar = mount(
<Calendar
value={startOfDay(new Date('2020-11-15')).valueOf()}
value={ startOfDay(new Date('2020-11-15')).valueOf() }
ignoreTimezone={ true }
offDays={ offDays }
/>
/>,
);

const days = calendar.find('.calendar__day_type_weekend-off');
Expand Down
Loading

0 comments on commit 88e2670

Please sign in to comment.