@lmvz-ds/components 0.12.5 → 0.13.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 (118) hide show
  1. package/dist/{esm/Effect-BhQLGXPs.js → cjs/assets-CB5ikzmP.js} +857 -4832
  2. package/dist/cjs/{icons-7wUEcWEo.js → icons-DM_TTn48.js} +363 -113
  3. package/dist/cjs/{index-CVw4GUo6.js → index-Bp6Dd2i1.js} +4 -2
  4. package/dist/cjs/{index-9ZJx0550.js → index-D3BMpL5w.js} +0 -3
  5. package/dist/cjs/index.cjs.js +4 -6
  6. package/dist/cjs/lmvz-action.cjs.entry.js +1 -1
  7. package/dist/cjs/lmvz-button.cjs.entry.js +7 -10
  8. package/dist/cjs/lmvz-card.cjs.entry.js +3 -4
  9. package/dist/cjs/lmvz-chip.cjs.entry.js +1 -1
  10. package/dist/cjs/lmvz-components.cjs.js +1 -1
  11. package/dist/cjs/lmvz-header.cjs.entry.js +13 -12
  12. package/dist/cjs/lmvz-icon.cjs.entry.js +8 -10
  13. package/dist/cjs/lmvz-input.cjs.entry.js +8 -11
  14. package/dist/cjs/lmvz-menuitem.cjs.entry.js +5 -7
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/reactive-controller-host-BMDEj1kX.js +168 -0
  17. package/dist/collection/components/lmvz-button/lmvz-button.js +3 -3
  18. package/dist/collection/components/lmvz-header/lmvz-header.js +11 -8
  19. package/dist/collection/components/lmvz-icon/lmvz-icon.js +2 -2
  20. package/dist/collection/components/lmvz-icon/test/icons.unit.js +21 -12
  21. package/dist/collection/components/lmvz-input/lmvz-input.css +5 -2
  22. package/dist/collection/components/lmvz-input/lmvz-input.js +3 -3
  23. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js +3 -3
  24. package/dist/collection/integration/header-integration.js +3 -1
  25. package/dist/collection/utils/{validation → aria}/aria-validation-controller.js +15 -34
  26. package/dist/collection/utils/{list-keyboard-controller.js → aria/list-keyboard-controller.js} +1 -1
  27. package/dist/collection/utils/{http.test.js → http.unit.js} +7 -6
  28. package/dist/components/index.js +1 -1
  29. package/dist/components/lmvz-action.js +1 -1
  30. package/dist/components/lmvz-button.js +1 -1
  31. package/dist/components/lmvz-card.js +1 -1
  32. package/dist/components/lmvz-chip.js +1 -1
  33. package/dist/components/lmvz-header.js +1 -1
  34. package/dist/components/lmvz-icon.js +1 -1
  35. package/dist/components/lmvz-input.js +1 -1
  36. package/dist/components/lmvz-menuitem.js +1 -1
  37. package/dist/components/p-BBDH9X49.js +1 -0
  38. package/dist/components/{p-DMLRPGid.js → p-BfTCfPZ1.js} +1 -1
  39. package/dist/components/p-Bs6_m7Uw.js +1 -0
  40. package/dist/components/p-CMteT-Yo.js +1 -0
  41. package/dist/components/p-vi4YzJmv.js +1 -0
  42. package/dist/{cjs/Effect-CNhHt4Xb.js → esm/assets-ozES4zSA.js} +785 -5032
  43. package/dist/esm/{icons-Bx1wWPM2.js → icons-kpJZ1u9g.js} +268 -18
  44. package/dist/esm/{index-Bt32KzDW.js → index-BfTCfPZ1.js} +3 -1
  45. package/dist/esm/{index-smGPjoDX.js → index-T5ljELGS.js} +1 -3
  46. package/dist/esm/index.js +3 -5
  47. package/dist/esm/lmvz-action.entry.js +1 -1
  48. package/dist/esm/lmvz-button.entry.js +5 -8
  49. package/dist/esm/lmvz-card.entry.js +2 -3
  50. package/dist/esm/lmvz-chip.entry.js +1 -1
  51. package/dist/esm/lmvz-components.js +2 -2
  52. package/dist/esm/lmvz-header.entry.js +11 -10
  53. package/dist/esm/lmvz-icon.entry.js +5 -7
  54. package/dist/esm/lmvz-input.entry.js +6 -9
  55. package/dist/esm/lmvz-menuitem.entry.js +3 -5
  56. package/dist/esm/loader.js +2 -2
  57. package/dist/esm/reactive-controller-host-CZ3dGAjR.js +165 -0
  58. package/dist/lmvz-components/index.esm.js +1 -1
  59. package/dist/lmvz-components/lmvz-components.esm.js +1 -1
  60. package/dist/lmvz-components/p-16878d4c.entry.js +1 -0
  61. package/dist/lmvz-components/p-4ad8c332.entry.js +1 -0
  62. package/dist/lmvz-components/p-5eee0752.entry.js +1 -0
  63. package/dist/lmvz-components/p-8ea1a349.entry.js +1 -0
  64. package/dist/lmvz-components/{p-d4b68381.entry.js → p-980688a0.entry.js} +1 -1
  65. package/dist/lmvz-components/{p-DMLRPGid.js → p-BfTCfPZ1.js} +1 -1
  66. package/dist/lmvz-components/p-CZ3dGAjR.js +1 -0
  67. package/dist/lmvz-components/p-D9lc4ayG.js +1 -0
  68. package/dist/lmvz-components/p-T5ljELGS.js +2 -0
  69. package/dist/lmvz-components/p-a34542fa.entry.js +1 -0
  70. package/dist/lmvz-components/p-d2bf6a3f.entry.js +1 -0
  71. package/dist/lmvz-components/{p-9faac8f3.entry.js → p-feda2ec5.entry.js} +1 -1
  72. package/dist/lmvz-components/p-iviTjlUy.js +1 -0
  73. package/dist/manifest.json +1 -1
  74. package/dist/types/components/lmvz-button/lmvz-button.d.ts +2 -2
  75. package/dist/types/components/lmvz-header/lmvz-header.d.ts +5 -4
  76. package/dist/types/components/lmvz-icon/lmvz-icon.d.ts +1 -1
  77. package/dist/types/components/lmvz-input/lmvz-input.d.ts +1 -1
  78. package/dist/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +2 -2
  79. package/dist/types/utils/{validation → aria}/aria-validation-controller.d.ts +1 -5
  80. package/dist/types/utils/{element-activation-controller.d.ts → aria/element-activation-controller.d.ts} +2 -2
  81. package/dist/types/utils/{list-keyboard-controller.d.ts → aria/list-keyboard-controller.d.ts} +1 -1
  82. package/hydrate/index.js +9610 -50169
  83. package/hydrate/index.mjs +9610 -50169
  84. package/package.json +17 -18
  85. package/readme.md +18 -0
  86. package/dist/cjs/MutableQueue-Bk9tBfaK.js +0 -462
  87. package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -7
  88. package/dist/cjs/aria-validation-controller-B3hMkau3.js +0 -2930
  89. package/dist/cjs/assets-BguFB3wV.js +0 -71
  90. package/dist/cjs/axe-BNqwbBGU.js +0 -32834
  91. package/dist/components/p-3I3wZmp8.js +0 -1
  92. package/dist/components/p-B85MJLTf.js +0 -1
  93. package/dist/components/p-BaPwpeMs.js +0 -1
  94. package/dist/components/p-CAi33KTt.js +0 -1
  95. package/dist/components/p-CdofjRtQ.js +0 -1
  96. package/dist/components/p-D1HbKFuh.js +0 -12
  97. package/dist/components/p-UwhTS2ue.js +0 -1
  98. package/dist/esm/MutableQueue-CNlEFklh.js +0 -431
  99. package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -5
  100. package/dist/esm/aria-validation-controller-iA4YWFG-.js +0 -2927
  101. package/dist/esm/assets-Iu8neKuE.js +0 -67
  102. package/dist/esm/axe-cRQ9Ux1I.js +0 -32832
  103. package/dist/lmvz-components/p-1a10fcbd.entry.js +0 -1
  104. package/dist/lmvz-components/p-274c36df.entry.js +0 -1
  105. package/dist/lmvz-components/p-2ba68483.entry.js +0 -1
  106. package/dist/lmvz-components/p-4XIjw3k8.js +0 -1
  107. package/dist/lmvz-components/p-51Fb_qqD.js +0 -1
  108. package/dist/lmvz-components/p-77e26e71.entry.js +0 -1
  109. package/dist/lmvz-components/p-B85MJLTf.js +0 -1
  110. package/dist/lmvz-components/p-BhQLGXPs.js +0 -1
  111. package/dist/lmvz-components/p-CXWyvf0D.js +0 -1
  112. package/dist/lmvz-components/p-D1HbKFuh.js +0 -12
  113. package/dist/lmvz-components/p-D7I-Bc5i.js +0 -1
  114. package/dist/lmvz-components/p-a5fe62b6.entry.js +0 -1
  115. package/dist/lmvz-components/p-c8b78793.entry.js +0 -1
  116. package/dist/lmvz-components/p-smGPjoDX.js +0 -2
  117. /package/dist/collection/utils/{element-activation-controller.js → aria/element-activation-controller.js} +0 -0
  118. /package/dist/types/utils/{http.test.d.ts → http.unit.d.ts} +0 -0
@@ -1,71 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-9ZJx0550.js');
4
- var Effect = require('./Effect-CNhHt4Xb.js');
5
-
6
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
- /**
8
- * Provides a constructor for a Case Class.
9
- *
10
- * @since 2.0.0
11
- * @category constructors
12
- */
13
- const Error = /*#__PURE__*/function () {
14
- const plainArgsSymbol = /*#__PURE__*/Symbol.for("effect/Data/Error/plainArgs");
15
- const O = {
16
- BaseEffectError: class extends Effect.YieldableError {
17
- constructor(args) {
18
- super(args?.message, args?.cause ? {
19
- cause: args.cause
20
- } : undefined);
21
- if (args) {
22
- Object.assign(this, args);
23
- // @effect-diagnostics-next-line floatingEffect:off
24
- Object.defineProperty(this, plainArgsSymbol, {
25
- value: args,
26
- enumerable: false
27
- });
28
- }
29
- }
30
- toJSON() {
31
- return {
32
- ...this[plainArgsSymbol],
33
- ...this
34
- };
35
- }
36
- }
37
- };
38
- return O.BaseEffectError;
39
- }();
40
- /**
41
- * @since 2.0.0
42
- * @category constructors
43
- */
44
- const TaggedError = tag => {
45
- const O = {
46
- BaseEffectError: class extends Error {
47
- _tag = tag;
48
- }
49
- };
50
- O.BaseEffectError.prototype.name = tag;
51
- return O.BaseEffectError;
52
- };
53
-
54
- function getLocationBase() {
55
- return (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('assets-BguFB3wV.js', document.baseURI).href)) ?? window?.location?.origin ?? '';
56
- }
57
-
58
- class URLCreationError extends TaggedError('URLCreationError') {
59
- }
60
- const relativeAssetsPath = '../../assets';
61
- const syncCreateAssetUrlSafely = (file, pathFromAssetRoot) => {
62
- const relativeAssetPath = joinPath(relativeAssetsPath, pathFromAssetRoot, file);
63
- return Effect.try_(() => index.getAssetPath(relativeAssetPath)).pipe(Effect.tapError(() => Effect.logWarning(`Failed to create URL for asset "${file}" in path "${pathFromAssetRoot}".
64
- Please provide an absolute URL in your app's 'setAssetPath(...)' configuration! Falling back to a relative URL, which may work in some environments but is not guaranteed to be correct.`)), Effect.orElseSucceed(() => new URL(relativeAssetPath, getLocationBase())));
65
- };
66
- function joinPath(...parts) {
67
- return parts.filter(Boolean).join('/').replace('//', '/').replace('/./', '/');
68
- }
69
-
70
- exports.TaggedError = TaggedError;
71
- exports.syncCreateAssetUrlSafely = syncCreateAssetUrlSafely;