@oneplatformdev/ui 0.1.99-beta.212 → 0.1.99-beta.214

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## 0.1.99-beta.214 (2026-02-19)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **Combobox:** add support for `ref` prop in component props ([75c4f4b](https://github.com/oneplatformdev/core-web/commit/75c4f4b))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated @oneplatformdev/utils to 0.1.99-beta.214
10
+ - Updated @oneplatformdev/hooks to 0.1.99-beta.214
11
+ - Updated @oneplatformdev/tokens to 0.1.99-beta.214
12
+
13
+ ### ❤️ Thank You
14
+
15
+ - Bohdan Radchenko
16
+
17
+ ## 0.1.99-beta.213 (2026-02-19)
18
+
19
+ ### 🚀 Features
20
+
21
+ - **Combobox:** add forward ref support with `useImperativeHandle` for accessing callback state parameters ([145b2c4](https://github.com/oneplatformdev/core-web/commit/145b2c4))
22
+
23
+ ### 🧱 Updated Dependencies
24
+
25
+ - Updated @oneplatformdev/utils to 0.1.99-beta.213
26
+ - Updated @oneplatformdev/hooks to 0.1.99-beta.213
27
+ - Updated @oneplatformdev/tokens to 0.1.99-beta.213
28
+
29
+ ### ❤️ Thank You
30
+
31
+ - Bohdan Radchenko
32
+
1
33
  ## 0.1.99-beta.212 (2026-02-19)
2
34
 
3
35
  ### 🚀 Features
@@ -1 +1 @@
1
- {"version":3,"file":"FormCombobox.d.ts","sourceRoot":"","sources":["../../src/FormCombobox/FormCombobox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,eAAO,MAAM,YAAY,GACvB,IAAI,SAAS,WAAW,EACxB,IAAI,SAAS,MAAM,GAAG,MAAM,EAE5B,OAAO,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,4CAqBrC,CAAC"}
1
+ {"version":3,"file":"FormCombobox.d.ts","sourceRoot":"","sources":["../../src/FormCombobox/FormCombobox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,eAAO,MAAM,YAAY,GACvB,IAAI,SAAS,WAAW,EACxB,IAAI,SAAS,MAAM,GAAG,MAAM,EAE5B,OAAO,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,4CAsBrC,CAAC"}
@@ -1,22 +1,23 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { FormControl as C } from "../Form/Form.js";
3
- import { FormRenderControl as b } from "../Form/FormRenderControl.js";
2
+ import { FormControl as l } from "../Form/Form.js";
3
+ import { FormRenderControl as C } from "../Form/FormRenderControl.js";
4
4
  import { Combobox as s } from "../Combobox/Combobox.js";
5
- const h = (m) => {
6
- const { form: t, label: n, tooltip: e, tooltipProps: p, name: i, ...l } = m;
5
+ const F = (m) => {
6
+ const { form: t, label: e, tooltip: n, tooltipProps: p, name: b, ref: f, ...i } = m;
7
7
  return /* @__PURE__ */ o(
8
- b,
8
+ C,
9
9
  {
10
10
  form: t,
11
- label: n,
12
- tooltip: e,
11
+ label: e,
12
+ tooltip: n,
13
13
  tooltipProps: p,
14
- name: i,
15
- render: ({ field: r }) => /* @__PURE__ */ o(C, { children: /* @__PURE__ */ o(
14
+ name: b,
15
+ render: ({ field: r }) => /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(
16
16
  s,
17
17
  {
18
- ...l,
18
+ ...i,
19
19
  ...r,
20
+ ref: f,
20
21
  onChange: r.onChange
21
22
  }
22
23
  ) })
@@ -24,6 +25,6 @@ const h = (m) => {
24
25
  );
25
26
  };
26
27
  export {
27
- h as FormCombobox
28
+ F as FormCombobox
28
29
  };
29
30
  //# sourceMappingURL=FormCombobox.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormCombobox.js","sources":["../../src/FormCombobox/FormCombobox.tsx"],"sourcesContent":["import { FormControl, FormRenderControl } from '../Form';\nimport { Combobox } from '../Combobox';\nimport { FormComboboxProps } from './FormCombobox.types';\nimport { FieldValues } from 'react-hook-form';\n\n// TODO: add description\nexport const FormCombobox = <\n Data extends FieldValues,\n Node extends object = object\n>(\n props: FormComboboxProps<Data, Node>\n) => {\n const { form, label, tooltip, tooltipProps, name, ...rest } = props;\n return (\n <FormRenderControl\n form={form}\n label={label}\n tooltip={tooltip}\n tooltipProps={tooltipProps}\n name={name}\n render={({ field }) => (\n <FormControl>\n <Combobox\n {...rest}\n {...field}\n onChange={field.onChange}\n />\n </FormControl>\n )}\n />\n );\n};\n"],"names":["FormCombobox","props","form","label","tooltip","tooltipProps","name","rest","jsx","FormRenderControl","field","FormControl","Combobox"],"mappings":";;;;AAMO,MAAMA,IAAe,CAI1BC,MACG;AACH,QAAM,EAAE,MAAAC,GAAM,OAAAC,GAAO,SAAAC,GAAS,cAAAC,GAAc,MAAAC,GAAM,GAAGC,MAASN;AAC9D,SACE,gBAAAO;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAAP;AAAA,MACA,OAAAC;AAAA,MACA,SAAAC;AAAA,MACA,cAAAC;AAAA,MACA,MAAAC;AAAA,MACA,QAAQ,CAAC,EAAE,OAAAI,EAAA,wBACRC,GAAA,EACC,UAAA,gBAAAH;AAAA,QAACI;AAAA,QAAA;AAAA,UACE,GAAGL;AAAA,UACH,GAAGG;AAAA,UACJ,UAAUA,EAAM;AAAA,QAAA;AAAA,MAAA,EAClB,CACF;AAAA,IAAA;AAAA,EAAA;AAIR;"}
1
+ {"version":3,"file":"FormCombobox.js","sources":["../../src/FormCombobox/FormCombobox.tsx"],"sourcesContent":["import { FormControl, FormRenderControl } from '../Form';\nimport { Combobox } from '../Combobox';\nimport { FormComboboxProps } from './FormCombobox.types';\nimport { FieldValues } from 'react-hook-form';\n\n// TODO: add description\nexport const FormCombobox = <\n Data extends FieldValues,\n Node extends object = object\n>(\n props: FormComboboxProps<Data, Node>\n) => {\n const { form, label, tooltip, tooltipProps, name, ref: comboboxRef, ...rest } = props;\n return (\n <FormRenderControl\n form={form}\n label={label}\n tooltip={tooltip}\n tooltipProps={tooltipProps}\n name={name}\n render={({ field }) => (\n <FormControl>\n <Combobox\n {...rest}\n {...field}\n ref={comboboxRef}\n onChange={field.onChange}\n />\n </FormControl>\n )}\n />\n );\n};\n"],"names":["FormCombobox","props","form","label","tooltip","tooltipProps","name","comboboxRef","rest","jsx","FormRenderControl","field","FormControl","Combobox"],"mappings":";;;;AAMO,MAAMA,IAAe,CAI1BC,MACG;AACH,QAAM,EAAE,MAAAC,GAAM,OAAAC,GAAO,SAAAC,GAAS,cAAAC,GAAc,MAAAC,GAAM,KAAKC,GAAa,GAAGC,EAAA,IAASP;AAChF,SACE,gBAAAQ;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAAR;AAAA,MACA,OAAAC;AAAA,MACA,SAAAC;AAAA,MACA,cAAAC;AAAA,MACA,MAAAC;AAAA,MACA,QAAQ,CAAC,EAAE,OAAAK,EAAA,wBACRC,GAAA,EACC,UAAA,gBAAAH;AAAA,QAACI;AAAA,QAAA;AAAA,UACE,GAAGL;AAAA,UACH,GAAGG;AAAA,UACJ,KAAKJ;AAAA,UACL,UAAUI,EAAM;AAAA,QAAA;AAAA,MAAA,EAClB,CACF;AAAA,IAAA;AAAA,EAAA;AAIR;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.1.99-beta.212",
3
+ "version": "0.1.99-beta.214",
4
4
  "description": "UI component library for OnePlatform",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -106,9 +106,9 @@
106
106
  "recharts": "^3.2.0",
107
107
  "sonner": "^2.0.7",
108
108
  "vaul": "^1.1.2",
109
- "@oneplatformdev/hooks": "^0.1.99-beta.212",
110
- "@oneplatformdev/tokens": "^0.1.99-beta.212",
111
- "@oneplatformdev/utils": "^0.1.99-beta.212"
109
+ "@oneplatformdev/tokens": "^0.1.99-beta.214",
110
+ "@oneplatformdev/utils": "^0.1.99-beta.214",
111
+ "@oneplatformdev/hooks": "^0.1.99-beta.214"
112
112
  },
113
113
  "scripts": {
114
114
  "chromatic": "chromatic"