@thinkpixellab-public/px-vue 4.0.14 → 4.0.16
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.
|
@@ -53,8 +53,8 @@ ar
|
|
|
53
53
|
import PxBaseResize from '../bases/PxBaseResize.vue';
|
|
54
54
|
import PxIconButton from './PxIconButton.vue';
|
|
55
55
|
import PxIcon from './PxIcon.vue';
|
|
56
|
-
import arrowStartIconDefault from '../assets/feather/arrow-left.svg?url';
|
|
57
|
-
import arrowEndIconDefault from '../assets/feather/arrow-right.svg?url';
|
|
56
|
+
// import arrowStartIconDefault from '../assets/feather/arrow-left.svg?url';
|
|
57
|
+
// import arrowEndIconDefault from '../assets/feather/arrow-right.svg?url';
|
|
58
58
|
import { svgArrow } from '../utils/svgIcons.js';
|
|
59
59
|
|
|
60
60
|
import propsFilter from '../utils/propsFilter.js';
|
|
@@ -64,7 +64,7 @@ import propsFilter from '../utils/propsFilter.js';
|
|
|
64
64
|
Creates a horizontally scrolling container with an invisible scrollbar and arrows on either side.
|
|
65
65
|
|
|
66
66
|
```html
|
|
67
|
-
<px-arrow-scroller :arrow-start-src="
|
|
67
|
+
<px-arrow-scroller :arrow-start-src="yourCustomArrowStartIcon" :arrow-end-src="yourCustomArrowEndIcon">
|
|
68
68
|
|
|
69
69
|
<template #button="{location}">
|
|
70
70
|
// this can look like a button but it will ultimately be wrapped by a button
|
package/components/PxTable.vue
CHANGED
package/components/PxToggle.vue
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
aria-role="switch"
|
|
8
8
|
:aria-checked="checkedValue"
|
|
9
9
|
@click="toggleChecked"
|
|
10
|
+
:type="buttonType"
|
|
10
11
|
>
|
|
11
12
|
<span
|
|
12
13
|
:class="[bem('track'), trackClass]"
|
|
@@ -66,6 +67,9 @@ export default {
|
|
|
66
67
|
|
|
67
68
|
/** Toggle the label/toggle order */
|
|
68
69
|
reverse: { type: Boolean, default: false },
|
|
70
|
+
|
|
71
|
+
// 'submit' (default for <button> if not set), 'reset' (resets form) or 'button' (no action)
|
|
72
|
+
buttonType: { type: String, default: 'button' },
|
|
69
73
|
},
|
|
70
74
|
};
|
|
71
75
|
</script>
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thinkpixellab-public/px-vue",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.16",
|
|
4
4
|
"description": "General purpose Vue components and helpers that can be used across projects.",
|
|
5
5
|
"author": "Pixel Lab",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "git+https://github.com/thinkpixellab/px-vue.git"
|
|
@@ -16,59 +17,56 @@
|
|
|
16
17
|
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve dev/serve.js"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@floating-ui/dom": "^1.6.
|
|
20
|
+
"@floating-ui/dom": "^1.6.7",
|
|
20
21
|
"@popperjs/core": "^2.11.8",
|
|
21
|
-
"@storybook/test": "^8.
|
|
22
|
+
"@storybook/test": "^8.1.11",
|
|
22
23
|
"@thinkpixellab-public/px-styles": "^4.0.2",
|
|
23
|
-
"@thinkpixellab-public/px-vue": "^3.0.97",
|
|
24
24
|
"@thinkpixellab-public/px-vue-tester": "^2.0.0",
|
|
25
25
|
"@thinkpixellab-public/vue-resize-directive": "^1.2.2",
|
|
26
|
-
"@vueuse/core": "^10.9.0",
|
|
27
26
|
"body-scroll-lock": "^3.1.5",
|
|
28
|
-
"chrono-node": "^2.
|
|
27
|
+
"chrono-node": "^2.7.6",
|
|
29
28
|
"dateformat": "^5.0.3",
|
|
30
|
-
"
|
|
31
|
-
"gsap": "^3.10.4",
|
|
29
|
+
"gsap": "^3.12.5",
|
|
32
30
|
"highlight.js": "^11.9.0",
|
|
33
31
|
"mitt": "^3.0.1",
|
|
34
|
-
"qrcode": "^1.5.
|
|
32
|
+
"qrcode": "^1.5.3",
|
|
35
33
|
"qrcode.vue": "^3.4.1",
|
|
36
34
|
"sortablejs": "^1.15.2",
|
|
37
|
-
"storybook-dark-mode": "^4.0.
|
|
38
|
-
"throttle-debounce": "^5.0.
|
|
35
|
+
"storybook-dark-mode": "^4.0.2",
|
|
36
|
+
"throttle-debounce": "^5.0.2",
|
|
39
37
|
"tiny-date-picker": "^3.2.8",
|
|
40
38
|
"tinycolor2": "^1.6.0",
|
|
41
|
-
"vue": "^3.4.
|
|
42
|
-
"vue-inline-svg": "^3.1.
|
|
39
|
+
"vue": "^3.4.31",
|
|
40
|
+
"vue-inline-svg": "^3.1.3"
|
|
43
41
|
},
|
|
44
42
|
"devDependencies": {
|
|
45
|
-
"@babel/core": "^7.
|
|
46
|
-
"@chromatic-com/storybook": "^1.
|
|
47
|
-
"@rushstack/eslint-patch": "^1.
|
|
48
|
-
"@storybook/addon-essentials": "^8.
|
|
49
|
-
"@storybook/addon-interactions": "^8.
|
|
50
|
-
"@storybook/addon-links": "^8.
|
|
51
|
-
"@storybook/addon-mdx-gfm": "^8.
|
|
52
|
-
"@storybook/blocks": "^8.
|
|
53
|
-
"@storybook/manager-api": "^8.
|
|
54
|
-
"@storybook/theming": "^8.
|
|
55
|
-
"@storybook/vue3": "^8.
|
|
56
|
-
"@storybook/vue3-vite": "^8.
|
|
57
|
-
"@vitejs/plugin-vue": "^5.0.
|
|
43
|
+
"@babel/core": "^7.24.7",
|
|
44
|
+
"@chromatic-com/storybook": "^1.6.0",
|
|
45
|
+
"@rushstack/eslint-patch": "^1.10.3",
|
|
46
|
+
"@storybook/addon-essentials": "^8.1.11",
|
|
47
|
+
"@storybook/addon-interactions": "^8.1.11",
|
|
48
|
+
"@storybook/addon-links": "^8.1.11",
|
|
49
|
+
"@storybook/addon-mdx-gfm": "^8.1.11",
|
|
50
|
+
"@storybook/blocks": "^8.1.11",
|
|
51
|
+
"@storybook/manager-api": "^8.1.11",
|
|
52
|
+
"@storybook/theming": "^8.1.11",
|
|
53
|
+
"@storybook/vue3": "^8.1.11",
|
|
54
|
+
"@storybook/vue3-vite": "^8.1.11",
|
|
55
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
58
56
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
59
|
-
"@vue/test-utils": "^2.4.
|
|
57
|
+
"@vue/test-utils": "^2.4.6",
|
|
60
58
|
"babel-eslint": "^10.1.0",
|
|
61
59
|
"babel-loader": "^9.1.3",
|
|
62
|
-
"eslint": "^
|
|
60
|
+
"eslint": "^9.6.0",
|
|
63
61
|
"eslint-plugin-storybook": "^0.8.0",
|
|
64
|
-
"eslint-plugin-vue": "^9.
|
|
65
|
-
"jsdom": "^24.
|
|
66
|
-
"prettier": "^3.2
|
|
67
|
-
"sass": "^1.
|
|
68
|
-
"storybook": "^8.
|
|
69
|
-
"storybook-addon-pseudo-states": "^3.
|
|
70
|
-
"vite": "^5.2
|
|
71
|
-
"vitest": "^1.
|
|
62
|
+
"eslint-plugin-vue": "^9.27.0",
|
|
63
|
+
"jsdom": "^24.1.0",
|
|
64
|
+
"prettier": "^3.3.2",
|
|
65
|
+
"sass": "^1.77.6",
|
|
66
|
+
"storybook": "^8.1.11",
|
|
67
|
+
"storybook-addon-pseudo-states": "^3.1.1",
|
|
68
|
+
"vite": "^5.3.2",
|
|
69
|
+
"vitest": "^1.6.0",
|
|
72
70
|
"vue-loader": "^17.4.2"
|
|
73
71
|
}
|
|
74
72
|
}
|