Skip to content

feat: element type #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2023
Merged

feat: element type #85

merged 1 commit into from
May 4, 2023

Conversation

productdevbook
Copy link
Contributor

@productdevbook productdevbook commented May 4, 2023

<script setup lang="ts">
import { onMounted, ref } from 'vue'
import type { OkuLabelElement } from '@oku-ui/label'
import { OkuLabel } from '@oku-ui/label'

const labelRef = ref<OkuLabelElement>()
onMounted(() => {
  console.log(labelRef.value?.innerRef)
})
</script>

<template>
    <div class="flex flex-col">
      <OkuLabel ref="labelRef" class="text-black text-2xl" for="firstName">
        Label
      </OkuLabel>
      <input id="firstName" class="mt-4" type="text" defaultValue="Pedro Duarte">
    </div>
</template>

@productdevbook productdevbook self-assigned this May 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

Coverage Summary

Status Category Percentage Covered / Total
🔵 Lines 63.3% 157 / 248
🔵 Statements 63.3% 157 / 248
🔵 Functions 50% 5 / 10
🔵 Branches 69.23% 9 / 13
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
packages/core/primitive/src/index.ts 100% 100% 100% 100%
packages/core/primitive/src/primitive.ts 100% 62.5% 100% 100%
packages/core/provide/src/createProvide.ts 33.57% 75% 33.33% 33.57% 23-30, 51-107, 109-134
packages/core/provide/src/index.ts 100% 100% 0% 100%

@productdevbook productdevbook merged commit 052417d into main May 4, 2023
@productdevbook productdevbook deleted the element-type branch May 4, 2023 18:00
This was referenced May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant