@dative-gpi/foundation-shared-components 1.0.42 → 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.
@@ -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.42",
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.42",
14
- "@dative-gpi/foundation-shared-services": "1.0.42"
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": "0c0ad1947f4b469307f0e9a5c636b4d5df11c589"
38
+ "gitHead": "4fc1ee85626231a579c6b9565da9b7b93f5f4ebd"
39
39
  }
@@ -1,18 +1,16 @@
1
+ .fs-gradient-field-select > .v-input__control > .v-field {
2
+ display: flex;
1
3
 
2
- .fs-gradient-select-field .v-select__selection {
3
- width: 100%;
4
- }
5
-
6
- .fs-gradient-select-field .v-field {
7
- grid-template-columns: min-content min-content minmax(0, 1fr) min-content;
8
- }
4
+ & > .v-field__prepend-inner {
5
+ flex: 1;
6
+ }
9
7
 
10
- .fs-gradient-field-preview {
11
- padding: 13px 20px;
12
- > span {
13
- height: 12px;
14
- background: var(--fs-gradient-field-background) !important;
15
- width: 100%;
8
+ & > .v-field__field {
9
+ flex: 0;
16
10
  }
17
11
  }
18
12
 
13
+ .fs-gradient-field-preview {
14
+ background: var(--fs-gradient-field-background) !important;
15
+ min-width: 100%;
16
+ }