@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/package.json CHANGED
@@ -1,118 +1,117 @@
1
1
  {
2
- "name": "@bagelink/vue",
3
- "type": "module",
4
- "version": "1.21.50",
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
- "@bagelink/sdk": "workspace:*",
63
- "@types/leaflet": "^1.9.22",
64
- "@types/signature_pad": "^4.0.0",
65
- "vue": "^3.5.45",
66
- "vue-component-type-helpers": "^2.2.12"
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
- "scripts": {
82
- "prepublishOnly": "pnpm build",
83
- "dev": "tsx watch src/index.ts",
84
- "build": "vite build && pnpm verify:css",
85
- "verify:css": "tsx scripts/verify-css-build.ts",
86
- "gen:cheatsheet": "tsx scripts/gen-cheatsheet.ts",
87
- "start": "tsx src/index.ts"
88
- },
89
- "publishConfig": {
90
- "access": "public"
91
- },
92
- "dependencies": {
93
- "@codemirror/commands": "^6.11.1",
94
- "@codemirror/lang-css": "^6.3.1",
95
- "@codemirror/lang-html": "^6.4.12",
96
- "@codemirror/lang-javascript": "^6.2.5",
97
- "@codemirror/lang-json": "^6.0.2",
98
- "@codemirror/language": "^6.13.1",
99
- "@codemirror/search": "^6.7.2",
100
- "@codemirror/state": "^6.7.6",
101
- "@codemirror/view": "^6.43.15",
102
- "@floating-ui/dom": "^1.8.0",
103
- "@oddbird/popover-polyfill": "^0.6.1",
104
- "@uiw/codemirror-theme-atomone": "^4.25.12",
105
- "@vueuse/core": "^13.9.0",
106
- "@zxcvbn-ts/core": "^3.0.4",
107
- "axios": "^1.20.0",
108
- "floating-vue": "^5.4.0",
109
- "libphonenumber-js": "^1.13.14",
110
- "page-flip": "^2.0.7",
111
- "pdfjs-dist": "^6.3.289",
112
- "prettier": "^3.9.9",
113
- "signature_pad": "^5.1.4",
114
- "swiper": "^12.2.0",
115
- "vue-i18n": "^11.4.12",
116
- "vue-toastification": "^2.0.0-rc.5"
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
+ }
@@ -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,
@@ -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";