@haiilo/catalyst 6.4.7 → 6.5.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 (128) hide show
  1. package/dist/catalyst/catalyst.css +1 -1
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +1 -1
  5. package/dist/catalyst/index.esm.js.map +1 -1
  6. package/dist/catalyst/p-19fad7af.js +2 -0
  7. package/dist/catalyst/p-19fad7af.js.map +1 -0
  8. package/dist/catalyst/p-376b504c.js +3 -0
  9. package/dist/catalyst/p-376b504c.js.map +1 -0
  10. package/dist/catalyst/p-d303131e.entry.js +10 -0
  11. package/dist/catalyst/p-d303131e.entry.js.map +1 -0
  12. package/dist/cjs/cat-alert_26.cjs.entry.js +118 -52
  13. package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
  14. package/dist/cjs/catalyst.cjs.js +3 -3
  15. package/dist/cjs/catalyst.cjs.js.map +1 -1
  16. package/dist/cjs/{index-6ec4ef6d.js → index-329a3380.js} +111 -29
  17. package/dist/cjs/index-329a3380.js.map +1 -0
  18. package/dist/cjs/index.cjs.js +1 -1
  19. package/dist/cjs/index.cjs.js.map +1 -1
  20. package/dist/cjs/loader.cjs.js +2 -2
  21. package/dist/cjs/{of-eda6baf8.js → of-8545b523.js} +2 -2
  22. package/dist/cjs/of-8545b523.js.map +1 -0
  23. package/dist/collection/collection-manifest.json +2 -2
  24. package/dist/collection/components/cat-alert/cat-alert.css +10 -20
  25. package/dist/collection/components/cat-avatar/cat-avatar.css +2 -2
  26. package/dist/collection/components/cat-badge/cat-badge.css +6 -11
  27. package/dist/collection/components/cat-checkbox/cat-checkbox.js +4 -1
  28. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
  29. package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +1 -0
  30. package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -1
  31. package/dist/collection/components/cat-dropdown/cat-dropdown.js +2 -4
  32. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  33. package/dist/collection/components/cat-form-hint/cat-form-hint.js +1 -1
  34. package/dist/collection/components/cat-form-hint/cat-form-hint.js.map +1 -1
  35. package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js +1 -1
  36. package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js.map +1 -1
  37. package/dist/collection/components/cat-i18n/cat-i18n-registry.js +1 -1
  38. package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
  39. package/dist/collection/components/cat-input/cat-input.js +20 -4
  40. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  41. package/dist/collection/components/cat-notification/cat-notification.js +1 -2
  42. package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
  43. package/dist/collection/components/cat-radio/cat-radio.js +4 -1
  44. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
  45. package/dist/collection/components/cat-scrollable/cat-scrollable.js +1 -3
  46. package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
  47. package/dist/collection/components/cat-select/cat-select.css +3 -0
  48. package/dist/collection/components/cat-select/cat-select.js +13 -8
  49. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  50. package/dist/collection/components/cat-textarea/cat-textarea.js +5 -2
  51. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  52. package/dist/collection/components/cat-toggle/cat-toggle.js +4 -1
  53. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
  54. package/dist/collection/components/cat-tooltip/cat-tooltip.js +2 -4
  55. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
  56. package/dist/components/cat-alert.js +1 -1
  57. package/dist/components/cat-alert.js.map +1 -1
  58. package/dist/components/cat-avatar2.js +3 -1
  59. package/dist/components/cat-avatar2.js.map +1 -1
  60. package/dist/components/cat-badge.js +1 -1
  61. package/dist/components/cat-badge.js.map +1 -1
  62. package/dist/components/cat-button2.js +3 -1
  63. package/dist/components/cat-button2.js.map +1 -1
  64. package/dist/components/cat-checkbox2.js +4 -1
  65. package/dist/components/cat-checkbox2.js.map +1 -1
  66. package/dist/components/cat-datepicker-inline.js +4 -0
  67. package/dist/components/cat-datepicker-inline.js.map +1 -1
  68. package/dist/components/cat-datepicker.js +6 -0
  69. package/dist/components/cat-datepicker.js.map +1 -1
  70. package/dist/components/cat-datepicker.locale.js +1 -0
  71. package/dist/components/cat-datepicker.locale.js.map +1 -1
  72. package/dist/components/cat-dropdown2.js +44 -25
  73. package/dist/components/cat-dropdown2.js.map +1 -1
  74. package/dist/components/cat-form-group.js +3 -0
  75. package/dist/components/cat-form-group.js.map +1 -1
  76. package/dist/components/cat-form-hint.js +1 -1
  77. package/dist/components/cat-form-hint.js.map +1 -1
  78. package/dist/components/cat-i18n-registry.js +1 -1
  79. package/dist/components/cat-i18n-registry.js.map +1 -1
  80. package/dist/components/cat-input2.js +22 -4
  81. package/dist/components/cat-input2.js.map +1 -1
  82. package/dist/components/cat-radio-group.js +6 -1
  83. package/dist/components/cat-radio-group.js.map +1 -1
  84. package/dist/components/cat-radio.js +4 -1
  85. package/dist/components/cat-radio.js.map +1 -1
  86. package/dist/components/cat-select2.js +18 -6
  87. package/dist/components/cat-select2.js.map +1 -1
  88. package/dist/components/cat-tabs.js +3 -1
  89. package/dist/components/cat-tabs.js.map +1 -1
  90. package/dist/components/cat-textarea.js +7 -2
  91. package/dist/components/cat-textarea.js.map +1 -1
  92. package/dist/components/cat-toggle.js +4 -1
  93. package/dist/components/cat-toggle.js.map +1 -1
  94. package/dist/components/floating-ui.dom.esm.js +16 -5
  95. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  96. package/dist/components/index.d.ts +6 -0
  97. package/dist/components/index.js +1 -1
  98. package/dist/components/index.js.map +1 -1
  99. package/dist/esm/cat-alert_26.entry.js +118 -52
  100. package/dist/esm/cat-alert_26.entry.js.map +1 -1
  101. package/dist/esm/catalyst.js +4 -4
  102. package/dist/esm/catalyst.js.map +1 -1
  103. package/dist/esm/{index-b424aa97.js → index-6af09649.js} +111 -29
  104. package/dist/esm/index-6af09649.js.map +1 -0
  105. package/dist/esm/index.js +2 -2
  106. package/dist/esm/index.js.map +1 -1
  107. package/dist/esm/loader.js +3 -3
  108. package/dist/esm/{of-246f9b35.js → of-a965d8fb.js} +2 -2
  109. package/dist/esm/of-a965d8fb.js.map +1 -0
  110. package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +1 -0
  111. package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +1 -0
  112. package/dist/types/components/cat-input/cat-input.d.ts +2 -0
  113. package/dist/types/components/cat-radio/cat-radio.d.ts +1 -0
  114. package/dist/types/components/cat-select/cat-select.d.ts +1 -0
  115. package/dist/types/components/cat-textarea/cat-textarea.d.ts +1 -0
  116. package/dist/types/components/cat-toggle/cat-toggle.d.ts +1 -0
  117. package/dist/types/stencil-public-runtime.d.ts +5 -3
  118. package/package.json +18 -18
  119. package/dist/catalyst/p-77eee134.entry.js +0 -10
  120. package/dist/catalyst/p-77eee134.entry.js.map +0 -1
  121. package/dist/catalyst/p-8929f28a.js +0 -2
  122. package/dist/catalyst/p-8929f28a.js.map +0 -1
  123. package/dist/catalyst/p-f0bcebed.js +0 -3
  124. package/dist/catalyst/p-f0bcebed.js.map +0 -1
  125. package/dist/cjs/index-6ec4ef6d.js.map +0 -1
  126. package/dist/cjs/of-eda6baf8.js.map +0 -1
  127. package/dist/esm/index-b424aa97.js.map +0 -1
  128. package/dist/esm/of-246f9b35.js.map +0 -1
@@ -87,6 +87,7 @@ export declare class CatRadio {
87
87
  */
88
88
  doBlur(): Promise<void>;
89
89
  render(): any;
90
+ private get hasHint();
90
91
  private onInput;
91
92
  private onFocus;
92
93
  private onBlur;
@@ -220,6 +220,7 @@ export declare class CatSelect {
220
220
  */
221
221
  connect(connector: CatSelectConnector): Promise<void>;
222
222
  render(): any;
223
+ private get hasHint();
223
224
  private get invalid();
224
225
  private get optionsList();
225
226
  private resolve;
@@ -132,6 +132,7 @@ export declare class CatTextarea {
132
132
  clear(): Promise<void>;
133
133
  onErrorsChanged(value?: boolean | string[] | ErrorMap): void;
134
134
  render(): any;
135
+ private get hasHint();
135
136
  private get invalid();
136
137
  private onInput;
137
138
  private onFocus;
@@ -93,6 +93,7 @@ export declare class CatToggle {
93
93
  */
94
94
  doBlur(): Promise<void>;
95
95
  render(): any;
96
+ private get hasHint();
96
97
  private onInput;
97
98
  private onFocus;
98
99
  private onBlur;
@@ -62,7 +62,7 @@ export interface PropOptions {
62
62
  /**
63
63
  * The name of the associated DOM attribute.
64
64
  * Stencil uses different heuristics to determine the default name of the attribute,
65
- * but using this property, you can override the default behaviour.
65
+ * but using this property, you can override the default behavior.
66
66
  */
67
67
  attribute?: string | null;
68
68
  /**
@@ -128,7 +128,7 @@ export interface ListenOptions {
128
128
  * By default, Stencil uses several heuristics to determine if
129
129
  * it must attach a `passive` event listener or not.
130
130
  *
131
- * Using the `passive` option can be used to change the default behaviour.
131
+ * Using the `passive` option can be used to change the default behavior.
132
132
  * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
133
133
  */
134
134
  passive?: boolean;
@@ -471,7 +471,7 @@ export interface FunctionalUtilities {
471
471
  /**
472
472
  * Utility for reading the children of a functional component at runtime.
473
473
  * Since the Stencil runtime uses a different interface for children it is
474
- * not recommendeded to read the children directly, and is preferable to use
474
+ * not recommended to read the children directly, and is preferable to use
475
475
  * this utility to, for instance, perform a side effect for each child.
476
476
  */
477
477
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
@@ -872,6 +872,8 @@ export declare namespace JSXBase {
872
872
  }
873
873
  interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
874
874
  alt?: string;
875
+ crossOrigin?: string;
876
+ crossorigin?: string;
875
877
  decoding?: 'async' | 'auto' | 'sync';
876
878
  importance?: 'low' | 'auto' | 'high';
877
879
  height?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haiilo/catalyst",
3
- "version": "6.4.7",
3
+ "version": "6.5.0",
4
4
  "description": "Catalyst Design System",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,49 +24,49 @@
24
24
  "access": "public"
25
25
  },
26
26
  "peerDependencies": {
27
- "@haiilo/catalyst-icons": ">=0.3.10",
27
+ "@haiilo/catalyst-icons": ">=1.0.0",
28
28
  "rxjs": "^7.5.5"
29
29
  },
30
30
  "dependencies": {
31
- "@floating-ui/dom": "1.5.1",
32
- "@stencil/core": "4.0.5",
31
+ "@floating-ui/dom": "1.5.3",
32
+ "@stencil/core": "4.4.1",
33
33
  "autosize": "6.0.1",
34
34
  "autosize-input": "1.0.2",
35
35
  "flatpickr": "4.6.13",
36
- "focus-trap": "7.5.2",
36
+ "focus-trap": "7.5.4",
37
37
  "loglevel": "1.8.1",
38
38
  "sanitize.css": "13.0.0",
39
39
  "tabbable": "6.2.0",
40
40
  "toastify-js": "1.12.0",
41
- "@haiilo/catalyst-tokens": "6.4.7"
41
+ "@haiilo/catalyst-tokens": "6.5.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/core": "^7.19.6",
45
45
  "@haiilo/catalyst-icons": "^1.0.7",
46
- "@stencil/angular-output-target": "^0.8.0",
46
+ "@stencil/angular-output-target": "^0.8.2",
47
47
  "@stencil/react-output-target": "^0.5.3",
48
- "@stencil/sass": "^3.0.5",
48
+ "@stencil/sass": "^3.0.6",
49
49
  "@stencil/vue-output-target": "^0.8.6",
50
50
  "@types/autosize": "^4.0.1",
51
- "@types/jest": "^27.5.2",
52
- "@types/node": "^18.16.0",
53
- "@types/toastify-js": "^1.12.0",
54
- "@typescript-eslint/eslint-plugin": "^6.4.0",
55
- "@typescript-eslint/parser": "^6.4.0",
51
+ "@types/jest": "^27.5.1",
52
+ "@types/node": "^18.18.5",
53
+ "@types/toastify-js": "^1.12.1",
54
+ "@typescript-eslint/eslint-plugin": "^6.7.5",
55
+ "@typescript-eslint/parser": "^6.7.5",
56
56
  "babel-loader": "^9.1.3",
57
- "eslint": "^8.47.0",
57
+ "eslint": "^8.51.0",
58
58
  "eslint-config-prettier": "^9.0.0",
59
59
  "jest": "^27.5.1",
60
60
  "jest-cli": "^27.5.1",
61
- "prettier": "^3.0.2",
61
+ "prettier": "^3.0.3",
62
62
  "puppeteer": "^20.7.3",
63
63
  "replace-in-file": "^7.0.1",
64
64
  "rxjs": "^7.5.5",
65
65
  "stencil-inline-svg": "^1.1.0",
66
- "stylelint": "^15.10.2",
66
+ "stylelint": "^15.10.3",
67
67
  "stylelint-config-prettier-scss": "^1.0.0",
68
- "stylelint-config-standard-scss": "^10.0.0",
69
- "typescript": "~4.7.4"
68
+ "stylelint-config-standard-scss": "^11.0.0",
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "stencil build --docs",