@bagelink/vue 1.21.50 → 1.21.51
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/LICENSE +21 -0
- package/dist/{StructuredEditor-Br8oBdPt.cjs → StructuredEditor-BUnLClCn.cjs} +1 -1
- package/dist/{StructuredEditor-BszsyuHR.js → StructuredEditor-e8PRp7kq.js} +1 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/core.css +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-DaSKch48.js → src-BTEY3Itg.js} +5 -3
- package/dist/{src-Dlh5iQ0R.cjs → src-s7k-lOzw.cjs} +2 -2
- package/dist/src.css +1 -1
- package/dist/style.css +2 -2
- package/package.json +116 -117
- package/src/components/Btn.vue +8 -0
- package/src/components/Icon/Icon.vue +1 -1
- package/src/styles/core.css +1 -1
package/package.json
CHANGED
|
@@ -1,118 +1,117 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
2
|
+
"name": "@bagelink/vue",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.21.51",
|
|
5
|
+
"description": "Bagel core sdk packages",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Bagel Studio",
|
|
8
|
+
"email": "hi@bagelstudio.co.il"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"homepage": "https://github.com/bageldb/bagelink/tree/master/packages/vue#readme",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/bageldb/bagelink.git",
|
|
15
|
+
"directory": "packages/vue"
|
|
16
|
+
},
|
|
17
|
+
"bugs": "https://github.com/bageldb/bagelink/issues",
|
|
18
|
+
"keywords": [],
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"**/*.css"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
"./tsconfig.json": "./tsconfig.json",
|
|
24
|
+
"./package.json": "./package.json",
|
|
25
|
+
"./src": "./src/index.ts",
|
|
26
|
+
"./src/components": "./src/components/index.ts",
|
|
27
|
+
"./src/utils": "./src/utils/index.ts",
|
|
28
|
+
"./src/types": "./src/types/index.ts",
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"require": "./dist/index.cjs",
|
|
32
|
+
"import": "./dist/index.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./style.css": "./dist/style.css",
|
|
35
|
+
"./styles/core.css": "./dist/core.css",
|
|
36
|
+
"./styles/admin.css": "./dist/style.css",
|
|
37
|
+
"./styles/fonts/admin.css": "./dist/admin.css",
|
|
38
|
+
"./styles/fonts/ploni.css": "./dist/ploni.css",
|
|
39
|
+
"./*": "./*"
|
|
40
|
+
},
|
|
41
|
+
"main": "./dist/index.cjs",
|
|
42
|
+
"module": "./dist/index.mjs",
|
|
43
|
+
"types": "./dist/index.d.ts",
|
|
44
|
+
"typesVersions": {
|
|
45
|
+
"*": {
|
|
46
|
+
"*": [
|
|
47
|
+
"./dist/*",
|
|
48
|
+
"./dist/index.d.ts"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"bin": {
|
|
53
|
+
"experimentalGenTypedRoutes": "./bin/experimentalGenTypedRoutes.ts"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist",
|
|
57
|
+
"src",
|
|
58
|
+
"./vite.config.ts",
|
|
59
|
+
"bin/experimentalGenTypedRoutes.ts"
|
|
60
|
+
],
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/leaflet": "^1.9.22",
|
|
63
|
+
"@types/signature_pad": "^4.0.0",
|
|
64
|
+
"vue": "^3.5.45",
|
|
65
|
+
"vue-component-type-helpers": "^2.2.12",
|
|
66
|
+
"@bagelink/sdk": "1.21.51"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@bagelink/sdk": "*",
|
|
70
|
+
"type-fest": "^4",
|
|
71
|
+
"vue": "*",
|
|
72
|
+
"vue-component-type-helpers": ">=2.2.10",
|
|
73
|
+
"vue-draggable-next": "^2.2.1",
|
|
74
|
+
"vue-router": "*"
|
|
75
|
+
},
|
|
76
|
+
"peerDependenciesMeta": {
|
|
77
|
+
"vue-draggable-next": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@codemirror/commands": "^6.11.1",
|
|
86
|
+
"@codemirror/lang-css": "^6.3.1",
|
|
87
|
+
"@codemirror/lang-html": "^6.4.12",
|
|
88
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
89
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
90
|
+
"@codemirror/language": "^6.13.1",
|
|
91
|
+
"@codemirror/search": "^6.7.2",
|
|
92
|
+
"@codemirror/state": "^6.7.6",
|
|
93
|
+
"@codemirror/view": "^6.43.15",
|
|
94
|
+
"@floating-ui/dom": "^1.8.0",
|
|
95
|
+
"@oddbird/popover-polyfill": "^0.6.1",
|
|
96
|
+
"@uiw/codemirror-theme-atomone": "^4.25.12",
|
|
97
|
+
"@vueuse/core": "^13.9.0",
|
|
98
|
+
"@zxcvbn-ts/core": "^3.0.4",
|
|
99
|
+
"axios": "^1.20.0",
|
|
100
|
+
"floating-vue": "^5.4.0",
|
|
101
|
+
"libphonenumber-js": "^1.13.14",
|
|
102
|
+
"page-flip": "^2.0.7",
|
|
103
|
+
"pdfjs-dist": "^6.3.289",
|
|
104
|
+
"prettier": "^3.9.9",
|
|
105
|
+
"signature_pad": "^5.1.4",
|
|
106
|
+
"swiper": "^12.2.0",
|
|
107
|
+
"vue-i18n": "^11.4.12",
|
|
108
|
+
"vue-toastification": "^2.0.0-rc.5"
|
|
109
|
+
},
|
|
110
|
+
"scripts": {
|
|
111
|
+
"dev": "tsx watch src/index.ts",
|
|
112
|
+
"build": "vite build && pnpm verify:css",
|
|
113
|
+
"verify:css": "tsx scripts/verify-css-build.ts",
|
|
114
|
+
"gen:cheatsheet": "tsx scripts/gen-cheatsheet.ts",
|
|
115
|
+
"start": "tsx src/index.ts"
|
|
116
|
+
}
|
|
117
|
+
}
|
package/src/components/Btn.vue
CHANGED
|
@@ -212,6 +212,14 @@ const bind = computed(() => {
|
|
|
212
212
|
obj.role = props.role
|
|
213
213
|
obj.type = props.type
|
|
214
214
|
}
|
|
215
|
+
// Accessibility: an icon-only button/link renders no text, so screen readers
|
|
216
|
+
// get nothing to announce (Lighthouse `button-name` / `link-name`). Derive a
|
|
217
|
+
// label from the icon name unless the consumer already set one.
|
|
218
|
+
const isIconOnly = props.icon && !slots?.default && !props.value
|
|
219
|
+
const labeled = obj['aria-label'] || obj.title
|
|
220
|
+
if (isIconOnly && !labeled && props.icon) {
|
|
221
|
+
obj['aria-label'] = String(props.icon).replaceAll('_', ' ')
|
|
222
|
+
}
|
|
215
223
|
return obj
|
|
216
224
|
})
|
|
217
225
|
function handleKeydown(event: KeyboardEvent) {
|
|
@@ -225,7 +225,7 @@ const iconStyle = computed(() => {
|
|
|
225
225
|
* (`GRAD`) — so pin those to a single value. Dropping two of the four axis
|
|
226
226
|
* RANGES shrinks the served font dramatically (the full ~3.8MB font is the
|
|
227
227
|
* single biggest asset on the page) while keeping weight/fill working. */
|
|
228
|
-
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,100..700,0..1,0');
|
|
228
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,100..700,0..1,0&display=swap');
|
|
229
229
|
|
|
230
230
|
[dir='rtl'] .data-row .bgl_icon-font,
|
|
231
231
|
[dir='rtl'] .embedded-field .bgl_icon-font,
|
package/src/styles/core.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Font-neutral Bagel UI stylesheet for public/customer sites.
|
|
2
2
|
Apps choose their own typography and may import optional font packs. */
|
|
3
|
-
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,100..700,0..1,0');
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,100..700,0..1,0&display=swap');
|
|
4
4
|
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/brands.min.css');
|
|
5
5
|
|
|
6
6
|
@import "theme.css";
|