@aurodesignsystem-dev/auro-formkit 0.0.0-pr754.0 → 0.0.0-pr754.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.
Files changed (56) hide show
  1. package/components/bibtemplate/dist/index.js +1 -1
  2. package/components/bibtemplate/dist/registered.js +1 -1
  3. package/components/checkbox/demo/api.min.js +9 -9
  4. package/components/checkbox/demo/index.min.js +9 -9
  5. package/components/checkbox/dist/index.js +9 -9
  6. package/components/checkbox/dist/registered.js +9 -9
  7. package/components/combobox/demo/api.md +12 -6
  8. package/components/combobox/demo/api.min.js +43 -84
  9. package/components/combobox/demo/index.min.js +43 -84
  10. package/components/combobox/dist/index.js +42 -84
  11. package/components/combobox/dist/registered.js +42 -84
  12. package/components/counter/demo/api.md +140 -7
  13. package/components/counter/demo/api.min.js +555 -385
  14. package/components/counter/demo/index.md +82 -0
  15. package/components/counter/demo/index.min.js +555 -385
  16. package/components/counter/dist/auro-counter-group.d.ts +71 -14
  17. package/components/counter/dist/auro-counter.d.ts +10 -0
  18. package/components/counter/dist/index.js +555 -385
  19. package/components/counter/dist/registered.js +555 -385
  20. package/components/datepicker/demo/api.min.js +42 -84
  21. package/components/datepicker/demo/index.min.js +42 -84
  22. package/components/datepicker/dist/index.js +42 -84
  23. package/components/datepicker/dist/registered.js +42 -84
  24. package/components/dropdown/demo/api.md +76 -268
  25. package/components/dropdown/demo/api.min.js +25 -67
  26. package/components/dropdown/demo/index.md +45 -363
  27. package/components/dropdown/demo/index.min.js +25 -67
  28. package/components/dropdown/dist/auro-dropdown.d.ts +21 -71
  29. package/components/dropdown/dist/index.js +25 -67
  30. package/components/dropdown/dist/registered.js +25 -67
  31. package/components/helptext/dist/index.js +1 -1
  32. package/components/helptext/dist/registered.js +1 -1
  33. package/components/input/demo/api.md +1 -1
  34. package/components/input/demo/api.min.js +10 -10
  35. package/components/input/demo/index.min.js +10 -10
  36. package/components/input/dist/base-input.d.ts +1 -1
  37. package/components/input/dist/index.js +10 -10
  38. package/components/input/dist/registered.js +10 -10
  39. package/components/menu/demo/api.md +14 -15
  40. package/components/menu/demo/api.min.js +1 -0
  41. package/components/menu/demo/index.min.js +1 -0
  42. package/components/menu/dist/auro-menu.d.ts +2 -1
  43. package/components/menu/dist/index.js +1 -0
  44. package/components/menu/dist/registered.js +1 -0
  45. package/components/radio/demo/api.min.js +9 -9
  46. package/components/radio/demo/index.min.js +9 -9
  47. package/components/radio/dist/index.js +9 -9
  48. package/components/radio/dist/registered.js +9 -9
  49. package/components/select/demo/api.md +41 -36
  50. package/components/select/demo/api.min.js +60 -102
  51. package/components/select/demo/index.md +1 -1
  52. package/components/select/demo/index.min.js +60 -102
  53. package/components/select/dist/auro-select.d.ts +9 -2
  54. package/components/select/dist/index.js +59 -102
  55. package/components/select/dist/registered.js +59 -102
  56. package/package.json +2 -2
@@ -3212,7 +3212,7 @@ var dropdownVersion = '3.0.0';
3212
3212
 
3213
3213
  var shapeSizeCss = i$2`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:58px;max-height:58px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
3214
3214
 
3215
- var colorCss$1 = i$2`:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
3215
+ var colorCss$1 = i$2`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}`;
3216
3216
 
3217
3217
  var classicColorCss = i$2``;
3218
3218
 
@@ -3224,7 +3224,7 @@ var styleSnowflakeCss = i$2`:host{display:block}.wrapper{display:flex;flex:1;fle
3224
3224
 
3225
3225
  var colorCss = i$2`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
3226
3226
 
3227
- var styleCss = i$2`.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
3227
+ var styleCss = i$2`:host{position:relative;display:block}.helptext-wrapper{display:none;font-size:12px;font-weight:450;letter-spacing:0;line-height:16px}:host([large]) .helptext-wrapper{font-size:16px;font-weight:450;letter-spacing:0;line-height:24px}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
3228
3228
 
3229
3229
  var tokensCss = i$2`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
3230
3230
 
@@ -3529,10 +3529,8 @@ class AuroElement extends i {
3529
3529
  // See LICENSE in the project root for license information.
3530
3530
 
3531
3531
 
3532
- /**
3533
- * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
3532
+ /*
3534
3533
  * @slot - Default slot for the popover content.
3535
- * @slot label - Defines the content of the label.
3536
3534
  * @slot helpText - Defines the content of the helpText.
3537
3535
  * @slot trigger - Defines the content of the trigger.
3538
3536
  * @csspart trigger - The trigger content container.
@@ -3551,18 +3549,22 @@ class AuroDropdown extends AuroElement {
3551
3549
  this.matchWidth = false;
3552
3550
  this.noHideOnThisFocusLoss = false;
3553
3551
 
3554
- this.errorMessage = ''; // TODO - check with Doug if there is still more to do here
3552
+ this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
3555
3553
 
3556
3554
  // Layout Config
3557
- this.layout = 'classic';
3558
- this.shape = 'classic';
3559
- this.size = 'xl';
3555
+ this.layout = undefined;
3556
+ this.shape = undefined;
3557
+ this.size = undefined;
3560
3558
 
3561
3559
  this.parentBorder = false;
3562
3560
 
3563
3561
  this.privateDefaults();
3564
3562
  }
3565
3563
 
3564
+ /**
3565
+ * @private
3566
+ * @returns {object} Class definition for the wrapper element.
3567
+ */
3566
3568
  get commonWrapperClasses() {
3567
3569
  return {
3568
3570
  'trigger': true,
@@ -3582,12 +3584,8 @@ class AuroDropdown extends AuroElement {
3582
3584
  this.disabled = false;
3583
3585
  this.disableFocusTrap = false;
3584
3586
  this.error = false;
3585
- this.inset = false;
3586
- this.rounded = false;
3587
3587
  this.tabIndex = 0;
3588
3588
  this.noToggle = false;
3589
- this.a11yAutocomplete = 'none';
3590
- this.labeled = true;
3591
3589
  this.a11yRole = 'button';
3592
3590
  this.onDark = false;
3593
3591
  this.showTriggerBorders = true;
@@ -3709,26 +3707,27 @@ class AuroDropdown extends AuroElement {
3709
3707
  },
3710
3708
 
3711
3709
  /**
3712
- * If declared, applies a border around the trigger slot.
3710
+ * If declared, the dropdown will only show by calling the API .show() public method.
3711
+ * @default false
3713
3712
  */
3714
- simple: {
3713
+ disableEventShow: {
3715
3714
  type: Boolean,
3716
3715
  reflect: true
3717
3716
  },
3718
3717
 
3719
3718
  /**
3720
- * If declared, the dropdown displays a chevron on the right.
3721
- * @attr {Boolean} chevron
3719
+ * If declared, applies a border around the trigger slot.
3722
3720
  */
3723
- chevron: {
3721
+ simple: {
3724
3722
  type: Boolean,
3725
3723
  reflect: true
3726
3724
  },
3727
3725
 
3728
3726
  /**
3729
- * If declared, the dropdown will be styled with the common theme.
3727
+ * If declared, the dropdown displays a chevron on the right.
3728
+ * @attr {Boolean} chevron
3730
3729
  */
3731
- common: {
3730
+ chevron: {
3732
3731
  type: Boolean,
3733
3732
  reflect: true
3734
3733
  },
@@ -3742,7 +3741,7 @@ class AuroDropdown extends AuroElement {
3742
3741
  },
3743
3742
 
3744
3743
  /**
3745
- * If declare, the focus trap inside of bib will be turned off.
3744
+ * If declared, the focus trap inside of bib will be turned off.
3746
3745
  */
3747
3746
  disableFocusTrap: {
3748
3747
  type: Boolean,
@@ -3789,22 +3788,6 @@ class AuroDropdown extends AuroElement {
3789
3788
  reflect: true
3790
3789
  },
3791
3790
 
3792
- /**
3793
- * Makes the trigger to be full width of its parent container.
3794
- */
3795
- fluid: {
3796
- type: Boolean,
3797
- reflect: true
3798
- },
3799
-
3800
- /**
3801
- * If declared, will apply padding around trigger slot content.
3802
- */
3803
- inset: {
3804
- type: Boolean,
3805
- reflect: true
3806
- },
3807
-
3808
3791
  /**
3809
3792
  * If true, the dropdown bib is displayed.
3810
3793
  */
@@ -3848,15 +3831,6 @@ class AuroDropdown extends AuroElement {
3848
3831
  reflect: true
3849
3832
  },
3850
3833
 
3851
- /**
3852
- * Defines if there is a label preset.
3853
- * @private
3854
- */
3855
- labeled: {
3856
- type: Boolean,
3857
- reflect: true
3858
- },
3859
-
3860
3834
  /**
3861
3835
  * Defines if the trigger should size based on the parent element providing the border UI.
3862
3836
  * @private
@@ -3917,6 +3891,9 @@ class AuroDropdown extends AuroElement {
3917
3891
  reflect: true
3918
3892
  },
3919
3893
 
3894
+ /**
3895
+ * If declared, and a function is set, that function will execute when the slot content is updated.
3896
+ */
3920
3897
  onSlotChange: {
3921
3898
  type: Function,
3922
3899
  reflect: false
@@ -3931,14 +3908,6 @@ class AuroDropdown extends AuroElement {
3931
3908
  reflect: true
3932
3909
  },
3933
3910
 
3934
- /**
3935
- * If declared, will apply border-radius to trigger and default slots.
3936
- */
3937
- rounded: {
3938
- type: Boolean,
3939
- reflect: true
3940
- },
3941
-
3942
3911
  /**
3943
3912
  * @private
3944
3913
  */
@@ -3953,22 +3922,14 @@ class AuroDropdown extends AuroElement {
3953
3922
  type: String || undefined,
3954
3923
  attribute: false,
3955
3924
  reflect: false
3956
- },
3957
-
3958
- /**
3959
- * The value for the aria-autocomplete attribute of the trigger element.
3960
- */
3961
- a11yAutocomplete: {
3962
- type: String,
3963
- attribute: false,
3964
3925
  }
3965
3926
  };
3966
3927
  }
3967
3928
 
3968
3929
  static get styles() {
3969
3930
  return [
3970
- colorCss$1,
3971
3931
  tokensCss$1,
3932
+ colorCss$1,
3972
3933
 
3973
3934
  // default layout
3974
3935
  classicColorCss,
@@ -4408,10 +4369,7 @@ class AuroDropdown extends AuroElement {
4408
4369
  id="bib"
4409
4370
  shape="${this.shape}"
4410
4371
  ?data-show="${this.isPopoverVisible}"
4411
- ?isfullscreen="${this.isBibFullscreen}"
4412
- ?common="${this.common}"
4413
- ?rounded="${this.common || this.rounded}"
4414
- ?inset="${this.common || this.inset}">
4372
+ ?isfullscreen="${this.isBibFullscreen}">
4415
4373
  <div class="slotContent">
4416
4374
  <slot @slotchange="${this.handleDefaultSlot}"></slot>
4417
4375
  </div>