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

Commit

Permalink
chore: use main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
codebender828 committed Jan 24, 2023
1 parent f420f5c commit 95ce8c3
Show file tree
Hide file tree
Showing 57 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: PR Workflow
on:
pull_request:
branches:
- master
- main
- develop
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- "packages/**"
branches:
- master
- main

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion _templates/generator/component/component.tsx.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ to: packages/<%=h.changeCase.paramCase(name)%>/src/<%=h.changeCase.paramCase(nam
* <%=h.changeCase.sentence(description)%>
*
* @see Docs https://next.vue.chakra-ui.com/<%=h.changeCase.paramCase(name)%>
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/<%=h.changeCase.paramCase(name)%>/src/<%=h.changeCase.paramCase(name)%>/<%=h.changeCase.paramCase(name)%>.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/<%=h.changeCase.paramCase(name)%>/src/<%=h.changeCase.paramCase(name)%>/<%=h.changeCase.paramCase(name)%>.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/c-accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
"description": "Chakra UI Vue | CAccordion component",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-accordion",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-accordion",
"author": "Jonathan Bakebwa codebender828@gmail.com",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/c-alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
"description": "Chakra UI Vue | CAlert component",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-alert",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-alert",
"author": "Jonathan Bakebwa codebender828@gmail.com",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/c-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-avatar.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-avatar",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-avatar",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/c-avatar/src/c-avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The avatar component is used to represent user and displays the profile picture initials or fallback icon
*
* @see Docs https://next.vue.chakra-ui.com/c-avatar
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-avatar/src/c-avatar/c-avatar.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-avatar/src/c-avatar/c-avatar.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down Expand Up @@ -114,8 +114,8 @@ export { AvatarContextProvider, useAvatarContext }

export interface CAvatarProps
extends AvatarOptions,
ThemingProps<"Avatar">,
HTMLChakraProps<"span"> {
ThemingProps<"Avatar">,
HTMLChakraProps<"span"> {
/**
* Icon name or component
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/c-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-breadcrumb",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-breadcrumb",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/c-breadcrumb/src/c-breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Breadcrumbs help users visualize their current location in relation to the rest of the website or application by showing the hierarchy of pages
*
* @see Docs https://next.vue.chakra-ui.com/breadcrumb
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-breadcrumb/src/c-breadcrumb/c-breadcrumb.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-breadcrumb/src/c-breadcrumb/c-breadcrumb.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down Expand Up @@ -57,8 +57,8 @@ export interface BreadcrumbOptions {

export interface BreadcrumbProps
extends ChakraProps,
BreadcrumbOptions,
ThemingProps<"Breadcrumb"> {}
BreadcrumbOptions,
ThemingProps<"Breadcrumb"> { }

/**
* CBreadcrumb is used to render a breadcrumb navigation landmark.
Expand Down Expand Up @@ -87,14 +87,14 @@ export const CBreadcrumb: DefineComponent<BreadcrumbProps> = defineComponent(
return typeof props.separator === "string"
? props.separator
: isObjectComponent(props.separator!)
? // TODO:
? // TODO:
// Add support for
// object components. ATM,
// This computed property will only
// work for functional components provided as
// separators
h(() => props.separator!)
: h(props.separator!)
: h(props.separator!)
}
})

Expand Down Expand Up @@ -198,7 +198,7 @@ interface BreadcrumbItemOptions extends BreadcrumbOptions {

export interface BreadcrumbItemProps
extends BreadcrumbItemOptions,
ChakraProps {}
ChakraProps { }

export const CBreadcrumbItem: DefineComponent<BreadcrumbItemProps> =
defineComponent((props: BreadcrumbItemProps, { attrs, slots }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/c-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
"description": "Chakra UI Vue | CButton component",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-button",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-button",
"author": "Jonathan Bakebwa codebender828@gmail.com",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/c-checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-checkbox.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-checkbox",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-checkbox",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/c-checkbox/src/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* C checkbox component is used in forms when a user needs to select multiple values from several options
*
* @see Docs https://next.vue.chakra-ui.com/c-checkbox
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-checkbox/src/c-checkbox/c-checkbox.tsx
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-checkbox/src/c-checkbox/c-checkbox.tsx
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down Expand Up @@ -117,8 +117,8 @@ export interface CCheckboxControlProps {

export interface CCheckboxProps
extends HTMLChakraProps<"input">,
ThemingProps<"Checkbox">,
CCheckboxControlProps {
ThemingProps<"Checkbox">,
CCheckboxControlProps {
/**
* The spacing between the checkbox and its label text
* @default 0.5rem
Expand Down
2 changes: 1 addition & 1 deletion packages/c-close-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-close-button",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-close-button",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-code",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-code",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-color-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-color-mode",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-color-mode",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-flex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-flex",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-flex",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-focus-lock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-focus-lock",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-focus-lock",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-form-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-form-control.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-form-control",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-form-control",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/c-form-control/src/c-form-control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Form control component is used to manage form controls such input fields checkbox and radio buttons it provides components and context that make your form fields accessible by default
*
* @see Docs https://next.vue.chakra-ui.com/c-form-control
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-form-control/src/c-form-control/c-form-control.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-form-control/src/c-form-control/c-form-control.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down Expand Up @@ -79,7 +79,7 @@ export const CFormControl: ComponentWithProps<DeepPartial<CFormControlProps>> =
},
})

export interface CHelpTextProps extends HTMLChakraProps<"div"> {}
export interface CHelpTextProps extends HTMLChakraProps<"div"> { }
/**
* CFormHelperText
*
Expand Down
2 changes: 1 addition & 1 deletion packages/c-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-icon.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-icon",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-icon",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-image.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-image",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-image",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/c-image/src/c-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Image
*
* @see Docs https://next.vue.chakra-ui.com/c-image
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-image/src/c-image/c-image.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-image/src/c-image/c-image.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down Expand Up @@ -74,8 +74,8 @@ interface ImageOptions extends NativeImageOptions {

export interface CImageProps
extends UseImageProps,
Omit<HTMLChakraProps<"img">, keyof UseImageProps>,
ImageOptions {}
Omit<HTMLChakraProps<"img">, keyof UseImageProps>,
ImageOptions { }

// @ts-ignore
export const CImage: ComponentWithProps<DeepPartial<CImageProps>> =
Expand Down
2 changes: 1 addition & 1 deletion packages/c-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-input.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-input",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-input",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/c-input/src/c-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Input component is a component that is used to get user input in a text field
*
* @see Docs https://next.vue.chakra-ui.com/c-input
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-input/src/c-input/c-input.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-input/src/c-input/c-input.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down Expand Up @@ -58,12 +58,12 @@ interface InputOptions {

type Omitted = "disabled" | "required" | "readOnly" | "size"

interface CInputNativeProps extends InputOptions, FormControlOptions {}
interface CInputNativeProps extends InputOptions, FormControlOptions { }

export interface CInputProps
extends Omit<HTMLChakraProps<"span">, Omitted>,
CInputNativeProps,
ThemingProps<"Input"> {
CInputNativeProps,
ThemingProps<"Input"> {
modelValue: string
}

Expand Down
2 changes: 1 addition & 1 deletion packages/c-media-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-media-query.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-media-query",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-media-query",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-modal",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-modal",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-modal/src/c-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* An accessible dialog modal component for chakra ui vue.
*
* @see Docs https://next.vue.chakra-ui.com/modal
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-modal/src/c-modal.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-modal/src/c-modal.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/c-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-motion",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-motion",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-motion/src/animate-presence.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* to apply transitions to it's children
*
* @see Docs https://next.vue.chakra-ui.com/c-motion
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-motion/src/c-motion/c-animate-presence.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-motion/src/c-motion/c-animate-presence.ts
*/

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/c-motion/src/c-motion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Chakra ui vue motion and transition components and utilities
*
* @see Docs https://next.vue.chakra-ui.com/c-motion
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-motion/src/c-motion/c-motion.ts
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-motion/src/c-motion/c-motion.ts
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/c-pin-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./dist/chakra-ui-c-pin-input.esm.js"
}
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-pin-input",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-pin-input",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/c-pin-input/src/c-pin-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The pin input component is similar to the input component but is optimized for entering sequences of digits quickly
*
* @see Docs https://next.vue.chakra-ui.com/c-pin-input
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/master/packages/c-pin-input/src/c-pin-input/c-pin-input.tsx
* @see Source https://github.com/chakra-ui/chakra-ui-vue-next/blob/main/packages/c-pin-input/src/c-pin-input/c-pin-input.tsx
* @see WAI-ARIA https://www.w3.org/TR/wai-aria-practices-1.2
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/c-popper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-popper",
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-popper",
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
},
Expand Down
Loading

0 comments on commit 95ce8c3

Please sign in to comment.