@dative-gpi/foundation-shared-components 1.0.43 → 1.0.44

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.
@@ -472,7 +472,7 @@
472
472
  </template>
473
473
 
474
474
  <script lang="ts">
475
- import { computed, defineComponent, type PropType, ref, type Slot, type StyleValue } from "vue";
475
+ import { computed, defineComponent, type PropType, ref, type Slot, type StyleValue, watch } from "vue";
476
476
 
477
477
  import { useBreakpoints, useColors, useRules, useSlots } from "@dative-gpi/foundation-shared-components/composables";
478
478
  import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
@@ -768,6 +768,10 @@ export default defineComponent({
768
768
  showExtra.value = true;
769
769
  };
770
770
 
771
+ watch(search, () => {
772
+ emit("update:search", search.value);
773
+ });
774
+
771
775
  return {
772
776
  autocompleteSlots,
773
777
  toggleSetSlots,
@@ -53,7 +53,8 @@ export const useColors = () => {
53
53
  if(color.darken(0.15).isLight()){
54
54
  return color.darken(0.8);
55
55
  }
56
- return color.lighten(color.value() / 50);
56
+
57
+ return color.lightness(color.lightness() < 30 ? 100 : Math.min(color.lightness() + 60, 100));
57
58
  }
58
59
 
59
60
  const parseColor = (color: ColorBase): Color => {
@@ -105,7 +106,7 @@ export const useColors = () => {
105
106
  const colors: string[][] = [];
106
107
  for (let saturation = baseMinSaturation; saturation <= 100; saturation += (100 - baseMinSaturation) / (columnCount - 1)) {
107
108
  const colorsRow = [];
108
- for (let hue = 0; hue < 360; hue += 15) {
109
+ for (let hue = 0; hue < 360; hue += 5) {
109
110
  const color = new Color({ h: hue, s: saturation, v: baseFixedBrightness });
110
111
  colorsRow.push(color.hex());
111
112
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.43",
4
+ "version": "1.0.44",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.43",
14
- "@dative-gpi/foundation-shared-services": "1.0.43"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.44",
14
+ "@dative-gpi/foundation-shared-services": "1.0.44"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^0.0.75",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "30a450a1f1843ffd8d38d5ff3f86c4349480ed74"
38
+ "gitHead": "4fc1ee85626231a579c6b9565da9b7b93f5f4ebd"
39
39
  }