@roadtrip/components 3.28.0 → 3.30.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 (60) hide show
  1. package/dist/cjs/road-badge_14.cjs.entry.js +15 -4
  2. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  3. package/dist/cjs/road-phone-number-input.cjs.entry.js +1 -1
  4. package/dist/cjs/road-phone-number-input.cjs.entry.js.map +1 -1
  5. package/dist/cjs/road-tab-button.cjs.entry.js +1 -1
  6. package/dist/cjs/road-tab-button.cjs.entry.js.map +1 -1
  7. package/dist/cjs/road-toggle.cjs.entry.js +3 -2
  8. package/dist/cjs/road-toggle.cjs.entry.js.map +1 -1
  9. package/dist/cjs/road-tooltip.cjs.entry.js +23 -3
  10. package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
  11. package/dist/collection/components/button/button.css +42 -2
  12. package/dist/collection/components/button/button.stories.js +13 -1
  13. package/dist/collection/components/drawer/drawer.css +8 -0
  14. package/dist/collection/components/input/input.js +12 -1
  15. package/dist/collection/components/input/input.js.map +1 -1
  16. package/dist/collection/components/input-group/input-group.css +9 -0
  17. package/dist/collection/components/input-group/input-group.stories.js +1 -1
  18. package/dist/collection/components/phone-number-input/phone-number-input.js +1 -1
  19. package/dist/collection/components/phone-number-input/phone-number-input.js.map +1 -1
  20. package/dist/collection/components/tab-button/tab-button.css +3 -2
  21. package/dist/collection/components/toggle/toggle.css +4 -0
  22. package/dist/collection/components/toggle/toggle.js +2 -1
  23. package/dist/collection/components/toggle/toggle.js.map +1 -1
  24. package/dist/collection/components/tooltip/tooltip.css +2 -0
  25. package/dist/collection/components/tooltip/tooltip.js +22 -2
  26. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  27. package/dist/esm/road-badge_14.entry.js +15 -4
  28. package/dist/esm/road-badge_14.entry.js.map +1 -1
  29. package/dist/esm/road-phone-number-input.entry.js +1 -1
  30. package/dist/esm/road-phone-number-input.entry.js.map +1 -1
  31. package/dist/esm/road-tab-button.entry.js +1 -1
  32. package/dist/esm/road-tab-button.entry.js.map +1 -1
  33. package/dist/esm/road-toggle.entry.js +3 -2
  34. package/dist/esm/road-toggle.entry.js.map +1 -1
  35. package/dist/esm/road-tooltip.entry.js +23 -3
  36. package/dist/esm/road-tooltip.entry.js.map +1 -1
  37. package/dist/roadtrip/p-1115f970.entry.js +2 -0
  38. package/dist/roadtrip/p-1115f970.entry.js.map +1 -0
  39. package/dist/roadtrip/p-2e7d3440.entry.js +2 -0
  40. package/dist/roadtrip/p-2e7d3440.entry.js.map +1 -0
  41. package/dist/roadtrip/p-36895fa7.entry.js +2 -0
  42. package/dist/roadtrip/p-36895fa7.entry.js.map +1 -0
  43. package/dist/roadtrip/p-37563bb6.entry.js +2 -0
  44. package/dist/roadtrip/p-37563bb6.entry.js.map +1 -0
  45. package/dist/roadtrip/{p-026e28b6.entry.js → p-8ac960ce.entry.js} +2 -2
  46. package/dist/roadtrip/{p-026e28b6.entry.js.map → p-8ac960ce.entry.js.map} +1 -1
  47. package/dist/roadtrip/roadtrip.css +1 -1
  48. package/dist/roadtrip/roadtrip.esm.js +1 -1
  49. package/dist/types/components/input/input.d.ts +1 -0
  50. package/dist/types/components/tooltip/tooltip.d.ts +6 -0
  51. package/hydrate/index.js +44 -12
  52. package/package.json +1 -1
  53. package/dist/roadtrip/p-49025654.entry.js +0 -2
  54. package/dist/roadtrip/p-49025654.entry.js.map +0 -1
  55. package/dist/roadtrip/p-a77727f2.entry.js +0 -2
  56. package/dist/roadtrip/p-a77727f2.entry.js.map +0 -1
  57. package/dist/roadtrip/p-c1dca3cc.entry.js +0 -2
  58. package/dist/roadtrip/p-c1dca3cc.entry.js.map +0 -1
  59. package/dist/roadtrip/p-f09d5d41.entry.js +0 -2
  60. package/dist/roadtrip/p-f09d5d41.entry.js.map +0 -1
@@ -1387,7 +1387,7 @@ const RoadPhoneNumberInput = class {
1387
1387
  const valueId = selectId + '-value';
1388
1388
  const isInvalidClass = this.errorMessage.length ? 'is-invalid' : '';
1389
1389
  const isErrorClass = this.errorMessage.length ? 'is-error' : '';
1390
- return (h(Host, null, h("road-input-group", null, h("div", { class: `road-phone-input-select ${isErrorClass}`, slot: "prepend" }, h("select", { id: 'phone-number-input', class: `form-select-area has-value ${isInvalidClass}`, "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, onChange: (event) => this.handleSelect(event), "aria-label": this.codeLabel, tabIndex: this.disabled ? -1 : 0 }, this.countryOptions && this.countryOptions.map(option => (h("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), h("label", { class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), h("label", { class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), h("road-input", { id: "phone-number", sizes: "xl", label: this.phoneLabel, value: this.phoneValue, onRoadChange: (event) => this.handleInput(event), required: this.required, error: this.errorMessage, onKeyDown: (event) => this.handleKeyDown(event), tabIndex: 0 }))));
1390
+ return (h(Host, null, h("road-input-group", null, h("div", { class: `road-phone-input-select ${isErrorClass}`, slot: "prepend" }, h("select", { id: 'phone-number-input', class: `form-select-area has-value ${isInvalidClass}`, "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, onChange: (event) => this.handleSelect(event), "aria-label": this.codeLabel, tabIndex: this.disabled ? -1 : 0 }, this.countryOptions && this.countryOptions.map(option => (h("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), h("label", { class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), h("label", { class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), h("road-input", { type: "tel", id: "phone-number", sizes: "xl", label: this.phoneLabel, value: this.phoneValue, onRoadChange: (event) => this.handleInput(event), required: this.required, error: this.errorMessage, onKeyDown: (event) => this.handleKeyDown(event), tabIndex: 0 }))));
1391
1391
  }
1392
1392
  get el() { return getElement(this); }
1393
1393
  static get watchers() { return {