Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore(deps): update dependency @kong/eslint-config-kong-ui to ^1.1.6 #2549

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stylelintrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
'order/properties-order': [
['all'],
{ 'unspecified': 'bottomAlphabetical' },
],
],
'@kong/design-tokens/use-proper-token': true,
'@stylistic/indentation': [2, { baseIndentLevel: 0 }],
// Only allow @kong/design-tokens or `--kong-ui-*` CSS custom properties
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@evilmartians/lefthook": "^1.8.1",
"@kong-ui-public/sandbox-layout": "^2.1.59",
"@kong/design-tokens": "^1.17.2",
"@kong/eslint-config-kong-ui": "^1.1.2",
"@kong/eslint-config-kong-ui": "^1.1.6",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@stylistic/stylelint-plugin": "^3.1.1",
Expand Down
485 changes: 217 additions & 268 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

// eslint-disable-next-line @typescript-eslint/no-require-imports
const autoprefixer = require('autoprefixer')

module.exports = () => ({
Expand Down
6 changes: 3 additions & 3 deletions src/components/KCheckbox/KCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'change', value: boolean): void;
(e: 'input', value: boolean): void;
(e: 'update:modelValue', value: boolean): void;
(e: 'change', value: boolean): void
(e: 'input', value: boolean): void
(e: 'update:modelValue', value: boolean): void
}>()

const slots = useSlots()
Expand Down
4 changes: 2 additions & 2 deletions src/components/KCollapse/KCollapse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'toggle', value: boolean): void;
(e: 'update:modelValue', value: boolean): void;
(e: 'toggle', value: boolean): void
(e: 'update:modelValue', value: boolean): void
}>()

const contentId = useId()
Expand Down
4 changes: 2 additions & 2 deletions src/components/KDropdown/KDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'toggleDropdown', value: boolean): void;
(e: 'change', value: DropdownItem): void;
(e: 'toggleDropdown', value: boolean): void
(e: 'change', value: DropdownItem): void
}>()

const tooltipComponent = computed(() => props.disabledTooltip ? KTooltip : 'div')
Expand Down
4 changes: 2 additions & 2 deletions src/components/KDropdown/KDropdownItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'click', val: Event): void;
(e: 'change', item: DropdownItem): void;
(e: 'click', val: Event): void
(e: 'change', item: DropdownItem): void
}>()

const type = computed((): DropdownItemType => {
Expand Down
6 changes: 3 additions & 3 deletions src/components/KMultiselect/KMultiselectItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'selected', value: MultiselectItem): void;
(e: 'arrow-down'): void;
(e: 'arrow-up'): void;
(e: 'selected', value: MultiselectItem): void
(e: 'arrow-down'): void
(e: 'arrow-up'): void
}>()

const handleClick = (): void => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/KSegmentedControl/KSegmentedControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'click', event: string): void;
(e: 'update:modelValue', event: string): void;
(e: 'click', event: string): void
(e: 'update:modelValue', event: string): void
}>()

const normalizedOptions = ref(normalizeItems(props.options))
Expand Down
6 changes: 3 additions & 3 deletions src/components/KSelect/KSelectItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ const props = defineProps({
})

const emit = defineEmits<{
(e: 'selected', value: SelectItem): void;
(e: 'arrow-down'): void;
(e: 'arrow-up'): void;
(e: 'selected', value: SelectItem): void
(e: 'arrow-down'): void
(e: 'arrow-up'): void
}>()

const handleClick = (e: MouseEvent): void => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/KToggle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineComponent({
isToggled,
toggle,
})
} catch (_) {
} catch {
console.error(`KToggle expects to have slot content.

Example usage:
Expand Down
4 changes: 2 additions & 2 deletions src/components/KTreeList/KTreeDraggable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ const props = defineProps({
})

const emit = defineEmits<{
(event: 'change', data: TreeListChangeEvent): void,
(event: 'child-change', data: TreeListChildChangeEvent): void,
(event: 'change', data: TreeListChangeEvent): void
(event: 'child-change', data: TreeListChildChangeEvent): void
(event: 'selected', item: TreeListItem): void
}>()

Expand Down
4 changes: 2 additions & 2 deletions src/components/KTreeList/KTreeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ const props = defineProps({
})

const emit = defineEmits<{
(event: 'change', data: TreeListChangeEvent): void,
(event: 'child-change', data: TreeListChildChangeEvent): void,
(event: 'change', data: TreeListChangeEvent): void
(event: 'child-change', data: TreeListChildChangeEvent): void
(event: 'selected', item: TreeListItem): void
}>()

Expand Down
4 changes: 2 additions & 2 deletions src/types/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ interface TablePropsShared {
/**
* Provide the name of the data property key to utilize as a unique identifier, or a function that receives the `row` object as a parameter that generates a unique identifier string for each row.
*/
rowKey?: string | ((row: Record<string, any>) => string),
rowKey?: string | ((row: Record<string, any>) => string)
/**
* A function that conditionally specifies cell attributes
*/
Expand Down Expand Up @@ -196,7 +196,7 @@ interface TablePropsShared {
* A prop to pass in a custom error state action message
*/
errorStateActionMessage?: string
maxHeight?: string,
maxHeight?: string
hidePagination?: boolean
paginationAttributes?: TablePaginationAttributes
/**
Expand Down
2 changes: 1 addition & 1 deletion src/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare module '*.vue' {
import type { DefineComponent } from 'vue'
// eslint-disable-next-line @typescript-eslint/ban-types
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
const component: DefineComponent<{}, {}, any>
export default component
}
Loading