Skip to content

Commit

Permalink
chore: implement review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Dec 12, 2023
1 parent 9632c49 commit 89dd4ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 112 deletions.
77 changes: 0 additions & 77 deletions src/plugins/components/avatar-group/avatar-group.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,83 +120,6 @@ export const defaultConfig = {
},
}

// export const defaultConfig = {
// avatarOuter: {
// bg: 'white',
// bgDark: 'muted-800',
// rounded: 'full',
// duration: '100',
// avatar: {
// bg: 'primary-500/20',
// text: 'primary-500',
// },
// },
// avatarCount: {
// bg: 'white',
// bgDark: 'muted-800',
// rounded: 'full',
// duration: '100',
// inner: {
// bg: 'muted-200',
// bgDark: 'muted-700',
// border: 'white',
// borderDark: 'muted-800',
// size: 'full',
// rounded: 'full',
// },
// text: {
// text: 'muted-500',
// textDark: 'muted-300',
// font: 'normal',
// },
// },
// avatarGroupXXS: {
// outer: {
// size: '6',
// },
// count: {
// size: '6',
// text: 'xs',
// },
// },
// avatarGroupXS: {
// outer: {
// size: '8',
// },
// count: {
// size: '8',
// text: 'sm',
// },
// },
// avatarGroupSM: {
// outer: {
// size: '10',
// },
// count: {
// size: '10',
// text: 'sm',
// },
// },
// avatarGroupMD: {
// outer: {
// size: '12',
// },
// count: {
// size: '12',
// text: 'lg',
// },
// },
// avatarGroupLG: {
// outer: {
// size: '16',
// },
// count: {
// size: '16',
// text: 'xl',
// },
// },
// }

export type AvatarGroup = typeof defaultConfig
export interface AvatarGroupPluginConfig {
[key]: AvatarGroup
Expand Down
40 changes: 7 additions & 33 deletions src/plugins/components/snack/snack.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,39 +49,13 @@ export const Snack = ({
<span class="nui-snack-text">
<slot>${label}</slot>
</span>
${size === 'xs'
? html`
${ButtonClose({
rounded: 'full',
size: 'xs',
classes: {
wrapper: 'nui-snack-button scale-75',
},
})}
`
: ''}
${size === 'sm'
? html`
${ButtonClose({
rounded: 'full',
size: 'sm',
classes: {
wrapper: 'nui-snack-button scale-75',
},
})}
`
: ''}
${size === 'md'
? html`
${ButtonClose({
rounded: 'full',
size: 'md',
classes: {
wrapper: 'nui-snack-button scale-75',
},
})}
`
: ''}
${ButtonClose({
rounded: 'full',
size,
classes: {
wrapper: 'nui-snack-button scale-75',
},
})}
</div>
`
}
2 changes: 0 additions & 2 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { withShurikenUI } from './src'

export default withShurikenUI({
content: [
// './.storybook/*.ts',
'./src/**/*.index.ts',
'./src/**/*.component.ts',
'./src/**/*.variants.ts',
'./src/**/*.stories.ts',
Expand Down

0 comments on commit 89dd4ed

Please sign in to comment.