@tak-ps/vue-tabler 3.73.0 → 3.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.74.0
14
+
15
+ - :tada: Introduce TS Linting
16
+
13
17
  ### v3.73.0
14
18
 
15
19
  - :tada: Add `InlineAlert` component
@@ -53,7 +53,7 @@ export default {
53
53
 
54
54
  let res = `${this.months[date.getUTCMonth()]} ${date.getUTCDate()}${suffix}`;
55
55
  if (date.getFullYear() !== new Date().getFullYear()) {
56
- res + ` ${date.getFullYear()}`;
56
+ res = res + ` ${date.getFullYear()}`;
57
57
  }
58
58
 
59
59
  res = res + `, ${String(date.getUTCHours()).padStart(2, '0')}:${String(date.getMinutes()).padEnd(2, '0')}`;
@@ -12,7 +12,7 @@
12
12
  </template>
13
13
 
14
14
  <script setup>
15
- import { useId, defineProps, useTemplateRef } from 'vue'
15
+ import { useId, useTemplateRef } from 'vue'
16
16
 
17
17
  const iconid = useId();
18
18
 
@@ -55,8 +55,8 @@
55
55
  </template>
56
56
 
57
57
  <script setup lang='ts'>
58
- import { withDefaults } from 'vue'
59
58
  import {
59
+ IconCheck,
60
60
  IconQuestionMark,
61
61
  IconInfoCircle,
62
62
  IconExclamationCircle,
@@ -64,10 +64,10 @@ import {
64
64
  } from '@tabler/icons-vue';
65
65
 
66
66
  const props = withDefaults(defineProps<{
67
- severity: string // info, danger, warning, success
67
+ severity?: string // info, danger, warning, success
68
68
  title: string
69
69
  description?: string
70
- dismissable: boolean
70
+ dismissable?: boolean
71
71
  }>(), {
72
72
  severity: 'info',
73
73
  dismissable: false,
@@ -24,7 +24,6 @@
24
24
  </template>
25
25
 
26
26
  <script setup>
27
- import { defineProps } from 'vue'
28
27
  import {
29
28
  IconRefresh
30
29
  } from '@tabler/icons-vue';
package/eslint.config.js CHANGED
@@ -1,9 +1,11 @@
1
1
  import js from "@eslint/js";
2
2
  import globals from "globals"
3
3
  import eslintPluginVue from 'eslint-plugin-vue'
4
+ import ts from 'typescript-eslint';
4
5
 
5
6
  export default [
6
7
  js.configs.recommended,
8
+ ...ts.configs.recommended,
7
9
  ...eslintPluginVue.configs['flat/recommended'],
8
10
  {
9
11
  languageOptions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.73.0",
4
+ "version": "3.74.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",
@@ -22,6 +22,7 @@
22
22
  "dependencies": {
23
23
  "@tabler/icons-vue": "^3.0.0",
24
24
  "showdown": "^2.1.0",
25
+ "typescript-eslint": "^8.36.0",
25
26
  "vue": "^3.5.12"
26
27
  },
27
28
  "devDependencies": {