@vitality-ds/components 4.0.3 → 4.0.4

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 (34) hide show
  1. package/dist/Input/DateRangePicker/index.js +17 -16
  2. package/dist/Input/DateRangePicker/styled.js +4 -2
  3. package/dist/Input/DateRangePicker/styles/BaseDateRangePicker.styles.js +1 -0
  4. package/dist/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.js +10 -0
  5. package/dist/Input/DateRangePicker/styles/DateContainer.styles.js +13 -4
  6. package/dist/Input/DateRangePicker/styles/DatePickerContainer.styles.js +9 -1
  7. package/dist/components/src/Input/DateRangePicker/index.d.ts.map +1 -1
  8. package/dist/components/src/Input/DateRangePicker/index.js +21 -20
  9. package/dist/components/src/Input/DateRangePicker/index.js.map +1 -1
  10. package/dist/components/src/Input/DateRangePicker/styled.d.ts +465 -0
  11. package/dist/components/src/Input/DateRangePicker/styled.d.ts.map +1 -1
  12. package/dist/components/src/Input/DateRangePicker/styled.js +4 -2
  13. package/dist/components/src/Input/DateRangePicker/styled.js.map +1 -1
  14. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePicker.styles.d.ts.map +1 -1
  15. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePicker.styles.js +1 -0
  16. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePicker.styles.js.map +1 -1
  17. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.d.ts +235 -0
  18. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.d.ts.map +1 -0
  19. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.js +7 -0
  20. package/dist/components/src/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.js.map +1 -0
  21. package/dist/components/src/Input/DateRangePicker/styles/DateContainer.styles.d.ts.map +1 -1
  22. package/dist/components/src/Input/DateRangePicker/styles/DateContainer.styles.js +16 -5
  23. package/dist/components/src/Input/DateRangePicker/styles/DateContainer.styles.js.map +1 -1
  24. package/dist/components/src/Input/DateRangePicker/styles/DatePickerContainer.styles.d.ts.map +1 -1
  25. package/dist/components/src/Input/DateRangePicker/styles/DatePickerContainer.styles.js +9 -1
  26. package/dist/components/src/Input/DateRangePicker/styles/DatePickerContainer.styles.js.map +1 -1
  27. package/dist/esm/Input/DateRangePicker/index.js +19 -18
  28. package/dist/esm/Input/DateRangePicker/styled.js +3 -2
  29. package/dist/esm/Input/DateRangePicker/styles/BaseDateRangePicker.styles.js +1 -0
  30. package/dist/esm/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.js +4 -0
  31. package/dist/esm/Input/DateRangePicker/styles/DateContainer.styles.js +12 -4
  32. package/dist/esm/Input/DateRangePicker/styles/DatePickerContainer.styles.js +9 -1
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +5 -5
@@ -0,0 +1,235 @@
1
+ declare const _default: import("@stitches/react/types/styled-component").CssComponent<never, {}, {
2
+ bp1: "(min-width: 48rem)";
3
+ bp2: "(min-width: 69rem)";
4
+ bp3: "(min-width: 85rem)";
5
+ }, import("@stitches/react/types/css-util").CSS<{
6
+ bp1: "(min-width: 48rem)";
7
+ bp2: "(min-width: 69rem)";
8
+ bp3: "(min-width: 85rem)";
9
+ }, {
10
+ colors: {
11
+ neutral1: string;
12
+ neutralA1: string;
13
+ primary1: string;
14
+ accent1: string;
15
+ success1: string;
16
+ info1: string;
17
+ warning1: string;
18
+ critical1: string;
19
+ neutral2: string;
20
+ neutralA2: string;
21
+ primary2: string;
22
+ accent2: string;
23
+ success2: string;
24
+ info2: string;
25
+ warning2: string;
26
+ critical2: string;
27
+ neutral3: string;
28
+ neutralA3: string;
29
+ primary3: string;
30
+ accent3: string;
31
+ success3: string;
32
+ info3: string;
33
+ warning3: string;
34
+ critical3: string;
35
+ neutral4: string;
36
+ neutralA4: string;
37
+ primary4: string;
38
+ accent4: string;
39
+ success4: string;
40
+ info4: string;
41
+ warning4: string;
42
+ critical4: string;
43
+ neutral5: string;
44
+ neutralA5: string;
45
+ primary5: string;
46
+ accent5: string;
47
+ success5: string;
48
+ info5: string;
49
+ warning5: string;
50
+ critical5: string;
51
+ neutral6: string;
52
+ neutralA6: string;
53
+ primary6: string;
54
+ accent6: string;
55
+ success6: string;
56
+ info6: string;
57
+ warning6: string;
58
+ critical6: string;
59
+ neutral7: string;
60
+ neutralA7: string;
61
+ primary7: string;
62
+ accent7: string;
63
+ success7: string;
64
+ info7: string;
65
+ warning7: string;
66
+ critical7: string;
67
+ neutral8: string;
68
+ neutralA8: string;
69
+ primary8: string;
70
+ accent8: string;
71
+ success8: string;
72
+ info8: string;
73
+ warning8: string;
74
+ critical8: string;
75
+ neutral9: string;
76
+ neutralA9: string;
77
+ primary9: string;
78
+ accent9: string;
79
+ success9: string;
80
+ info9: string;
81
+ warning9: string;
82
+ critical9: string;
83
+ neutral10: string;
84
+ neutralA10: string;
85
+ primary10: string;
86
+ accent10: string;
87
+ success10: string;
88
+ info10: string;
89
+ warning10: string;
90
+ critical10: string;
91
+ neutral11: string;
92
+ neutralA11: string;
93
+ primary11: string;
94
+ accent11: string;
95
+ success11: string;
96
+ info11: string;
97
+ warning11: string;
98
+ critical11: string;
99
+ neutral12: string;
100
+ neutralA12: string;
101
+ primary12: string;
102
+ accent12: string;
103
+ success12: string;
104
+ info12: string;
105
+ warning12: string;
106
+ critical12: string;
107
+ neutral13: string;
108
+ neutralA13: string;
109
+ primary13: string;
110
+ accent13: string;
111
+ success13: string;
112
+ info13: string;
113
+ warning13: string;
114
+ critical13: string;
115
+ };
116
+ fonts: {
117
+ display100: any;
118
+ display200: any;
119
+ display300: any;
120
+ display400: any;
121
+ display500: any;
122
+ display600: any;
123
+ display700: any;
124
+ display800: any;
125
+ display900: any;
126
+ body: any;
127
+ caption: any;
128
+ pageTitle: any;
129
+ sectionTitle: any;
130
+ sectionSubtitle: any;
131
+ button: any;
132
+ textInput: any;
133
+ default: any;
134
+ };
135
+ fontSizes: {
136
+ display100: any;
137
+ display200: any;
138
+ display300: any;
139
+ display400: any;
140
+ display500: any;
141
+ display600: any;
142
+ display700: any;
143
+ display800: any;
144
+ display900: any;
145
+ body: any;
146
+ caption: any;
147
+ pageTitle: any;
148
+ sectionTitle: any;
149
+ sectionSubtitle: any;
150
+ button: any;
151
+ textInput: any;
152
+ };
153
+ fontWeights: {
154
+ display100: any;
155
+ display200: any;
156
+ display300: any;
157
+ display400: any;
158
+ display500: any;
159
+ display600: any;
160
+ display700: any;
161
+ display800: any;
162
+ display900: any;
163
+ body: any;
164
+ caption: any;
165
+ pageTitle: any;
166
+ sectionTitle: any;
167
+ sectionSubtitle: any;
168
+ button: any;
169
+ textInput: any;
170
+ };
171
+ letterSpacings: {
172
+ display100: any;
173
+ display200: any;
174
+ display300: any;
175
+ display400: any;
176
+ display500: any;
177
+ display600: any;
178
+ display700: any;
179
+ display800: any;
180
+ display900: any;
181
+ body: any;
182
+ caption: any;
183
+ pageTitle: any;
184
+ sectionTitle: any;
185
+ sectionSubtitle: any;
186
+ button: any;
187
+ textInput: any;
188
+ };
189
+ lineHeights: {
190
+ display100: any;
191
+ display200: any;
192
+ display300: any;
193
+ display400: any;
194
+ display500: any;
195
+ display600: any;
196
+ display700: any;
197
+ display800: any;
198
+ display900: any;
199
+ body: any;
200
+ caption: any;
201
+ pageTitle: any;
202
+ sectionTitle: any;
203
+ sectionSubtitle: any;
204
+ button: any;
205
+ textInput: any;
206
+ };
207
+ radii: {
208
+ default: any;
209
+ large: any;
210
+ rounded: any;
211
+ };
212
+ shadows: {
213
+ sm: any;
214
+ md: any;
215
+ lg: any;
216
+ };
217
+ space: {
218
+ sm: any;
219
+ md: any;
220
+ lg: any;
221
+ xs: any;
222
+ xl: any;
223
+ xxl: any;
224
+ };
225
+ zIndices: {
226
+ floatingElements: number;
227
+ blanket: number;
228
+ dialog: number;
229
+ toast: number;
230
+ tooltip: number;
231
+ portalElement: number;
232
+ };
233
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
234
+ export default _default;
235
+ //# sourceMappingURL=BaseDateRangePickerLabel.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseDateRangePickerLabel.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAEG"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var system_1 = require("@vitality-ds/system");
4
+ exports.default = (0, system_1.css)({
5
+ flexShrink: 0,
6
+ });
7
+ //# sourceMappingURL=BaseDateRangePickerLabel.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseDateRangePickerLabel.styles.js","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/BaseDateRangePickerLabel.styles.ts"],"names":[],"mappings":";;AAAA,8CAA0C;AAE1C,kBAAe,IAAA,YAAG,EAAC;IACjB,UAAU,EAAE,CAAC;CACd,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DateContainer.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DateContainer.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAIG"}
1
+ {"version":3,"file":"DateContainer.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DateContainer.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAYG"}
@@ -1,9 +1,20 @@
1
1
  "use strict";
2
+ var _a;
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  var system_1 = require("@vitality-ds/system");
4
- exports.default = (0, system_1.css)({
5
- display: "flex",
6
- gap: "$xs",
7
- flexDirection: "column",
8
- });
5
+ var styled_1 = require("../../TextInput/styled");
6
+ exports.default = (0, system_1.css)((_a = {
7
+ display: "flex",
8
+ gap: "$sm",
9
+ alignItems: "center",
10
+ overflow: "visible"
11
+ },
12
+ // minWidth: 300,
13
+ _a["" + styled_1.BaseInputWrapper] = {
14
+ borderColor: "transparent",
15
+ borderTopLeftRadius: 0,
16
+ borderBottomLeftRadius: 0,
17
+ paddingLeft: 0,
18
+ },
19
+ _a));
9
20
  //# sourceMappingURL=DateContainer.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateContainer.styles.js","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DateContainer.styles.ts"],"names":[],"mappings":";;AAAA,8CAA0C;AAE1C,kBAAe,IAAA,YAAG,EAAC;IACjB,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,KAAK;IACV,aAAa,EAAE,QAAQ;CACxB,CAAC,CAAC"}
1
+ {"version":3,"file":"DateContainer.styles.js","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DateContainer.styles.ts"],"names":[],"mappings":";;;AAAA,8CAA0C;AAE1C,iDAA0D;AAE1D,kBAAe,IAAA,YAAG;QAChB,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,KAAK;QACV,UAAU,EAAE,QAAQ;QACpB,QAAQ,EAAE,SAAS;;IACnB,iBAAiB;IACjB,GAAC,KAAG,yBAAkB,IAAG;QACvB,WAAW,EAAE,aAAa;QAC1B,mBAAmB,EAAE,CAAC;QACtB,sBAAsB,EAAE,CAAC;QACzB,WAAW,EAAE,CAAC;KACf;QACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerContainer.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DatePickerContainer.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAGG"}
1
+ {"version":3,"file":"DatePickerContainer.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DatePickerContainer.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAWG"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var system_1 = require("@vitality-ds/system");
4
4
  exports.default = (0, system_1.css)({
5
5
  display: "flex",
6
- gap: "$lg",
6
+ gap: "$sm",
7
+ paddingLeft: "$md",
8
+ paddingRight: "$sm",
9
+ border: "1px solid $neutral5",
10
+ borderRadius: "$default",
11
+ backgroundColor: "$neutral1",
12
+ "&:hover": {
13
+ borderColor: "$neutral8",
14
+ },
7
15
  });
8
16
  //# sourceMappingURL=DatePickerContainer.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerContainer.styles.js","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DatePickerContainer.styles.ts"],"names":[],"mappings":";;AAAA,8CAA0C;AAE1C,kBAAe,IAAA,YAAG,EAAC;IACjB,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,KAAK;CACX,CAAC,CAAC"}
1
+ {"version":3,"file":"DatePickerContainer.styles.js","sourceRoot":"","sources":["../../../../../../src/Input/DateRangePicker/styles/DatePickerContainer.styles.ts"],"names":[],"mappings":";;AAAA,8CAA0C;AAE1C,kBAAe,IAAA,YAAG,EAAC;IACjB,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,KAAK;IACV,WAAW,EAAE,KAAK;IAClB,YAAY,EAAE,KAAK;IACnB,MAAM,EAAE,qBAAqB;IAC7B,YAAY,EAAE,UAAU;IACxB,eAAe,EAAE,WAAW;IAC5B,SAAS,EAAE;QACT,WAAW,EAAE,WAAW;KACzB;CACF,CAAC,CAAC"}
@@ -1,12 +1,12 @@
1
- import { MenuMoreVertical } from "@vitality-ds/icons";
1
+ import { Close, MenuMoreVertical } from "@vitality-ds/icons";
2
2
  import React from "react";
3
- import Button from "../../Button";
4
3
  import Dropdown from "../../DropdownMenu";
5
- import FormFieldLabel from "../../Form/FormField/components/FormFieldLabel";
4
+ import Flex from "../../Flex";
5
+ import IconButton from "../../IconButton";
6
6
  import DatePicker from "../DatePicker";
7
7
  import PRESET_OPTIONS from "./constants";
8
8
  import useDateRangePicker from "./hooks/useDateRangePicker";
9
- import { BaseDateRangePicker, DateContainer, DatePickerContainer, ExtrasContainer } from "./styled";
9
+ import { BaseDateRangePicker, BaseDateRangePickerLabel, DateContainer, DatePickerContainer, ExtrasContainer } from "./styled";
10
10
  var DateRangePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
11
11
  var value = _ref.value,
12
12
  _ref$toLabel = _ref.toLabel,
@@ -47,11 +47,12 @@ var DateRangePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef
47
47
  });
48
48
  return /*#__PURE__*/React.createElement(BaseDateRangePicker, {
49
49
  ref: forwardedRef
50
- }, /*#__PURE__*/React.createElement(DatePickerContainer, null, /*#__PURE__*/React.createElement(DateContainer, null, /*#__PURE__*/React.createElement(FormFieldLabel, {
51
- id: "".concat(id, "_start_date"),
52
- fieldType: "text",
53
- content: fromLabel
54
- }), /*#__PURE__*/React.createElement(DatePicker, {
50
+ }, /*#__PURE__*/React.createElement(DatePickerContainer, null, /*#__PURE__*/React.createElement(Flex, {
51
+ direction: "row",
52
+ wrap: "wrap"
53
+ }, /*#__PURE__*/React.createElement(DateContainer, null, /*#__PURE__*/React.createElement(BaseDateRangePickerLabel, {
54
+ id: "".concat(id, "_start_date")
55
+ }, fromLabel), /*#__PURE__*/React.createElement(DatePicker, {
55
56
  disabled: disabled,
56
57
  hasError: hasError,
57
58
  showFirstDateInRangeOnOpen: true,
@@ -65,11 +66,9 @@ var DateRangePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef
65
66
  return inputRef.current.children[0].children[0].children[0].focus();
66
67
  },
67
68
  name: "".concat(name, "_start_date")
68
- })), /*#__PURE__*/React.createElement(DateContainer, null, /*#__PURE__*/React.createElement(FormFieldLabel, {
69
- id: "".concat(id, "_end_date"),
70
- fieldType: "text",
71
- content: toLabel
72
- }), /*#__PURE__*/React.createElement(DatePicker, {
69
+ })), /*#__PURE__*/React.createElement(DateContainer, null, /*#__PURE__*/React.createElement(BaseDateRangePickerLabel, {
70
+ id: "".concat(id, "_end_date")
71
+ }, toLabel), /*#__PURE__*/React.createElement(DatePicker, {
73
72
  ref: inputRef,
74
73
  disabled: disabled,
75
74
  hasError: hasError,
@@ -80,13 +79,15 @@ var DateRangePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef
80
79
  calendarValue: calendarValue,
81
80
  id: "".concat(id, "_end_date"),
82
81
  name: "".concat(name, "_end_date")
83
- }))), /*#__PURE__*/React.createElement(ExtrasContainer, null, /*#__PURE__*/React.createElement(Button, {
82
+ }))), /*#__PURE__*/React.createElement(ExtrasContainer, null, /*#__PURE__*/React.createElement(IconButton, {
83
+ tooltipContent: "Clear",
84
84
  disabled: disabled,
85
85
  onClick: function onClick() {
86
86
  return handleClearButtonClick();
87
87
  },
88
- appearance: "ghost"
89
- }, "Clear"), showPresets && /*#__PURE__*/React.createElement(Dropdown, {
88
+ icon: /*#__PURE__*/React.createElement(Close, null),
89
+ size: "compact"
90
+ }), showPresets && /*#__PURE__*/React.createElement(Dropdown, {
90
91
  disabled: disabled,
91
92
  trigger: {
92
93
  type: "iconButton",
@@ -98,7 +99,7 @@ var DateRangePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef
98
99
  },
99
100
  items: itemsArray,
100
101
  preferredAlignment: "center"
101
- })));
102
+ }))));
102
103
  });
103
104
  DateRangePicker.displayName = "DateRangePicker";
104
105
  export default DateRangePicker;
@@ -1,10 +1,11 @@
1
1
  import { styled } from "@vitality-ds/system";
2
+ import { BaseLabel } from "../../Form/Label/styled";
2
3
  import BaseDateRangePickerStyles from "./styles/BaseDateRangePicker.styles";
4
+ import BaseDateRangePickerLabelStyles from "./styles/BaseDateRangePickerLabel.styles";
3
5
  import DateContainerStyles from "./styles/DateContainer.styles";
4
6
  import DatePickerContainerStyles from "./styles/DatePickerContainer.styles";
5
7
  import ExtrasContainerStyles from "./styles/ExtrasContainers";
6
-
7
- // eslint-disable-next-line import/prefer-default-export
8
+ export var BaseDateRangePickerLabel = styled(BaseLabel, BaseDateRangePickerLabelStyles);
8
9
  export var BaseDateRangePicker = styled("div", BaseDateRangePickerStyles);
9
10
  export var DateContainer = styled("div", DateContainerStyles);
10
11
  export var DatePickerContainer = styled("div", DatePickerContainerStyles);
@@ -4,4 +4,5 @@ export default css({
4
4
  flexDirection: "row",
5
5
  alignItems: "flex-end",
6
6
  gap: "$sm"
7
+ // border: "1px solid blue",
7
8
  });
@@ -0,0 +1,4 @@
1
+ import { css } from "@vitality-ds/system";
2
+ export default css({
3
+ flexShrink: 0
4
+ });
@@ -1,6 +1,14 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
1
2
  import { css } from "@vitality-ds/system";
2
- export default css({
3
+ import { BaseInputWrapper } from "../../TextInput/styled";
4
+ export default css(_defineProperty({
3
5
  display: "flex",
4
- gap: "$xs",
5
- flexDirection: "column"
6
- });
6
+ gap: "$sm",
7
+ alignItems: "center",
8
+ overflow: "visible"
9
+ }, "".concat(BaseInputWrapper), {
10
+ borderColor: "transparent",
11
+ borderTopLeftRadius: 0,
12
+ borderBottomLeftRadius: 0,
13
+ paddingLeft: 0
14
+ }));
@@ -1,5 +1,13 @@
1
1
  import { css } from "@vitality-ds/system";
2
2
  export default css({
3
3
  display: "flex",
4
- gap: "$lg"
4
+ gap: "$sm",
5
+ paddingLeft: "$md",
6
+ paddingRight: "$sm",
7
+ border: "1px solid $neutral5",
8
+ borderRadius: "$default",
9
+ backgroundColor: "$neutral1",
10
+ "&:hover": {
11
+ borderColor: "$neutral8"
12
+ }
5
13
  });