@aurodesignsystem-dev/auro-formkit 0.0.0-pr1112.0 → 0.0.0-pr1118.1
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.
- package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +44 -88
- package/components/bibtemplate/dist/registered.js +44 -88
- package/components/combobox/demo/api.md +29 -1
- package/components/combobox/demo/api.min.js +221 -198
- package/components/combobox/demo/index.min.js +221 -198
- package/components/combobox/dist/auro-combobox.d.ts +9 -0
- package/components/combobox/dist/index.js +217 -194
- package/components/combobox/dist/registered.js +217 -194
- package/components/counter/demo/api.md +29 -1
- package/components/counter/demo/api.min.js +205 -182
- package/components/counter/demo/index.min.js +205 -182
- package/components/counter/dist/auro-counter-group.d.ts +9 -0
- package/components/counter/dist/index.js +205 -182
- package/components/counter/dist/registered.js +205 -182
- package/components/datepicker/demo/api.md +64 -41
- package/components/datepicker/demo/api.min.js +398 -293
- package/components/datepicker/demo/index.md +9 -6
- package/components/datepicker/demo/index.min.js +398 -293
- package/components/datepicker/dist/auro-datepicker.d.ts +69 -2
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/index.js +398 -293
- package/components/datepicker/dist/registered.js +398 -293
- package/components/dropdown/demo/api.md +46 -2
- package/components/dropdown/demo/api.min.js +101 -1
- package/components/dropdown/demo/index.min.js +101 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +10 -0
- package/components/dropdown/dist/index.js +101 -1
- package/components/dropdown/dist/registered.js +101 -1
- package/components/input/demo/api.min.js +48 -92
- package/components/input/demo/index.min.js +48 -92
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/index.js +48 -92
- package/components/input/dist/registered.js +48 -92
- package/components/select/demo/api.md +29 -1
- package/components/select/demo/api.min.js +171 -104
- package/components/select/demo/index.min.js +171 -104
- package/components/select/dist/auro-select.d.ts +9 -0
- package/components/select/dist/index.js +167 -100
- package/components/select/dist/registered.js +167 -100
- package/package.json +5 -5
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | | `string` | | Custom help text message to display when validity = `customError`. |
|
|
36
36
|
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
37
37
|
| [shape](#shape) | | | `string` | "classic" | |
|
|
38
|
+
| [shift](#shift) | `shift` | | `boolean` | "false" | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
38
39
|
| [size](#size) | | | `string` | "xl" | |
|
|
39
40
|
| [triggerIcon](#triggerIcon) | `triggerIcon` | | `boolean` | false | If set, the `icon` attribute will be applied to the trigger `auro-input` element. |
|
|
40
41
|
| [type](#type) | `type` | | `string` | | Applies the defined value as the type attribute on auro-input. |
|
|
@@ -1264,12 +1265,13 @@ export function auroMenuLoadingExample() {
|
|
|
1264
1265
|
</auro-accordion>
|
|
1265
1266
|
|
|
1266
1267
|
### Customized bib position
|
|
1267
|
-
The bib position can be customized with `placement`, `offset`, `flip`, `autoPlacement` attributes.
|
|
1268
|
+
The bib position can be customized with `placement`, `offset`, `flip`, `autoPlacement`, and `shift` attributes.
|
|
1268
1269
|
|
|
1269
1270
|
- `placement` specifies the preferred position where the bib should appear relative to the trigger.
|
|
1270
1271
|
- `offset` sets the distance between the trigger and the bib.
|
|
1271
1272
|
- When `autoPlacement` is enabled, smart positioning logic is applied to determine the best placement for the bib. If all sides have sufficient space, the bib will appear in the position specified by `placement`.
|
|
1272
1273
|
- Unless `noFlip` is enabled, if there isn't enough space for the preferred `placement`, the bib will automatically flip to an alternative position.
|
|
1274
|
+
- `shift` when enabled, adjusts the bib position when it would overflow the viewport boundaries, ensuring it remains visible.
|
|
1273
1275
|
|
|
1274
1276
|
<div class="exampleWrapper">
|
|
1275
1277
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/floaterConfig.html) -->
|
|
@@ -1313,6 +1315,19 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1313
1315
|
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
1314
1316
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
1315
1317
|
</auro-menu>
|
|
1318
|
+
</auro-combobox>
|
|
1319
|
+
<auro-combobox width="350px" offset="20" noFlip placement="bottom-start" shift>
|
|
1320
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
1321
|
+
<span slot="label">Label</span>
|
|
1322
|
+
<span slot="helpText">bottom-start bib with 20px offset, noFlip and shift</span>
|
|
1323
|
+
<auro-menu>
|
|
1324
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
1325
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
1326
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
1327
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
1328
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
1329
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
1330
|
+
</auro-menu>
|
|
1316
1331
|
</auro-combobox>
|
|
1317
1332
|
</div>
|
|
1318
1333
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1362,6 +1377,19 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
1362
1377
|
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
1363
1378
|
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
1364
1379
|
</auro-menu>
|
|
1380
|
+
</auro-combobox>
|
|
1381
|
+
<auro-combobox width="350px" offset="20" noFlip placement="bottom-start" shift>
|
|
1382
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
1383
|
+
<span slot="label">Label</span>
|
|
1384
|
+
<span slot="helpText">bottom-start bib with 20px offset, noFlip and shift</span>
|
|
1385
|
+
<auro-menu>
|
|
1386
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
1387
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
1388
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
1389
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
1390
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
1391
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
1392
|
+
</auro-menu>
|
|
1365
1393
|
</auro-combobox>
|
|
1366
1394
|
</div>
|
|
1367
1395
|
```
|