@genesislcap/rapid-design-system 14.141.0 → 14.141.2

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.
@@ -4,4 +4,5 @@ export default meta;
4
4
  export declare const Primary: StoryObj;
5
5
  export declare const Disabled: StoryObj;
6
6
  export declare const DisabledOptions: StoryObj;
7
+ export declare const AutoPosition: StoryObj;
7
8
  //# sourceMappingURL=multiselect.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"multiselect.stories.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAqGpB,eAAO,MAAM,OAAO,EAAE,QAoBrB,CAAC;AACF,eAAO,MAAM,QAAQ,EAAE,QAoBtB,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,QAc7B,CAAC"}
1
+ {"version":3,"file":"multiselect.stories.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAqGpB,eAAO,MAAM,OAAO,EAAE,QAqBrB,CAAC;AACF,eAAO,MAAM,QAAQ,EAAE,QAqBtB,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,QAc7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAoB1B,CAAC"}
@@ -120,6 +120,7 @@ export const Primary = {
120
120
  search: true,
121
121
  disabled: false,
122
122
  countries: countriesList,
123
+ autoPosition: true,
123
124
  },
124
125
  };
125
126
  export const Disabled = {
@@ -141,6 +142,7 @@ export const Disabled = {
141
142
  search: true,
142
143
  countries: countriesList,
143
144
  disabled: true,
145
+ autoPosition: true,
144
146
  },
145
147
  };
146
148
  export const DisabledOptions = {
@@ -158,3 +160,24 @@ export const DisabledOptions = {
158
160
  countries: disabledCountriesExample,
159
161
  },
160
162
  };
163
+ export const AutoPosition = {
164
+ render: ({ name, text, countries, search, autoPosition }) => html `
165
+ <div style="min-height: 400px;">
166
+ <rapid-multiselect
167
+ name="${name}"
168
+ .options="${countries}"
169
+ auto-position="${autoPosition}"
170
+ search="${search}"
171
+ >
172
+ <label slot="label">${text}</label>
173
+ </rapid-multiselect>
174
+ </div>
175
+ `,
176
+ args: {
177
+ name: 'Countries',
178
+ text: 'Disabled Auto Position',
179
+ search: true,
180
+ countries: disabledCountriesExample,
181
+ autoPosition: false,
182
+ },
183
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "14.141.0",
4
+ "version": "14.141.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -28,7 +28,7 @@
28
28
  "test-storybook": "test-storybook -- --coverage --passWithNoTests --testTimeout=30000"
29
29
  },
30
30
  "devDependencies": {
31
- "@genesislcap/genx": "14.141.0",
31
+ "@genesislcap/genx": "14.141.2",
32
32
  "@storybook/addon-coverage": "^1.0.0",
33
33
  "@storybook/addon-essentials": "^7.6.7",
34
34
  "@storybook/addon-links": "^7.6.7",
@@ -45,8 +45,8 @@
45
45
  "storybook": "^7.6.7"
46
46
  },
47
47
  "dependencies": {
48
- "@genesislcap/foundation-logger": "14.141.0",
49
- "@genesislcap/foundation-ui": "14.141.0",
48
+ "@genesislcap/foundation-logger": "14.141.2",
49
+ "@genesislcap/foundation-ui": "14.141.2",
50
50
  "@microsoft/fast-colors": "^5.3.1",
51
51
  "@microsoft/fast-components": "^2.30.6",
52
52
  "@microsoft/fast-element": "^1.12.0",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "0a56f4af76d0b6852dfb0fd6a01f721db3a1e867"
66
+ "gitHead": "51b9d2cd8291ce37769cbbb5135f19b8a726f642"
67
67
  }