@oliasoft-open-source/react-ui-library 10.0.0-beta-7 → 10.0.0-beta-9
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/README.md +19 -19
- package/dist/components/select/custom-select/trigger/input.d.ts.map +1 -1
- package/dist/index.js +776 -783
- package/package.json +1 -1
- package/dist/components/select/custom-select/hooks/use-deferred-editable.d.ts +0 -6
- package/dist/components/select/custom-select/hooks/use-deferred-editable.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1679,25 +1679,25 @@ The `Select` component is used to render a dropdown menu for selecting options f
|
|
|
1679
1679
|
|
|
1680
1680
|
### Props
|
|
1681
1681
|
|
|
1682
|
-
| Prop | Description
|
|
1683
|
-
| -------------------------- |
|
|
1684
|
-
| `name` | The name attribute of the select element.
|
|
1685
|
-
| `multi` | Determines whether multiple options can be selected.
|
|
1686
|
-
| `options` | An array of options to be rendered in the dropdown menu.
|
|
1687
|
-
| `value` | The currently selected option(s).
|
|
1688
|
-
| `native` | Determines whether to use the native HTML `<select>` element.
|
|
1689
|
-
| `onChange` | A callback function invoked when the selection changes.
|
|
1690
|
-
| `onCreate` | A callback function invoked when a new option is created.
|
|
1691
|
-
| `deprecatedEventHandler` | **Deprecated.** Use the standard onChange event shape instead.
|
|
1692
|
-
| `warning` | Warning message to be displayed.
|
|
1693
|
-
| `error` | Error message to be displayed.
|
|
1694
|
-
| `checkNonExistentValues` | **Deprecated.** Prefer leaving unset (defaults to true).
|
|
1695
|
-
| `closeOnOptionActionClick` | **Deprecated.** Always closes on option action click.
|
|
1696
|
-
| `isInTable` | **Internal.** For Table cell composition only.
|
|
1697
|
-
| `right` | **Internal.** Right-aligns select text.
|
|
1698
|
-
| `groupOrder` | **Internal.** For InputGroup composition only.
|
|
1699
|
-
| `testId` | A string used to identify the select component for testing purposes.
|
|
1700
|
-
| `disabled` | Determines whether the select component is disabled.
|
|
1682
|
+
| Prop | Description | Default Value |
|
|
1683
|
+
| -------------------------- | -------------------------------------------------------------------- | ------------- |
|
|
1684
|
+
| `name` | The name attribute of the select element. | `''` |
|
|
1685
|
+
| `multi` | Determines whether multiple options can be selected. | `false` |
|
|
1686
|
+
| `options` | An array of options to be rendered in the dropdown menu. | `[]` |
|
|
1687
|
+
| `value` | The currently selected option(s). | - |
|
|
1688
|
+
| `native` | Determines whether to use the native HTML `<select>` element. | `false` |
|
|
1689
|
+
| `onChange` | A callback function invoked when the selection changes. | `() => {}` |
|
|
1690
|
+
| `onCreate` | A callback function invoked when a new option is created. | `() => {}` |
|
|
1691
|
+
| `deprecatedEventHandler` | **Deprecated.** Use the standard onChange event shape instead. | `false` |
|
|
1692
|
+
| `warning` | Warning message to be displayed. | - |
|
|
1693
|
+
| `error` | Error message to be displayed. | - |
|
|
1694
|
+
| `checkNonExistentValues` | **Deprecated.** Prefer leaving unset (defaults to true). | `true` |
|
|
1695
|
+
| `closeOnOptionActionClick` | **Deprecated.** Always closes on option action click. | `true` |
|
|
1696
|
+
| `isInTable` | **Internal.** For Table cell composition only. | `false` |
|
|
1697
|
+
| `right` | **Internal.** Right-aligns select text. | `false` |
|
|
1698
|
+
| `groupOrder` | **Internal.** For InputGroup composition only. | - |
|
|
1699
|
+
| `testId` | A string used to identify the select component for testing purposes. | - |
|
|
1700
|
+
| `disabled` | Determines whether the select component is disabled. | `false` |
|
|
1701
1701
|
|
|
1702
1702
|
The `ISelectSelectedOption` interface represents the structure of an option in the dropdown menu.
|
|
1703
1703
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/custom-select/trigger/input.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAqC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/custom-select/trigger/input.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAqC,MAAM,OAAO,CAAC;AAK5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,UAAU,iBAAiB;IACzB,eAAe,CAAC,EAAE,qBAAqB,GAAG,qBAAqB,EAAE,CAAC;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,KAAK,GAAI,oGAUnB,iBAAiB,4CAqDnB,CAAC"}
|