Skip to content

Commit

Permalink
feat: added unionen spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
lasseitorp committed Dec 18, 2024
1 parent f77a49a commit 125d8a5
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @unionen/icons

## 1.6.9

### Patch Changes

- added unionen spinner

## 1.6.8

### Patch Changes
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unionen/icons",
"version": "1.6.8",
"version": "1.6.9",
"description": "An iconset for FormKit inputs used on unionen.se",
"private": false,
"type": "module",
Expand Down Expand Up @@ -76,4 +76,3 @@
"vue": "^3.5.10"
}
}

2 changes: 0 additions & 2 deletions src/icons/other/Spinner.ts

This file was deleted.

3 changes: 3 additions & 0 deletions src/icons/other/SpinnerMedium.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default `<svg class="prefix__z-0 prefix__m-auto prefix__size-full prefix__origin-center prefix__animate-progress prefix__transition-all prefix__duration-200 prefix__text-primary" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" transform="rotate(-90)"><circle class="prefix__z-10" cx="50%" cy="50%" r="10" fill="none" stroke="#00000030" stroke-width="4" stroke-dasharray="126"/><circle class="prefix__z-20 prefix__animate-progress-dash prefix__transition-all prefix__duration-200" fill="transparent" cx="50%" cy="50%" r="10" stroke="currentColor" stroke-linecap="round" stroke-width="4" stroke-dasharray="10 100"/></svg>
`;

4 changes: 2 additions & 2 deletions src/icons/other/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import QuoteLarge from "./QuoteLarge";
import RadioChecked from "./RadioChecked";
import Rewind from "./Rewind";
import SalaryMedium from "./SalaryMedium";
import Spinner from "./Spinner";
import SpinnerMedium from "./SpinnerMedium";
import SpreadsheetMedium from "./SpreadsheetMedium";
import SpreadsheetSmall from "./SpreadsheetSmall";
import SyncedSimpleSmall from "./SyncedSimpleSmall";
Expand Down Expand Up @@ -60,7 +60,7 @@ export {
RadioChecked,
Rewind,
SalaryMedium,
Spinner,
SpinnerMedium,
SpreadsheetMedium,
SpreadsheetSmall,
SyncedSimpleSmall,
Expand Down
1 change: 0 additions & 1 deletion src/svg/other/Spinner.svg

This file was deleted.

30 changes: 30 additions & 0 deletions src/svg/other/SpinnerMedium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/unionenIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ import {
CrossXSmall,
CrossInCircleSmall,
TrashCanDeleteSmall,
} from './icons/action';
} from "./icons/action";
import {
CheckmarkSmall,
Color,
Spinner,
SpinnerMedium,
FastForward,
DocumentSmall,
Rewind,
CheckboxChecked,
RadioChecked,
} from './icons/other';
} from "./icons/other";
import {
ArrowUpSmall,
ArrowDownSmall,
ChevronRightSmall,
ChevronLeftSmall,
SelectIcon,
} from './icons/arrow';
import { CalendarSmall, StarSmall } from './icons/object';
} from "./icons/arrow";
import { CalendarSmall, StarSmall } from "./icons/object";

/**
* The collection of icons required by the unionen theme.
Expand All @@ -41,7 +41,7 @@ const unionenIcons = {
noFiles: DocumentSmall,
radioDecorator: RadioChecked,
select: SelectIcon,
spinner: Spinner,
spinner: SpinnerMedium,
star: StarSmall,
trash: TrashCanDeleteSmall,
fastForward: FastForward,
Expand Down

0 comments on commit 125d8a5

Please sign in to comment.