@aurodesignsystem-dev/auro-formkit 0.0.0-pr755.1 → 0.0.0-pr756.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 (89) 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.html +10 -16
  4. package/components/checkbox/demo/api.min.js +11 -11
  5. package/components/checkbox/demo/index.html +10 -16
  6. package/components/checkbox/demo/index.min.js +11 -11
  7. package/components/checkbox/demo/readme.html +9 -16
  8. package/components/checkbox/dist/index.js +11 -11
  9. package/components/checkbox/dist/registered.js +11 -11
  10. package/components/combobox/demo/api.html +10 -16
  11. package/components/combobox/demo/api.md +6 -12
  12. package/components/combobox/demo/api.min.js +98 -81
  13. package/components/combobox/demo/index.html +10 -16
  14. package/components/combobox/demo/index.min.js +98 -81
  15. package/components/combobox/demo/readme.html +9 -16
  16. package/components/combobox/dist/index.js +86 -44
  17. package/components/combobox/dist/registered.js +86 -44
  18. package/components/counter/demo/api.html +10 -16
  19. package/components/counter/demo/api.md +7 -13
  20. package/components/counter/demo/api.min.js +84 -36
  21. package/components/counter/demo/index.html +10 -16
  22. package/components/counter/demo/index.md +1 -1
  23. package/components/counter/demo/index.min.js +84 -36
  24. package/components/counter/demo/readme.html +9 -16
  25. package/components/counter/dist/auro-counter-group.d.ts +1 -1
  26. package/components/counter/dist/index.js +84 -36
  27. package/components/counter/dist/registered.js +84 -36
  28. package/components/datepicker/demo/api.html +10 -16
  29. package/components/datepicker/demo/api.min.js +92 -65
  30. package/components/datepicker/demo/index.html +10 -16
  31. package/components/datepicker/demo/index.min.js +92 -65
  32. package/components/datepicker/demo/readme.html +9 -16
  33. package/components/datepicker/dist/auro-datepicker.d.ts +0 -6
  34. package/components/datepicker/dist/index.js +92 -65
  35. package/components/datepicker/dist/registered.js +92 -65
  36. package/components/dropdown/demo/api.html +10 -16
  37. package/components/dropdown/demo/api.md +268 -76
  38. package/components/dropdown/demo/api.min.js +67 -25
  39. package/components/dropdown/demo/index.html +10 -16
  40. package/components/dropdown/demo/index.md +363 -45
  41. package/components/dropdown/demo/index.min.js +67 -25
  42. package/components/dropdown/demo/readme.html +9 -16
  43. package/components/dropdown/dist/auro-dropdown.d.ts +71 -21
  44. package/components/dropdown/dist/index.js +67 -25
  45. package/components/dropdown/dist/registered.js +67 -25
  46. package/components/form/demo/api.html +9 -16
  47. package/components/form/demo/autocomplete.html +3 -19
  48. package/components/form/demo/index.html +9 -16
  49. package/components/form/demo/readme.html +9 -16
  50. package/components/form/demo/working.html +13 -19
  51. package/components/helptext/dist/index.js +1 -1
  52. package/components/helptext/dist/registered.js +1 -1
  53. package/components/input/demo/api.html +10 -16
  54. package/components/input/demo/api.md +1 -1
  55. package/components/input/demo/api.min.js +12 -12
  56. package/components/input/demo/index.html +10 -16
  57. package/components/input/demo/index.min.js +12 -12
  58. package/components/input/demo/readme.html +9 -16
  59. package/components/input/dist/base-input.d.ts +1 -1
  60. package/components/input/dist/index.js +12 -12
  61. package/components/input/dist/registered.js +12 -12
  62. package/components/menu/demo/api.html +32 -16
  63. package/components/menu/demo/api.md +1 -1
  64. package/components/menu/demo/api.min.js +12 -37
  65. package/components/menu/demo/index.html +10 -16
  66. package/components/menu/demo/index.min.js +12 -37
  67. package/components/menu/demo/readme.html +9 -16
  68. package/components/menu/dist/auro-menu.d.ts +2 -13
  69. package/components/menu/dist/index.js +12 -37
  70. package/components/menu/dist/registered.js +12 -37
  71. package/components/radio/demo/api.html +10 -16
  72. package/components/radio/demo/api.min.js +10 -10
  73. package/components/radio/demo/index.html +10 -16
  74. package/components/radio/demo/index.min.js +10 -10
  75. package/components/radio/demo/readme.html +9 -16
  76. package/components/radio/dist/auro-radio.d.ts +1 -1
  77. package/components/radio/dist/index.js +10 -10
  78. package/components/radio/dist/registered.js +10 -10
  79. package/components/select/demo/api.html +10 -16
  80. package/components/select/demo/api.md +9 -15
  81. package/components/select/demo/api.min.js +194 -125
  82. package/components/select/demo/index.html +11 -16
  83. package/components/select/demo/index.md +1 -1
  84. package/components/select/demo/index.min.js +194 -125
  85. package/components/select/demo/readme.html +9 -16
  86. package/components/select/dist/auro-select.d.ts +4 -20
  87. package/components/select/dist/index.js +182 -88
  88. package/components/select/dist/registered.js +182 -88
  89. package/package.json +2 -2
@@ -3140,7 +3140,7 @@ var dropdownVersion = '3.0.0';
3140
3140
 
3141
3141
  var shapeSizeCss = css`.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}`;
3142
3142
 
3143
- var colorCss$1 = css`: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)}`;
3143
+ var colorCss$1 = css`: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)}`;
3144
3144
 
3145
3145
  var classicColorCss = css``;
3146
3146
 
@@ -3152,7 +3152,7 @@ var styleSnowflakeCss = css`:host{display:block}.wrapper{display:flex;flex:1;fle
3152
3152
 
3153
3153
  var colorCss = css`: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)}`;
3154
3154
 
3155
- var styleCss = css`: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}`;
3155
+ var styleCss = css`.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}`;
3156
3156
 
3157
3157
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
3158
3158
 
@@ -3457,8 +3457,10 @@ class AuroElement extends LitElement {
3457
3457
  // See LICENSE in the project root for license information.
3458
3458
 
3459
3459
 
3460
- /*
3460
+ /**
3461
+ * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
3461
3462
  * @slot - Default slot for the popover content.
3463
+ * @slot label - Defines the content of the label.
3462
3464
  * @slot helpText - Defines the content of the helpText.
3463
3465
  * @slot trigger - Defines the content of the trigger.
3464
3466
  * @csspart trigger - The trigger content container.
@@ -3477,22 +3479,18 @@ class AuroDropdown extends AuroElement {
3477
3479
  this.matchWidth = false;
3478
3480
  this.noHideOnThisFocusLoss = false;
3479
3481
 
3480
- this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
3482
+ this.errorMessage = ''; // TODO - check with Doug if there is still more to do here
3481
3483
 
3482
3484
  // Layout Config
3483
- this.layout = undefined;
3484
- this.shape = undefined;
3485
- this.size = undefined;
3485
+ this.layout = 'classic';
3486
+ this.shape = 'classic';
3487
+ this.size = 'xl';
3486
3488
 
3487
3489
  this.parentBorder = false;
3488
3490
 
3489
3491
  this.privateDefaults();
3490
3492
  }
3491
3493
 
3492
- /**
3493
- * @private
3494
- * @returns {object} Class definition for the wrapper element.
3495
- */
3496
3494
  get commonWrapperClasses() {
3497
3495
  return {
3498
3496
  'trigger': true,
@@ -3512,8 +3510,12 @@ class AuroDropdown extends AuroElement {
3512
3510
  this.disabled = false;
3513
3511
  this.disableFocusTrap = false;
3514
3512
  this.error = false;
3513
+ this.inset = false;
3514
+ this.rounded = false;
3515
3515
  this.tabIndex = 0;
3516
3516
  this.noToggle = false;
3517
+ this.a11yAutocomplete = 'none';
3518
+ this.labeled = true;
3517
3519
  this.a11yRole = 'button';
3518
3520
  this.onDark = false;
3519
3521
  this.showTriggerBorders = true;
@@ -3635,27 +3637,26 @@ class AuroDropdown extends AuroElement {
3635
3637
  },
3636
3638
 
3637
3639
  /**
3638
- * If declared, the dropdown will only show by calling the API .show() public method.
3639
- * @default false
3640
+ * If declared, applies a border around the trigger slot.
3640
3641
  */
3641
- disableEventShow: {
3642
+ simple: {
3642
3643
  type: Boolean,
3643
3644
  reflect: true
3644
3645
  },
3645
3646
 
3646
3647
  /**
3647
- * If declared, applies a border around the trigger slot.
3648
+ * If declared, the dropdown displays a chevron on the right.
3649
+ * @attr {Boolean} chevron
3648
3650
  */
3649
- simple: {
3651
+ chevron: {
3650
3652
  type: Boolean,
3651
3653
  reflect: true
3652
3654
  },
3653
3655
 
3654
3656
  /**
3655
- * If declared, the dropdown displays a chevron on the right.
3656
- * @attr {Boolean} chevron
3657
+ * If declared, the dropdown will be styled with the common theme.
3657
3658
  */
3658
- chevron: {
3659
+ common: {
3659
3660
  type: Boolean,
3660
3661
  reflect: true
3661
3662
  },
@@ -3669,7 +3670,7 @@ class AuroDropdown extends AuroElement {
3669
3670
  },
3670
3671
 
3671
3672
  /**
3672
- * If declared, the focus trap inside of bib will be turned off.
3673
+ * If declare, the focus trap inside of bib will be turned off.
3673
3674
  */
3674
3675
  disableFocusTrap: {
3675
3676
  type: Boolean,
@@ -3716,6 +3717,22 @@ class AuroDropdown extends AuroElement {
3716
3717
  reflect: true
3717
3718
  },
3718
3719
 
3720
+ /**
3721
+ * Makes the trigger to be full width of its parent container.
3722
+ */
3723
+ fluid: {
3724
+ type: Boolean,
3725
+ reflect: true
3726
+ },
3727
+
3728
+ /**
3729
+ * If declared, will apply padding around trigger slot content.
3730
+ */
3731
+ inset: {
3732
+ type: Boolean,
3733
+ reflect: true
3734
+ },
3735
+
3719
3736
  /**
3720
3737
  * If true, the dropdown bib is displayed.
3721
3738
  */
@@ -3759,6 +3776,15 @@ class AuroDropdown extends AuroElement {
3759
3776
  reflect: true
3760
3777
  },
3761
3778
 
3779
+ /**
3780
+ * Defines if there is a label preset.
3781
+ * @private
3782
+ */
3783
+ labeled: {
3784
+ type: Boolean,
3785
+ reflect: true
3786
+ },
3787
+
3762
3788
  /**
3763
3789
  * Defines if the trigger should size based on the parent element providing the border UI.
3764
3790
  * @private
@@ -3819,9 +3845,6 @@ class AuroDropdown extends AuroElement {
3819
3845
  reflect: true
3820
3846
  },
3821
3847
 
3822
- /**
3823
- * If declared, and a function is set, that function will execute when the slot content is updated.
3824
- */
3825
3848
  onSlotChange: {
3826
3849
  type: Function,
3827
3850
  reflect: false
@@ -3836,6 +3859,14 @@ class AuroDropdown extends AuroElement {
3836
3859
  reflect: true
3837
3860
  },
3838
3861
 
3862
+ /**
3863
+ * If declared, will apply border-radius to trigger and default slots.
3864
+ */
3865
+ rounded: {
3866
+ type: Boolean,
3867
+ reflect: true
3868
+ },
3869
+
3839
3870
  /**
3840
3871
  * @private
3841
3872
  */
@@ -3850,14 +3881,22 @@ class AuroDropdown extends AuroElement {
3850
3881
  type: String || undefined,
3851
3882
  attribute: false,
3852
3883
  reflect: false
3884
+ },
3885
+
3886
+ /**
3887
+ * The value for the aria-autocomplete attribute of the trigger element.
3888
+ */
3889
+ a11yAutocomplete: {
3890
+ type: String,
3891
+ attribute: false,
3853
3892
  }
3854
3893
  };
3855
3894
  }
3856
3895
 
3857
3896
  static get styles() {
3858
3897
  return [
3859
- tokensCss$1,
3860
3898
  colorCss$1,
3899
+ tokensCss$1,
3861
3900
 
3862
3901
  // default layout
3863
3902
  classicColorCss,
@@ -4297,7 +4336,10 @@ class AuroDropdown extends AuroElement {
4297
4336
  id="bib"
4298
4337
  shape="${this.shape}"
4299
4338
  ?data-show="${this.isPopoverVisible}"
4300
- ?isfullscreen="${this.isBibFullscreen}">
4339
+ ?isfullscreen="${this.isBibFullscreen}"
4340
+ ?common="${this.common}"
4341
+ ?rounded="${this.common || this.rounded}"
4342
+ ?inset="${this.common || this.inset}">
4301
4343
  <div class="slotContent">
4302
4344
  <slot @slotchange="${this.handleDefaultSlot}"></slot>
4303
4345
  </div>
@@ -16,24 +16,17 @@
16
16
  <head>
17
17
  <meta charset="UTF-8" />
18
18
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
- <title>Auro Web Component Demo | auro-form</title>
20
-
21
- <!-- Prism.js Stylesheet -->
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
23
-
24
- <!-- Legacy reference is still needed to support auro-form's use of legacy token values at this time -->
25
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
-
27
- <!-- Design Token Alaska Theme -->
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
-
30
- <!-- Webcore Stylesheet Alaska Theme -->
31
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
-
33
- <!-- Demo Specific Styles -->
19
+ <title>Auro Web Component Generator | auro-form custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
34
27
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
28
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
36
- </head>
29
+ </head>
37
30
  <body class="auro-markdown">
38
31
  <main></main>
39
32
 
@@ -1,25 +1,9 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Auro Web Component Demo | auro-form</title>
7
-
8
- <!-- Prism.js Stylesheet -->
9
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
10
-
11
- <!-- Legacy reference is still needed to support auro-form's use of legacy token values at this time -->
12
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
13
-
14
- <!-- Design Token Alaska Theme -->
15
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
16
-
17
- <!-- Webcore Stylesheet Alaska Theme -->
18
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
19
-
20
- <!-- Demo Specific Styles -->
21
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Demo page for auto-complete</title>
23
7
  </head>
24
8
  <body>
25
9
  <!-- EVERY AUTOCOMPLETE OPTION, auro inputs -->
@@ -16,24 +16,17 @@
16
16
  <head>
17
17
  <meta charset="UTF-8" />
18
18
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
- <title>Auro Web Component Demo | auro-form</title>
20
-
21
- <!-- Prism.js Stylesheet -->
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
23
-
24
- <!-- Legacy reference is still needed to support auro-form's use of legacy token values at this time -->
25
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
-
27
- <!-- Design Token Alaska Theme -->
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
-
30
- <!-- Webcore Stylesheet Alaska Theme -->
31
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
-
33
- <!-- Demo Specific Styles -->
19
+ <title>Auro Web Component Generator | auro-form custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
34
27
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
28
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
36
- </head>
29
+ </head>
37
30
  <body class="auro-markdown">
38
31
  <main></main>
39
32
 
@@ -16,24 +16,17 @@
16
16
  <head>
17
17
  <meta charset="UTF-8" />
18
18
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
- <title>Auro Web Component Demo | auro-form</title>
20
-
21
- <!-- Prism.js Stylesheet -->
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
23
-
24
- <!-- Legacy reference is still needed to support auro-form's use of legacy token values at this time -->
25
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
-
27
- <!-- Design Token Alaska Theme -->
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
-
30
- <!-- Webcore Stylesheet Alaska Theme -->
31
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
-
33
- <!-- Demo Specific Styles -->
19
+ <title>Auro Web Component Generator | auro-form custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
34
27
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
28
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
36
- </head>
29
+ </head>
37
30
  <body class="auro-markdown">
38
31
  <main></main>
39
32
 
@@ -14,25 +14,19 @@
14
14
  <!DOCTYPE html>
15
15
  <html lang="en">
16
16
  <head>
17
- <meta charset="UTF-8" />
18
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
- <title>Auro Web Component Demo | auro-form</title>
20
-
21
- <!-- Prism.js Stylesheet -->
22
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
23
-
24
- <!-- Legacy reference is still needed to support auro-form's use of legacy token values at this time -->
25
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
-
27
- <!-- Design Token Alaska Theme -->
28
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
-
30
- <!-- Webcore Stylesheet Alaska Theme -->
31
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
-
33
- <!-- Demo Specific Styles -->
34
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
17
+ <meta charset="UTF-8" />
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
+ <title>Auro Web Component Generator | auro-form custom element</title>
20
+ <link
21
+ rel="stylesheet"
22
+ type="text/css"
23
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
24
+ />
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
27
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
28
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
29
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@8.2.0/dist/auro-button__bundled.js" type="module"></script>
36
30
  </head>
37
31
  <body class="auro-markdown">
38
32
  <main>
@@ -2,7 +2,7 @@ import { css, LitElement, html } from 'lit';
2
2
 
3
3
  var colorCss = css`: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)}`;
4
4
 
5
- var styleCss = css`: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}`;
5
+ var styleCss = css`.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}`;
6
6
 
7
7
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
8
8
 
@@ -2,7 +2,7 @@ import { css, LitElement, html } from 'lit';
2
2
 
3
3
  var colorCss = css`: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)}`;
4
4
 
5
- var styleCss = css`: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}`;
5
+ var styleCss = css`.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}`;
6
6
 
7
7
  var tokensCss = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
8
8
 
@@ -3,24 +3,18 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Auro Web Component Demo | auro-input</title>
7
-
8
- <!-- Prism.js Stylesheet -->
9
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
10
-
11
- <!-- Legacy reference is still needed to support auro-input's use of legacy token values at this time -->
12
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
13
-
14
- <!-- Design Token Alaska Theme -->
15
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
16
-
17
- <!-- Webcore Stylesheet Alaska Theme -->
18
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
19
-
20
- <!-- Demo Specific Styles -->
6
+ <title>Auro Web Component Generator | auro-input custom element</title>
7
+ <link
8
+ rel="stylesheet"
9
+ type="text/css"
10
+ href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"
11
+ />
12
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css">
13
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
21
14
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
22
15
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
23
- </head>
16
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/essentials-as.css" />
17
+ </head>
24
18
  <body class="auro-markdown">
25
19
  <main></main>
26
20
 
@@ -35,7 +35,7 @@ Generate unique names for dependency components.
35
35
  | [noValidate](#noValidate) | `noValidate` | `boolean` | false | If set, disables auto-validation on blur. |
36
36
  | [onDark](#onDark) | `onDark` | `boolean` | false | Sets onDark styles on input. |
37
37
  | [pattern](#pattern) | `pattern` | `string` | | Specifies a regular expression the form control's value should match. |
38
- | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text. |
38
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
39
39
  | [readonly](#readonly) | `readonly` | `boolean` | | Makes the input read-only, but can be set programmatically. |
40
40
  | [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
41
41
  | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |