vueless 0.0.65 → 0.0.66
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
package/ui.button-link/index.vue
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
:to="route"
|
|
11
11
|
:target="targetValue"
|
|
12
12
|
:data-cy="dataCy"
|
|
13
|
+
:active-class="activeClass"
|
|
14
|
+
:exact-active-class="exactActiveClass"
|
|
13
15
|
v-bind="linkAttrs"
|
|
14
16
|
@blur="onBlur"
|
|
15
17
|
@click="onClick"
|
|
@@ -121,6 +123,22 @@ const props = defineProps({
|
|
|
121
123
|
default: UIService.get(defaultConfig, ULink).default.targetBlank,
|
|
122
124
|
},
|
|
123
125
|
|
|
126
|
+
/**
|
|
127
|
+
* Apply classes to the link when its route is active or when it matches any parent route.
|
|
128
|
+
*/
|
|
129
|
+
activeClass: {
|
|
130
|
+
type: Boolean,
|
|
131
|
+
default: UIService.get(defaultConfig, ULink).default.activeClass,
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Apply classes to the link when its route is active.
|
|
136
|
+
*/
|
|
137
|
+
exactActiveClass: {
|
|
138
|
+
type: Boolean,
|
|
139
|
+
default: UIService.get(defaultConfig, ULink).default.exactActiveClass,
|
|
140
|
+
},
|
|
141
|
+
|
|
124
142
|
/**
|
|
125
143
|
* Show underline.
|
|
126
144
|
*/
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.66",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -4284,6 +4284,24 @@
|
|
|
4284
4284
|
},
|
|
4285
4285
|
"default": "false"
|
|
4286
4286
|
},
|
|
4287
|
+
{
|
|
4288
|
+
"name": "activeClass",
|
|
4289
|
+
"description": "Apply classes to the link when its route is active or when it matches any parent route.",
|
|
4290
|
+
"value": {
|
|
4291
|
+
"kind": "expression",
|
|
4292
|
+
"type": "boolean"
|
|
4293
|
+
},
|
|
4294
|
+
"default": "group/router-link-active"
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
"name": "exactActiveClass",
|
|
4298
|
+
"description": "Apply classes to the link when its route is active.",
|
|
4299
|
+
"value": {
|
|
4300
|
+
"kind": "expression",
|
|
4301
|
+
"type": "boolean"
|
|
4302
|
+
},
|
|
4303
|
+
"default": "group/router-link-exact-active"
|
|
4304
|
+
},
|
|
4287
4305
|
{
|
|
4288
4306
|
"name": "underlined",
|
|
4289
4307
|
"description": "Show underline.",
|