@talixo-ds/options-input 0.0.23 → 0.0.32

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 (30) hide show
  1. package/__tests__/options-input.spec.tsx +229 -0
  2. package/dist/components/min-max-value-label.js.map +1 -1
  3. package/dist/components/options-input-content-item.js.map +1 -1
  4. package/dist/components/options-input-dropdown-item.js +25 -39
  5. package/dist/components/options-input-dropdown-item.js.map +1 -1
  6. package/dist/components/tests/min-max-value-label.spec.js.map +1 -1
  7. package/dist/components/tests/options-input-content-item.spec.js +1 -1
  8. package/dist/components/tests/options-input-content-item.spec.js.map +1 -1
  9. package/dist/components/tests/options-input-dropdown-item.spec.js +1 -1
  10. package/dist/components/tests/options-input-dropdown-item.spec.js.map +1 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/options-input.js +26 -40
  13. package/dist/options-input.js.map +1 -1
  14. package/dist/types.js.map +1 -1
  15. package/jest.config.js +9 -0
  16. package/package.json +9 -3
  17. package/tsconfig.json +8 -0
  18. package/dist/__snapshots__/options-input.spec.tsx.snap +0 -251
  19. package/dist/components/tests/__snapshots__/min-max-value-label.spec.tsx.snap +0 -17
  20. package/dist/components/tests/__snapshots__/options-input-content-item.spec.tsx.snap +0 -138
  21. package/dist/components/tests/__snapshots__/options-input-dropdown-item.spec.tsx.snap +0 -134
  22. package/dist/options-input.composition.d.ts +0 -4
  23. package/dist/options-input.composition.js +0 -42
  24. package/dist/options-input.composition.js.map +0 -1
  25. package/dist/options-input.docs.mdx +0 -157
  26. package/dist/options-input.spec.d.ts +0 -1
  27. package/dist/options-input.spec.js +0 -162
  28. package/dist/options-input.spec.js.map +0 -1
  29. package/dist/preview-1718288241661.js +0 -7
  30. package/dist/tsconfig.json +0 -40
@@ -1,157 +0,0 @@
1
- ---
2
- description: OptionsInput component.
3
- ---
4
-
5
- ## Props examples
6
-
7
- #### options (required)
8
- Props options is an array of objects defining which options should be available in the input.
9
-
10
- ```js
11
-
12
- const options = [
13
- {
14
- id: 'android', // required
15
- icon: 'android', // required
16
- label: 'Android', //required
17
- details: 'This is android option', // optional
18
- min: 0, // optional
19
- max: 15, // optional
20
- },
21
- {
22
- id: 'luggage',
23
- icon: 'bag',
24
- label: 'Luggage',
25
- details: 'Luggage for the client',
26
- min: 0,
27
- max: 5,
28
- }
29
- ];
30
-
31
- ```
32
-
33
- #### defaultValue (optional)
34
- Props defaultValue is an object with keys representing options ids and value representing input value for them.
35
-
36
- ```js
37
-
38
- const defaultValue = { android: 1, luggage: 4 };
39
-
40
- ```
41
-
42
- #### persistentOptions (optional)
43
- Props persistentOptions is an array of ids of options which should be displayed in input even if their value is 0.
44
-
45
- ```js
46
-
47
- const persistentOptions = ['luggage', 'android'];
48
-
49
- ```
50
-
51
- #### disabled (optional)
52
- Props disabled is a boolean which determines if input is disabled.
53
-
54
- ```js
55
-
56
- const disabled = false;
57
-
58
- ```
59
-
60
- #### readOnly (optional)
61
- Props readOnly is a boolean which determines if input is readOnly.
62
-
63
- ```js
64
-
65
- const readOnly = false;
66
-
67
- ```
68
-
69
- #### displayMinMax (optional)
70
- Props displayMinMax is a boolean which determines if min and max value for option is displayed in tooltip and dropdown.
71
-
72
- ```js
73
-
74
- const displayMinMax = true;
75
-
76
- ```
77
-
78
- #### id (optional)
79
- Props id allows to attach custom id to input container.
80
-
81
- ```js
82
-
83
- const id = 'input-id';
84
-
85
- ```
86
-
87
- #### className (optional)
88
- Props className allows to attach custom class to input container.
89
-
90
- ```js
91
-
92
- const className = 'input-class';
93
-
94
- ```
95
-
96
- #### data-testid (optional)
97
- Props data-testid allows to attach custom data-testid to input container for testing purposes.
98
-
99
- ```js
100
-
101
- const dataTestId = 'input-data-testid';
102
-
103
- ```
104
-
105
- #### onChange (optional)
106
- Props onChange is a function which allows to add a custom handling of input option value change. It takes object with option ids as keys and their respective quantities as values as an argument.
107
-
108
- ```js
109
-
110
- const onChange = (inputValues) => {
111
- // ...handler body
112
- }
113
-
114
- ```
115
-
116
- #### onBlur (optional)
117
- Props onBlur is a function which allows to add a custom handling for input container blur event. It takes the same object as onChange handler as an argument.
118
-
119
- ```js
120
-
121
- const onBlur = (inputValues) => {
122
- // ...handler body
123
- }
124
-
125
- ```
126
-
127
- #### onFocus (optional)
128
- Props onFocus is a function which allows to add a custom handling for input container blur event. It takes the same object as onChange handler as an argument.
129
-
130
- ```js
131
-
132
- const onFocus = (inputValues) => {
133
- // ...handler body
134
- }
135
-
136
- ```
137
-
138
- #### itemsGap (optional)
139
- Props itemsGap is a number or string which allows user to customize gap between items in the input.
140
-
141
- ```js
142
-
143
- const itemsGap = '2px'
144
-
145
- ```
146
-
147
- ## Example component usage
148
-
149
- ```js
150
- import { OptionsInput } from '@talixo-ds/component.options-input';
151
-
152
- // ...
153
-
154
- export const OptionsInputExample = () => (
155
- <OptionsInput options={options} persistentOptions={persistentOptions} />
156
- );
157
- ```
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom';
@@ -1,162 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useState } from 'react';
3
- import ShallowRenderer from 'react-test-renderer/shallow';
4
- import { render, screen, fireEvent, waitFor, act, } from '@testing-library/react';
5
- import '@testing-library/jest-dom';
6
- import { OptionsInput } from './options-input';
7
- jest.mock('@mui/icons-material', () => ({
8
- luggage: 'div',
9
- dog: 'div',
10
- }));
11
- jest.mock('@talixo-ds/component.icons', () => ({
12
- football: 'div',
13
- }));
14
- jest.mock('react', () => ({
15
- ...jest.requireActual('react'),
16
- useState: jest.fn(() => []),
17
- }));
18
- const props = {
19
- options: [
20
- {
21
- id: 'luggage',
22
- icon: 'luggage',
23
- label: 'luggage',
24
- details: 'This is your luggage',
25
- min: 0,
26
- max: 9,
27
- },
28
- {
29
- id: 'dog',
30
- icon: 'this icon does not exist',
31
- label: 'dog',
32
- min: 0,
33
- max: 3,
34
- },
35
- {
36
- id: 'sport-equipment',
37
- icon: 'football',
38
- label: 'sport equipment',
39
- min: 0,
40
- max: 1,
41
- },
42
- ],
43
- id: 'test-id',
44
- defaultValue: { luggage: 2, 'sport-equipment': 5 },
45
- persistentOptions: ['sport-equipment'],
46
- className: 'test-class',
47
- onChange: jest.fn(),
48
- onFocus: jest.fn(),
49
- onBlur: jest.fn(),
50
- };
51
- const mockOptions = props.options.map((option) => ({
52
- ...option,
53
- quantity: 1,
54
- inputQuantity: 1,
55
- }));
56
- describe('OptionsInput', () => {
57
- describe('snapshots', () => {
58
- let component;
59
- const shallowRenderer = ShallowRenderer.createRenderer();
60
- beforeEach(() => {
61
- useState.mockImplementationOnce(() => [
62
- mockOptions,
63
- jest.fn(),
64
- ]);
65
- });
66
- it('should match snapshot', () => {
67
- shallowRenderer.render(_jsx(OptionsInput, { ...props }));
68
- component = shallowRenderer.getRenderOutput();
69
- expect(component).toMatchSnapshot();
70
- });
71
- it('should render disabled input properly', () => {
72
- shallowRenderer.render(_jsx(OptionsInput, { ...props, disabled: true }));
73
- component = shallowRenderer.getRenderOutput();
74
- expect(component).toMatchSnapshot();
75
- });
76
- });
77
- describe('events', () => {
78
- beforeAll(() => {
79
- useState.mockImplementation(jest.requireActual('react').useState);
80
- });
81
- it('should open input dropdown properly', async () => {
82
- const { getAllByTestId } = render(_jsx(OptionsInput, { ...props }));
83
- const optionsInputContainer = getAllByTestId('options-input-container')[0];
84
- act(() => {
85
- fireEvent.click(optionsInputContainer);
86
- });
87
- await waitFor(() => {
88
- expect(screen.queryByTestId('options-dropdown-list')).toBeInTheDocument();
89
- });
90
- });
91
- it('should not open dropdown when input is disabled', async () => {
92
- const { getAllByTestId } = render(_jsx(OptionsInput, { ...props, disabled: true }));
93
- const optionsInputContainer = getAllByTestId('options-input-container')[0];
94
- act(() => {
95
- fireEvent.click(optionsInputContainer);
96
- });
97
- await waitFor(() => {
98
- expect(screen.queryByTestId('options-dropdown-list')).not.toBeInTheDocument();
99
- });
100
- });
101
- it('should handle input focus properly', () => {
102
- const { getAllByTestId } = render(_jsx(OptionsInput, { ...props }));
103
- const optionsInputContainer = getAllByTestId('options-input-container')[0];
104
- act(() => {
105
- fireEvent.focus(optionsInputContainer);
106
- });
107
- expect(props.onFocus).toHaveBeenCalledWith({
108
- dog: 0,
109
- luggage: 2,
110
- 'sport-equipment': 1,
111
- });
112
- });
113
- it('should handle input blur properly', () => {
114
- const { getAllByTestId } = render(_jsx(OptionsInput, { ...props }));
115
- const optionsInputContainer = getAllByTestId('options-input-container')[0];
116
- act(() => {
117
- fireEvent.blur(optionsInputContainer);
118
- });
119
- expect(props.onBlur).toHaveBeenCalledWith({
120
- dog: 0,
121
- luggage: 2,
122
- 'sport-equipment': 1,
123
- });
124
- });
125
- it('should handle input option change properly', async () => {
126
- const { getAllByTestId } = render(_jsx(OptionsInput, { ...props }));
127
- const optionsInputContainer = getAllByTestId('options-input-container')[0];
128
- act(() => {
129
- fireEvent.click(optionsInputContainer);
130
- });
131
- await waitFor(() => {
132
- const optionCountInput = screen.getAllByTestId('dropdown-item-input')[0];
133
- act(() => {
134
- fireEvent.change(optionCountInput, { target: { value: 9 } });
135
- });
136
- expect(props.onChange).toHaveBeenCalledWith({
137
- dog: 0,
138
- luggage: 9,
139
- 'sport-equipment': 1,
140
- });
141
- expect(screen.getAllByTestId('option-item')[0]).toHaveTextContent('9');
142
- });
143
- });
144
- it('should handle input option blur properly', async () => {
145
- const { getAllByTestId } = render(_jsx(OptionsInput, { ...props }));
146
- const optionsInputContainer = getAllByTestId('options-input-container')[0];
147
- fireEvent.click(optionsInputContainer);
148
- await waitFor(() => {
149
- const optionCountInput = screen.getAllByTestId('dropdown-item-input')[0];
150
- act(() => {
151
- fireEvent.change(optionCountInput, { target: { value: 500 } });
152
- });
153
- expect(optionCountInput).toHaveAttribute('value', '500');
154
- act(() => {
155
- fireEvent.blur(optionCountInput);
156
- });
157
- expect(optionCountInput).toHaveAttribute('value', '9');
158
- });
159
- });
160
- });
161
- });
162
- //# sourceMappingURL=options-input.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options-input.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CAAC;gBAEL,GAAG,CAAC,GAAG,EAAE;oBACP,SAAS,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACjE,CAAC,CAAC,CAAC;gBAEH,MAAM,CAAC,gBAAgB,CAAC,CAAC,eAAe,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAEzD,GAAG,CAAC,GAAG,EAAE;oBACP,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;gBACnC,CAAC,CAAC,CAAC;gBAEH,MAAM,CAAC,gBAAgB,CAAC,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;YACzD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/586096eb9/talixo-ds.component_options-input@0.0.22/dist/options-input.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/586096eb9/talixo-ds.component_options-input@0.0.22/dist/options-input.docs.mdx';
3
-
4
- export const compositions = [compositions_0];
5
- export const overview = [overview_0];
6
-
7
- export const compositions_metadata = {"compositions":[{"displayName":"Basic options input","identifier":"BasicOptionsInput"},{"displayName":"Options input with default values","identifier":"OptionsInputWithDefaultValues"},{"displayName":"Options input with persistent options","identifier":"OptionsInputWithPersistentOptions"},{"displayName":"Options input disabled","identifier":"OptionsInputDisabled"}]};
@@ -1,40 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "esnext",
5
- "dom",
6
- "dom.Iterable"
7
- ],
8
- "target": "es2020",
9
- "module": "es2020",
10
- "jsx": "react-jsx",
11
- "declaration": true,
12
- "sourceMap": true,
13
- "experimentalDecorators": true,
14
- "skipLibCheck": true,
15
- "moduleResolution": "node",
16
- "esModuleInterop": true,
17
- "resolveJsonModule": true,
18
- "allowJs": true,
19
- "outDir": "dist",
20
- "paths": {
21
- "react": [
22
- "./node_modules/@types/react"
23
- ]
24
- }
25
- },
26
- "exclude": [
27
- "artifacts",
28
- "public",
29
- "dist",
30
- "node_modules",
31
- "package.json",
32
- "**/*.cjs",
33
- "./dist",
34
- "./dist"
35
- ],
36
- "include": [
37
- "**/*",
38
- "**/*.json"
39
- ]
40
- }