playbook_ui 14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3746 → 14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3747
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +0 -1
- data/app/pb_kits/playbook/pb_textarea/textarea.html.erb +0 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +14 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +0 -1
- data/dist/chunks/{_weekday_stacked-BRxVcQ3I.js → _weekday_stacked-C9XGqbdf.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e51693286c99e9ba35ead99c19a2901cb27b9f229683f88217dc34de7f18a7b
|
4
|
+
data.tar.gz: 2dc4818138b9e67c4c825031da74bef3757ed72fbb91ff1e96761a748a09e5b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e498d8ca21f944b1efe6e288bdd02d85bb95b0971df18663da160cf7f03f4e0529c38326a74ca6a7843c396bee867b75482dfa4659a7c66ef95af550854e4e9
|
7
|
+
data.tar.gz: 4b3cc3370f6924a0cf974a7222701885ca40770f373f9019b816321765a3e9e31c19b244378199a3a8dcbcb8bb02587700bed068a545e43277fe6d4fa96da514
|
@@ -107,4 +107,18 @@ test('should pass className prop', () => {
|
|
107
107
|
|
108
108
|
const kit = screen.getByTestId('typeahead-test')
|
109
109
|
expect(kit).toHaveClass(className)
|
110
|
+
})
|
111
|
+
|
112
|
+
test('typeahead textinput has mb_sm class by default', () => {
|
113
|
+
render(
|
114
|
+
<Typeahead
|
115
|
+
data={{ testid: 'default-mb-test' }}
|
116
|
+
options={options}
|
117
|
+
/>
|
118
|
+
)
|
119
|
+
|
120
|
+
const kit = screen.getByTestId('default-mb-test')
|
121
|
+
expect(kit).toHaveClass("pb_typeahead_kit mb_sm")
|
122
|
+
const textInput = kit.querySelector(".pb_text_input_kit")
|
123
|
+
expect(textInput).toHaveClass("mb_none")
|
110
124
|
})
|