@bookjane2/bookjane-design-library 8.0.10 → 8.0.11
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/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +2 -0
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts.map +1 -1
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js +5 -1
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IBKJPillDropdownContext, TextAreaWrapperProps } from './BKJPillDropdown.types.js';
|
|
2
|
+
import { Placement } from '@popperjs/core';
|
|
2
3
|
export declare const InputLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
|
|
3
4
|
disabled?: boolean;
|
|
4
5
|
}>> & string;
|
|
@@ -16,6 +17,7 @@ export declare const BKJPillDropdownComboBox: import("styled-components/dist/typ
|
|
|
16
17
|
}, {
|
|
17
18
|
hasValue: boolean;
|
|
18
19
|
isFocused: boolean;
|
|
20
|
+
allowedAutoPlacements?: Placement[];
|
|
19
21
|
}>> & string & Omit<import("react").FC<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxProps<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number>>>, keyof import("react").Component<any, {}, any>>;
|
|
20
22
|
export declare const ArrowIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
21
23
|
//# sourceMappingURL=BKJPillDropdown.styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJPillDropdown.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"BKJPillDropdown.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAExF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,eAAO,MAAM,UAAU;eAA6B,OAAO;YAE1D,CAAC;AAEF,eAAO,MAAM,YAAY,sOAExB,CAAC;AAEF,eAAO,MAAM,YAAY,wTAYxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;eAtBuB,OAAO;;;mBAwB1D,CAAC;AAEF,eAAO,MAAM,sBAAsB,sOAIlC,CAAC;AAEF,eAAO,MAAM,eAAe,yPAwB3B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;cACxB,OAAO;eACN,OAAO;4BACM,SAAS,EAAE;6PA0BpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,6NAK5B,CAAC"}
|
|
@@ -51,11 +51,15 @@ export const TextAreaWrapper = styled.div `
|
|
|
51
51
|
`};
|
|
52
52
|
`;
|
|
53
53
|
export const BKJPillDropdownComboBox = styled(BKJComboBox) `
|
|
54
|
-
${({ hasValue }) => hasValue
|
|
54
|
+
${({ hasValue, allowedAutoPlacements = [] }) => hasValue
|
|
55
55
|
? css `
|
|
56
56
|
input {
|
|
57
57
|
border-top-left-radius: 0px !important;
|
|
58
58
|
border-top-right-radius: 0px !important;
|
|
59
|
+
${!allowedAutoPlacements?.includes('top') &&
|
|
60
|
+
css `
|
|
61
|
+
border-top: none !important;
|
|
62
|
+
`}
|
|
59
63
|
margin-top: -30px;
|
|
60
64
|
color: transparent;
|
|
61
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJPillDropdown.styled.js","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"BKJPillDropdown.styled.js","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGrD,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAwB;IAC1D,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAA;IACpC,oBAAoB;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAEvC;IACG,eAAe;;IAEf,CAAC,EAAE,iBAAiB,EAAE,EAAE,EAAE;IAC1B,IAAI,iBAAiB;QACnB,OAAO,GAAG,CAAA;iBACC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY;OAClD,CAAC;IACJ,OAAO,GAAG,CAAA,EAAE,CAAC;AACf,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;IAC9C,wBAAwB;CAC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