diff --git a/CHANGELOG.md b/CHANGELOG.md index d15954e13..8c7088fba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +### Bug Fixes + +- **VAvatar:** fix avatar font size variable and text-transform ([51ee85a](https://github.com/gitsindonesia/ui-component/commit/51ee85ac72659aa34d92023c158c4bb182c9c2e2)) + +### Features + +- **VSwitch:** customizable switch with CSS Properties ([#53](https://github.com/gitsindonesia/ui-component/issues/53)) ([93dd68e](https://github.com/gitsindonesia/ui-component/commit/93dd68e64cae64952a7d6f5ea3623bef680b7979)) +- **VToast:** revamp toast component ([#52](https://github.com/gitsindonesia/ui-component/issues/52)) ([f0415d5](https://github.com/gitsindonesia/ui-component/commit/f0415d5ee20cfa8a9c1fa1573c5bf7ec1240e5f7)) + ## [0.13.8](https://github.com/gitsindonesia/ui-component/compare/v0.13.7...v0.13.8) (2022-12-02) ### Features diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index ef2828cca..41ce76b39 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -114,6 +114,10 @@ export default defineConfig({ text: 'Stepper', link: '/components/stepper', }, + { + text: 'Switch', + link: '/components/switch', + }, { text: 'Tabs', link: '/components/tabs', @@ -136,6 +140,10 @@ export default defineConfig({ text: 'Button', link: '/components/button', }, + { + text: 'Checkbox', + link: '/components/checkbox', + }, { text: 'Editor', link: '/components/editor', @@ -160,6 +168,10 @@ export default defineConfig({ text: 'QuillEditor', link: '/components/quill-editor', }, + { + text: 'Radio', + link: '/components/radio', + }, ], }, ], diff --git a/docs/components/checkbox.md b/docs/components/checkbox.md new file mode 100644 index 000000000..2498014cd --- /dev/null +++ b/docs/components/checkbox.md @@ -0,0 +1,309 @@ +# Checkbox + +Form input checkbox component. + +## Usage + +### Basic Usage + +```vue + + + +``` + + + +::: info +The `VCheckbox` component is registered globally when you install with `@gits-id/ui`. So you don't need to import it manually. +::: + +### Disabled + +```vue + + + +``` + + + +### Multiple + +```vue + + + +``` + + + +### Validation + +```vue + + + +``` + + + +### Validation Mode + +```vue + + + +``` + + + +## Props + +| Name | Type | Default | +| ------------------------------------- | ---------------------------- | ----------- | +| [`modelValue`](#modelValue) | `Boolean` | `false` | +| [`label`](#label) | `String` | `''` | +| [`labelClass`](#labelClass) | `String` | `''` | +| [`inputClass`](#inputClass) | `String` | `''` | +| [`color`](#color) | `String as PropType` | `'primary'` | +| [`size`](#size) | `String` | `''` | +| [`validationMode`](#validationMode) | `String` | `''` | +| ~~value~~ | `String` | `''` | +| [`name`](#name) | `String` | `''` | +| [`id`](#id) | `String` | `''` | +| [`rules`](#rules) | `String` | `''` | +| [`wrapperClass`](#wrapperClass) | `String` | `''` | +| [`checkedValue`](#checkedValue) | `String` | `''` | +| [`uncheckedValue`](#uncheckedValue) | `String` | `''` | +| [`disabled`](#disabled) | `String` | `''` | +| ~~disabledClass | `String` | `''` | +| [`errorClass`](#errorClass) | `String` | `''` | + +## Events + +### `update:modelValue` + +**Type**: + +```ts +(event: 'update:modelValue', value: boolean): void +``` + +**Example**: + +```vue + + + +``` + +## Slots + +None + +## CSS Variables + +```css +:root { + --v-checkbox-bg-color: theme('colors.white'); + --v-checkbox-border-width: 1px; + --v-checkbox-border-style: solid; + --v-checkbox-border-color: theme('colors.gray.500'); + --v-checkbox-border-radius: theme('borderRadius.DEFAULT'); +} +``` + +## Manual Installation + +You can also install the `Checkbox` component individually via `@gits-id/forms` package: + +```bash +npm i @gits-id/forms +``` + +```vue + + + +``` + +## Storybook + +View Storybook documentation [here](https://gits-ui.web.app/?path=/story/forms-checkbox--default). diff --git a/docs/components/menus.md b/docs/components/menus.md index bfb23e7e0..fc7677f3a 100644 --- a/docs/components/menus.md +++ b/docs/components/menus.md @@ -164,11 +164,12 @@ const items = [ | Name | Type | Default | | --------------------------- | --------------------------------------------------------------------------------------------------- | ---------------- | -| [`items`](#items) | `VMenuItem[]` | `[]` | +| [`items`](#items) | [`VMenuItem[]`](#VMenuItem) | `[]` | | [`right`](#right) | `Boolean` | `false` | | [`small`](#small) | `Boolean` | `false` | -| [`rightIcon`](#rightIcon) | `Boolean` | `false` | +| ~~rightIcon~~ | `Boolean` | `false` | | [`btnClass`](#btnClass) | `String` | `''` | +| [`btnIcon`](#btnIcon) | `String` | `'ri:arrow-down-s-line'` | | [`btnIconClass`](#btnClass) | `String` | `''` | | [`placement`](#placement) | `String`. See [available options](https://floating-vue.starpad.dev/guide/component.html#placements) | `'bottom-start'` | | [`label`](#label) | `String` | `'Menu'` | @@ -184,6 +185,11 @@ export interface VMenuItem { } ``` +::: info +- ❌ = deprecated +- ~~propName~~ = deprecated +::: + ## Methods None diff --git a/docs/components/radio.md b/docs/components/radio.md new file mode 100644 index 000000000..8ddca07fc --- /dev/null +++ b/docs/components/radio.md @@ -0,0 +1,166 @@ +# Radio + +Form input radio component. + +## Usage + +### Basic Usage + +```vue + + + +``` + + + +::: info +The `VRadio` component is registered globally when you install with `@gits-id/ui`. So you don't need to import it manually. +::: + +### Disabled + +```vue + + + +``` + + + +### Validation + +```vue + + + +``` + + + +## Props + +| Name | Type | Default | +| --------------------------------- | ------- | ---------------------------------------------------- | +| [`modelValue`](#modelValue) | `String` | `''` | +| [`value`](#value) | `String` | `''` | +| [`label`](#label) | `String` | `''` | +| [`inputClass`](#inputClass) | `String` | `''` | +| [`color`](#color) | `String` | `'primary'` | +| [`name`](#name) | `String` | `''` | +| [`id`](#id) | `String` | `''` | +| [`rules`](#rules) | `String` | `''` | +| [`labelClass`](#labelClass) | `String` | `''` | +| [`wrapperClass`](#wrapperClass) | `String` | `''` | +| [`groupClass`](#groupClass) | `String` | `''` | +| [`hideError`](#hideError) | `Boolean` | `false` | +| [`disabled`](#disabled) | `Boolean` | `false` | +| [`disabledClass`](#disabledClass) | `String` | `'disabled:text-gray-200 disabled:cursor-not-allowed'` | + +## Events + +### `update:modelValue` + +**Type**: + +```ts +(event: 'update:modelValue', value: boolean): void +``` + +**Example**: + +```vue + + + +``` + +## Slots + +None + +## CSS Variables + +None + +## Manual Installation + +You can also install the `Radio` component individually via `@gits-id/forms` package: + +```bash +npm i @gits-id/forms +``` + +```vue + + + +``` + +## Storybook + +View Storybook documentation [here](https://gits-ui.web.app/?path=/story/forms-radio--default). diff --git a/docs/components/switch.md b/docs/components/switch.md new file mode 100644 index 000000000..c9c5aa4b3 --- /dev/null +++ b/docs/components/switch.md @@ -0,0 +1,251 @@ +# Switch + +Vue Switch / Toggle component. + +## Usage + +### Basic Usage + +```vue + + + +``` + + + +::: info +The `VSwitch` component is registered globally when you install with `@gits-id/ui`. So you don't need to import it manually. +::: + +### Colors + +```vue + + + +``` + + + +### No Label + +```vue + + + +``` + + + +### Custom Class + +```vue + + + +``` + + + +### Custom Style + +```vue + + + +``` + + + +### Validation + +```vue + + + +``` + + + +## Props + +| Name | Type | Default | +| --------------------------------------- | ---------------------------- | ----------- | +| [`modelValue`](#modelValue) | `Boolean` | `false` | +| [`label`](#label) | `String` | `''` | +| [`color`](#color) | `String as PropType` | `'primary'` | +| [`inactiveClass`](#inactiveClass) | `String` | `''` | +| [`activeClass`](#activeClass) | `String` | `''` | +| [`buttonClass`](#buttonClass) | `String` | `''` | +| [`wrapperClass`](#wrapperClass) | `String` | `''` | +| [`switchClass`](#switchClass) | `String` | `''` | +| [`switchGroupClass`](#switchGroupClass) | `String` | `''` | +| [`labelClass`](#labelClass) | `String` | `''` | +| [`name`](#name) | `String` | `''` | +| [`rules`](#rules) | `String` | `''` | +| [`errorClass`](#errorClass) | `String` | `''` | + +## Events + +### `update:modelValue` + +**Type**: +```ts +(event: 'update:modelValue', value: boolean): void +``` + +**Example**: + +```vue + + + +``` + +## Slots + +None + +## CSS Variables + +```css +:root { + --v-switch-width: theme('width.full'); + /* button */ + --v-switch-button-bg-color: theme('colors.primary.500'); + --v-switch-button-border-color: theme('colors.primary.500'); + --v-switch-button-width: theme('width.11'); + --v-switch-button-height: theme('height.6'); + --v-switch-button-padding-y: theme('padding.0'); + --v-switch-button-padding-x: theme('padding.0'); + /* thumb */ + --v-switch-thumb-bg-color: theme('colors.white'); + --v-switch-thumb-width: theme('width.5'); + --v-switch-thumb-height: theme('height.5'); + --v-switch-thumb-border-radius: theme('borderRadius.full'); + /* label */ + --v-switch-label-font-size: theme('fontSize.base'); + --v-switch-label-font-weight: theme('fontWeight.normal'); +} +``` + +## Manual Installation + +You can also install the `Switch` component individually via `@gits-id/switch` package: + +```bash +npm i @gits-id/switch +``` + +```vue + + + +``` + +## Storybook + +View Storybook documentation [here](https://gits-ui.web.app/?path=/story/components-switch--default). diff --git a/docs/components/toast.md b/docs/components/toast.md index 34c28747f..4a420d4e0 100644 --- a/docs/components/toast.md +++ b/docs/components/toast.md @@ -1,16 +1,21 @@ # Toast +Vue toast component. + ## Usage ### Basic Usage ```vue + + ``` @@ -20,144 +25,210 @@ The `VToast` component is registered globally when you install with `@gits-id/ui`. So you don't need to import it manually. ::: -### Title +### Icon ```vue + + ``` - + -### Icon +### Placement ```vue + + ``` - + -### Actions +### Colors ```vue + + ``` - + -### Custom +### Slots ```vue + + ``` - + ## Props -| Name | Type | Default | -| ------------------------------- | --------- | ----------- | -| [`modelValue`](#modelValue) | `boolean` | `'false'` | -| [`title`](#title) | `string` | `''` | -| [`color`](#color) | `string` | `'white'` | -| [`confirmColor`](#confirmColor) | `string` | `'primary'` | -| [`confirmProps`](#confirmProps) | `object` | `{}` | -| [`confirmText`](#confirmText) | `string` | `'Confirm'` | -| [`closeText`](#closeText) | `string` | `'Close'` | -| [`closeProps`](#closeProps) | `object` | `{}` | -| [`headerClass`](#headerClass) | `string` | `''` | -| [`bodyClass`](#bodyClass) | `string` | `''` | -| [`actionsClass`](#actionsClass) | `string` | `''` | -| [`placement`](#placement) | `string` | `''` | -| [`timeout`](#timeout) | `mumber` | `0` | -| [`type`](#type) | `string` | `''` | -| [`hideXIcon`](#hideXIcon) | `boolean` | `'false'` | -| [`overlay`](#overlay) | `boolean` | `false''` | -| [`loading`](#loading) | `boolean` | `'false'` | -| [`presistent`](#presistent) | `boolean` | `'false'` | - -## Methods - -None +| Name | Type | Default | +| ---------------------------------- | --------- | ----------- | +| [`modelValue`](#modelValue) | `boolean` | `'false'` | +| [`title`](#title) ❌ | `string` | `''` | +| [`color`](#color) ❌ | `string` | `'default'` | +| [`confirmColor`](#confirmColor) ❌ | `string` | `'primary'` | +| [`confirmProps`](#confirmProps) ❌ | `object` | `{}` | +| [`confirmText`](#confirmText) ❌ | `string` | `'Confirm'` | +| [`closeText`](#closeText) ❌ | `string` | `'Close'` | +| [`closeProps`](#closeProps) ❌ | `object` | `{}` | +| [`headerClass`](#headerClass) ❌ | `string` | `''` | +| [`bodyClass`](#bodyClass) ❌ | `string` | `''` | +| [`actionsClass`](#actionsClass) ❌ | `string` | `''` | +| [`placement`](#placement) | `string` | `''` | +| [`timeout`](#timeout) | `mumber` | `0` | +| [`type`](#type) ❌ | `string` | `''` | +| [`hideXIcon`](#hideXIcon) ❌ | `boolean` | `'false'` | +| [`overlay`](#overlay) ❌ | `boolean` | `false''` | +| [`loading`](#loading) ❌ | `boolean` | `'false'` | +| [`presistent`](#presistent) ❌ | `boolean` | `'false'` | +| [`transition`](#transition) | `String` | `''` | +| [`icon`](#icon) | `String` | `''` | +| [`iconSize`](#iconSize) | `String` | `'md'` | +| [`iconClass`](#iconClass) | `String` | `''` | +| [`contentClass`](#contentClass) | `String` | `''` | +| [`actionClass`](#actionClass) | `String` | `''` | + +- ❌ = deprecated ## Events -| Name | Type | Default | -| ---------------------------------------- | --------- | ------- | -| [`confirm`](#confirm) | `unknown` | `-` | -| [`update:modelValue`](#updateModelValue) | `unknown` | `-` | -| [`open`](#open) | `unknown` | `-` | -| [`close`](#close) | `unknown` | `-` | +| Name | Payload | +| ---------------------------------------- | ---------------- | +| [`update:modelValue`](#updateModelValue) | `value: boolean` | ## Slots -| Name | Type | Default | -| ------------------------------- | --------- | ------- | -| [`actions`](#actions) | `unknown` | `-` | -| [`activator`](#activator) | `unknown` | `-` | -| [`media`](#media) | `unknown` | `-` | -| [`header`](#header) | `unknown` | `-` | -| [`default`](#default) | `unknown` | `-` | -| [`rightActions`](#rightActions) | `unknown` | `-` | +| Name | Props | +| --------------------- | --------------------- | +| [`action`](#action) | `{close: () => void}` | +| [`default`](#default) | `{close: () => void}` | ## CSS Variables -None +```css +:root { + /* toast */ + --v-toast-wrapper-padding-x: theme('padding.0'); + --v-toast-wrapper-padding-y: theme('padding.3'); + /* panel */ + --v-toast-padding-x: theme('padding.4'); + --v-toast-padding-y: theme('padding.3'); + --v-toast-bg-color: #2f3031; + --v-toast-text-color: white; + --v-toast-font-size: theme('fontSize.sm'); + --v-toast-font-weight: theme('fontWeight.normal'); + --v-toast-width: 328px; + --v-toast-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2), 0px 2px 10px rgba(0, 0, 0, 0.1); + --v-toast-border-radius: theme('borderRadius.DEFAULT'); + --v-toast-text-align: left; + --v-toast-gap: theme('gap.4'); +} +``` ## Manual Installation You can also install the `Toast` component individually via `@gits-id/toast` package: ```bash -yarn install @gits-id/toast +npm i @gits-id/toast ``` ```vue ``` diff --git a/lerna.json b/lerna.json index a4b18b9cc..0ee022d9a 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.13.8", + "version": "0.13.9", "npmClient": "yarn", "useWorkspaces": true } diff --git a/packages/alert/CHANGELOG.md b/packages/alert/CHANGELOG.md index 9fa004616..c63b7c3f9 100644 --- a/packages/alert/CHANGELOG.md +++ b/packages/alert/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/alert + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/alert diff --git a/packages/alert/package.json b/packages/alert/package.json index f9645d388..1237b57dc 100644 --- a/packages/alert/package.json +++ b/packages/alert/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/alert", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Alert Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,8 +15,8 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/icon": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/icon": "^0.13.9", "@gits-id/theme": "^0.13.0", "@gits-id/utils": "^0.13.0", "vue": "^3.2.33" @@ -30,6 +30,10 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "gitHead": "a66f8d89ce157b912642d9b1f1e2a80991e12ce3", "main": "dist/alert.umd.js", "unpkg": "dist/alert.iife.js", diff --git a/packages/app-bar/CHANGELOG.md b/packages/app-bar/CHANGELOG.md index 3bb478c3d..f25717cec 100644 --- a/packages/app-bar/CHANGELOG.md +++ b/packages/app-bar/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/app-bar + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/app-bar diff --git a/packages/app-bar/package.json b/packages/app-bar/package.json index 2fb4ea9c7..a9155c82a 100644 --- a/packages/app-bar/package.json +++ b/packages/app-bar/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/app-bar", - "version": "0.13.6", + "version": "0.13.9", "description": "Application Bar / Navigation Bar Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -19,19 +19,15 @@ "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/icon": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/icon": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", "tailwindcss": "^3.0.23", "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/app-bar.umd.js", "unpkg": "dist/app-bar.iife.js", "jsdelivr": "dist/app-bar.iife.js", diff --git a/packages/autocomplete/CHANGELOG.md b/packages/autocomplete/CHANGELOG.md index 77bba69c8..1abacda23 100644 --- a/packages/autocomplete/CHANGELOG.md +++ b/packages/autocomplete/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/autocomplete + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/autocomplete diff --git a/packages/autocomplete/package.json b/packages/autocomplete/package.json index ce0fa0a40..cb81fef75 100644 --- a/packages/autocomplete/package.json +++ b/packages/autocomplete/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/autocomplete", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Autocomplete Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,20 +15,24 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/icon": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/icon": "^0.13.9", "@headlessui/vue": "^1.6.0", "tailwindcss": "^3.0.23", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/autocomplete.umd.js", "unpkg": "dist/autocomplete.iife.js", "jsdelivr": "dist/autocomplete.iife.js", diff --git a/packages/avatar/CHANGELOG.md b/packages/avatar/CHANGELOG.md index 73737df28..e9e7f2e86 100644 --- a/packages/avatar/CHANGELOG.md +++ b/packages/avatar/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/avatar + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/avatar diff --git a/packages/avatar/package.json b/packages/avatar/package.json index 03d1a3319..9328a3849 100644 --- a/packages/avatar/package.json +++ b/packages/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/avatar", - "version": "0.13.6", + "version": "0.13.9", "description": "Avatar Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -19,7 +19,7 @@ "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", diff --git a/packages/badge/CHANGELOG.md b/packages/badge/CHANGELOG.md index 4e63c5186..df96f7b1c 100644 --- a/packages/badge/CHANGELOG.md +++ b/packages/badge/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/badge + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/badge diff --git a/packages/badge/package.json b/packages/badge/package.json index c7d91a679..f0b557ccc 100644 --- a/packages/badge/package.json +++ b/packages/badge/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/badge", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Badge Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,11 +15,11 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/icon": "^0.13.6", + "@gits-id/icon": "^0.13.9", "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/theme": "^0.13.0", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -28,6 +28,10 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/badge.umd.js", "unpkg": "dist/badge.iife.js", "jsdelivr": "dist/badge.iife.js", diff --git a/packages/breadcrumbs/CHANGELOG.md b/packages/breadcrumbs/CHANGELOG.md index ca4473c49..3881b1c90 100644 --- a/packages/breadcrumbs/CHANGELOG.md +++ b/packages/breadcrumbs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/breadcrumbs + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/breadcrumbs diff --git a/packages/breadcrumbs/package.json b/packages/breadcrumbs/package.json index 0479c214d..6a08dbe64 100644 --- a/packages/breadcrumbs/package.json +++ b/packages/breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/breadcrumbs", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Breadcrumbs Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,7 +15,7 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/icon": "^0.13.6", + "@gits-id/icon": "^0.13.9", "vue": "^3.2.33", "vue-router": "^4.1.5" }, @@ -28,6 +28,10 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/breadcrumbs.umd.js", "unpkg": "dist/breadcrumbs.iife.js", "jsdelivr": "dist/breadcrumbs.iife.js", diff --git a/packages/button/CHANGELOG.md b/packages/button/CHANGELOG.md index 1740c5d26..ff0f2e596 100644 --- a/packages/button/CHANGELOG.md +++ b/packages/button/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/button + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/button diff --git a/packages/button/package.json b/packages/button/package.json index 823d30bf5..55ad7643b 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/button", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Button Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -16,15 +16,19 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/icon": "^0.13.6", - "@gits-id/spinner": "^0.13.6", + "@gits-id/icon": "^0.13.9", + "@gits-id/spinner": "^0.13.9", "@gits-id/theme": "^0.13.0", "@gits-id/utils": "^0.13.0", "vue": "^3.2.33", "vue-router": "^4.1.5" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@vitejs/plugin-vue": "^2.2.4", "@vue/test-utils": "^2.0.0-rc.17", "autoprefixer": "^10.4.2", diff --git a/packages/card/CHANGELOG.md b/packages/card/CHANGELOG.md index 702be7581..483fcc823 100644 --- a/packages/card/CHANGELOG.md +++ b/packages/card/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/card + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/card diff --git a/packages/card/package.json b/packages/card/package.json index 80275740b..bcdf03610 100644 --- a/packages/card/package.json +++ b/packages/card/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/card", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Card Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -18,7 +18,7 @@ "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/button": "^0.13.6", + "@gits-id/button": "^0.13.9", "@gits-id/theme": "^0.13.0", "@gits-id/utils": "^0.13.0", "@vitejs/plugin-vue": "^2.2.4", diff --git a/packages/collapsible/CHANGELOG.md b/packages/collapsible/CHANGELOG.md index a95e9697d..a5878b25b 100644 --- a/packages/collapsible/CHANGELOG.md +++ b/packages/collapsible/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/collapsible + # [0.13.0](https://github.com/gitsindonesia/ui-component/compare/v0.12.0...v0.13.0) (2022-11-24) **Note:** Version bump only for package @gits-id/collapsible diff --git a/packages/collapsible/package.json b/packages/collapsible/package.json index 707711015..bd5dacb69 100644 --- a/packages/collapsible/package.json +++ b/packages/collapsible/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/collapsible", - "version": "0.13.0", + "version": "0.13.9", "description": "GITS Collapsible Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -22,10 +22,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/collapsible.umd.js", "unpkg": "dist/collapsible.iife.js", "jsdelivr": "dist/collapsible.iife.js", diff --git a/packages/dropdown/CHANGELOG.md b/packages/dropdown/CHANGELOG.md index 3de28dfd9..69150bc90 100644 --- a/packages/dropdown/CHANGELOG.md +++ b/packages/dropdown/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/dropdown + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) ### Features diff --git a/packages/dropdown/package.json b/packages/dropdown/package.json index 61d621c4e..2d5887f49 100644 --- a/packages/dropdown/package.json +++ b/packages/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/dropdown", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Dropdown Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,20 +15,24 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/icon": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/icon": "^0.13.9", "@headlessui/vue": "^1.6.0", "tailwindcss": "^3.0.23", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/dropdown.js", "unpkg": "dist/dropdown.iife.js", "jsdelivr": "dist/dropdown.iife.js", diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 247c529e3..8b87da1b3 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/editor + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/editor diff --git a/packages/editor/package.json b/packages/editor/package.json index 6e0591ec0..5d00498c7 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/editor", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Rich Text Editor Component", "scripts": { "build": "vite build && npm run build-types && npm run move-types", @@ -26,8 +26,8 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@types/ckeditor__ckeditor5-build-classic": "^29.0.1", diff --git a/packages/forms/CHANGELOG.md b/packages/forms/CHANGELOG.md index f2793bcd4..881291de0 100644 --- a/packages/forms/CHANGELOG.md +++ b/packages/forms/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/forms + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/forms diff --git a/packages/forms/package.json b/packages/forms/package.json index be9a67fc0..5290cef3e 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/forms", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Form Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,15 +15,15 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", + "@gits-id/button": "^0.13.9", "@gits-id/icon": "^0.11.10", - "@gits-id/spinner": "^0.13.6", + "@gits-id/spinner": "^0.13.9", "@gits-id/utils": "^0.13.0", "vee-validate": "^4.5.9", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", @@ -31,10 +31,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/forms.umd.js", "unpkg": "dist/forms.iife.js", "jsdelivr": "dist/forms.iife.js", diff --git a/packages/icon/CHANGELOG.md b/packages/icon/CHANGELOG.md index 151c02a2a..8ee02f72c 100644 --- a/packages/icon/CHANGELOG.md +++ b/packages/icon/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/icon + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/icon diff --git a/packages/icon/package.json b/packages/icon/package.json index 1ab7da8b4..f288b4bea 100644 --- a/packages/icon/package.json +++ b/packages/icon/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/icon", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Icon Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -16,18 +16,16 @@ "license": "MIT", "dependencies": { "@gits-id/theme": "^0.13.0", + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "vite": "^3.0.0", "vitest": "^0.12.4", "vue-tsc": "^0.40.1" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/icon.js", "unpkg": "dist/icon.iife.js", "jsdelivr": "dist/icon.iife.js", diff --git a/packages/layouts/CHANGELOG.md b/packages/layouts/CHANGELOG.md index b9e131a42..fb0b87bf1 100644 --- a/packages/layouts/CHANGELOG.md +++ b/packages/layouts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/layouts + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/layouts diff --git a/packages/layouts/package.json b/packages/layouts/package.json index a98240511..55499c6f5 100644 --- a/packages/layouts/package.json +++ b/packages/layouts/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/layouts", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS layout Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -18,7 +18,7 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -28,10 +28,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/layouts.umd.js", "unpkg": "dist/layouts.iife.js", "jsdelivr": "dist/layouts.iife.js", diff --git a/packages/list/CHANGELOG.md b/packages/list/CHANGELOG.md index ab42cf79f..867b1d223 100644 --- a/packages/list/CHANGELOG.md +++ b/packages/list/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/list + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/list diff --git a/packages/list/package.json b/packages/list/package.json index 5c9f933bc..a1e557fda 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/list", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS List Component", "scripts": { "build": "vite build && npm run build-types && npm run move-types", @@ -20,14 +20,15 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/collapsible": "^0.13.0", + "@gits-id/collapsible": "^0.13.9", "vue": "^3.2.33", "vue-router": "^4.0.16" }, "devDependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/dropdown": "^0.13.6", - "@gits-id/nav-drawer": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/dropdown": "^0.13.9", + "@gits-id/nav-drawer": "^0.13.9", + "@iconify/vue": "^3.2.1", "autoprefixer": "^10.4.2", "c8": "^7.11.3", "postcss": "^8.4.8", @@ -38,10 +39,6 @@ "vitest": "^0.12.4", "vue-tsc": "^0.38.2" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/list.js", "unpkg": "dist/list.iife.js", "jsdelivr": "dist/list.iife.js", diff --git a/packages/logo/CHANGELOG.md b/packages/logo/CHANGELOG.md index 74f4754ba..e694dc6f8 100644 --- a/packages/logo/CHANGELOG.md +++ b/packages/logo/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/logo + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/logo diff --git a/packages/logo/package.json b/packages/logo/package.json index 436f95321..cf81428a7 100644 --- a/packages/logo/package.json +++ b/packages/logo/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/logo", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Logo Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -18,7 +18,7 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", diff --git a/packages/menu/CHANGELOG.md b/packages/menu/CHANGELOG.md index dd8f58c7b..2f83e2497 100644 --- a/packages/menu/CHANGELOG.md +++ b/packages/menu/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/menu + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/menu diff --git a/packages/menu/package.json b/packages/menu/package.json index c85e42765..07a1635c5 100644 --- a/packages/menu/package.json +++ b/packages/menu/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/menu", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Menu Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,12 +15,13 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/collapsible": "^0.13.0", + "@gits-id/collapsible": "^0.13.9", + "@iconify/vue": "^3.2.1", "vue": "^3.2.31", "vue-router": "^4.0.13" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -30,10 +31,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/menu.umd.js", "unpkg": "dist/menu.iife.js", "jsdelivr": "dist/menu.iife.js", diff --git a/packages/menus/CHANGELOG.md b/packages/menus/CHANGELOG.md index eddf6f3f4..9bc7a1af8 100644 --- a/packages/menus/CHANGELOG.md +++ b/packages/menus/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/menus + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/menus diff --git a/packages/menus/package.json b/packages/menus/package.json index 9bf857786..df10e6dc6 100644 --- a/packages/menus/package.json +++ b/packages/menus/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/menus", - "version": "0.13.6", + "version": "0.13.9", "description": "Menus component for Vue.js", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -17,15 +17,15 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/icon": "^0.13.6", - "@gits-id/list": "^0.13.6", + "@gits-id/icon": "^0.13.9", + "@gits-id/list": "^0.13.9", "floating-vue": "^2.0.0-beta.20", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/app-bar": "^0.13.6", - "@gits-id/button": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/app-bar": "^0.13.9", + "@gits-id/button": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", @@ -33,6 +33,10 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/menus.umd.js", "unpkg": "dist/menus.iife.js", "jsdelivr": "dist/menus.iife.js", diff --git a/packages/menus/src/VMenus.stories.ts b/packages/menus/src/VMenus.stories.ts index 1a303b727..a548aa349 100644 --- a/packages/menus/src/VMenus.stories.ts +++ b/packages/menus/src/VMenus.stories.ts @@ -83,6 +83,16 @@ Hover.parameters = { }, }; +export const CustomIcon = Template.bind({}); +CustomIcon.args = {'btn-icon': "ri:arrow-down-line"}; +CustomIcon.parameters = { + docs: { + source: { + code: '', + }, + }, +}; + export const InAppBar: Story = (args) => ({ components: { VMenus, diff --git a/packages/modal/CHANGELOG.md b/packages/modal/CHANGELOG.md index c49e2b27a..fd6e2ccad 100644 --- a/packages/modal/CHANGELOG.md +++ b/packages/modal/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/modal + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/modal diff --git a/packages/modal/package.json b/packages/modal/package.json index 6d2d7dcf5..7cd7d8e74 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/modal", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Modal Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,11 +15,11 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", + "@gits-id/button": "^0.13.9", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -29,10 +29,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/modal.umd.js", "unpkg": "dist/modal.iife.js", "jsdelivr": "dist/modal.iife.js", diff --git a/packages/multi-select/CHANGELOG.md b/packages/multi-select/CHANGELOG.md index c032198ef..f5502a251 100644 --- a/packages/multi-select/CHANGELOG.md +++ b/packages/multi-select/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/multi-select + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) ### Bug Fixes diff --git a/packages/multi-select/package.json b/packages/multi-select/package.json index 9ba77b91c..c236dcd60 100644 --- a/packages/multi-select/package.json +++ b/packages/multi-select/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/multi-select", - "version": "0.13.6", + "version": "0.13.9", "description": "Vue Multi Select Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -16,16 +16,16 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/badge": "^0.13.6", - "@gits-id/forms": "^0.13.6", - "@gits-id/tooltip": "^0.13.6", + "@gits-id/badge": "^0.13.9", + "@gits-id/forms": "^0.13.9", + "@gits-id/tooltip": "^0.13.9", "@vueuse/core": "^7.7.1", "vee-validate": "^4.6.1", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -35,10 +35,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/multi-select.umd.js", "unpkg": "dist/multi-select.iife.js", "jsdelivr": "dist/multi-select.iife.js", diff --git a/packages/nav-drawer/CHANGELOG.md b/packages/nav-drawer/CHANGELOG.md index 64c270f9d..885c24618 100644 --- a/packages/nav-drawer/CHANGELOG.md +++ b/packages/nav-drawer/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/nav-drawer + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/nav-drawer diff --git a/packages/nav-drawer/package.json b/packages/nav-drawer/package.json index 0da526afe..9ffeaa416 100644 --- a/packages/nav-drawer/package.json +++ b/packages/nav-drawer/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/nav-drawer", - "version": "0.13.6", + "version": "0.13.9", "description": "Vue Navigation Drawer Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,14 +15,14 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/logo": "^0.13.6", - "@gits-id/menu": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/logo": "^0.13.9", + "@gits-id/menu": "^0.13.9", "@gits-id/utils": "^0.13.0", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", @@ -31,10 +31,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/nav-drawer.umd.js", "unpkg": "dist/nav-drawer.iife.js", "jsdelivr": "dist/nav-drawer.iife.js", diff --git a/packages/nav-drawer/src/NavDrawer.mdx b/packages/nav-drawer/src/NavDrawer.mdx new file mode 100644 index 000000000..045921427 --- /dev/null +++ b/packages/nav-drawer/src/NavDrawer.mdx @@ -0,0 +1,3 @@ +import Docs from '../../../docs/components/navigation-drawer.md'; + + \ No newline at end of file diff --git a/packages/nav-drawer/src/NavDrawer.stories.ts b/packages/nav-drawer/src/NavDrawer.stories.ts index 1ee9fc795..7ee2bdf17 100644 --- a/packages/nav-drawer/src/NavDrawer.stories.ts +++ b/packages/nav-drawer/src/NavDrawer.stories.ts @@ -4,10 +4,16 @@ import {ref} from 'vue'; import Button from '@gits-id/button'; import {colors} from './colors'; import NavDrawerCustom from './stories/NavDrawerCustom.vue'; +import Docs from './NavDrawer.mdx'; export default { title: 'Components/NavigationDrawer', component: NavDrawer, + parameters: { + docs: { + page: Docs, + }, + }, } as Meta; const Template: StoryFn = (args) => ({ diff --git a/packages/navbar/CHANGELOG.md b/packages/navbar/CHANGELOG.md index 8217f2e4d..f810fd464 100644 --- a/packages/navbar/CHANGELOG.md +++ b/packages/navbar/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/navbar + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/navbar diff --git a/packages/navbar/package.json b/packages/navbar/package.json index 92accf2c1..3b80217ef 100644 --- a/packages/navbar/package.json +++ b/packages/navbar/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/navbar", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Navbar Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,13 +15,13 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/logo": "^0.13.6", - "@gits-id/menus": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/logo": "^0.13.9", + "@gits-id/menus": "^0.13.9", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -31,10 +31,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/navbar.umd.js", "unpkg": "dist/navbar.iife.js", "jsdelivr": "dist/navbar.iife.js", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 34563edcc..481f5f995 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/ui-nuxt + ## [0.13.8](https://github.com/gitsindonesia/ui-component/compare/v0.13.7...v0.13.8) (2022-12-02) ### Features diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 40c0c4e93..6f7fe8aad 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,7 +1,7 @@ { "name": "@gits-id/ui-nuxt", "description": "Nuxt module for GITS UI Component", - "version": "0.13.8", + "version": "0.13.9", "license": "MIT", "type": "module", "exports": { @@ -22,7 +22,7 @@ "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground" }, "dependencies": { - "@gits-id/ui": "^0.13.8", + "@gits-id/ui": "^0.13.9", "@nuxt/kit": "^3.0.0" }, "devDependencies": { diff --git a/packages/pages/CHANGELOG.md b/packages/pages/CHANGELOG.md index 9fc7bed60..adda13339 100644 --- a/packages/pages/CHANGELOG.md +++ b/packages/pages/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/pages + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/pages diff --git a/packages/pages/package.json b/packages/pages/package.json index a5697f299..3d32fdc78 100644 --- a/packages/pages/package.json +++ b/packages/pages/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/pages", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Pages Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,15 +15,15 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/alert": "^0.13.6", - "@gits-id/button": "^0.13.6", - "@gits-id/forms": "^0.13.6", + "@gits-id/alert": "^0.13.9", + "@gits-id/button": "^0.13.9", + "@gits-id/forms": "^0.13.9", "@iconify/vue": "^3.2.1", "vue": "^3.2.31", "yup": "^0.32.11" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -33,10 +33,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/pages.js", "unpkg": "dist/pages.iife.js", "jsdelivr": "dist/pages.iife.js", diff --git a/packages/pagination/CHANGELOG.md b/packages/pagination/CHANGELOG.md index 29b613caa..e51bf16e8 100644 --- a/packages/pagination/CHANGELOG.md +++ b/packages/pagination/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/pagination + ## [0.13.7](https://github.com/gitsindonesia/ui-component/compare/v0.13.6...v0.13.7) (2022-11-30) ### Features diff --git a/packages/pagination/package.json b/packages/pagination/package.json index 0b5a34ed3..7b1f33f04 100644 --- a/packages/pagination/package.json +++ b/packages/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/pagination", - "version": "0.13.7", + "version": "0.13.9", "description": "GITS Pagination Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -19,7 +19,7 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", diff --git a/packages/progress/CHANGELOG.md b/packages/progress/CHANGELOG.md index 7f00648ad..60afba457 100644 --- a/packages/progress/CHANGELOG.md +++ b/packages/progress/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/progress-bar + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/progress-bar diff --git a/packages/progress/package.json b/packages/progress/package.json index ae42f00a1..1dbebb993 100644 --- a/packages/progress/package.json +++ b/packages/progress/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/progress-bar", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Progress Bar Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -19,7 +19,7 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.0.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", diff --git a/packages/quill-editor/CHANGELOG.md b/packages/quill-editor/CHANGELOG.md index 8e5968eaa..56569c5ac 100644 --- a/packages/quill-editor/CHANGELOG.md +++ b/packages/quill-editor/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/quill-editor + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/quill-editor diff --git a/packages/quill-editor/package.json b/packages/quill-editor/package.json index 8fb95ba30..a47d1d3fa 100644 --- a/packages/quill-editor/package.json +++ b/packages/quill-editor/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/quill-editor", - "version": "0.13.6", + "version": "0.13.9", "description": "Quill Editor Vue Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -25,7 +25,7 @@ "yup": "^0.32.11" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@types/quill": "^2.0.9", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", diff --git a/packages/select/CHANGELOG.md b/packages/select/CHANGELOG.md index 7375e1299..7d503a413 100644 --- a/packages/select/CHANGELOG.md +++ b/packages/select/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/select + ## [0.13.7](https://github.com/gitsindonesia/ui-component/compare/v0.13.6...v0.13.7) (2022-11-30) ### Features diff --git a/packages/select/package.json b/packages/select/package.json index 8301d44f2..6dd3e3572 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/select", - "version": "0.13.7", + "version": "0.13.9", "description": "Vue Select Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -17,14 +17,14 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/forms": "^0.13.6", + "@gits-id/forms": "^0.13.9", "@gits-id/theme": "^0.13.0", - "@gits-id/tooltip": "^0.13.6", + "@gits-id/tooltip": "^0.13.9", "@gits-id/utils": "^0.13.0", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", @@ -33,6 +33,10 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/select.umd.js", "unpkg": "dist/select.iife.js", "jsdelivr": "dist/select.iife.js", diff --git a/packages/services/CHANGELOG.md b/packages/services/CHANGELOG.md index ea862efab..3f7ca593e 100644 --- a/packages/services/CHANGELOG.md +++ b/packages/services/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/services + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/services diff --git a/packages/services/package.json b/packages/services/package.json index b53ddd252..61d391d17 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/services", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Services", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly", @@ -15,18 +15,22 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", + "@gits-id/button": "^0.13.9", "axios": "^0.26.0", "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/services.umd.js", "unpkg": "dist/services.iife.js", "jsdelivr": "dist/services.iife.js", diff --git a/packages/shimmer/CHANGELOG.md b/packages/shimmer/CHANGELOG.md index 3f284e567..e3f20f7e4 100644 --- a/packages/shimmer/CHANGELOG.md +++ b/packages/shimmer/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/shimmer + ## [0.13.7](https://github.com/gitsindonesia/ui-component/compare/v0.13.6...v0.13.7) (2022-11-30) ### Features diff --git a/packages/shimmer/package.json b/packages/shimmer/package.json index 27de42587..a16f853d4 100644 --- a/packages/shimmer/package.json +++ b/packages/shimmer/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/shimmer", - "version": "0.13.7", + "version": "0.13.9", "description": "Shimmer Component / Loading Animation", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -20,7 +20,7 @@ "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", diff --git a/packages/spinner/CHANGELOG.md b/packages/spinner/CHANGELOG.md index 0fa4742a8..a4d3a12a8 100644 --- a/packages/spinner/CHANGELOG.md +++ b/packages/spinner/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/spinner + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/spinner diff --git a/packages/spinner/package.json b/packages/spinner/package.json index 450dff173..95bd0e6e7 100644 --- a/packages/spinner/package.json +++ b/packages/spinner/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/spinner", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Spinner Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -17,7 +17,7 @@ "author": "Warsono ", "license": "MIT", "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", diff --git a/packages/stats/CHANGELOG.md b/packages/stats/CHANGELOG.md index 6528a4249..6719f9dd7 100644 --- a/packages/stats/CHANGELOG.md +++ b/packages/stats/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/stats + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/stats diff --git a/packages/stats/package.json b/packages/stats/package.json index 0ef64ea6b..c4ef05b90 100644 --- a/packages/stats/package.json +++ b/packages/stats/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/stats", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Stats Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -16,13 +16,14 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/badge": "^0.13.6", - "@gits-id/card": "^0.13.6", - "@gits-id/icon": "^0.13.6", + "@gits-id/badge": "^0.13.9", + "@gits-id/card": "^0.13.9", + "@gits-id/icon": "^0.13.9", + "@iconify/vue": "^3.2.1", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", diff --git a/packages/steppers/CHANGELOG.md b/packages/steppers/CHANGELOG.md index 4326146a3..58c75f54b 100644 --- a/packages/steppers/CHANGELOG.md +++ b/packages/steppers/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/stepper + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/stepper diff --git a/packages/steppers/package.json b/packages/steppers/package.json index 8cc1598be..1faeb7e90 100644 --- a/packages/steppers/package.json +++ b/packages/steppers/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/stepper", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Stepper Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -19,7 +19,7 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@vue/compiler-dom": "^3.2.31", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", diff --git a/packages/switch/CHANGELOG.md b/packages/switch/CHANGELOG.md index 5774d85ca..b9bb60803 100644 --- a/packages/switch/CHANGELOG.md +++ b/packages/switch/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +### Features + +- **VSwitch:** customizable switch with CSS Properties ([#53](https://github.com/gitsindonesia/ui-component/issues/53)) ([93dd68e](https://github.com/gitsindonesia/ui-component/commit/93dd68e64cae64952a7d6f5ea3623bef680b7979)) + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/switch diff --git a/packages/switch/README.md b/packages/switch/README.md index df89e84fb..1ad5fa129 100644 --- a/packages/switch/README.md +++ b/packages/switch/README.md @@ -1,6 +1,6 @@ -# GITS Switch Component +# GITS Switch -> Reusable Switch Component +Vue Switch Component. ## Installation @@ -26,11 +26,12 @@ pnpm i @gits-id/switch ```vue ``` diff --git a/packages/switch/package.json b/packages/switch/package.json index d01e670d7..d76bbdda1 100644 --- a/packages/switch/package.json +++ b/packages/switch/package.json @@ -1,7 +1,7 @@ { "name": "@gits-id/switch", - "version": "0.13.6", - "description": "GITS Switch Component", + "version": "0.13.9", + "description": "GITS Vue Switch", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", "prepublishOnly": "npm run build", @@ -10,6 +10,8 @@ "keywords": [ "switch", "gits", + "vue", + "component", "ui-component" ], "author": "Warsono ", @@ -19,8 +21,8 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -30,10 +32,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/switch.umd.js", "unpkg": "dist/switch.iife.js", "jsdelivr": "dist/switch.iife.js", diff --git a/packages/switch/src/VSwitch.stories.ts b/packages/switch/src/VSwitch.stories.ts index 8e8c97abe..508b0a0a2 100644 --- a/packages/switch/src/VSwitch.stories.ts +++ b/packages/switch/src/VSwitch.stories.ts @@ -3,12 +3,12 @@ import {Meta, Story} from '@storybook/vue3'; import {useForm} from 'vee-validate'; import {object, boolean} from 'yup'; import VBtn from '@gits-id/button'; +import { ref } from 'vue'; export default { title: 'Components/Switch', component: VSwitch, args: { - modelValue: true, label: 'Label', }, } as Meta; @@ -18,9 +18,10 @@ const Template: Story = (args) => ({ VSwitch, }, setup() { - return {args}; + const checked = ref(true); + return {args, checked}; }, - template: ``, + template: ``, }); export const Default = Template.bind({}); @@ -33,9 +34,21 @@ Default.parameters = { }, }; +export const Secondary = Template.bind({}); +Secondary.args = { + color: 'secondary', +}; +Secondary.parameters = { + docs: { + source: { + code: ``, + }, + }, +}; + export const Success = Template.bind({}); Success.args = { - color: 'primary', + color: 'success', }; Success.parameters = { docs: { @@ -110,10 +123,10 @@ export const CustomClass = Template.bind({}); CustomClass.args = { color: '', label: 'Custom Switch', - switchClass: 'border-cyan-200', - activeClass: 'bg-white', - inactiveClass: 'bg-white', - buttonClass: 'bg-cyan-500', + switchClass: '!border-cyan-200', + activeClass: '!bg-white', + inactiveClass: '!bg-white', + buttonClass: '!bg-cyan-500', }; CustomClass.parameters = { docs: { @@ -123,15 +136,36 @@ CustomClass.parameters = { v-model="model" color="" label="Custom Switch" - switch-class="border-cyan-200" - active-class="bg-white" - inactive-class="bg-white" - button-class="bg-cyan-500" + switch-class="!border-cyan-200" + active-class="!bg-white" + inactive-class="!bg-white" + button-class="!bg-cyan-500" />`, }, }, }; +export const CustomStyle: Story<{}> = () => ({ + components: {VSwitch, VBtn}, + template: ` + +`, +}); + + export const Validation: Story<{}> = () => ({ components: {VSwitch, VBtn}, setup() { diff --git a/packages/switch/src/VSwitch.vue b/packages/switch/src/VSwitch.vue index e484699c9..960d1f28a 100644 --- a/packages/switch/src/VSwitch.vue +++ b/packages/switch/src/VSwitch.vue @@ -1,5 +1,5 @@ + + diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index 22965d87a..42fa405ab 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/table + ## [0.13.7](https://github.com/gitsindonesia/ui-component/compare/v0.13.6...v0.13.7) (2022-11-30) ### Features diff --git a/packages/table/package.json b/packages/table/package.json index af22e80c5..996ca1b3b 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/table", - "version": "0.13.7", + "version": "0.13.9", "description": "GITS Table Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,22 +15,26 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/forms": "^0.13.6", - "@gits-id/icon": "^0.13.6", - "@gits-id/pagination": "^0.13.7", - "@gits-id/select": "^0.13.7", - "@gits-id/spinner": "^0.13.6", + "@gits-id/forms": "^0.13.9", + "@gits-id/icon": "^0.13.9", + "@gits-id/pagination": "^0.13.9", + "@gits-id/select": "^0.13.9", + "@gits-id/spinner": "^0.13.9", "@gits-id/utils": "^0.13.0", "vue": "^3.2.33" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", "tailwindcss": "^3.0.23", "vite": "^3.0.0", "vitest": "^0.12.4" }, + "peerDependencies": { + "@heroicons/vue": "^1.0.6", + "@iconify/vue": "^3.2.1" + }, "main": "dist/table.umd.js", "unpkg": "dist/table.iife.js", "jsdelivr": "dist/table.iife.js", diff --git a/packages/tabs/CHANGELOG.md b/packages/tabs/CHANGELOG.md index e6c212af0..8fa9052df 100644 --- a/packages/tabs/CHANGELOG.md +++ b/packages/tabs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/tabs + ## [0.13.8](https://github.com/gitsindonesia/ui-component/compare/v0.13.7...v0.13.8) (2022-12-02) ### Features diff --git a/packages/tabs/package.json b/packages/tabs/package.json index 0beb3f077..4f2fcc733 100644 --- a/packages/tabs/package.json +++ b/packages/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/tabs", - "version": "0.13.8", + "version": "0.13.9", "description": "GITS Tabs Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -15,14 +15,14 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/card": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/card": "^0.13.9", "@gits-id/icon": "^0.11.10", "@gits-id/utils": "^0.13.0", "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", "c8": "^7.11.3", @@ -31,10 +31,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "dist/tabs.umd.js", "unpkg": "dist/tabs.iife.js", "jsdelivr": "dist/tabs.iife.js", diff --git a/packages/tailwind-components/CHANGELOG.md b/packages/tailwind-components/CHANGELOG.md index fc6d469ad..daae59153 100644 --- a/packages/tailwind-components/CHANGELOG.md +++ b/packages/tailwind-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +### Bug Fixes + +- **VAvatar:** fix avatar font size variable and text-transform ([51ee85a](https://github.com/gitsindonesia/ui-component/commit/51ee85ac72659aa34d92023c158c4bb182c9c2e2)) + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) ### Features diff --git a/packages/tailwind-components/package.json b/packages/tailwind-components/package.json index 77459946c..c55bfa6bb 100644 --- a/packages/tailwind-components/package.json +++ b/packages/tailwind-components/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/tailwind-components", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS UI Tailwind Plugin", "scripts": {}, "keywords": [ diff --git a/packages/tailwind-components/src/avatar.js b/packages/tailwind-components/src/avatar.js index 0476af093..35c12a158 100644 --- a/packages/tailwind-components/src/avatar.js +++ b/packages/tailwind-components/src/avatar.js @@ -12,6 +12,8 @@ const avatar = plugin(function ({addComponents, theme}) { '--avatar-border-style': 'solid', '--avatar-border-radius': theme('borderRadius.full'), '--avatar-font-weight': 600, + '--avatar-font-size': theme('fontSize.base'), + '--avatar-text-transform': 'uppercase', }, '.avatar': { display: 'flex', @@ -28,6 +30,7 @@ const avatar = plugin(function ({addComponents, theme}) { backgroundColor: 'var(--avatar-bg-color)', color: 'var(--avatar-text-color)', fontSize: 'var(--avatar-font-size)', + textTransform: 'var(--avatar-text-transform)', }, /* shapes */ '.avatar-square, .avatar-square .avatar-image': { diff --git a/packages/tailwind-config/CHANGELOG.md b/packages/tailwind-config/CHANGELOG.md index 3b0f94699..1c1c053ce 100644 --- a/packages/tailwind-config/CHANGELOG.md +++ b/packages/tailwind-config/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/tailwind-config + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/tailwind-config diff --git a/packages/tailwind-config/package.json b/packages/tailwind-config/package.json index 7680b4374..1eca41380 100644 --- a/packages/tailwind-config/package.json +++ b/packages/tailwind-config/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/tailwind-config", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Tailwind Config", "main": "config.js", "scripts": {}, @@ -11,7 +11,7 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/tailwind-components": "^0.13.6", + "@gits-id/tailwind-components": "^0.13.9", "@gits-id/theme": "^0.13.0", "@gits-id/utils": "^0.13.0", "@tailwindcss/aspect-ratio": "^0.4.0", diff --git a/packages/toast/CHANGELOG.md b/packages/toast/CHANGELOG.md index 12970d651..7ccd3ad9d 100644 --- a/packages/toast/CHANGELOG.md +++ b/packages/toast/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +### Features + +- **VToast:** revamp toast component ([#52](https://github.com/gitsindonesia/ui-component/issues/52)) ([f0415d5](https://github.com/gitsindonesia/ui-component/commit/f0415d5ee20cfa8a9c1fa1573c5bf7ec1240e5f7)) + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/toast diff --git a/packages/toast/README.md b/packages/toast/README.md index 194c00ee2..d24ab4b6e 100644 --- a/packages/toast/README.md +++ b/packages/toast/README.md @@ -1,6 +1,6 @@ -# GITS Toast Component +# GITS Toast -> Reusable Toast Component +Vue Toast Component. ## Installation @@ -26,17 +26,26 @@ pnpm i @gits-id/toast ```vue ``` ## Documentation -View `Toast` documentation [here](https://gits-ui.web.app/?path=/story/components-toast--default). +View full documentation [here](https://gits-ui.web.app/?path=/story/components-toast--default). ## License diff --git a/packages/toast/package.json b/packages/toast/package.json index ca419aafc..b9ebec7f2 100644 --- a/packages/toast/package.json +++ b/packages/toast/package.json @@ -1,7 +1,7 @@ { "name": "@gits-id/toast", - "version": "0.13.6", - "description": "GITS Toast Component", + "version": "0.13.9", + "description": "Vue Toast Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", "prepublishOnly": "npm run build", @@ -15,15 +15,15 @@ "author": "Warsono ", "license": "MIT", "dependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/icon": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/icon": "^0.13.9", "pinia": "^2.0.11", "vee-validate": "^4.5.9", "vue": "^3.2.31", "vuex": "^4.0.2" }, "devDependencies": { - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", @@ -32,9 +32,6 @@ "vite": "^3.0.0", "vitest": "^0.12.4" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6" - }, "main": "dist/toast.umd.js", "unpkg": "dist/toast.iife.js", "jsdelivr": "dist/toast.iife.js", diff --git a/packages/toast/src/VToast.stories.ts b/packages/toast/src/VToast.stories.ts index dd96d9de4..73f5c4eff 100644 --- a/packages/toast/src/VToast.stories.ts +++ b/packages/toast/src/VToast.stories.ts @@ -1,8 +1,11 @@ +import { placements } from './types'; import VToast from './VToast.vue'; -import VBtn from '@gits-id/button'; +import VBtn, {VBtnGroup} from '@gits-id/button'; import {themeColors} from '@gits-id/utils/colors'; import {Story} from '@storybook/vue3'; import {ref} from 'vue'; +import '@gits-id/icon/dist/style.css'; +import { defaultColors } from '@gits-id/theme/defaultTheme'; export default { title: 'Components/Toast', @@ -29,27 +32,6 @@ export default { ], }, }, - args: { - modelValue: false, - title: '', - color: '', - confirm: false, - confirmColor: 'primary', - confirmProps: {}, - confirmText: 'Confirm', - closeText: 'Close', - closeProps: {}, - headerClass: '', - bodyClass: '', - actionsClass: '', - placement: 'bottom', - actions: false, - timeout: 0, - message: 'Lorem ipsum dolor', - type: '', - hideXIcon: false, - overlay: false, - }, }; const Template: Story<{}> = (args) => ({ @@ -62,8 +44,10 @@ const Template: Story<{}> = (args) => ({ return {args, isOpen}; }, template: ` - Open Toast - {{ args.message }} + {{ isOpen ? 'Close' : 'Open' }} Toast + + Toast message + `, }); @@ -81,99 +65,101 @@ Default.parameters = { }, }; -export const Icon = Template.bind({}); -Icon.args = { - type: 'success', -}; -Icon.parameters = { - docs: { - source: { - code: ` - Open Toast - - - `, - }, +export const Placement: Story<{}> = (args) => ({ + components: { + VBtn, + VBtnGroup, + VToast, }, -}; - -export const Title = Template.bind({}); -Title.args = { - title: 'Notification', -}; -Title.parameters = { - docs: { - source: { - code: ` - Open Toast - - - `, - }, + setup() { + const isOpen = ref(true); + const placement = ref('bottom'); + const changePlacement = (position: string) => { + placement.value = position; + isOpen.value = false + setTimeout(() => { + isOpen.value = true + }, 200) + } + return {args, isOpen, placements, placement, changePlacement}; }, -}; - -export const Actions = Template.bind({}); -Actions.args = { - title: 'Confirmation', - actions: true, - confirm: true, -}; -Actions.parameters = { - docs: { - source: { - code: ` - Open Toast + template: ` + + + {{ position }} + + + + Toast message + + `, +}); - - `, - }, +export const Colors: Story<{}> = (args) => ({ + components: { + VBtn, + VBtnGroup, + VToast, }, -}; - -export const Custom = Template.bind({}); -Custom.args = { - title: 'Confirmation', - type: 'question', - actions: true, - confirm: true, - confirmColor: 'error', - confirmText: 'Delete', - closeText: 'Cancel', - placement: 'center', - hideXIcon: true, - overlay: true, - onConfirm: (e: any) => { - alert('Confirmed!'); - e.close(); + setup() { + const isOpen = ref(true); + const color = ref('default'); + const changecolor = (position: string) => { + color.value = position; + isOpen.value = false + setTimeout(() => { + isOpen.value = true + }, 200) + } + const colors = [...defaultColors, 'default', 'white']; + return {args, isOpen, colors, color, changecolor}; }, + template: ` + + + {{ color }} + + + + Toast message + + `, +}); + +export const Icon = Template.bind({}); +Icon.args = { + icon: 'ri:check-line', }; -Custom.parameters = { - docs: { - source: { - code: ` - Open Toast - - `, - }, +export const Slots: Story<{}> = (args) => ({ + components: { + VBtn, + VToast, }, -}; + setup() { + const isOpen = ref(false); + const actionHandler = () => { + alert('Confirmed!'); + } + return {args, isOpen, actionHandler}; + }, + template: ` + {{ isOpen ? 'Close' : 'Open' }} Toast + + Toast message + + + `, +}); \ No newline at end of file diff --git a/packages/toast/src/VToast.vue b/packages/toast/src/VToast.vue index 5a650aa4d..c0401018a 100644 --- a/packages/toast/src/VToast.vue +++ b/packages/toast/src/VToast.vue @@ -5,445 +5,392 @@ export default { + + + + \ No newline at end of file diff --git a/packages/toast/src/types.ts b/packages/toast/src/types.ts index 25262be02..eeebb1659 100644 --- a/packages/toast/src/types.ts +++ b/packages/toast/src/types.ts @@ -1,13 +1,16 @@ export type ToastTypes = 'success' | 'error' | 'warning' | 'question'; -export type ToastPlacement = - | 'center' - | 'top' - | 'top-start' - | 'top-end' - | 'bottom' - | 'bottom-start' - | 'bottom-end'; +export const placements = [ + 'center', + 'top', + 'top-start', + 'top-end', + 'bottom', + 'bottom-start', + 'bottom-end' +] as const + +export type ToastPlacement = typeof placements[number]; export type VToastEvent = { open: () => void; diff --git a/packages/tooltip/CHANGELOG.md b/packages/tooltip/CHANGELOG.md index 5528cc16f..7bd474161 100644 --- a/packages/tooltip/CHANGELOG.md +++ b/packages/tooltip/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/tooltip + ## [0.13.6](https://github.com/gitsindonesia/ui-component/compare/v0.13.5...v0.13.6) (2022-11-29) **Note:** Version bump only for package @gits-id/tooltip diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 68d9a8e1a..e4192d606 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@gits-id/tooltip", - "version": "0.13.6", + "version": "0.13.9", "description": "GITS Tooltip Component", "scripts": { "build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", @@ -20,8 +20,8 @@ "vue": "^3.2.31" }, "devDependencies": { - "@gits-id/button": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/button": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index cf9f2d031..119ce9048 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.9](https://github.com/gitsindonesia/ui-component/compare/v0.13.8...v0.13.9) (2022-12-05) + +**Note:** Version bump only for package @gits-id/ui + ## [0.13.8](https://github.com/gitsindonesia/ui-component/compare/v0.13.7...v0.13.8) (2022-12-02) **Note:** Version bump only for package @gits-id/ui diff --git a/packages/ui/package.json b/packages/ui/package.json index 81958f4c2..f15876f12 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,61 +1,57 @@ { "name": "@gits-id/ui", - "version": "0.13.8", + "version": "0.13.9", "scripts": { "build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types", "prepublishOnly": "npm run build", "test": "vitest" }, "dependencies": { - "@gits-id/alert": "^0.13.6", - "@gits-id/app-bar": "^0.13.6", - "@gits-id/autocomplete": "^0.13.6", - "@gits-id/avatar": "^0.13.6", - "@gits-id/badge": "^0.13.6", - "@gits-id/breadcrumbs": "^0.13.6", - "@gits-id/button": "^0.13.6", - "@gits-id/card": "^0.13.6", - "@gits-id/collapsible": "^0.13.0", + "@gits-id/alert": "^0.13.9", + "@gits-id/app-bar": "^0.13.9", + "@gits-id/autocomplete": "^0.13.9", + "@gits-id/avatar": "^0.13.9", + "@gits-id/badge": "^0.13.9", + "@gits-id/breadcrumbs": "^0.13.9", + "@gits-id/button": "^0.13.9", + "@gits-id/card": "^0.13.9", + "@gits-id/collapsible": "^0.13.9", "@gits-id/container": "^0.13.0", - "@gits-id/dropdown": "^0.13.6", - "@gits-id/editor": "^0.13.6", - "@gits-id/forms": "^0.13.6", - "@gits-id/icon": "^0.13.6", - "@gits-id/layouts": "^0.13.6", - "@gits-id/list": "^0.13.6", - "@gits-id/logo": "^0.13.6", - "@gits-id/menu": "^0.13.6", - "@gits-id/menus": "^0.13.6", - "@gits-id/modal": "^0.13.6", - "@gits-id/multi-select": "^0.13.6", - "@gits-id/nav-drawer": "^0.13.6", - "@gits-id/navbar": "^0.13.6", - "@gits-id/pages": "^0.13.6", - "@gits-id/pagination": "^0.13.7", - "@gits-id/progress-bar": "^0.13.6", - "@gits-id/select": "^0.13.7", - "@gits-id/services": "^0.13.6", - "@gits-id/shimmer": "^0.13.7", - "@gits-id/spinner": "^0.13.6", - "@gits-id/stats": "^0.13.6", - "@gits-id/switch": "^0.13.6", - "@gits-id/table": "^0.13.7", - "@gits-id/tabs": "^0.13.8", - "@gits-id/tailwind-components": "^0.13.6", - "@gits-id/tailwind-config": "^0.13.6", + "@gits-id/dropdown": "^0.13.9", + "@gits-id/editor": "^0.13.9", + "@gits-id/forms": "^0.13.9", + "@gits-id/icon": "^0.13.9", + "@gits-id/layouts": "^0.13.9", + "@gits-id/list": "^0.13.9", + "@gits-id/logo": "^0.13.9", + "@gits-id/menu": "^0.13.9", + "@gits-id/menus": "^0.13.9", + "@gits-id/modal": "^0.13.9", + "@gits-id/multi-select": "^0.13.9", + "@gits-id/nav-drawer": "^0.13.9", + "@gits-id/navbar": "^0.13.9", + "@gits-id/pages": "^0.13.9", + "@gits-id/pagination": "^0.13.9", + "@gits-id/progress-bar": "^0.13.9", + "@gits-id/select": "^0.13.9", + "@gits-id/services": "^0.13.9", + "@gits-id/shimmer": "^0.13.9", + "@gits-id/spinner": "^0.13.9", + "@gits-id/stats": "^0.13.9", + "@gits-id/switch": "^0.13.9", + "@gits-id/table": "^0.13.9", + "@gits-id/tabs": "^0.13.9", + "@gits-id/tailwind-components": "^0.13.9", + "@gits-id/tailwind-config": "^0.13.9", "@gits-id/textarea": "^0.3.0", "@gits-id/theme": "^0.13.0", - "@gits-id/toast": "^0.13.6", - "@gits-id/tooltip": "^0.13.6", + "@gits-id/toast": "^0.13.9", + "@gits-id/tooltip": "^0.13.9", "@gits-id/utils": "^0.13.0", "@headlessui/vue": "^1.6.0", "@vue/test-utils": "^2.0.0-rc.17", "vue": "^3.2.33" }, - "peerDependencies": { - "@heroicons/vue": "^1.0.6", - "@iconify/vue": "^3.2.1" - }, "main": "./dist/ui.umd.js", "unpkg": "./dist/ui.iife.js", "jsdelivr": "./dist/ui.iife.js",