@lumx/vue 4.9.0-next.9 → 4.9.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 (44) hide show
  1. package/_internal/{BrPeaE_u.js → BqMObS2T.js} +26 -23
  2. package/_internal/{BrPeaE_u.js.map → BqMObS2T.js.map} +1 -1
  3. package/components/button/Button.d.ts +3 -5
  4. package/components/button/IconButton.d.ts +3 -5
  5. package/components/combobox/Combobox.stories.d.ts +152 -0
  6. package/components/combobox/Combobox.test.stories.d.ts +112 -0
  7. package/components/combobox/ComboboxButton.d.ts +44 -0
  8. package/components/combobox/ComboboxInput.d.ts +68 -0
  9. package/components/combobox/ComboboxList.d.ts +15 -0
  10. package/components/combobox/ComboboxOption.d.ts +29 -0
  11. package/components/combobox/ComboboxOptionAction.d.ts +20 -0
  12. package/components/combobox/ComboboxOptionMoreInfo.d.ts +29 -0
  13. package/components/combobox/ComboboxOptionSkeleton.d.ts +14 -0
  14. package/components/combobox/ComboboxPopover.d.ts +20 -0
  15. package/components/combobox/ComboboxProvider.d.ts +16 -0
  16. package/components/combobox/ComboboxSection.d.ts +14 -0
  17. package/components/combobox/ComboboxState.d.ts +14 -0
  18. package/components/combobox/context/ComboboxContext.d.ts +23 -0
  19. package/components/combobox/context/ComboboxListContext.d.ts +14 -0
  20. package/components/combobox/context/ComboboxOptionContext.d.ts +16 -0
  21. package/components/combobox/context/useComboboxEvent.d.ts +7 -0
  22. package/components/combobox/context/useComboboxOpen.d.ts +7 -0
  23. package/components/combobox/index.d.ts +112 -0
  24. package/components/expansion-panel/ExpansionPanel.d.ts +39 -0
  25. package/components/expansion-panel/ExpansionPanel.stories.d.ts +54 -0
  26. package/components/expansion-panel/index.d.ts +1 -0
  27. package/components/image-block/ImageBlock.d.ts +19 -0
  28. package/components/image-block/ImageBlock.stories.d.ts +178 -0
  29. package/components/image-block/ImageCaption.d.ts +18 -0
  30. package/components/image-block/index.d.ts +1 -0
  31. package/components/mosaic/Mosaic.d.ts +30 -0
  32. package/components/mosaic/Mosaic.stories.d.ts +93 -0
  33. package/components/mosaic/index.d.ts +1 -0
  34. package/components/text-field/RawInputText.d.ts +3 -0
  35. package/components/text-field/RawInputTextarea.d.ts +3 -0
  36. package/components/text-field/TextField.d.ts +11 -0
  37. package/composables/useWatchDisposable.d.ts +19 -0
  38. package/index.d.ts +4 -0
  39. package/index.js +8264 -6242
  40. package/index.js.map +1 -1
  41. package/package.json +4 -5
  42. package/stories/decorators/withValueOnChange.d.ts +4 -4
  43. package/utils/VueToJSX.d.ts +7 -0
  44. package/utils/index.js +2 -2
package/package.json CHANGED
@@ -33,11 +33,11 @@
33
33
  }
34
34
  },
35
35
  "sideEffects": false,
36
- "version": "4.9.0-next.9",
36
+ "version": "4.9.0",
37
37
  "dependencies": {
38
38
  "@floating-ui/vue": "^1.1.10",
39
- "@lumx/core": "^4.9.0-next.9",
40
- "@lumx/icons": "^4.9.0-next.9",
39
+ "@lumx/core": "^4.9.0",
40
+ "@lumx/icons": "^4.9.0",
41
41
  "@vueuse/core": "^14.1.0"
42
42
  },
43
43
  "peerDependencies": {
@@ -69,6 +69,5 @@
69
69
  "vitest": "^4.0.18",
70
70
  "vue": "^3.5.27",
71
71
  "vue-tsc": "^3.2.4"
72
- },
73
- "stableVersion": "4.8.1"
72
+ }
74
73
  }
@@ -4,9 +4,9 @@
4
4
  *
5
5
  * This is the Vue equivalent of the React withValueOnChange decorator.
6
6
  */
7
- export declare const withValueOnChange: ({ valueProp, valueTransform, }?: {
7
+ export declare const withValueOnChange: ({ valueProp, valueTransform, onChangeProp, valueExtract, }?: {
8
8
  valueProp?: string;
9
9
  valueTransform?: (v: any) => any;
10
- }) => (story: any, ctx: any) => () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
- [key: string]: any;
12
- }>;
10
+ onChangeProp?: string;
11
+ valueExtract?: (v: any) => any;
12
+ }) => (story: any, ctx: any) => () => any;
@@ -10,6 +10,13 @@ export type VueToJSXProps<Props, OmitProps extends keyof Props = never> = Omit<P
10
10
  /** Class name forwarded to the root element of the component. */
11
11
  class?: string;
12
12
  };
13
+ /**
14
+ * Hyphenated aria-* prop keys that must NOT be declared as Vue component props.
15
+ * When declared, Vue normalizes them to camelCase (e.g. aria-haspopup → ariaHaspopup),
16
+ * which breaks hyphenated key destructuring in core component templates.
17
+ * By excluding them from props, they flow through `attrs` with their original hyphenated keys.
18
+ */
19
+ export type HyphenatedAriaProps = 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-pressed';
13
20
  export declare const keysOf: <T>() => <K extends readonly (keyof T)[]>(...keys: [keyof T] extends [K[number]] ? K : [Error: "\u274C Missing keys in your list:", Exclude<keyof T, K[number]>]) => Record<K[number], {
14
21
  required: false;
15
22
  }>;
package/utils/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { s } from "../_internal/BrPeaE_u.js";
2
- import { C as P, P as v, a as w, T as d, u as C } from "../_internal/BrPeaE_u.js";
1
+ import { s } from "../_internal/BqMObS2T.js";
2
+ import { C as P, P as v, a as w, T as d, u as C } from "../_internal/BqMObS2T.js";
3
3
  import { watchEffect as n, onBeforeUnmount as l } from "vue";
4
4
  function u({ callback: t, childrenRefs: o }) {
5
5
  let e;