Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion bin/assemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? \`scale(-1, 1)\` : \`none\`
return mirrored !== undefined
? (mirrored ? \`scale(-1, 1)\` : undefined)
: (contextMirrored ? \`scale(-1, 1)\` : undefined)
}
}
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tithely/phosphor-vue",
"version": "1.4.2",
"version": "1.4.3",
"description": "A clean and friendly icon family for Vue, too!",
"repository": "[email protected]:tithely/phosphor-vue.git",
"author": "Aaron Maurice <[email protected]>",
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAddressBook.vue
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAirplane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAirplaneInFlight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAirplaneLanding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAirplaneTakeoff.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAirplaneTilt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAirplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlarm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlien.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignBottom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignBottomSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignCenterHorizontal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignCenterHorizontalSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignCenterVertical.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignCenterVerticalSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignLeft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignLeftSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignRight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignRightSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAlignTopSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAnchor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAnchorSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAndroidLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAngularLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAperture.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAppStoreLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAppWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhAppleLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhApplePodcastsLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhArchive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhArchiveBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
4 changes: 3 additions & 1 deletion src/components/PhArchiveTray.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export default Vue.extend<{}, {}, IconComputed, IconProps>({
},
displayMirrored() {
const { mirrored, contextMirrored } = this as IconProps & IconContext
return mirrored ?? contextMirrored ? `scale(-1, 1)` : `none`
return mirrored !== undefined
? (mirrored ? `scale(-1, 1)` : undefined)
: (contextMirrored ? `scale(-1, 1)` : undefined)
}
}
})
Expand Down
Loading