@haiilo/catalyst 5.2.3 → 5.3.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 (70) hide show
  1. package/dist/catalyst/catalyst.esm.js +1 -1
  2. package/dist/catalyst/catalyst.esm.js.map +1 -1
  3. package/dist/catalyst/p-ba081831.entry.js +10 -0
  4. package/dist/catalyst/p-ba081831.entry.js.map +1 -0
  5. package/dist/catalyst/scss/_snippets/_form-label.scss +2 -1
  6. package/dist/cjs/{cat-alert_24.cjs.entry.js → cat-alert_25.cjs.entry.js} +170 -28
  7. package/dist/cjs/cat-alert_25.cjs.entry.js.map +1 -0
  8. package/dist/cjs/catalyst.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/collection-manifest.json +1 -0
  11. package/dist/collection/components/cat-button/cat-button.css +20 -2
  12. package/dist/collection/components/cat-button/cat-button.js +21 -1
  13. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  14. package/dist/collection/components/cat-button-group/cat-button-group.css +15 -0
  15. package/dist/collection/components/cat-button-group/cat-button-group.js +51 -0
  16. package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -0
  17. package/dist/collection/components/cat-dropdown/cat-dropdown.js +14 -2
  18. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  19. package/dist/collection/components/cat-form-group/cat-form-group.js +28 -0
  20. package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
  21. package/dist/collection/components/cat-input/cat-input.css +8 -4
  22. package/dist/collection/components/cat-label/cat-label.js +19 -0
  23. package/dist/collection/components/cat-label/cat-label.js.map +1 -1
  24. package/dist/collection/components/cat-select/cat-select.css +90 -0
  25. package/dist/collection/components/cat-select/cat-select.js +31 -6
  26. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  27. package/dist/collection/components/cat-textarea/cat-textarea.css +8 -4
  28. package/dist/collection/components/cat-tooltip/cat-tooltip.css +0 -7
  29. package/dist/collection/components/cat-tooltip/cat-tooltip.js +22 -18
  30. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
  31. package/dist/collection/scss/_snippets/_form-label.scss +2 -1
  32. package/dist/components/cat-button-group.d.ts +11 -0
  33. package/dist/components/cat-button-group.js +46 -0
  34. package/dist/components/cat-button-group.js.map +1 -0
  35. package/dist/components/cat-button2.js +6 -2
  36. package/dist/components/cat-button2.js.map +1 -1
  37. package/dist/components/cat-dropdown2.js +475 -3
  38. package/dist/components/cat-dropdown2.js.map +1 -1
  39. package/dist/components/cat-form-group.js +10 -1
  40. package/dist/components/cat-form-group.js.map +1 -1
  41. package/dist/components/cat-input.js +1 -1
  42. package/dist/components/cat-input.js.map +1 -1
  43. package/dist/components/cat-label.js +2 -0
  44. package/dist/components/cat-label.js.map +1 -1
  45. package/dist/components/cat-select2.js +11 -3
  46. package/dist/components/cat-select2.js.map +1 -1
  47. package/dist/components/cat-textarea.js +1 -1
  48. package/dist/components/cat-textarea.js.map +1 -1
  49. package/dist/components/cat-tooltip.js +24 -20
  50. package/dist/components/cat-tooltip.js.map +1 -1
  51. package/dist/components/floating-ui.dom.esm.js +85 -1
  52. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  53. package/dist/esm/{cat-alert_24.entry.js → cat-alert_25.entry.js} +170 -29
  54. package/dist/esm/cat-alert_25.entry.js.map +1 -0
  55. package/dist/esm/catalyst.js +1 -1
  56. package/dist/esm/loader.js +1 -1
  57. package/dist/types/components/cat-button/cat-button.d.ts +4 -0
  58. package/dist/types/components/cat-button-group/cat-button-group.d.ts +11 -0
  59. package/dist/types/components/cat-form-group/cat-form-group.d.ts +5 -0
  60. package/dist/types/components/cat-label/cat-label.d.ts +4 -0
  61. package/dist/types/components/cat-select/cat-select.d.ts +4 -0
  62. package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +2 -2
  63. package/dist/types/components.d.ts +53 -0
  64. package/package.json +2 -2
  65. package/dist/catalyst/p-d135d677.entry.js +0 -10
  66. package/dist/catalyst/p-d135d677.entry.js.map +0 -1
  67. package/dist/cjs/cat-alert_24.cjs.entry.js.map +0 -1
  68. package/dist/components/first-tabbable.js +0 -464
  69. package/dist/components/first-tabbable.js.map +0 -1
  70. package/dist/esm/cat-alert_24.entry.js.map +0 -1
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return bootstrapLazy([["cat-alert_24",[[1,"cat-select-demo"],[1,"cat-input",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[8],"maxLength":[2,"max-length"],"min":[8],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"round":[4],"type":[1],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64],"clear":[64]}],[1,"cat-pagination",{"page":[1026],"pageCount":[2,"page-count"],"activePadding":[2,"active-padding"],"sidePadding":[2,"side-padding"],"size":[1],"variant":[1],"round":[4],"compact":[4],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"]}],[1,"cat-tabs",{"activeTab":[1,"active-tab"],"tabsAlign":[1,"tabs-align"],"tabs":[32],"activeTabId":[32]},[[0,"keydown","onKeydown"]]],[1,"cat-alert",{"color":[513],"icon":[1],"noIcon":[4,"no-icon"]}],[1,"cat-textarea",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"disabled":[4],"hint":[1],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-badge",{"variant":[513],"color":[513],"size":[513],"round":[516],"pulse":[516]}],[1,"cat-card"],[1,"cat-form-group",{"requiredMarker":[1,"required-marker"],"labelSize":[1,"label-size"]}],[1,"cat-label",{"requiredMarker":[1,"required-marker"],"for":[1],"required":[4]}],[1,"cat-radio",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-radio-group",{"name":[1],"value":[1025],"disabled":[4],"a11yLabel":[1,"a11y-label"],"labelLeft":[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"blur","onBlur"]]],[1,"cat-tab",{"label":[513],"icon":[513],"iconOnly":[520,"icon-only"],"iconRight":[516,"icon-right"],"url":[513],"urlTarget":[513,"url-target"],"deactivated":[516]},[[0,"click","onClick"]]],[1,"cat-toggle",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-tooltip",{"content":[1],"disabled":[4],"placement":[1],"round":[4],"size":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"longTouchDuration":[2,"long-touch-duration"],"hasSlottedContent":[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{"requiredMarker":[1,"required-marker"],"multiple":[4],"debounce":[2],"placement":[1],"value":[1025],"disabled":[4],"placeholder":[1],"hint":[1],"identifier":[1],"label":[1],"name":[1],"labelHidden":[4,"label-hidden"],"required":[4],"clearable":[4],"tags":[4],"tagHint":[1,"tag-hint"],"noItems":[1,"no-items"],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"connector":[32],"state":[32],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"connect":[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]]],[1,"cat-dropdown",{"placement":[1],"noAutoClose":[4,"no-auto-close"],"overflow":[4],"close":[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{"size":[1],"round":[4],"label":[1],"initials":[1],"src":[1],"icon":[1],"url":[1],"urlTarget":[1,"url-target"],"backgroundImage":[32]}],[1,"cat-checkbox",{"checked":[1028],"disabled":[4],"identifier":[1],"indeterminate":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-scrollable",{"noShadowX":[4,"no-shadow-x"],"noShadowY":[4,"no-shadow-y"],"noOverflowX":[4,"no-overflow-x"],"noOverflowY":[4,"no-overflow-y"],"noOverscroll":[4,"no-overscroll"],"noScrolledInit":[4,"no-scrolled-init"],"scrolledBuffer":[2,"scrolled-buffer"]}],[1,"cat-skeleton",{"effect":[1],"variant":[1],"size":[1],"lines":[2]}],[1,"cat-button",{"variant":[1],"color":[1],"active":[4],"size":[1],"name":[1],"value":[1],"disabled":[4],"loading":[4],"submit":[4],"noEllipsis":[4,"no-ellipsis"],"round":[4],"url":[1],"urlTarget":[1,"url-target"],"icon":[1],"iconSrc":[1,"icon-src"],"iconOnly":[8,"icon-only"],"iconRight":[4,"icon-right"],"buttonId":[1,"button-id"],"a11yLabel":[1,"a11y-label"],"a11yCurrent":[1,"a11y-current"],"nativeAttributes":[16],"_iconOnly":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]},[[0,"click","haltDisabledEvents"]]],[1,"cat-spinner",{"size":[1],"a11yLabel":[1,"a11y-label"]}],[1,"cat-icon",{"icon":[1],"iconSrc":[1,"icon-src"],"size":[1],"a11yLabel":[1,"a11y-label"]}]]]], options);
20
+ return bootstrapLazy([["cat-alert_25",[[1,"cat-select-demo"],[1,"cat-input",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[8],"maxLength":[2,"max-length"],"min":[8],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"round":[4],"type":[1],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64],"clear":[64]}],[1,"cat-pagination",{"page":[1026],"pageCount":[2,"page-count"],"activePadding":[2,"active-padding"],"sidePadding":[2,"side-padding"],"size":[1],"variant":[1],"round":[4],"compact":[4],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"]}],[1,"cat-tabs",{"activeTab":[1,"active-tab"],"tabsAlign":[1,"tabs-align"],"tabs":[32],"activeTabId":[32]},[[0,"keydown","onKeydown"]]],[1,"cat-alert",{"color":[513],"icon":[1],"noIcon":[4,"no-icon"]}],[1,"cat-textarea",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"disabled":[4],"hint":[1],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-badge",{"variant":[513],"color":[513],"size":[513],"round":[516],"pulse":[516]}],[1,"cat-button-group",{"a11yLabel":[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-form-group",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"labelSize":[1,"label-size"]}],[1,"cat-label",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"for":[1],"required":[4]}],[1,"cat-radio",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-radio-group",{"name":[1],"value":[1025],"disabled":[4],"a11yLabel":[1,"a11y-label"],"labelLeft":[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"blur","onBlur"]]],[1,"cat-tab",{"label":[513],"icon":[513],"iconOnly":[520,"icon-only"],"iconRight":[516,"icon-right"],"url":[513],"urlTarget":[513,"url-target"],"deactivated":[516]},[[0,"click","onClick"]]],[1,"cat-toggle",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-tooltip",{"content":[1],"disabled":[4],"placement":[1],"round":[4],"size":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"longTouchDuration":[2,"long-touch-duration"],"hasSlottedContent":[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"multiple":[4],"debounce":[2],"placement":[1],"value":[1025],"disabled":[4],"placeholder":[1],"hint":[1],"identifier":[1],"label":[1],"name":[1],"labelHidden":[4,"label-hidden"],"required":[4],"clearable":[4],"tags":[4],"tagHint":[1,"tag-hint"],"noItems":[1,"no-items"],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"connector":[32],"state":[32],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"connect":[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]]],[1,"cat-dropdown",{"placement":[1],"noAutoClose":[4,"no-auto-close"],"overflow":[4],"close":[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{"size":[1],"round":[4],"label":[1],"initials":[1],"src":[1],"icon":[1],"url":[1],"urlTarget":[1,"url-target"],"backgroundImage":[32]}],[1,"cat-checkbox",{"checked":[1028],"disabled":[4],"identifier":[1],"indeterminate":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-scrollable",{"noShadowX":[4,"no-shadow-x"],"noShadowY":[4,"no-shadow-y"],"noOverflowX":[4,"no-overflow-x"],"noOverflowY":[4,"no-overflow-y"],"noOverscroll":[4,"no-overscroll"],"noScrolledInit":[4,"no-scrolled-init"],"scrolledBuffer":[2,"scrolled-buffer"]}],[1,"cat-skeleton",{"effect":[1],"variant":[1],"size":[1],"lines":[2]}],[1,"cat-button",{"variant":[1],"color":[1],"active":[4],"size":[1],"name":[1],"value":[1],"disabled":[4],"loading":[4],"submit":[4],"noEllipsis":[4,"no-ellipsis"],"round":[4],"url":[1],"urlTarget":[1,"url-target"],"icon":[1],"iconSrc":[1,"icon-src"],"iconOnly":[8,"icon-only"],"iconRight":[4,"icon-right"],"buttonId":[1,"button-id"],"a11yLabel":[1,"a11y-label"],"a11yCurrent":[1,"a11y-current"],"nativeAttributes":[16],"buttonGroupPosition":[1,"button-group-position"],"_iconOnly":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]},[[0,"click","haltDisabledEvents"]]],[1,"cat-spinner",{"size":[1],"a11yLabel":[1,"a11y-label"]}],[1,"cat-icon",{"icon":[1],"iconSrc":[1,"icon-src"],"size":[1],"a11yLabel":[1,"a11y-label"]}]]]], options);
21
21
  });
22
22
 
23
23
  //# sourceMappingURL=catalyst.js.map
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["cat-alert_24",[[1,"cat-select-demo"],[1,"cat-input",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[8],"maxLength":[2,"max-length"],"min":[8],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"round":[4],"type":[1],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64],"clear":[64]}],[1,"cat-pagination",{"page":[1026],"pageCount":[2,"page-count"],"activePadding":[2,"active-padding"],"sidePadding":[2,"side-padding"],"size":[1],"variant":[1],"round":[4],"compact":[4],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"]}],[1,"cat-tabs",{"activeTab":[1,"active-tab"],"tabsAlign":[1,"tabs-align"],"tabs":[32],"activeTabId":[32]},[[0,"keydown","onKeydown"]]],[1,"cat-alert",{"color":[513],"icon":[1],"noIcon":[4,"no-icon"]}],[1,"cat-textarea",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"disabled":[4],"hint":[1],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-badge",{"variant":[513],"color":[513],"size":[513],"round":[516],"pulse":[516]}],[1,"cat-card"],[1,"cat-form-group",{"requiredMarker":[1,"required-marker"],"labelSize":[1,"label-size"]}],[1,"cat-label",{"requiredMarker":[1,"required-marker"],"for":[1],"required":[4]}],[1,"cat-radio",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-radio-group",{"name":[1],"value":[1025],"disabled":[4],"a11yLabel":[1,"a11y-label"],"labelLeft":[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"blur","onBlur"]]],[1,"cat-tab",{"label":[513],"icon":[513],"iconOnly":[520,"icon-only"],"iconRight":[516,"icon-right"],"url":[513],"urlTarget":[513,"url-target"],"deactivated":[516]},[[0,"click","onClick"]]],[1,"cat-toggle",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-tooltip",{"content":[1],"disabled":[4],"placement":[1],"round":[4],"size":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"longTouchDuration":[2,"long-touch-duration"],"hasSlottedContent":[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{"requiredMarker":[1,"required-marker"],"multiple":[4],"debounce":[2],"placement":[1],"value":[1025],"disabled":[4],"placeholder":[1],"hint":[1],"identifier":[1],"label":[1],"name":[1],"labelHidden":[4,"label-hidden"],"required":[4],"clearable":[4],"tags":[4],"tagHint":[1,"tag-hint"],"noItems":[1,"no-items"],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"connector":[32],"state":[32],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"connect":[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]]],[1,"cat-dropdown",{"placement":[1],"noAutoClose":[4,"no-auto-close"],"overflow":[4],"close":[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{"size":[1],"round":[4],"label":[1],"initials":[1],"src":[1],"icon":[1],"url":[1],"urlTarget":[1,"url-target"],"backgroundImage":[32]}],[1,"cat-checkbox",{"checked":[1028],"disabled":[4],"identifier":[1],"indeterminate":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-scrollable",{"noShadowX":[4,"no-shadow-x"],"noShadowY":[4,"no-shadow-y"],"noOverflowX":[4,"no-overflow-x"],"noOverflowY":[4,"no-overflow-y"],"noOverscroll":[4,"no-overscroll"],"noScrolledInit":[4,"no-scrolled-init"],"scrolledBuffer":[2,"scrolled-buffer"]}],[1,"cat-skeleton",{"effect":[1],"variant":[1],"size":[1],"lines":[2]}],[1,"cat-button",{"variant":[1],"color":[1],"active":[4],"size":[1],"name":[1],"value":[1],"disabled":[4],"loading":[4],"submit":[4],"noEllipsis":[4,"no-ellipsis"],"round":[4],"url":[1],"urlTarget":[1,"url-target"],"icon":[1],"iconSrc":[1,"icon-src"],"iconOnly":[8,"icon-only"],"iconRight":[4,"icon-right"],"buttonId":[1,"button-id"],"a11yLabel":[1,"a11y-label"],"a11yCurrent":[1,"a11y-current"],"nativeAttributes":[16],"_iconOnly":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]},[[0,"click","haltDisabledEvents"]]],[1,"cat-spinner",{"size":[1],"a11yLabel":[1,"a11y-label"]}],[1,"cat-icon",{"icon":[1],"iconSrc":[1,"icon-src"],"size":[1],"a11yLabel":[1,"a11y-label"]}]]]], options);
14
+ return bootstrapLazy([["cat-alert_25",[[1,"cat-select-demo"],[1,"cat-input",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[8],"maxLength":[2,"max-length"],"min":[8],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"round":[4],"type":[1],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64],"clear":[64]}],[1,"cat-pagination",{"page":[1026],"pageCount":[2,"page-count"],"activePadding":[2,"active-padding"],"sidePadding":[2,"side-padding"],"size":[1],"variant":[1],"round":[4],"compact":[4],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"]}],[1,"cat-tabs",{"activeTab":[1,"active-tab"],"tabsAlign":[1,"tabs-align"],"tabs":[32],"activeTabId":[32]},[[0,"keydown","onKeydown"]]],[1,"cat-alert",{"color":[513],"icon":[1],"noIcon":[4,"no-icon"]}],[1,"cat-textarea",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"disabled":[4],"hint":[1],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1032],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-badge",{"variant":[513],"color":[513],"size":[513],"round":[516],"pulse":[516]}],[1,"cat-button-group",{"a11yLabel":[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-form-group",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"labelSize":[1,"label-size"]}],[1,"cat-label",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"for":[1],"required":[4]}],[1,"cat-radio",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-radio-group",{"name":[1],"value":[1025],"disabled":[4],"a11yLabel":[1,"a11y-label"],"labelLeft":[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"blur","onBlur"]]],[1,"cat-tab",{"label":[513],"icon":[513],"iconOnly":[520,"icon-only"],"iconRight":[516,"icon-right"],"url":[513],"urlTarget":[513,"url-target"],"deactivated":[516]},[[0,"click","onClick"]]],[1,"cat-toggle",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-tooltip",{"content":[1],"disabled":[4],"placement":[1],"round":[4],"size":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"longTouchDuration":[2,"long-touch-duration"],"hasSlottedContent":[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"multiple":[4],"debounce":[2],"placement":[1],"value":[1025],"disabled":[4],"placeholder":[1],"hint":[1],"identifier":[1],"label":[1],"name":[1],"labelHidden":[4,"label-hidden"],"required":[4],"clearable":[4],"tags":[4],"tagHint":[1,"tag-hint"],"noItems":[1,"no-items"],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"connector":[32],"state":[32],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"connect":[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]]],[1,"cat-dropdown",{"placement":[1],"noAutoClose":[4,"no-auto-close"],"overflow":[4],"close":[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{"size":[1],"round":[4],"label":[1],"initials":[1],"src":[1],"icon":[1],"url":[1],"urlTarget":[1,"url-target"],"backgroundImage":[32]}],[1,"cat-checkbox",{"checked":[1028],"disabled":[4],"identifier":[1],"indeterminate":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1032],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]}],[1,"cat-scrollable",{"noShadowX":[4,"no-shadow-x"],"noShadowY":[4,"no-shadow-y"],"noOverflowX":[4,"no-overflow-x"],"noOverflowY":[4,"no-overflow-y"],"noOverscroll":[4,"no-overscroll"],"noScrolledInit":[4,"no-scrolled-init"],"scrolledBuffer":[2,"scrolled-buffer"]}],[1,"cat-skeleton",{"effect":[1],"variant":[1],"size":[1],"lines":[2]}],[1,"cat-button",{"variant":[1],"color":[1],"active":[4],"size":[1],"name":[1],"value":[1],"disabled":[4],"loading":[4],"submit":[4],"noEllipsis":[4,"no-ellipsis"],"round":[4],"url":[1],"urlTarget":[1,"url-target"],"icon":[1],"iconSrc":[1,"icon-src"],"iconOnly":[8,"icon-only"],"iconRight":[4,"icon-right"],"buttonId":[1,"button-id"],"a11yLabel":[1,"a11y-label"],"a11yCurrent":[1,"a11y-current"],"nativeAttributes":[16],"buttonGroupPosition":[1,"button-group-position"],"_iconOnly":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]},[[0,"click","haltDisabledEvents"]]],[1,"cat-spinner",{"size":[1],"a11yLabel":[1,"a11y-label"]}],[1,"cat-icon",{"icon":[1],"iconSrc":[1,"icon-src"],"size":[1],"a11yLabel":[1,"a11y-label"]}]]]], options);
15
15
  });
16
16
  };
17
17
 
@@ -113,6 +113,10 @@ export declare class CatButton {
113
113
  nativeAttributes?: {
114
114
  [key: string]: string;
115
115
  };
116
+ /**
117
+ * The index of a button that is used inside a cat-button-group component
118
+ */
119
+ buttonGroupPosition?: 'first' | 'last' | 'middle';
116
120
  onIconOnlyChanged(value: boolean | Breakpoint): void;
117
121
  /**
118
122
  * Emitted when the button is clicked.
@@ -0,0 +1,11 @@
1
+ export declare class CatButtonGroup {
2
+ private formElements;
3
+ hostElement: HTMLElement;
4
+ /**
5
+ * Adds an accessible label for the button group that
6
+ * it is only shown in assistive technologies, like screen readers.
7
+ */
8
+ a11yLabel?: string;
9
+ render(): any;
10
+ private onSlotChange;
11
+ }
@@ -9,11 +9,16 @@ export declare class CatFormGroup {
9
9
  * If a form field had "!", the requiredMarked of the field would not change.
10
10
  */
11
11
  requiredMarker: 'none' | 'required' | 'optional' | 'auto';
12
+ /**
13
+ * Whether the label is on top or left.
14
+ */
15
+ horizontal: boolean;
12
16
  /**
13
17
  * The space allocated to the input label
14
18
  */
15
19
  labelSize?: string;
16
20
  onRequiredMarker(newRequiredMarker: 'none' | 'required' | 'optional' | 'auto'): void;
21
+ onHorizontal(newHorizontal: boolean): void;
17
22
  render(): any;
18
23
  private onSlotChange;
19
24
  private calculate;
@@ -9,6 +9,10 @@ export declare class CatLabel {
9
9
  * Whether the label need a marker to shown if the input is required or optional.
10
10
  */
11
11
  requiredMarker: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
12
+ /**
13
+ * Whether the label is on top or left.
14
+ */
15
+ horizontal: boolean;
12
16
  /**
13
17
  * The unique identifier for a referenced input.
14
18
  */
@@ -88,6 +88,10 @@ export declare class CatSelect {
88
88
  * Whether the label need a marker to shown if the select is required or optional.
89
89
  */
90
90
  requiredMarker: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
91
+ /**
92
+ * Whether the label is on top or left.
93
+ */
94
+ horizontal: boolean;
91
95
  /**
92
96
  * Enable multiple selection.
93
97
  */
@@ -4,12 +4,12 @@ export declare class CatTooltip {
4
4
  private static readonly SHIFT_PADDING;
5
5
  private readonly id;
6
6
  private tooltip?;
7
- private triggerElement?;
8
7
  private trigger?;
9
8
  private showTimeout?;
10
9
  private hideTimeout?;
11
10
  private touchTimeout?;
12
11
  private hidden;
12
+ private cleanupFloatingUi?;
13
13
  hostElement: HTMLElement;
14
14
  hasSlottedContent: boolean;
15
15
  /**
@@ -50,7 +50,6 @@ export declare class CatTooltip {
50
50
  componentWillRender(): void;
51
51
  disconnectedCallback(): void;
52
52
  render(): any;
53
- private get isTabbable();
54
53
  private update;
55
54
  private showListener;
56
55
  private hideListener;
@@ -58,4 +57,5 @@ export declare class CatTooltip {
58
57
  private touchEndListener;
59
58
  private windowTouchStartListener;
60
59
  private showTooltip;
60
+ private hideTooltip;
61
61
  }
@@ -116,6 +116,10 @@ export namespace Components {
116
116
  * Set the button into an active state.
117
117
  */
118
118
  "active": boolean;
119
+ /**
120
+ * The index of a button that is used inside a cat-button-group component
121
+ */
122
+ "buttonGroupPosition"?: 'first' | 'last' | 'middle';
119
123
  /**
120
124
  * Adds a unique identifier for the button. Please note that with this particular component this ID is added inside the web component. If you need an ID on the HTML element, use the regular `id` attribute instead.
121
125
  */
@@ -202,6 +206,12 @@ export namespace Components {
202
206
  */
203
207
  "variant": 'filled' | 'outlined' | 'text';
204
208
  }
209
+ interface CatButtonGroup {
210
+ /**
211
+ * Adds an accessible label for the button group that it is only shown in assistive technologies, like screen readers.
212
+ */
213
+ "a11yLabel"?: string;
214
+ }
205
215
  /**
206
216
  * Cards are surfaces that display content and actions on a single topic. They
207
217
  * should be easy to scan for relevant and actionable information.
@@ -294,6 +304,10 @@ export namespace Components {
294
304
  "placement": Placement;
295
305
  }
296
306
  interface CatFormGroup {
307
+ /**
308
+ * Whether the label is on top or left.
309
+ */
310
+ "horizontal": boolean;
297
311
  /**
298
312
  * The space allocated to the input label
299
313
  */
@@ -466,6 +480,10 @@ export namespace Components {
466
480
  * The unique identifier for a referenced input.
467
481
  */
468
482
  "for"?: string;
483
+ /**
484
+ * Whether the label is on top or left.
485
+ */
486
+ "horizontal": boolean;
469
487
  /**
470
488
  * A value is required or must be check for the form to be submittable.
471
489
  */
@@ -680,6 +698,10 @@ export namespace Components {
680
698
  * Optional hint text(s) to be displayed with the select.
681
699
  */
682
700
  "hint"?: string | string[];
701
+ /**
702
+ * Whether the label is on top or left.
703
+ */
704
+ "horizontal": boolean;
683
705
  /**
684
706
  * A unique identifier for the input.
685
707
  */
@@ -1094,6 +1116,12 @@ declare global {
1094
1116
  prototype: HTMLCatButtonElement;
1095
1117
  new (): HTMLCatButtonElement;
1096
1118
  };
1119
+ interface HTMLCatButtonGroupElement extends Components.CatButtonGroup, HTMLStencilElement {
1120
+ }
1121
+ var HTMLCatButtonGroupElement: {
1122
+ prototype: HTMLCatButtonGroupElement;
1123
+ new (): HTMLCatButtonGroupElement;
1124
+ };
1097
1125
  /**
1098
1126
  * Cards are surfaces that display content and actions on a single topic. They
1099
1127
  * should be easy to scan for relevant and actionable information.
@@ -1284,6 +1312,7 @@ declare global {
1284
1312
  "cat-avatar": HTMLCatAvatarElement;
1285
1313
  "cat-badge": HTMLCatBadgeElement;
1286
1314
  "cat-button": HTMLCatButtonElement;
1315
+ "cat-button-group": HTMLCatButtonGroupElement;
1287
1316
  "cat-card": HTMLCatCardElement;
1288
1317
  "cat-checkbox": HTMLCatCheckboxElement;
1289
1318
  "cat-dropdown": HTMLCatDropdownElement;
@@ -1405,6 +1434,10 @@ declare namespace LocalJSX {
1405
1434
  * Set the button into an active state.
1406
1435
  */
1407
1436
  "active"?: boolean;
1437
+ /**
1438
+ * The index of a button that is used inside a cat-button-group component
1439
+ */
1440
+ "buttonGroupPosition"?: 'first' | 'last' | 'middle';
1408
1441
  /**
1409
1442
  * Adds a unique identifier for the button. Please note that with this particular component this ID is added inside the web component. If you need an ID on the HTML element, use the regular `id` attribute instead.
1410
1443
  */
@@ -1490,6 +1523,12 @@ declare namespace LocalJSX {
1490
1523
  */
1491
1524
  "variant"?: 'filled' | 'outlined' | 'text';
1492
1525
  }
1526
+ interface CatButtonGroup {
1527
+ /**
1528
+ * Adds an accessible label for the button group that it is only shown in assistive technologies, like screen readers.
1529
+ */
1530
+ "a11yLabel"?: string;
1531
+ }
1493
1532
  /**
1494
1533
  * Cards are surfaces that display content and actions on a single topic. They
1495
1534
  * should be easy to scan for relevant and actionable information.
@@ -1585,6 +1624,10 @@ declare namespace LocalJSX {
1585
1624
  "placement"?: Placement;
1586
1625
  }
1587
1626
  interface CatFormGroup {
1627
+ /**
1628
+ * Whether the label is on top or left.
1629
+ */
1630
+ "horizontal"?: boolean;
1588
1631
  /**
1589
1632
  * The space allocated to the input label
1590
1633
  */
@@ -1752,6 +1795,10 @@ declare namespace LocalJSX {
1752
1795
  * The unique identifier for a referenced input.
1753
1796
  */
1754
1797
  "for"?: string;
1798
+ /**
1799
+ * Whether the label is on top or left.
1800
+ */
1801
+ "horizontal"?: boolean;
1755
1802
  /**
1756
1803
  * A value is required or must be check for the form to be submittable.
1757
1804
  */
@@ -1984,6 +2031,10 @@ declare namespace LocalJSX {
1984
2031
  * Optional hint text(s) to be displayed with the select.
1985
2032
  */
1986
2033
  "hint"?: string | string[];
2034
+ /**
2035
+ * Whether the label is on top or left.
2036
+ */
2037
+ "horizontal"?: boolean;
1987
2038
  /**
1988
2039
  * A unique identifier for the input.
1989
2040
  */
@@ -2336,6 +2387,7 @@ declare namespace LocalJSX {
2336
2387
  "cat-avatar": CatAvatar;
2337
2388
  "cat-badge": CatBadge;
2338
2389
  "cat-button": CatButton;
2390
+ "cat-button-group": CatButtonGroup;
2339
2391
  "cat-card": CatCard;
2340
2392
  "cat-checkbox": CatCheckbox;
2341
2393
  "cat-dropdown": CatDropdown;
@@ -2381,6 +2433,7 @@ declare module "@stencil/core" {
2381
2433
  * once per view for main call-to-action.
2382
2434
  */
2383
2435
  "cat-button": LocalJSX.CatButton & JSXBase.HTMLAttributes<HTMLCatButtonElement>;
2436
+ "cat-button-group": LocalJSX.CatButtonGroup & JSXBase.HTMLAttributes<HTMLCatButtonGroupElement>;
2384
2437
  /**
2385
2438
  * Cards are surfaces that display content and actions on a single topic. They
2386
2439
  * should be easy to scan for relevant and actionable information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haiilo/catalyst",
3
- "version": "5.2.3",
3
+ "version": "5.3.0",
4
4
  "description": "Catalyst Design System",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@floating-ui/dom": "1.2.1",
49
- "@haiilo/catalyst-tokens": "5.2.3",
49
+ "@haiilo/catalyst-tokens": "5.3.0",
50
50
  "@stencil/core": "3.0.0",
51
51
  "autosize": "6.0.0",
52
52
  "autosize-input": "1.0.2",