@autoafleveren/ui 0.9.6 → 0.9.7
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/dist/config/eslint.cjs +1 -1
- package/dist/config/tailwind/config.cjs +50 -0
- package/dist/icons.cjs +46 -46
- package/dist/icons.js +5201 -3931
- package/dist/style.css +1 -1
- package/dist/types/components/AppActionBar/AppActionBar.vue.d.ts +2 -0
- package/dist/types/components/AppActionBar/AppActionBarItem.vue.d.ts +13 -0
- package/dist/types/components/AppActionBar/index.d.ts +3 -0
- package/dist/types/components/AppAlert/AppAlert.vue.d.ts +9 -9
- package/dist/types/components/AppBadge/AppBadge.vue.d.ts +3 -3
- package/dist/types/components/AppBadge/index.d.ts +1 -1
- package/dist/types/components/AppCard/AppCard.vue.d.ts +9 -9
- package/dist/types/components/AppConfirm/AppConfirm.vue.d.ts +9 -9
- package/dist/types/components/AppDataTable/AppDataTable.vue.d.ts +52 -0
- package/dist/types/components/AppDataTable/AppDataTableFooter.vue.d.ts +28 -0
- package/dist/types/components/AppInput/choice.d.ts +1 -0
- package/dist/types/components/AppPagination/AppPagination.vue.d.ts +50 -0
- package/dist/types/components/AppPagination/AppPaginationItem.vue.d.ts +40 -0
- package/dist/types/components/AppSelect/AppSelect.vue.d.ts +62 -0
- package/dist/types/components/AppSelect/index.d.ts +52 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/useActionBar/index.d.ts +140 -0
- package/dist/types/composables/useNavigation/index.d.ts +2 -1
- package/dist/types/icons/CarsIcon.vue.d.ts +2 -0
- package/dist/types/icons/index.d.ts +1 -0
- package/dist/types/layouts/Base/Base.vue.d.ts +1 -0
- package/dist/ui-library.css +2 -3
- package/dist/ui.cjs +12 -12
- package/dist/ui.css +1 -1
- package/dist/ui.js +8111 -4622
- package/package.json +23 -18
- package/dist/types/components/AppInput/__mocks__/location.d.ts +0 -2
- package/dist/types/components/AppTimeline/__mocks__/timeline.d.ts +0 -4
- package/dist/types/composables/useNavigation/__mocks__/navigation.d.ts +0 -2
package/dist/config/eslint.cjs
CHANGED
|
@@ -39,7 +39,6 @@ const testOverrideRules = {
|
|
|
39
39
|
|
|
40
40
|
/** @type {import('eslint').Config} */
|
|
41
41
|
module.exports = {
|
|
42
|
-
root: true,
|
|
43
42
|
env: {
|
|
44
43
|
node: true,
|
|
45
44
|
},
|
|
@@ -124,6 +123,7 @@ module.exports = {
|
|
|
124
123
|
'vue/one-component-per-file': 'off',
|
|
125
124
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
126
125
|
'@typescript-eslint/no-floating-promises': 'off',
|
|
126
|
+
'@typescript-eslint/no-unsafe-call': 'off',
|
|
127
127
|
'vitest/consistent-test-it': 'error',
|
|
128
128
|
'vitest/no-alias-methods': 'error',
|
|
129
129
|
'vitest/no-conditional-expect': 'error',
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const screens = require('./screens.json');
|
|
2
|
+
const svgToDataUri = require('mini-svg-data-uri');
|
|
2
3
|
|
|
3
4
|
/** @type {import('tailwindcss').Config} */
|
|
4
5
|
module.exports = {
|
|
@@ -77,8 +78,42 @@ module.exports = {
|
|
|
77
78
|
900: '#14532d',
|
|
78
79
|
},
|
|
79
80
|
indigo: {
|
|
81
|
+
200: '#C7D2FE',
|
|
82
|
+
600: '#4F46E5',
|
|
80
83
|
900: '#162C87',
|
|
81
84
|
},
|
|
85
|
+
lime: {
|
|
86
|
+
200: '#D9F99D',
|
|
87
|
+
600: '#65A30D',
|
|
88
|
+
},
|
|
89
|
+
orange: {
|
|
90
|
+
200: '#FED7AA',
|
|
91
|
+
500: '#E25C2A',
|
|
92
|
+
},
|
|
93
|
+
sky: {
|
|
94
|
+
200: '#BAE6FD',
|
|
95
|
+
600: '#0284C7',
|
|
96
|
+
},
|
|
97
|
+
teal: {
|
|
98
|
+
200: '#99F6E4',
|
|
99
|
+
600: '#0D9488',
|
|
100
|
+
},
|
|
101
|
+
violet: {
|
|
102
|
+
200: '#DDD6FE',
|
|
103
|
+
600: '#7C3AED',
|
|
104
|
+
},
|
|
105
|
+
blue: {
|
|
106
|
+
200: '#BFDBFE',
|
|
107
|
+
600: '#2563EB',
|
|
108
|
+
},
|
|
109
|
+
gold: {
|
|
110
|
+
200: '#FDE68A',
|
|
111
|
+
600: '#D97706',
|
|
112
|
+
},
|
|
113
|
+
pink: {
|
|
114
|
+
200: '#FBCFE8',
|
|
115
|
+
600: '#DB2777',
|
|
116
|
+
},
|
|
82
117
|
},
|
|
83
118
|
screens,
|
|
84
119
|
extend: {
|
|
@@ -94,6 +129,7 @@ module.exports = {
|
|
|
94
129
|
141: '34.375rem',
|
|
95
130
|
},
|
|
96
131
|
borderWidth: {
|
|
132
|
+
'4.5': '1.2rem',
|
|
97
133
|
10: '10px',
|
|
98
134
|
},
|
|
99
135
|
scale: {
|
|
@@ -109,6 +145,20 @@ module.exports = {
|
|
|
109
145
|
transitionProperty: {
|
|
110
146
|
'font': 'font-weight, font-size, line-height',
|
|
111
147
|
},
|
|
148
|
+
zIndex: {
|
|
149
|
+
'100': 100,
|
|
150
|
+
},
|
|
151
|
+
backgroundImage: (theme) => ({
|
|
152
|
+
'multiselect-caret': `url("${svgToDataUri(
|
|
153
|
+
`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5" /></svg>`,
|
|
154
|
+
)}")`,
|
|
155
|
+
'multiselect-spinner': `url("${svgToDataUri(
|
|
156
|
+
`<svg viewBox="0 0 512 512" fill="${theme('primaryColor')}" xmlns="http://www.w3.org/2000/svg"><path d="M456.433 371.72l-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z"></path></svg>`,
|
|
157
|
+
)}")`,
|
|
158
|
+
'multiselect-remove': `url("${svgToDataUri(
|
|
159
|
+
`<svg viewBox="0 0 320 512" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"></path></svg>`,
|
|
160
|
+
)}")`,
|
|
161
|
+
}),
|
|
112
162
|
},
|
|
113
163
|
},
|
|
114
164
|
plugins: [],
|