diff --git a/.changeset/rotten-beers-bathe.md b/.changeset/rotten-beers-bathe.md new file mode 100644 index 000000000..3fd33177d --- /dev/null +++ b/.changeset/rotten-beers-bathe.md @@ -0,0 +1,5 @@ +--- +'@cube-dev/ui-kit': patch +--- + +Add ShieldIcon, ShieldFilledIcon and UserLockIcon components. diff --git a/.size-limit.js b/.size-limit.js index 1a5fb49d8..4006c539c 100644 --- a/.size-limit.js +++ b/.size-limit.js @@ -26,13 +26,13 @@ module.exports = [ path: './dist/es/index.js', webpack: true, import: '{ Button }', - limit: '36 kB', + limit: '37 kB', }, { name: 'Tree shaking (just an Icon)', path: './dist/es/index.js', webpack: true, import: '{ AiIcon }', - limit: '25 kB', + limit: '27 kB', }, ]; diff --git a/src/icons/ShieldFilledIcon.tsx b/src/icons/ShieldFilledIcon.tsx new file mode 100644 index 000000000..89e92b2d6 --- /dev/null +++ b/src/icons/ShieldFilledIcon.tsx @@ -0,0 +1,16 @@ +export const ShieldFilledIcon = ( + + + +); diff --git a/src/icons/ShieldIcon.tsx b/src/icons/ShieldIcon.tsx new file mode 100644 index 000000000..fb1881b5a --- /dev/null +++ b/src/icons/ShieldIcon.tsx @@ -0,0 +1,16 @@ +export const ShieldIcon = ( + + + +); diff --git a/src/icons/UserLockIcon.tsx b/src/icons/UserLockIcon.tsx new file mode 100644 index 000000000..b6dca3c48 --- /dev/null +++ b/src/icons/UserLockIcon.tsx @@ -0,0 +1,16 @@ +export const UserLockIcon = ( + + + +); diff --git a/src/icons/index.ts b/src/icons/index.ts index 9327a5666..f5bf585d8 100644 --- a/src/icons/index.ts +++ b/src/icons/index.ts @@ -70,6 +70,9 @@ import { StatsIcon as _StatsIcon } from './StatsIcon'; import { UnlockIcon as _UnlockIcon } from './UnlockIcon'; import { UserIcon as _UserIcon } from './UserIcon'; import { UserGroupIcon as _UserGroupIcon } from './UserGroupIcon'; +import { UserLockIcon as _UserLockIcon } from './UserLockIcon'; +import { ShieldIcon as _ShieldIcon } from './ShieldIcon'; +import { ShieldFilledIcon as _ShieldFilledIcon } from './ShieldFilledIcon'; export const CloseIcon = wrapIcon('CloseIcon', _CloseIcon); export const ExclamationIcon = wrapIcon('ExclamationIcon', _ExclamationIcon); @@ -166,6 +169,9 @@ export const StatsIcon = wrapIcon('StatsIcon', _StatsIcon); export const UnlockIcon = wrapIcon('UnlockIcon', _UnlockIcon); export const UserIcon = wrapIcon('UserIcon', _UserIcon); export const UserGroupIcon = wrapIcon('UserGroupIcon', _UserGroupIcon); +export const UserLockIcon = wrapIcon('UserLockIcon', _UserLockIcon); +export const ShieldIcon = wrapIcon('ShieldIcon', _ShieldIcon); +export const ShieldFilledIcon = wrapIcon('ShieldFilledIcon', _ShieldFilledIcon); export { IconContainer } from './IconContainer';