@unsource/ui 2.7.16 → 2.7.17

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unsource-ui",
3
3
  "configKey": "unsourceUi",
4
- "version": "2.7.16",
4
+ "version": "2.7.17",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="px-4 py-3 flex items-center gap-2 transition duration-300 hover:bg-primary-100"
3
+ class="select-none group px-4 py-3 flex items-center gap-2 transition duration-300 hover:bg-primary-100"
4
4
  :class="{ 'opacity-50 grayscale': disabled, 'disable': disabled, 'selected': selected }"
5
5
  @click="toggle"
6
6
  >
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  routable?: boolean;
11
11
  routeTarget?: 'query' | 'hash' | 'name' | 'params';
12
12
  label?: string;
13
- customClass?: Partial<Record<'label' | 'selectedLabel' | 'normalLabel' | 'title' | 'icon', string>>;
13
+ customClass?: Partial<Record<'label' | 'title' | 'icon', string>>;
14
14
  };
15
15
  type __VLS_ModelProps = {
16
16
  modelValue?: string | number;
@@ -5,11 +5,10 @@
5
5
  :key="item.value"
6
6
  :class="[
7
7
  customClass.label,
8
- item?.value === value ? customClass.selectedLabel : customClass.normalLabel,
9
- item?.value === value ? 'font-semibold bg-primary-500 cursor-default border-b-primary' : 'border-b-border',
8
+ item?.value === value ? 'selected font-semibold bg-primary-500 cursor-default border-b-primary' : 'border-b-border',
10
9
  mini ? 'px-3' : ' px-4'
11
10
  ]"
12
- class="flex gap-2 justify-center items-center flex-grow basis-1 border-b-(2 solid) cursor-pointer p-3 text-sm"
11
+ class="group flex gap-2 justify-center items-center flex-grow basis-1 border-b-(2 solid) cursor-pointer p-3 text-sm"
13
12
  @click="addToQuery(item)"
14
13
  >
15
14
  <input
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  routable?: boolean;
11
11
  routeTarget?: 'query' | 'hash' | 'name' | 'params';
12
12
  label?: string;
13
- customClass?: Partial<Record<'label' | 'selectedLabel' | 'normalLabel' | 'title' | 'icon', string>>;
13
+ customClass?: Partial<Record<'label' | 'title' | 'icon', string>>;
14
14
  };
15
15
  type __VLS_ModelProps = {
16
16
  modelValue?: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "2.7.16",
3
+ "version": "2.7.17",
4
4
  "private": false,
5
5
  "description": "nuxt ui kit for unsource env",
6
6
  "repository": "https://github.com/alisa2142/unsource-ui",