@aurodesignsystem-dev/auro-formkit 0.0.0-pr1411.2 → 0.0.0-pr1413.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.
Files changed (48) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/demo/api.min.js +5 -15
  6. package/components/combobox/demo/index.min.js +5 -15
  7. package/components/combobox/dist/index.js +4 -14
  8. package/components/combobox/dist/registered.js +4 -14
  9. package/components/counter/demo/api.min.js +3 -13
  10. package/components/counter/demo/index.min.js +3 -13
  11. package/components/counter/dist/index.js +3 -13
  12. package/components/counter/dist/registered.js +3 -13
  13. package/components/datepicker/demo/api.min.js +22 -135
  14. package/components/datepicker/demo/index.min.js +22 -135
  15. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +1 -4
  16. package/components/datepicker/dist/index.js +22 -135
  17. package/components/datepicker/dist/registered.js +22 -135
  18. package/components/dropdown/demo/api.md +28 -29
  19. package/components/dropdown/demo/api.min.js +2 -12
  20. package/components/dropdown/demo/index.min.js +2 -12
  21. package/components/dropdown/dist/auro-dropdown.d.ts +0 -8
  22. package/components/dropdown/dist/index.js +2 -12
  23. package/components/dropdown/dist/registered.js +2 -12
  24. package/components/form/demo/api.min.js +59 -251
  25. package/components/form/demo/index.min.js +59 -251
  26. package/components/input/demo/api.min.js +1 -1
  27. package/components/input/demo/index.min.js +1 -1
  28. package/components/input/dist/index.js +1 -1
  29. package/components/input/dist/registered.js +1 -1
  30. package/components/menu/demo/api.min.js +1 -1
  31. package/components/menu/demo/index.min.js +1 -1
  32. package/components/menu/demo/keyboardBehavior.md +0 -0
  33. package/components/menu/dist/index.js +1 -1
  34. package/components/menu/dist/registered.js +1 -1
  35. package/components/radio/demo/api.min.js +1 -1
  36. package/components/radio/demo/index.min.js +1 -1
  37. package/components/radio/demo/keyboardBehavior.md +0 -0
  38. package/components/radio/dist/index.js +1 -1
  39. package/components/radio/dist/registered.js +1 -1
  40. package/components/select/demo/api.min.js +27 -86
  41. package/components/select/demo/index.min.js +27 -86
  42. package/components/select/demo/keyboardBehavior.md +3 -3
  43. package/components/select/dist/index.js +26 -85
  44. package/components/select/dist/registered.js +26 -85
  45. package/components/select/dist/selectKeyboardStrategy.d.ts +2 -5
  46. package/custom-elements.json +1549 -1568
  47. package/package.json +3 -3
  48. /package/components/datepicker/demo/{keyboardBehavior.html → keyboard-behavior.html} +0 -0
@@ -7,35 +7,34 @@ The `auro-dropdown` element provides a way to place content in a bib that can be
7
7
 
8
8
  ## Properties
9
9
 
10
- | Property | Attribute | Type | Default | Description |
11
- |---------------------------|---------------------------|--------------------------------------------------|------------------|--------------------------------------------------|
12
- | `a11yRole` | | `string` | | The value for the role attribute of the trigger element. |
13
- | [appearance](#appearance) | `appearance` | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
14
- | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
15
- | [chevron](#chevron) | `chevron` | `boolean` | | If declared, the dropdown displays a chevron on the right. |
16
- | [disableEventShow](#disableEventShow) | `disableEventShow` | `boolean` | | If declared, the dropdown will only show by calling the API .show() public method. |
17
- | [disableKeyboardHandling](#disableKeyboardHandling) | `disableKeyboardHandling` | `boolean` | | If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior. |
18
- | [disabled](#disabled) | `disabled` | `boolean` | | If declared, the dropdown is not interactive. |
19
- | [error](#error) | `error` | `boolean` | | If declared, will apply error UI to the dropdown. |
20
- | [errorMessage](#errorMessage) | `errorMessage` | `string` | "undefined" | Contains the help text message for the current validity error. |
21
- | [focusShow](#focusShow) | `focusShow` | `boolean` | | If declared, the bib will display when focus is applied to the trigger. |
22
- | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
23
- | [hoverToggle](#hoverToggle) | `hoverToggle` | `boolean` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
24
- | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
25
- | [isPopoverVisible](#isPopoverVisible) | `open` | `boolean` | false | If true, the dropdown bib is displayed. |
26
- | [layout](#layout) | `layout` | `'classic' \| 'emphasized' \| 'snowflake'` | "'classic'" | Sets the layout of the dropdown. |
27
- | [matchWidth](#matchWidth) | `matchWidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
28
- | [noFlip](#noFlip) | `noFlip` | `boolean` | | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
29
- | [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | `boolean` | false | If declared, the dropdown will not hide when moving focus outside the element. |
30
- | [noToggle](#noToggle) | `noToggle` | `boolean` | | If declared, the trigger will only show the dropdown bib. |
31
- | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
32
- | [onDark](#onDark) | `onDark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
33
- | [onSlotChange](#onSlotChange) | `onSlotChange` | | | If declared, and a function is set, that function will execute when the slot content is updated. |
34
- | [placement](#placement) | `placement` | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
35
- | [shape](#shape) | | | "undefined" | |
36
- | [shift](#shift) | `shift` | `boolean` | | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
37
- | [simple](#simple) | `simple` | `boolean` | | If declared, applies a border around the trigger slot. |
38
- | [size](#size) | | | "undefined" | |
10
+ | Property | Attribute | Type | Default | Description |
11
+ |-------------------------|-------------------------|--------------------------------------------------|------------------|--------------------------------------------------|
12
+ | `a11yRole` | | `string` | | The value for the role attribute of the trigger element. |
13
+ | [appearance](#appearance) | `appearance` | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
14
+ | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
15
+ | [chevron](#chevron) | `chevron` | `boolean` | | If declared, the dropdown displays a chevron on the right. |
16
+ | [disableEventShow](#disableEventShow) | `disableEventShow` | `boolean` | | If declared, the dropdown will only show by calling the API .show() public method. |
17
+ | [disabled](#disabled) | `disabled` | `boolean` | | If declared, the dropdown is not interactive. |
18
+ | [error](#error) | `error` | `boolean` | | If declared, will apply error UI to the dropdown. |
19
+ | [errorMessage](#errorMessage) | `errorMessage` | `string` | "undefined" | Contains the help text message for the current validity error. |
20
+ | [focusShow](#focusShow) | `focusShow` | `boolean` | | If declared, the bib will display when focus is applied to the trigger. |
21
+ | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
22
+ | [hoverToggle](#hoverToggle) | `hoverToggle` | `boolean` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
23
+ | [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
24
+ | [isPopoverVisible](#isPopoverVisible) | `open` | `boolean` | false | If true, the dropdown bib is displayed. |
25
+ | [layout](#layout) | `layout` | `'classic' \| 'emphasized' \| 'snowflake'` | "'classic'" | Sets the layout of the dropdown. |
26
+ | [matchWidth](#matchWidth) | `matchWidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
27
+ | [noFlip](#noFlip) | `noFlip` | `boolean` | | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
28
+ | [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | `boolean` | false | If declared, the dropdown will not hide when moving focus outside the element. |
29
+ | [noToggle](#noToggle) | `noToggle` | `boolean` | | If declared, the trigger will only show the dropdown bib. |
30
+ | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
31
+ | [onDark](#onDark) | `onDark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
32
+ | [onSlotChange](#onSlotChange) | `onSlotChange` | | | If declared, and a function is set, that function will execute when the slot content is updated. |
33
+ | [placement](#placement) | `placement` | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
34
+ | [shape](#shape) | | | "undefined" | |
35
+ | [shift](#shift) | `shift` | `boolean` | | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
36
+ | [simple](#simple) | `simple` | `boolean` | | If declared, applies a border around the trigger slot. |
37
+ | [size](#size) | | | "undefined" | |
39
38
 
40
39
  ## Methods
41
40
 
@@ -3738,7 +3738,7 @@ class AuroHelpText extends i {
3738
3738
  }
3739
3739
  }
3740
3740
 
3741
- var formkitVersion = '202604021752';
3741
+ var formkitVersion = '202604021941';
3742
3742
 
3743
3743
  class AuroElement extends i {
3744
3744
  static get properties() {
@@ -3919,7 +3919,6 @@ class AuroDropdown extends AuroElement {
3919
3919
  this.appearance = 'default';
3920
3920
  this.chevron = false;
3921
3921
  this.disabled = false;
3922
- this.disableKeyboardHandling = false;
3923
3922
  this.error = false;
3924
3923
  this.tabIndex = 0;
3925
3924
  this.noToggle = false;
@@ -4131,14 +4130,6 @@ class AuroDropdown extends AuroElement {
4131
4130
  reflect: true
4132
4131
  },
4133
4132
 
4134
- /**
4135
- * If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
4136
- */
4137
- disableKeyboardHandling: {
4138
- type: Boolean,
4139
- reflect: true
4140
- },
4141
-
4142
4133
  /**
4143
4134
  * @private
4144
4135
  */
@@ -4444,7 +4435,7 @@ class AuroDropdown extends AuroElement {
4444
4435
 
4445
4436
  firstUpdated() {
4446
4437
  // Configure the floater to, this will generate the ID for the bib
4447
- this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
4438
+ this.floater.configure(this, 'auroDropdown');
4448
4439
 
4449
4440
  // Prevent `contain: layout` on the dropdown host. Layout containment
4450
4441
  // creates a containing block for position:fixed descendants (the bib),
@@ -4752,7 +4743,6 @@ class AuroDropdown extends AuroElement {
4752
4743
  aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
4753
4744
  aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
4754
4745
  aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
4755
- aria-disabled="${o(this.disabled ? 'true' : undefined)}"
4756
4746
  @focusin="${this.handleFocusin}"
4757
4747
  @blur="${this.handleFocusOut}">
4758
4748
  <div class="triggerContentWrapper" id="triggerLabel">
@@ -3678,7 +3678,7 @@ class AuroHelpText extends i {
3678
3678
  }
3679
3679
  }
3680
3680
 
3681
- var formkitVersion = '202604021752';
3681
+ var formkitVersion = '202604021941';
3682
3682
 
3683
3683
  class AuroElement extends i {
3684
3684
  static get properties() {
@@ -3859,7 +3859,6 @@ class AuroDropdown extends AuroElement {
3859
3859
  this.appearance = 'default';
3860
3860
  this.chevron = false;
3861
3861
  this.disabled = false;
3862
- this.disableKeyboardHandling = false;
3863
3862
  this.error = false;
3864
3863
  this.tabIndex = 0;
3865
3864
  this.noToggle = false;
@@ -4071,14 +4070,6 @@ class AuroDropdown extends AuroElement {
4071
4070
  reflect: true
4072
4071
  },
4073
4072
 
4074
- /**
4075
- * If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
4076
- */
4077
- disableKeyboardHandling: {
4078
- type: Boolean,
4079
- reflect: true
4080
- },
4081
-
4082
4073
  /**
4083
4074
  * @private
4084
4075
  */
@@ -4384,7 +4375,7 @@ class AuroDropdown extends AuroElement {
4384
4375
 
4385
4376
  firstUpdated() {
4386
4377
  // Configure the floater to, this will generate the ID for the bib
4387
- this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
4378
+ this.floater.configure(this, 'auroDropdown');
4388
4379
 
4389
4380
  // Prevent `contain: layout` on the dropdown host. Layout containment
4390
4381
  // creates a containing block for position:fixed descendants (the bib),
@@ -4692,7 +4683,6 @@ class AuroDropdown extends AuroElement {
4692
4683
  aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
4693
4684
  aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
4694
4685
  aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
4695
- aria-disabled="${o(this.disabled ? 'true' : undefined)}"
4696
4686
  @focusin="${this.handleFocusin}"
4697
4687
  @blur="${this.handleFocusOut}">
4698
4688
  <div class="triggerContentWrapper" id="triggerLabel">
@@ -73,13 +73,6 @@ export class AuroDropdown extends AuroElement {
73
73
  type: BooleanConstructor;
74
74
  reflect: boolean;
75
75
  };
76
- /**
77
- * If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
78
- */
79
- disableKeyboardHandling: {
80
- type: BooleanConstructor;
81
- reflect: boolean;
82
- };
83
76
  /**
84
77
  * @private
85
78
  */
@@ -286,7 +279,6 @@ export class AuroDropdown extends AuroElement {
286
279
  appearance: string;
287
280
  chevron: boolean;
288
281
  disabled: boolean;
289
- disableKeyboardHandling: boolean;
290
282
  error: boolean;
291
283
  noToggle: boolean;
292
284
  a11yRole: string;
@@ -3583,7 +3583,7 @@ class AuroHelpText extends LitElement {
3583
3583
  }
3584
3584
  }
3585
3585
 
3586
- var formkitVersion = '202604021752';
3586
+ var formkitVersion = '202604021941';
3587
3587
 
3588
3588
  class AuroElement extends LitElement {
3589
3589
  static get properties() {
@@ -3764,7 +3764,6 @@ class AuroDropdown extends AuroElement {
3764
3764
  this.appearance = 'default';
3765
3765
  this.chevron = false;
3766
3766
  this.disabled = false;
3767
- this.disableKeyboardHandling = false;
3768
3767
  this.error = false;
3769
3768
  this.tabIndex = 0;
3770
3769
  this.noToggle = false;
@@ -3976,14 +3975,6 @@ class AuroDropdown extends AuroElement {
3976
3975
  reflect: true
3977
3976
  },
3978
3977
 
3979
- /**
3980
- * If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
3981
- */
3982
- disableKeyboardHandling: {
3983
- type: Boolean,
3984
- reflect: true
3985
- },
3986
-
3987
3978
  /**
3988
3979
  * @private
3989
3980
  */
@@ -4289,7 +4280,7 @@ class AuroDropdown extends AuroElement {
4289
4280
 
4290
4281
  firstUpdated() {
4291
4282
  // Configure the floater to, this will generate the ID for the bib
4292
- this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
4283
+ this.floater.configure(this, 'auroDropdown');
4293
4284
 
4294
4285
  // Prevent `contain: layout` on the dropdown host. Layout containment
4295
4286
  // creates a containing block for position:fixed descendants (the bib),
@@ -4597,7 +4588,6 @@ class AuroDropdown extends AuroElement {
4597
4588
  aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
4598
4589
  aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
4599
4590
  aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
4600
- aria-disabled="${ifDefined(this.disabled ? 'true' : undefined)}"
4601
4591
  @focusin="${this.handleFocusin}"
4602
4592
  @blur="${this.handleFocusOut}">
4603
4593
  <div class="triggerContentWrapper" id="triggerLabel">
@@ -3583,7 +3583,7 @@ class AuroHelpText extends LitElement {
3583
3583
  }
3584
3584
  }
3585
3585
 
3586
- var formkitVersion = '202604021752';
3586
+ var formkitVersion = '202604021941';
3587
3587
 
3588
3588
  class AuroElement extends LitElement {
3589
3589
  static get properties() {
@@ -3764,7 +3764,6 @@ class AuroDropdown extends AuroElement {
3764
3764
  this.appearance = 'default';
3765
3765
  this.chevron = false;
3766
3766
  this.disabled = false;
3767
- this.disableKeyboardHandling = false;
3768
3767
  this.error = false;
3769
3768
  this.tabIndex = 0;
3770
3769
  this.noToggle = false;
@@ -3976,14 +3975,6 @@ class AuroDropdown extends AuroElement {
3976
3975
  reflect: true
3977
3976
  },
3978
3977
 
3979
- /**
3980
- * If declared, the dropdown will not handle keyboard events and will require the consumer to manage this behavior.
3981
- */
3982
- disableKeyboardHandling: {
3983
- type: Boolean,
3984
- reflect: true
3985
- },
3986
-
3987
3978
  /**
3988
3979
  * @private
3989
3980
  */
@@ -4289,7 +4280,7 @@ class AuroDropdown extends AuroElement {
4289
4280
 
4290
4281
  firstUpdated() {
4291
4282
  // Configure the floater to, this will generate the ID for the bib
4292
- this.floater.configure(this, 'auroDropdown', !this.disableKeyboardHandling);
4283
+ this.floater.configure(this, 'auroDropdown');
4293
4284
 
4294
4285
  // Prevent `contain: layout` on the dropdown host. Layout containment
4295
4286
  // creates a containing block for position:fixed descendants (the bib),
@@ -4597,7 +4588,6 @@ class AuroDropdown extends AuroElement {
4597
4588
  aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
4598
4589
  aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
4599
4590
  aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
4600
- aria-disabled="${ifDefined(this.disabled ? 'true' : undefined)}"
4601
4591
  @focusin="${this.handleFocusin}"
4602
4592
  @blur="${this.handleFocusOut}">
4603
4593
  <div class="triggerContentWrapper" id="triggerLabel">