@genesislcap/foundation-ui 14.257.0 → 14.258.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"multiselect.styles.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,iBAAiB,iDA2L7B,CAAC"}
1
+ {"version":3,"file":"multiselect.styles.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,iBAAiB,iDAkM7B,CAAC"}
@@ -1,6 +1,11 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  export const maxheight = 230;
3
3
  export const multiselectStyles = css `
4
+ :host {
5
+ --scrollbar-width: 12px;
6
+ --scrollbar-thumb-width: 8px;
7
+ }
8
+
4
9
  .root {
5
10
  position: relative;
6
11
  width: inherit;
@@ -93,12 +98,30 @@ export const multiselectStyles = css `
93
98
  bottom: 100%;
94
99
  }
95
100
 
101
+ ::-webkit-scrollbar {
102
+ width: var(--scrollbar-width);
103
+ }
104
+
105
+ ::-webkit-scrollbar-track {
106
+ background: var(--neutral-layer-4);
107
+ }
108
+
109
+ ::-webkit-scrollbar-thumb {
110
+ width: var(--scrollbar-thumb-width);
111
+ border-radius: 10px;
112
+ box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);
113
+ background-color: var(--neutral-layer-2);
114
+ border: 3px solid var(--neutral-layer-4);
115
+ }
116
+
117
+ ::-webkit-scrollbar-corner {
118
+ background: var(--neutral-layer-4);
119
+ }
120
+
96
121
  .checkbox-container {
97
122
  display: flex;
98
123
  flex-direction: column;
99
124
  overflow-y: scroll;
100
- scrollbar-width: thin;
101
- scrollbar-color: var(--neutral-layer-2) var(--neutral-layer-4);
102
125
  list-style: none;
103
126
  }
104
127
 
@@ -111,22 +134,6 @@ export const multiselectStyles = css `
111
134
  cursor: not-allowed;
112
135
  }
113
136
 
114
- ::-webkit-scrollbar {
115
- width: 12px;
116
- }
117
-
118
- ::-webkit-scrollbar-track {
119
- background: var(--neutral-layer-4);
120
- }
121
-
122
- ::-webkit-scrollbar-thumb {
123
- width: 8px;
124
- border-radius: 10px;
125
- box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);
126
- background-color: var(--neutral-layer-2);
127
- border: 3px solid var(--neutral-layer-4);
128
- }
129
-
130
137
  .visible {
131
138
  visibility: visible;
132
139
  max-height: ${maxheight.toString()}px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.257.0",
4
+ "version": "14.258.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.257.0",
87
- "@genesislcap/genx": "14.257.0",
88
- "@genesislcap/rollup-builder": "14.257.0",
89
- "@genesislcap/ts-builder": "14.257.0",
90
- "@genesislcap/uvu-playwright-builder": "14.257.0",
91
- "@genesislcap/vite-builder": "14.257.0",
92
- "@genesislcap/webpack-builder": "14.257.0",
86
+ "@genesislcap/foundation-testing": "14.258.0",
87
+ "@genesislcap/genx": "14.258.0",
88
+ "@genesislcap/rollup-builder": "14.258.0",
89
+ "@genesislcap/ts-builder": "14.258.0",
90
+ "@genesislcap/uvu-playwright-builder": "14.258.0",
91
+ "@genesislcap/vite-builder": "14.258.0",
92
+ "@genesislcap/webpack-builder": "14.258.0",
93
93
  "copyfiles": "^2.4.1",
94
94
  "rimraf": "^5.0.0",
95
95
  "rxjs": "^7.5.4"
@@ -100,15 +100,15 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "14.257.0",
104
- "@genesislcap/foundation-comms": "14.257.0",
105
- "@genesislcap/foundation-criteria": "14.257.0",
106
- "@genesislcap/foundation-errors": "14.257.0",
107
- "@genesislcap/foundation-events": "14.257.0",
108
- "@genesislcap/foundation-logger": "14.257.0",
109
- "@genesislcap/foundation-notifications": "14.257.0",
110
- "@genesislcap/foundation-user": "14.257.0",
111
- "@genesislcap/foundation-utils": "14.257.0",
103
+ "@genesislcap/expression-builder": "14.258.0",
104
+ "@genesislcap/foundation-comms": "14.258.0",
105
+ "@genesislcap/foundation-criteria": "14.258.0",
106
+ "@genesislcap/foundation-errors": "14.258.0",
107
+ "@genesislcap/foundation-events": "14.258.0",
108
+ "@genesislcap/foundation-logger": "14.258.0",
109
+ "@genesislcap/foundation-notifications": "14.258.0",
110
+ "@genesislcap/foundation-user": "14.258.0",
111
+ "@genesislcap/foundation-utils": "14.258.0",
112
112
  "@microsoft/fast-colors": "5.3.1",
113
113
  "@microsoft/fast-components": "2.30.6",
114
114
  "@microsoft/fast-element": "1.14.0",
@@ -130,5 +130,5 @@
130
130
  "access": "public"
131
131
  },
132
132
  "customElements": "dist/custom-elements.json",
133
- "gitHead": "111a319fad6178b896179e8fef9bb79b9da31867"
133
+ "gitHead": "e562f76e90a86429a5215f568052c74e46b6f5db"
134
134
  }