@capillarytech/blaze-ui 6.1.6 → 6.2.0

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 (35) hide show
  1. package/CapDateRangePicker/index.d.ts.map +1 -1
  2. package/CapDateRangePicker/index.js +5 -1
  3. package/CapDateRangePicker/styles.css +28 -0
  4. package/CapDateRangePicker/styles.module.scss.js +2 -1
  5. package/CapDateRangePicker/styles.scss +37 -0
  6. package/CapDateRangePicker/types.d.ts +5 -0
  7. package/CapDateRangePicker/types.d.ts.map +1 -1
  8. package/CapEmojiPicker/Picker/index.d.ts +1 -1
  9. package/CapEmojiPicker/Picker/index.d.ts.map +1 -1
  10. package/CapMobileDateRangePicker/DateRangeInputSelectors.d.ts +7 -0
  11. package/CapMobileDateRangePicker/DateRangeInputSelectors.d.ts.map +1 -0
  12. package/CapMobileDateRangePicker/DateRangeInputSelectors.js +68 -0
  13. package/CapMobileDateRangePicker/index.d.ts +5 -21
  14. package/CapMobileDateRangePicker/index.d.ts.map +1 -1
  15. package/CapMobileDateRangePicker/index.js +262 -309
  16. package/CapMobileDateRangePicker/messages.d.ts +17 -0
  17. package/CapMobileDateRangePicker/messages.d.ts.map +1 -0
  18. package/CapMobileDateRangePicker/messages.js +20 -0
  19. package/CapMobileDateRangePicker/styles.css +107 -144
  20. package/CapMobileDateRangePicker/styles.module.scss.js +21 -0
  21. package/CapMobileDateRangePicker/styles.scss +188 -192
  22. package/CapMobileDateRangePicker/tests/CapMobileDateRangePicker.mockData.d.ts +18 -0
  23. package/CapMobileDateRangePicker/tests/CapMobileDateRangePicker.mockData.d.ts.map +1 -0
  24. package/CapMobileDateRangePicker/types.d.ts +95 -0
  25. package/CapMobileDateRangePicker/types.d.ts.map +1 -0
  26. package/CapMobileDateRangePicker/types.js +1 -0
  27. package/index.d.ts +2 -0
  28. package/index.d.ts.map +1 -1
  29. package/index.js +110 -108
  30. package/package.json +1 -1
  31. package/utils/dayjs.d.ts +29 -0
  32. package/utils/dayjs.d.ts.map +1 -1
  33. package/utils/dayjs.js +30 -0
  34. package/utils/getCapThemeConfig.d.ts +1 -1
  35. package/utils/getCapThemeConfig.d.ts.map +1 -1
package/index.js CHANGED
@@ -60,69 +60,70 @@ import { default as default61 } from "./CapLogin/index.js";
60
60
  import { default as default62 } from "./CapMenu/index.js";
61
61
  import { default as default63 } from "./CapModal/index.js";
62
62
  import { default as default64 } from "./CapMobileDatePicker/index.js";
63
- import { default as default65 } from "./CapMultiSelect/index.js";
64
- import { default as default66 } from "./CapNotification/index.js";
65
- import { default as default67 } from "./CapNotificationDropdown/index.js";
66
- import { default as default68 } from "./CapProgress/index.js";
67
- import { default as default69 } from "./CapPopover/index.js";
68
- import { default as default70 } from "./CapProductSelection/index.js";
69
- import { default as default71 } from "./CapRadio/index.js";
70
- import { default as default72 } from "./CapRadioCard/index.js";
71
- import { default as default73 } from "./CapRoadMap/index.js";
72
- import { default as default74 } from "./CapRadioButton/index.js";
73
- import { default as default75 } from "./CapRadioGroup/index.js";
74
- import { default as default76 } from "./CapRow/index.js";
75
- import { default as default77 } from "./CapReorderComponent/index.js";
76
- import { default as default78 } from "./CapSlideBox/index.js";
77
- import { default as default79 } from "./CapSlider/index.js";
63
+ import { default as default65 } from "./CapMobileDateRangePicker/index.js";
64
+ import { default as default66 } from "./CapMultiSelect/index.js";
65
+ import { default as default67 } from "./CapNotification/index.js";
66
+ import { default as default68 } from "./CapNotificationDropdown/index.js";
67
+ import { default as default69 } from "./CapProgress/index.js";
68
+ import { default as default70 } from "./CapPopover/index.js";
69
+ import { default as default71 } from "./CapProductSelection/index.js";
70
+ import { default as default72 } from "./CapRadio/index.js";
71
+ import { default as default73 } from "./CapRadioCard/index.js";
72
+ import { default as default74 } from "./CapRoadMap/index.js";
73
+ import { default as default75 } from "./CapRadioButton/index.js";
74
+ import { default as default76 } from "./CapRadioGroup/index.js";
75
+ import { default as default77 } from "./CapRow/index.js";
76
+ import { default as default78 } from "./CapReorderComponent/index.js";
77
+ import { default as default79 } from "./CapSlideBox/index.js";
78
+ import { default as default80 } from "./CapSlider/index.js";
78
79
  import { CapSplit } from "./CapSplit/index.js";
79
- import { default as default80 } from "./CapSelect/index.js";
80
- import { default as default81 } from "./CapSelectFilter/index.js";
81
- import { default as default82 } from "./CapSKUUploader/index.js";
82
- import { default as default83 } from "./CapSecondaryTopBar/index.js";
83
- import { default as default84 } from "./CapShape/index.js";
84
- import { default as default85 } from "./CapSideBar/index.js";
85
- import { default as default86 } from "./CapSkeleton/index.js";
86
- import { default as default87 } from "./CapSnackBar/index.js";
87
- import { default as default88 } from "./CapSomethingWentWrong/index.js";
88
- import { default as default89 } from "./CapStatus/index.js";
89
- import { default as default90 } from "./CapSupportVideosWrapper/index.js";
90
- import { default as default91 } from "./CapSpin/index.js";
91
- import { default as default92 } from "./CapStaticTemplates/index.js";
92
- import { default as default93 } from "./CapStepsAccordian/index.js";
93
- import { default as default94 } from "./CapStatisticCard/index.js";
94
- import { default as default95 } from "./CapSteps/index.js";
95
- import { default as default96 } from "./CapSwitch/index.js";
96
- import { default as default97 } from "./CapTag/index.js";
97
- import { default as default98 } from "./CapTagDropdown/index.js";
98
- import { default as default99 } from "./CapTab/index.js";
99
- import { default as default100 } from "./CapTable/index.js";
100
- import { default as default101 } from "./CapTabV3/index.js";
101
- import { default as default102 } from "./CapTimePicker/index.js";
102
- import { default as default103 } from "./CapTree/index.js";
103
- import { default as default104 } from "./CapTreeView/index.js";
104
- import { default as default105 } from "./CapTopBar/index.js";
105
- import { default as default106 } from "./CapTooltip/index.js";
106
- import { default as default107 } from "./CapTooltipWithInfo/index.js";
107
- import { default as default108 } from "./CapTreeSelect/index.js";
108
- import { default as default109 } from "./CapTruncateList/index.js";
109
- import { default as default110 } from "./CapUnifiedSelect/index.js";
110
- import { default as default111 } from "./CapUserProfile/index.js";
111
- import { default as default112 } from "./CapUploader/index.js";
80
+ import { default as default81 } from "./CapSelect/index.js";
81
+ import { default as default82 } from "./CapSelectFilter/index.js";
82
+ import { default as default83 } from "./CapSKUUploader/index.js";
83
+ import { default as default84 } from "./CapSecondaryTopBar/index.js";
84
+ import { default as default85 } from "./CapShape/index.js";
85
+ import { default as default86 } from "./CapSideBar/index.js";
86
+ import { default as default87 } from "./CapSkeleton/index.js";
87
+ import { default as default88 } from "./CapSnackBar/index.js";
88
+ import { default as default89 } from "./CapSomethingWentWrong/index.js";
89
+ import { default as default90 } from "./CapStatus/index.js";
90
+ import { default as default91 } from "./CapSupportVideosWrapper/index.js";
91
+ import { default as default92 } from "./CapSpin/index.js";
92
+ import { default as default93 } from "./CapStaticTemplates/index.js";
93
+ import { default as default94 } from "./CapStepsAccordian/index.js";
94
+ import { default as default95 } from "./CapStatisticCard/index.js";
95
+ import { default as default96 } from "./CapSteps/index.js";
96
+ import { default as default97 } from "./CapSwitch/index.js";
97
+ import { default as default98 } from "./CapTag/index.js";
98
+ import { default as default99 } from "./CapTagDropdown/index.js";
99
+ import { default as default100 } from "./CapTab/index.js";
100
+ import { default as default101 } from "./CapTable/index.js";
101
+ import { default as default102 } from "./CapTabV3/index.js";
102
+ import { default as default103 } from "./CapTimePicker/index.js";
103
+ import { default as default104 } from "./CapTree/index.js";
104
+ import { default as default105 } from "./CapTreeView/index.js";
105
+ import { default as default106 } from "./CapTopBar/index.js";
106
+ import { default as default107 } from "./CapTooltip/index.js";
107
+ import { default as default108 } from "./CapTooltipWithInfo/index.js";
108
+ import { default as default109 } from "./CapTreeSelect/index.js";
109
+ import { default as default110 } from "./CapTruncateList/index.js";
110
+ import { default as default111 } from "./CapUnifiedSelect/index.js";
111
+ import { default as default112 } from "./CapUserProfile/index.js";
112
+ import { default as default113 } from "./CapUploader/index.js";
112
113
  import { CapVirtualList } from "./CapVirtualList/index.js";
113
114
  import * as assets_icons_index from "./assets/icons/index.js";
114
- import { default as default113 } from "./LocaleHoc/index.js";
115
- import { default as default114 } from "./CapLanguageProvider/index.js";
115
+ import { default as default114 } from "./LocaleHoc/index.js";
116
+ import { default as default115 } from "./CapLanguageProvider/index.js";
116
117
  import { request } from "./service/api.js";
117
118
  import { loadCapUI } from "./utils/index.js";
118
119
  import { getCapUIFontLinks, loadCapUIFonts } from "./utils/fonts.js";
119
120
  import "sanitize.css";
120
121
  import * as styles__variables from "./styles/_variables.js";
121
- import { default as default115 } from "./CapCollapsibleLeftNavigation/reducer.js";
122
- import { default as default116 } from "./CapCollapsibleLeftNavigation/saga.js";
122
+ import { default as default116 } from "./CapCollapsibleLeftNavigation/reducer.js";
123
+ import { default as default117 } from "./CapCollapsibleLeftNavigation/saga.js";
123
124
  import { CLICKED, COLLAPSED, COMPLETE, EXPANDED, FAILURE, GET_NAVIGATION_CONFIG_FAILURE, GET_NAVIGATION_CONFIG_REQUEST, GET_NAVIGATION_CONFIG_SUCCESS, IDLE, L1IconWrapperSize, REQUEST, RESIZE, SUCCESS, UrlWithFlashRegex } from "./CapCollapsibleLeftNavigation/constants.js";
124
- import { default as default117 } from "./CapInput/Number.js";
125
- import { default as default118 } from "./CapInput/TextArea.js";
125
+ import { default as default118 } from "./CapInput/Number.js";
126
+ import { default as default119 } from "./CapInput/TextArea.js";
126
127
  import { getCapThemeConfig } from "./utils/getCapThemeConfig.js";
127
128
  export {
128
129
  CLICKED,
@@ -143,8 +144,8 @@ export {
143
144
  default13 as CapCardBox,
144
145
  default14 as CapCarousel,
145
146
  default15 as CapCheckbox,
146
- default115 as CapCollapsibleLeftNavigationReducer,
147
- default116 as CapCollapsibleLeftNavigationSaga,
147
+ default116 as CapCollapsibleLeftNavigationReducer,
148
+ default117 as CapCollapsibleLeftNavigationSaga,
148
149
  default31 as CapColorPicker,
149
150
  default24 as CapColoredTag,
150
151
  default25 as CapColumn,
@@ -181,11 +182,11 @@ export {
181
182
  default51 as CapImportMFEComponent,
182
183
  default55 as CapInfoNote,
183
184
  default52 as CapInput,
184
- default117 as CapInputNumber,
185
+ default118 as CapInputNumber,
185
186
  default53 as CapInputSearch,
186
- default118 as CapInputTextArea,
187
+ default119 as CapInputTextArea,
187
188
  default56 as CapLabel,
188
- default114 as CapLanguageProvider,
189
+ default115 as CapLanguageProvider,
189
190
  default57 as CapLevelGraphRenderer,
190
191
  default58 as CapLink,
191
192
  default59 as CapList,
@@ -193,59 +194,60 @@ export {
193
194
  default61 as CapLogin,
194
195
  default62 as CapMenu,
195
196
  default64 as CapMobileDatePicker,
197
+ default65 as CapMobileDateRangePicker,
196
198
  default63 as CapModal,
197
- default65 as CapMultiSelect,
199
+ default66 as CapMultiSelect,
198
200
  default20 as CapMultiSelectDatePicker,
199
201
  default21 as CapNavigation,
200
- default66 as CapNotification,
201
- default67 as CapNotificationDropdown,
202
- default69 as CapPopover,
203
- default70 as CapProductSelection,
204
- default68 as CapProgress,
205
- default71 as CapRadio,
206
- default74 as CapRadioButton,
207
- default72 as CapRadioCard,
208
- default75 as CapRadioGroup,
209
- default77 as CapReorderComponent,
210
- default73 as CapRoadMap,
211
- default76 as CapRow,
212
- default82 as CapSKUUploader,
202
+ default67 as CapNotification,
203
+ default68 as CapNotificationDropdown,
204
+ default70 as CapPopover,
205
+ default71 as CapProductSelection,
206
+ default69 as CapProgress,
207
+ default72 as CapRadio,
208
+ default75 as CapRadioButton,
209
+ default73 as CapRadioCard,
210
+ default76 as CapRadioGroup,
211
+ default78 as CapReorderComponent,
212
+ default74 as CapRoadMap,
213
+ default77 as CapRow,
214
+ default83 as CapSKUUploader,
213
215
  default54 as CapSearchBar,
214
- default83 as CapSecondaryTopBar,
215
- default80 as CapSelect,
216
- default81 as CapSelectFilter,
217
- default84 as CapShape,
218
- default85 as CapSideBar,
219
- default86 as CapSkeleton,
220
- default78 as CapSlideBox,
221
- default79 as CapSlider,
222
- default87 as CapSnackBar,
223
- default88 as CapSomethingWentWrong,
224
- default91 as CapSpin,
216
+ default84 as CapSecondaryTopBar,
217
+ default81 as CapSelect,
218
+ default82 as CapSelectFilter,
219
+ default85 as CapShape,
220
+ default86 as CapSideBar,
221
+ default87 as CapSkeleton,
222
+ default79 as CapSlideBox,
223
+ default80 as CapSlider,
224
+ default88 as CapSnackBar,
225
+ default89 as CapSomethingWentWrong,
226
+ default92 as CapSpin,
225
227
  CapSplit,
226
- default92 as CapStaticTemplates,
227
- default94 as CapStatisticCard,
228
- default89 as CapStatus,
229
- default95 as CapSteps,
230
- default93 as CapStepsAccordian,
231
- default90 as CapSupportVideosWrapper,
232
- default96 as CapSwitch,
233
- default99 as CapTab,
234
- default101 as CapTabV3,
235
- default100 as CapTable,
236
- default97 as CapTag,
237
- default98 as CapTagDropdown,
238
- default102 as CapTimePicker,
239
- default106 as CapTooltip,
240
- default107 as CapTooltipWithInfo,
241
- default105 as CapTopBar,
242
- default103 as CapTree,
243
- default108 as CapTreeSelect,
244
- default104 as CapTreeView,
245
- default109 as CapTruncateList,
246
- default110 as CapUnifiedSelect,
247
- default112 as CapUploader,
248
- default111 as CapUserProfile,
228
+ default93 as CapStaticTemplates,
229
+ default95 as CapStatisticCard,
230
+ default90 as CapStatus,
231
+ default96 as CapSteps,
232
+ default94 as CapStepsAccordian,
233
+ default91 as CapSupportVideosWrapper,
234
+ default97 as CapSwitch,
235
+ default100 as CapTab,
236
+ default102 as CapTabV3,
237
+ default101 as CapTable,
238
+ default98 as CapTag,
239
+ default99 as CapTagDropdown,
240
+ default103 as CapTimePicker,
241
+ default107 as CapTooltip,
242
+ default108 as CapTooltipWithInfo,
243
+ default106 as CapTopBar,
244
+ default104 as CapTree,
245
+ default109 as CapTreeSelect,
246
+ default105 as CapTreeView,
247
+ default110 as CapTruncateList,
248
+ default111 as CapUnifiedSelect,
249
+ default113 as CapUploader,
250
+ default112 as CapUserProfile,
249
251
  CapVirtualList,
250
252
  EXPANDED,
251
253
  FAILURE,
@@ -254,7 +256,7 @@ export {
254
256
  GET_NAVIGATION_CONFIG_SUCCESS,
255
257
  IDLE,
256
258
  L1IconWrapperSize,
257
- default113 as LocaleHoc,
259
+ default114 as LocaleHoc,
258
260
  REQUEST,
259
261
  RESIZE,
260
262
  SUCCESS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capillarytech/blaze-ui",
3
- "version": "6.1.6",
3
+ "version": "6.2.0",
4
4
  "description": "Capillary UI component library with Ant Design v6",
5
5
  "main": "index.js",
6
6
  "module": "dist/index.js",
package/utils/dayjs.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import dayjs from 'dayjs';
2
2
  import { Moment } from 'moment';
3
+ export declare const RANGE_PICKER: {
4
+ readonly START_DATE: "startDate";
5
+ readonly END_DATE: "endDate";
6
+ };
3
7
  export declare const TIME_UNITS: {
4
8
  readonly UTC: "UTC";
5
9
  readonly LOCAL: "local";
@@ -47,8 +51,33 @@ export declare const FORMAT_TOKENS: {
47
51
  readonly DATETIME_LOCALIZED_LONG_TIME: "LLL";
48
52
  readonly DATETIME_LOCALIZED_LONG_TIME_WEEKDAY: "LLLL";
49
53
  };
54
+ export declare const MONTH_MAP: {
55
+ readonly 1: "Jan";
56
+ readonly 2: "Feb";
57
+ readonly 3: "Mar";
58
+ readonly 4: "Apr";
59
+ readonly 5: "May";
60
+ readonly 6: "Jun";
61
+ readonly 7: "Jul";
62
+ readonly 8: "Aug";
63
+ readonly 9: "Sep";
64
+ readonly 10: "Oct";
65
+ readonly 11: "Nov";
66
+ readonly 12: "Dec";
67
+ };
68
+ export declare const WEEKDAY_MAP: {
69
+ readonly 0: "Sun";
70
+ readonly 1: "Mon";
71
+ readonly 2: "Tue";
72
+ readonly 3: "Wed";
73
+ readonly 4: "Thu";
74
+ readonly 5: "Fri";
75
+ readonly 6: "Sat";
76
+ };
50
77
  export type TimeUnit = (typeof TIME_UNITS)[keyof typeof TIME_UNITS];
51
78
  export type FormatToken = (typeof FORMAT_TOKENS)[keyof typeof FORMAT_TOKENS];
79
+ export type Month = (typeof MONTH_MAP)[keyof typeof MONTH_MAP];
80
+ export type Weekday = (typeof WEEKDAY_MAP)[keyof typeof WEEKDAY_MAP];
52
81
  export declare const DEFAULT_TIMEZONE = "Asia/Kolkata";
53
82
  export declare function normalizeDateValue(isConsumerUsingMoment: boolean, parsedValue: dayjs.Dayjs | Moment | null | undefined): dayjs.Dayjs | Moment;
54
83
  export declare function isDayjsObject(value: unknown): value is dayjs.Dayjs;
@@ -1 +1 @@
1
- {"version":3,"file":"dayjs.d.ts","sourceRoot":"","sources":["../../components/utils/dayjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAyIhC,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ChB,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AACpE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE7E,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAQ/C,wBAAgB,kBAAkB,CAChC,qBAAqB,EAAE,OAAO,EAC9B,WAAW,EAAE,KAAK,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,wBAKrD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAAC,KAAK,CAElE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAE9D;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,GAC7D,KAAK,CAAC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GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAqD3F;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,GACxF,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,EAAE,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,SAAS,CAGtD;AAED,eAAe,KAAK,CAAC"}
package/utils/dayjs.js CHANGED
@@ -109,6 +109,10 @@ dayjs.extend(weekOfYear);
109
109
  dayjs.extend(weekYear);
110
110
  dayjs.extend(isoWeek);
111
111
  dayjs.extend(localeData);
112
+ const RANGE_PICKER = {
113
+ START_DATE: "startDate",
114
+ END_DATE: "endDate"
115
+ };
112
116
  const TIME_UNITS = {
113
117
  UTC: "UTC",
114
118
  LOCAL: "local",
@@ -161,6 +165,29 @@ const FORMAT_TOKENS = {
161
165
  DATETIME_LOCALIZED_LONG_TIME: "LLL",
162
166
  DATETIME_LOCALIZED_LONG_TIME_WEEKDAY: "LLLL"
163
167
  };
168
+ const MONTH_MAP = {
169
+ 1: "Jan",
170
+ 2: "Feb",
171
+ 3: "Mar",
172
+ 4: "Apr",
173
+ 5: "May",
174
+ 6: "Jun",
175
+ 7: "Jul",
176
+ 8: "Aug",
177
+ 9: "Sep",
178
+ 10: "Oct",
179
+ 11: "Nov",
180
+ 12: "Dec"
181
+ };
182
+ const WEEKDAY_MAP = {
183
+ 0: "Sun",
184
+ 1: "Mon",
185
+ 2: "Tue",
186
+ 3: "Wed",
187
+ 4: "Thu",
188
+ 5: "Fri",
189
+ 6: "Sat"
190
+ };
164
191
  const DEFAULT_TIMEZONE = "Asia/Kolkata";
165
192
  function logDevError(message, error) {
166
193
  if (process.env.NODE_ENV === "development") {
@@ -285,7 +312,10 @@ function convertRangeValue(rangeValue) {
285
312
  export {
286
313
  DEFAULT_TIMEZONE,
287
314
  FORMAT_TOKENS,
315
+ MONTH_MAP,
316
+ RANGE_PICKER,
288
317
  TIME_UNITS,
318
+ WEEKDAY_MAP,
289
319
  convertRangeValue,
290
320
  dayjsToMoment,
291
321
  default2 as default,
@@ -1,4 +1,4 @@
1
- import type { ThemeConfig } from 'antd-v5/es/config-provider';
1
+ import { ThemeConfig } from 'antd-v5';
2
2
  /**
3
3
  * Get Capillary theme configuration for Ant Design v5+
4
4
  * This function maps Capillary design tokens to Ant Design tokens,
@@ -1 +1 @@
1
- {"version":3,"file":"getCapThemeConfig.d.ts","sourceRoot":"","sources":["../../components/utils/getCapThemeConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAmE9D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAGH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAgU7E"}
1
+ {"version":3,"file":"getCapThemeConfig.d.ts","sourceRoot":"","sources":["../../components/utils/getCapThemeConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmEtC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAGH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAgU7E"}