Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implementation of search box expandable #408

Merged
merged 15 commits into from
Oct 13, 2022
1,026 changes: 894 additions & 132 deletions src/components/Form/Tests/__snapshots__/Form.disabled.shot

Large diffs are not rendered by default.

171 changes: 149 additions & 22 deletions src/components/Form/Tests/__snapshots__/Form.itemhidden.shot
Original file line number Diff line number Diff line change
Expand Up @@ -39,43 +39,170 @@ LoadedCheerio {
"children": Array [
Node {
"attribs": Object {
"class": "input-group left-icon",
"class": "expandable-wrapper",
},
"children": Array [
Node {
"attribs": Object {
"aria-disabled": "false",
"class": "input-medium left-icon clear-not-visible in-form-item",
"id": "lola",
"role": "textbox",
"tabindex": "0",
"type": "text",
"value": "",
"class": "input-group left-icon",
},
"children": Array [],
"name": "input",
"children": Array [
Node {
"attribs": Object {
"aria-disabled": "false",
"class": "input-medium left-icon clear-not-visible in-form-item",
"id": "lola",
"role": "textbox",
"tabindex": "0",
"type": "text",
"value": "",
},
"children": Array [],
"name": "input",
"namespace": "http://www.w3.org/1999/xhtml",
"next": Node {
"attribs": Object {
"class": "action-wrapper",
},
"children": Array [
Node {
"attribs": Object {
"class": "overlay",
},
"children": Array [],
"name": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {
"class": undefined,
},
"x-attribsPrefix": Object {
"class": undefined,
},
},
],
"name": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": [Circular],
"type": "tag",
"x-attribsNamespace": Object {
"class": undefined,
},
"x-attribsPrefix": Object {
"class": undefined,
},
},
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {
"aria-disabled": undefined,
"class": undefined,
"id": undefined,
"role": undefined,
"tabindex": undefined,
"type": undefined,
"value": undefined,
},
"x-attribsPrefix": Object {
"aria-disabled": undefined,
"class": undefined,
"id": undefined,
"role": undefined,
"tabindex": undefined,
"type": undefined,
"value": undefined,
},
},
Node {
"attribs": Object {
"class": "action-wrapper",
},
"children": Array [
Node {
"attribs": Object {
"class": "overlay",
},
"children": Array [],
"name": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {
"class": undefined,
},
"x-attribsPrefix": Object {
"class": undefined,
},
},
],
"name": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": Node {
"attribs": Object {
"aria-disabled": "false",
"class": "input-medium left-icon clear-not-visible in-form-item",
"id": "lola",
"role": "textbox",
"tabindex": "0",
"type": "text",
"value": "",
},
"children": Array [],
"name": "input",
"namespace": "http://www.w3.org/1999/xhtml",
"next": [Circular],
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {
"aria-disabled": undefined,
"class": undefined,
"id": undefined,
"role": undefined,
"tabindex": undefined,
"type": undefined,
"value": undefined,
},
"x-attribsPrefix": Object {
"aria-disabled": undefined,
"class": undefined,
"id": undefined,
"role": undefined,
"tabindex": undefined,
"type": undefined,
"value": undefined,
},
},
"type": "tag",
"x-attribsNamespace": Object {
"class": undefined,
},
"x-attribsPrefix": Object {
"class": undefined,
},
},
],
"name": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {
"aria-disabled": undefined,
"class": undefined,
"id": undefined,
"role": undefined,
"tabindex": undefined,
"type": undefined,
"value": undefined,
},
"x-attribsPrefix": Object {
"aria-disabled": undefined,
"class": undefined,
"id": undefined,
"role": undefined,
"tabindex": undefined,
"type": undefined,
"value": undefined,
},
},
],
Expand Down
Loading