@genesislcap/foundation-zero 14.189.0 → 14.189.1-alpha-971cf4f.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.
@@ -22077,6 +22077,18 @@
22077
22077
  "name": "Multiselect",
22078
22078
  "module": "src/multiselect/multiselect.ts"
22079
22079
  }
22080
+ },
22081
+ {
22082
+ "name": "position",
22083
+ "type": {
22084
+ "text": "Position"
22085
+ },
22086
+ "description": "Controls the positioning of the multiselect dropdown. Accepts the following values:\n- Position.ABOVE: Forces the dropdown to always open above the input field.\n- Position.BELOW: Forces the dropdown to always open below the input field.",
22087
+ "fieldName": "position",
22088
+ "inheritedFrom": {
22089
+ "name": "Multiselect",
22090
+ "module": "src/multiselect/multiselect.ts"
22091
+ }
22080
22092
  }
22081
22093
  ],
22082
22094
  "members": [
@@ -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;AA0IpB,eAAO,MAAM,OAAO,EAAE,QAA6C,CAAC;AACpE,eAAO,MAAM,QAAQ,EAAE,QAA0D,CAAC;AAElF,eAAO,MAAM,eAAe,EAAE,QAG5B,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,QAIzB,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,QAKtB,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,QAG3B,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;AA6IpB,eAAO,MAAM,OAAO,EAAE,QAA6C,CAAC;AACpE,eAAO,MAAM,QAAQ,EAAE,QAA0D,CAAC;AAElF,eAAO,MAAM,eAAe,EAAE,QAG5B,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,QAKzB,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,QAMtB,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,QAG3B,CAAC"}
@@ -102,12 +102,13 @@ const disabledCountriesExample = [
102
102
  },
103
103
  ];
104
104
  const makeStory = (args) => ({
105
- render: ({ name, text, countries, search, disabled, creatable, autoPosition, filterByContains, }) => html `
105
+ render: ({ name, text, countries, search, disabled, creatable, autoPosition, position, filterByContains, }) => html `
106
106
  <div style="min-height: 400px;">
107
107
  <zero-multiselect
108
108
  name="${name}"
109
109
  .options="${countries}"
110
110
  auto-position="${autoPosition}"
111
+ position="${position}"
111
112
  search="${search}"
112
113
  disabled="${disabled}"
113
114
  creatable="${creatable}"
@@ -117,7 +118,7 @@ const makeStory = (args) => ({
117
118
  </zero-multiselect>
118
119
  </div>
119
120
  `,
120
- args: Object.assign({ name: 'Countries', search: true, disabled: false, countries: countriesList, autoPosition: true, creatable: false, filterByContains: false }, args),
121
+ args: Object.assign({ name: 'Countries', search: true, disabled: false, countries: countriesList, autoPosition: true, position: 'below', creatable: false, filterByContains: false }, args),
121
122
  });
122
123
  export const Primary = makeStory({ text: 'MultiSelect' });
123
124
  export const Disabled = makeStory({ text: 'Disabled', disabled: true });
@@ -129,11 +130,13 @@ export const AutoPosition = makeStory({
129
130
  text: 'Disabled Auto Position',
130
131
  countries: disabledCountriesExample,
131
132
  autoPosition: false,
133
+ position: 'above',
132
134
  });
133
135
  export const Creatable = makeStory({
134
136
  text: 'Creatable',
135
137
  countries: disabledCountriesExample,
136
138
  autoPosition: false,
139
+ position: 'above',
137
140
  creatable: true,
138
141
  });
139
142
  export const ContainsSearch = makeStory({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.189.0",
4
+ "version": "14.189.1-alpha-971cf4f.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -75,12 +75,12 @@
75
75
  },
76
76
  "devDependencies": {
77
77
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
78
- "@genesislcap/genx": "14.189.0",
79
- "@genesislcap/rollup-builder": "14.189.0",
80
- "@genesislcap/ts-builder": "14.189.0",
81
- "@genesislcap/uvu-playwright-builder": "14.189.0",
82
- "@genesislcap/vite-builder": "14.189.0",
83
- "@genesislcap/webpack-builder": "14.189.0",
78
+ "@genesislcap/genx": "14.189.1-alpha-971cf4f.0",
79
+ "@genesislcap/rollup-builder": "14.189.1-alpha-971cf4f.0",
80
+ "@genesislcap/ts-builder": "14.189.1-alpha-971cf4f.0",
81
+ "@genesislcap/uvu-playwright-builder": "14.189.1-alpha-971cf4f.0",
82
+ "@genesislcap/vite-builder": "14.189.1-alpha-971cf4f.0",
83
+ "@genesislcap/webpack-builder": "14.189.1-alpha-971cf4f.0",
84
84
  "@storybook/addon-coverage": "^1.0.1",
85
85
  "@storybook/addon-essentials": "^8.0.0",
86
86
  "@storybook/addon-links": "^8.0.0",
@@ -98,10 +98,10 @@
98
98
  "storybook": "^8.0.0"
99
99
  },
100
100
  "dependencies": {
101
- "@genesislcap/foundation-comms": "14.189.0",
102
- "@genesislcap/foundation-logger": "14.189.0",
103
- "@genesislcap/foundation-ui": "14.189.0",
104
- "@genesislcap/foundation-utils": "14.189.0",
101
+ "@genesislcap/foundation-comms": "14.189.1-alpha-971cf4f.0",
102
+ "@genesislcap/foundation-logger": "14.189.1-alpha-971cf4f.0",
103
+ "@genesislcap/foundation-ui": "14.189.1-alpha-971cf4f.0",
104
+ "@genesislcap/foundation-utils": "14.189.1-alpha-971cf4f.0",
105
105
  "@microsoft/fast-colors": "^5.3.1",
106
106
  "@microsoft/fast-components": "^2.30.6",
107
107
  "@microsoft/fast-element": "^1.12.0",
@@ -118,5 +118,5 @@
118
118
  "access": "public"
119
119
  },
120
120
  "customElements": "dist/custom-elements.json",
121
- "gitHead": "3e408af16c90ccd4129de5bada72e25d37610548"
121
+ "gitHead": "243b9a9c408c6dd5d7143859dc6492f038c0180d"
122
122
  }