@appquality/unguess-design-system 2.8.37 → 2.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.
- package/CHANGELOG.md +12 -0
- package/build/hooks/useDebounce.d.ts +2 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +12 -0
- package/build/stories/dropdowns/autocomplete/_types.d.ts +3 -0
- package/build/stories/dropdowns/autocomplete/index.d.ts +13 -0
- package/build/stories/dropdowns/autocomplete/index.stories.d.ts +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v2.9.0 (Fri Apr 29 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Cup 646 allow creation on select [#45](https://github.com/AppQuality/unguess-design-system/pull/45) ([@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v2.8.37 (Thu Apr 28 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/build/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./stories/dropdowns/item";
|
|
|
18
18
|
export * from "./stories/dropdowns/menu";
|
|
19
19
|
export * from "./stories/dropdowns/multiselect";
|
|
20
20
|
export * from "./stories/dropdowns/select";
|
|
21
|
+
export * from "./stories/dropdowns/autocomplete";
|
|
21
22
|
export * from "./stories/forms/checkbox";
|
|
22
23
|
export * as FormField from "./stories/forms/field";
|
|
23
24
|
export * from "./stories/forms/input";
|
package/build/index.js
CHANGED
|
@@ -1066,6 +1066,17 @@ var Dropdown = function (props) { return (jsxRuntime.jsx(reactDropdowns.Dropdown
|
|
|
1066
1066
|
var Message = function (props) { return jsxRuntime.jsx(reactDropdowns.Message, __assign({}, props)); };
|
|
1067
1067
|
var templateObject_1$F;
|
|
1068
1068
|
|
|
1069
|
+
/**
|
|
1070
|
+
* Autocomplete is an input field that filters results as users type. This helps users find something quickly in a large list of options.
|
|
1071
|
+
* <hr>
|
|
1072
|
+
* Used for this:
|
|
1073
|
+
- To filter down a large list of options
|
|
1074
|
+
- To quickly find a known option
|
|
1075
|
+
* Not for this:
|
|
1076
|
+
- To make more than one selection, use Multiselect instead
|
|
1077
|
+
*/
|
|
1078
|
+
var Autocomplete = function (props) { return jsxRuntime.jsx(reactDropdowns.Autocomplete, __assign({}, props)); };
|
|
1079
|
+
|
|
1069
1080
|
var UgCheckbox = styled__default["default"](reactForms.Checkbox)(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([""], [""])));
|
|
1070
1081
|
/**
|
|
1071
1082
|
* A Checkbox lets users select and unselect options from a list.
|
|
@@ -2211,6 +2222,7 @@ Object.defineProperty(exports, 'ModalClose', {
|
|
|
2211
2222
|
exports.Accordion = Accordion;
|
|
2212
2223
|
exports.Anchor = Anchor;
|
|
2213
2224
|
exports.AppHeader = AppHeader;
|
|
2225
|
+
exports.Autocomplete = Autocomplete;
|
|
2214
2226
|
exports.Avatar = Avatar;
|
|
2215
2227
|
exports.Blockquote = Blockquote;
|
|
2216
2228
|
exports.Body = Body$1;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AutocompleteArgs } from "./_types";
|
|
3
|
+
/**
|
|
4
|
+
* Autocomplete is an input field that filters results as users type. This helps users find something quickly in a large list of options.
|
|
5
|
+
* <hr>
|
|
6
|
+
* Used for this:
|
|
7
|
+
- To filter down a large list of options
|
|
8
|
+
- To quickly find a known option
|
|
9
|
+
* Not for this:
|
|
10
|
+
- To make more than one selection, use Multiselect instead
|
|
11
|
+
*/
|
|
12
|
+
declare const Autocomplete: (props: AutocompleteArgs) => JSX.Element;
|
|
13
|
+
export { Autocomplete };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
|
+
import { AutocompleteArgs } from "./_types";
|
|
4
|
+
interface AutocompleteStoryArgs extends AutocompleteArgs {
|
|
5
|
+
allowNew?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const Default: Story<AutocompleteStoryArgs>;
|
|
8
|
+
declare const _default: ComponentMeta<(props: AutocompleteArgs) => JSX.Element>;
|
|
9
|
+
export default _default;
|