Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit df13860

Browse files
committed
refactor(avatar): use latest iteration
1 parent 6e49ebd commit df13860

File tree

80 files changed

+1634
-660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1634
-660
lines changed

@types/components.d.ts

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/**
2-
* Typescript support for @@chakra-ui/vue-next2.0.0-beta.0 auto-imported
2+
* Typescript support for @chakra-ui/vue-next2.0.0-beta.0 auto-imported
33
* components using `unplugin-vue-components,`
44
*
55
* @see: https://github.com/antfu/unplugin-vue-components/#typescript
66
*
77
* This is a generated file. Do not edit it's contents.
88
*
9-
* This file was generated on 2023-01-22T07:36:55.397Z
9+
* This file was generated on 2023-01-23T09:41:37.527Z
1010
*/
1111

12-
import { ChakraProps } from "@chakra-ui/vue-system"
12+
import { ChakraProps, chakra } from "@chakra-ui/vue-system"
1313
import { VNodeChild, VNode, HTMLAttributes } from "vue"
1414

1515
export type JsxNode = VNodeChild | JSX.Element
@@ -53,12 +53,12 @@ type JsxComponentCustomProps = {
5353
innerHTML?: JsxNode
5454
}
5555

56-
declare var chakra: typeof import("@chakra-ui/vue-next")["chakra"]
57-
5856
declare module "@vue/runtime-core" {
5957
/* Global component types for Volar auto-complete */
6058
export interface GlobalComponents {
6159
chakra: typeof import("@chakra-ui/vue-next")["chakra"]
60+
CDarkMode: typeof import("@chakra-ui/vue-next")["CDarkMode"]
61+
CLightMode: typeof import("@chakra-ui/vue-next")["CLightMode"]
6262
CAccordion: typeof import("@chakra-ui/vue-next")["CAccordion"]
6363
CAccordionButton: typeof import("@chakra-ui/vue-next")["CAccordionButton"]
6464
CAccordionIcon: typeof import("@chakra-ui/vue-next")["CAccordionIcon"]
@@ -153,66 +153,66 @@ declare module "@vue/runtime-core" {
153153
CScrollLock: typeof import("@chakra-ui/vue-next")["CScrollLock"]
154154
CVisuallyHidden: typeof import("@chakra-ui/vue-next")["CVisuallyHidden"]
155155
CVisuallyHiddenInput: typeof import("@chakra-ui/vue-next")["CVisuallyHiddenInput"]
156-
"chakra.a": typeof import("@chakra-ui/vue-next")["CBox"]
157-
"chakra.b": typeof import("@chakra-ui/vue-next")["CBox"]
158-
"chakra.article": typeof import("@chakra-ui/vue-next")["CBox"]
159-
"chakra.aside": typeof import("@chakra-ui/vue-next")["CBox"]
160-
"chakra.blockquote": typeof import("@chakra-ui/vue-next")["CBox"]
161-
"chakra.button": typeof import("@chakra-ui/vue-next")["CBox"]
162-
"chakra.caption": typeof import("@chakra-ui/vue-next")["CBox"]
163-
"chakra.cite": typeof import("@chakra-ui/vue-next")["CBox"]
164-
"chakra.circle": typeof import("@chakra-ui/vue-next")["CBox"]
165-
"chakra.code": typeof import("@chakra-ui/vue-next")["CBox"]
166-
"chakra.dd": typeof import("@chakra-ui/vue-next")["CBox"]
167-
"chakra.div": typeof import("@chakra-ui/vue-next")["CBox"]
168-
"chakra.dl": typeof import("@chakra-ui/vue-next")["CBox"]
169-
"chakra.dt": typeof import("@chakra-ui/vue-next")["CBox"]
170-
"chakra.fieldset": typeof import("@chakra-ui/vue-next")["CBox"]
171-
"chakra.figcaption": typeof import("@chakra-ui/vue-next")["CBox"]
172-
"chakra.figure": typeof import("@chakra-ui/vue-next")["CBox"]
173-
"chakra.footer": typeof import("@chakra-ui/vue-next")["CBox"]
174-
"chakra.form": typeof import("@chakra-ui/vue-next")["CBox"]
175-
"chakra.h1": typeof import("@chakra-ui/vue-next")["CBox"]
176-
"chakra.h2": typeof import("@chakra-ui/vue-next")["CBox"]
177-
"chakra.h3": typeof import("@chakra-ui/vue-next")["CBox"]
178-
"chakra.h4": typeof import("@chakra-ui/vue-next")["CBox"]
179-
"chakra.h5": typeof import("@chakra-ui/vue-next")["CBox"]
180-
"chakra.h6": typeof import("@chakra-ui/vue-next")["CBox"]
181-
"chakra.header": typeof import("@chakra-ui/vue-next")["CBox"]
182-
"chakra.hr": typeof import("@chakra-ui/vue-next")["CBox"]
183-
"chakra.iframe": typeof import("@chakra-ui/vue-next")["CBox"]
184-
"chakra.img": typeof import("@chakra-ui/vue-next")["CBox"]
185-
"chakra.input": typeof import("@chakra-ui/vue-next")["CBox"]
186-
"chakra.kbd": typeof import("@chakra-ui/vue-next")["CBox"]
187-
"chakra.label": typeof import("@chakra-ui/vue-next")["CBox"]
188-
"chakra.li": typeof import("@chakra-ui/vue-next")["CBox"]
189-
"chakra.mark": typeof import("@chakra-ui/vue-next")["CBox"]
190-
"chakra.main": typeof import("@chakra-ui/vue-next")["CBox"]
191-
"chakra.nav": typeof import("@chakra-ui/vue-next")["CBox"]
192-
"chakra.ol": typeof import("@chakra-ui/vue-next")["CBox"]
193-
"chakra.p": typeof import("@chakra-ui/vue-next")["CBox"]
194-
"chakra.path": typeof import("@chakra-ui/vue-next")["CBox"]
195-
"chakra.pre": typeof import("@chakra-ui/vue-next")["CBox"]
196-
"chakra.q": typeof import("@chakra-ui/vue-next")["CBox"]
197-
"chakra.rect": typeof import("@chakra-ui/vue-next")["CBox"]
198-
"chakra.s": typeof import("@chakra-ui/vue-next")["CBox"]
199-
"chakra.svg": typeof import("@chakra-ui/vue-next")["CBox"]
200-
"chakra.section": typeof import("@chakra-ui/vue-next")["CBox"]
201-
"chakra.select": typeof import("@chakra-ui/vue-next")["CBox"]
202-
"chakra.strong": typeof import("@chakra-ui/vue-next")["CBox"]
203-
"chakra.small": typeof import("@chakra-ui/vue-next")["CBox"]
204-
"chakra.span": typeof import("@chakra-ui/vue-next")["CBox"]
205-
"chakra.sub": typeof import("@chakra-ui/vue-next")["CBox"]
206-
"chakra.sup": typeof import("@chakra-ui/vue-next")["CBox"]
207-
"chakra.table": typeof import("@chakra-ui/vue-next")["CBox"]
208-
"chakra.tbody": typeof import("@chakra-ui/vue-next")["CBox"]
209-
"chakra.td": typeof import("@chakra-ui/vue-next")["CBox"]
210-
"chakra.textarea": typeof import("@chakra-ui/vue-next")["CBox"]
211-
"chakra.tfoot": typeof import("@chakra-ui/vue-next")["CBox"]
212-
"chakra.th": typeof import("@chakra-ui/vue-next")["CBox"]
213-
"chakra.thead": typeof import("@chakra-ui/vue-next")["CBox"]
214-
"chakra.tr": typeof import("@chakra-ui/vue-next")["CBox"]
215-
"chakra.ul": typeof import("@chakra-ui/vue-next")["CBox"]
156+
"chakra.a": (typeof chakra)["a"]
157+
"chakra.b": (typeof chakra)["b"]
158+
"chakra.article": (typeof chakra)["article"]
159+
"chakra.aside": (typeof chakra)["aside"]
160+
"chakra.blockquote": (typeof chakra)["blockquote"]
161+
"chakra.button": (typeof chakra)["button"]
162+
"chakra.caption": (typeof chakra)["caption"]
163+
"chakra.cite": (typeof chakra)["cite"]
164+
"chakra.circle": (typeof chakra)["circle"]
165+
"chakra.code": (typeof chakra)["code"]
166+
"chakra.dd": (typeof chakra)["dd"]
167+
"chakra.div": (typeof chakra)["div"]
168+
"chakra.dl": (typeof chakra)["dl"]
169+
"chakra.dt": (typeof chakra)["dt"]
170+
"chakra.fieldset": (typeof chakra)["fieldset"]
171+
"chakra.figcaption": (typeof chakra)["figcaption"]
172+
"chakra.figure": (typeof chakra)["figure"]
173+
"chakra.footer": (typeof chakra)["footer"]
174+
"chakra.form": (typeof chakra)["form"]
175+
"chakra.h1": (typeof chakra)["h1"]
176+
"chakra.h2": (typeof chakra)["h2"]
177+
"chakra.h3": (typeof chakra)["h3"]
178+
"chakra.h4": (typeof chakra)["h4"]
179+
"chakra.h5": (typeof chakra)["h5"]
180+
"chakra.h6": (typeof chakra)["h6"]
181+
"chakra.header": (typeof chakra)["header"]
182+
"chakra.hr": (typeof chakra)["hr"]
183+
"chakra.iframe": (typeof chakra)["iframe"]
184+
"chakra.img": (typeof chakra)["img"]
185+
"chakra.input": (typeof chakra)["input"]
186+
"chakra.kbd": (typeof chakra)["kbd"]
187+
"chakra.label": (typeof chakra)["label"]
188+
"chakra.li": (typeof chakra)["li"]
189+
"chakra.mark": (typeof chakra)["mark"]
190+
"chakra.main": (typeof chakra)["main"]
191+
"chakra.nav": (typeof chakra)["nav"]
192+
"chakra.ol": (typeof chakra)["ol"]
193+
"chakra.p": (typeof chakra)["p"]
194+
"chakra.path": (typeof chakra)["path"]
195+
"chakra.pre": (typeof chakra)["pre"]
196+
"chakra.q": (typeof chakra)["q"]
197+
"chakra.rect": (typeof chakra)["rect"]
198+
"chakra.s": (typeof chakra)["s"]
199+
"chakra.svg": (typeof chakra)["svg"]
200+
"chakra.section": (typeof chakra)["section"]
201+
"chakra.select": (typeof chakra)["select"]
202+
"chakra.strong": (typeof chakra)["strong"]
203+
"chakra.small": (typeof chakra)["small"]
204+
"chakra.span": (typeof chakra)["span"]
205+
"chakra.sub": (typeof chakra)["sub"]
206+
"chakra.sup": (typeof chakra)["sup"]
207+
"chakra.table": (typeof chakra)["table"]
208+
"chakra.tbody": (typeof chakra)["tbody"]
209+
"chakra.td": (typeof chakra)["td"]
210+
"chakra.textarea": (typeof chakra)["textarea"]
211+
"chakra.tfoot": (typeof chakra)["tfoot"]
212+
"chakra.th": (typeof chakra)["th"]
213+
"chakra.thead": (typeof chakra)["thead"]
214+
"chakra.tr": (typeof chakra)["tr"]
215+
"chakra.ul": (typeof chakra)["ul"]
216216
}
217217

218218
/* Component custom props types for JSX and TSX auto complete */

@types/cypress.d.ts renamed to @types/cypress-shims.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
/// <reference types="cypress" />
22

3-
import { Component } from "vue"
43
import { mount } from "@cypress/vue"
54

6-
import { DefineComponent } from "vue"
7-
85
// cypress/support/index.ts
96
declare global {
107
namespace Cypress {

@types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import "./components"
2+
import "./cypress-shims"
3+
import "./env"
4+
import "./vue-shims"

_templates/generator/composable/README.md.ejs.t

Lines changed: 0 additions & 15 deletions
This file was deleted.

_templates/generator/composable/component.tsx.ejs.t

Lines changed: 0 additions & 39 deletions
This file was deleted.

_templates/generator/composable/examples.vue.ejs.t

Lines changed: 0 additions & 10 deletions
This file was deleted.

_templates/generator/composable/index.ts.ejs.t

Lines changed: 0 additions & 5 deletions
This file was deleted.

_templates/generator/composable/package.json.ejs.t

Lines changed: 0 additions & 46 deletions
This file was deleted.

_templates/generator/composable/src-index.tsx.ejs.t

Lines changed: 0 additions & 5 deletions
This file was deleted.

_templates/generator/composable/test-file.test.ts.ejs.t

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)