Skip to content

Commit

Permalink
fix: bug - remove customElements method (browser API) from Puik
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Oct 12, 2023
1 parent f7cab6c commit b0e64ad
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions packages/components/button-group/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import ButtonGroup from './src/button-group.vue'
export const PuikButtonGroup = withInstall(ButtonGroup)
export const PuikButtonGroupCe = defineCustomElement(PuikButtonGroup)

if (!customElements.get('puik-button-group-ce')) {
customElements.define('puik-button-group-ce', PuikButtonGroupCe)
}

export * from './src/button-group'

export default PuikButtonGroup
4 changes: 0 additions & 4 deletions packages/components/button/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import Button from './src/button.vue'
export const PuikButton = withInstall(Button)
export const PuikButtonCe = defineCustomElement(PuikButton)

if (!customElements.get('puik-button-ce')) {
customElements.define('puik-button-ce', PuikButtonCe)
}

export * from './src/button'

export default PuikButton
4 changes: 0 additions & 4 deletions packages/components/icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import Icon from './src/icon.vue'
export const PuikIcon = withInstall(Icon)
export const PuikIconCe = defineCustomElement(PuikIcon)

if (!customElements.get('puik-icon-ce')) {
customElements.define('puik-icon-ce', PuikIconCe)
}

export * from './src/icon'

export default PuikIcon
4 changes: 0 additions & 4 deletions packages/components/input/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import Input from './src/input.vue'
export const PuikInput = withInstall(Input)
export const PuikInputCe = defineCustomElement(PuikInput)

if (!customElements.get('puik-input-ce')) {
customElements.define('puik-input-ce', PuikInputCe)
}

export * from './src/input'

export default PuikInput
4 changes: 0 additions & 4 deletions packages/components/tooltip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import Tooltip from './src/tooltip.vue'
export const PuikTooltip = withInstall(Tooltip)
export const PuikTooltipCe = defineCustomElement(PuikTooltip)

if (!customElements.get('puik-tooltip-ce')) {
customElements.define('puik-tooltip-ce', PuikTooltipCe)
}

export * from './src/tooltip'

export default PuikTooltip

0 comments on commit b0e64ad

Please sign in to comment.