@capillarytech/blaze-ui 6.1.3 → 6.1.5
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/CapDragReorder/Card.d.ts +2 -2
- package/CapDragReorder/Card.d.ts.map +1 -1
- package/CapDragReorder/Card.js +53 -51
- package/CapDragReorder/index.d.ts +2 -9
- package/CapDragReorder/index.d.ts.map +1 -1
- package/CapDragReorder/index.js +26 -15
- package/CapDragReorder/styles.css +12 -2
- package/CapDragReorder/styles.d.ts +2 -12
- package/CapDragReorder/styles.d.ts.map +1 -1
- package/CapDragReorder/styles.js +1 -1
- package/CapDragReorder/styles.module.scss.js +29 -0
- package/CapDragReorder/styles.scss +23 -10
- package/CapDragReorder/tests/CapDragReorder.mockData.d.ts +4 -0
- package/CapDragReorder/tests/CapDragReorder.mockData.d.ts.map +1 -0
- package/CapDragReorder/types.d.ts +32 -0
- package/CapDragReorder/types.d.ts.map +1 -0
- package/CapDragReorder/types.js +1 -0
- package/CapProductSelection/index.d.ts +3 -29
- package/CapProductSelection/index.d.ts.map +1 -1
- package/CapProductSelection/index.js +52 -89
- package/CapProductSelection/messages.d.ts +76 -0
- package/CapProductSelection/messages.d.ts.map +1 -0
- package/CapProductSelection/messages.js +79 -0
- package/CapProductSelection/styles.css +81 -0
- package/CapProductSelection/styles.module.scss.js +8 -0
- package/CapProductSelection/styles.scss +65 -22
- package/CapProductSelection/tests/CapProductSelection.mockData.d.ts +36 -0
- package/CapProductSelection/tests/CapProductSelection.mockData.d.ts.map +1 -0
- package/CapProductSelection/types.d.ts +40 -0
- package/CapProductSelection/types.d.ts.map +1 -0
- package/CapProductSelection/types.js +1 -0
- package/CapSelectFilter/index.js +2 -2
- package/CapTreeView/index.d.ts +6 -28
- package/CapTreeView/index.d.ts.map +1 -1
- package/CapTreeView/index.js +63 -78
- package/CapTreeView/styles.css +12 -22
- package/CapTreeView/styles.module.scss.js +16 -0
- package/CapTreeView/styles.scss +26 -39
- package/CapTreeView/tests/CapTreeView.mockData.d.ts +5 -0
- package/CapTreeView/tests/CapTreeView.mockData.d.ts.map +1 -0
- package/CapTreeView/types.d.ts +16 -0
- package/CapTreeView/types.d.ts.map +1 -0
- package/CapTreeView/types.js +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +169 -163
- package/package.json +1 -1
- package/utils/getCapThemeConfig.d.ts.map +1 -1
- package/utils/getCapThemeConfig.js +11 -2
- package/CapProductSelection/style.d.ts +0 -3
- package/CapProductSelection/style.d.ts.map +0 -1
- package/CapProductSelection/style.js +0 -38
package/index.js
CHANGED
|
@@ -30,96 +30,99 @@ import { default as default30 } from "./CapCustomSelect/index.js";
|
|
|
30
30
|
import { default as default31 } from "./CapColorPicker/index.js";
|
|
31
31
|
import { default as default32 } from "./CapCalendarDatePicker/index.js";
|
|
32
32
|
import { default as default33 } from "./CapDivider/index.js";
|
|
33
|
-
import { default as default34 } from "./
|
|
34
|
-
import { default as default35 } from "./
|
|
35
|
-
import { default as default36 } from "./
|
|
36
|
-
import { default as default37 } from "./
|
|
37
|
-
import { default as default38 } from "./
|
|
38
|
-
import { default as default39 } from "./
|
|
39
|
-
import { default as default40 } from "./
|
|
40
|
-
import { default as default41 } from "./
|
|
41
|
-
import { default as default42 } from "./
|
|
42
|
-
import { default as default43 } from "./
|
|
43
|
-
import { default as default44 } from "./
|
|
44
|
-
import { default as default45 } from "./
|
|
45
|
-
import { default as default46 } from "./
|
|
46
|
-
import { default as default47 } from "./
|
|
47
|
-
import { default as default48 } from "./
|
|
48
|
-
import { default as default49 } from "./
|
|
49
|
-
import { default as default50 } from "./
|
|
50
|
-
import { default as default51 } from "./
|
|
51
|
-
import { default as default52
|
|
52
|
-
import { default as default54 } from "./
|
|
53
|
-
import { default as default55 } from "./
|
|
54
|
-
import { default as default56 } from "./
|
|
55
|
-
import { default as default57 } from "./
|
|
56
|
-
import { default as default58 } from "./
|
|
57
|
-
import { default as default59 } from "./
|
|
58
|
-
import { default as default60 } from "./
|
|
59
|
-
import { default as default61 } from "./
|
|
60
|
-
import { default as default62 } from "./
|
|
61
|
-
import { default as default63 } from "./
|
|
62
|
-
import { default as default64 } from "./
|
|
63
|
-
import { default as default65 } from "./
|
|
64
|
-
import { default as default66 } from "./
|
|
65
|
-
import { default as default67 } from "./
|
|
66
|
-
import { default as default68 } from "./
|
|
67
|
-
import { default as default69 } from "./
|
|
68
|
-
import { default as default70 } from "./
|
|
69
|
-
import { default as default71 } from "./
|
|
70
|
-
import { default as default72 } from "./
|
|
71
|
-
import { default as default73 } from "./
|
|
72
|
-
import { default as default74 } from "./
|
|
73
|
-
import { default as default75 } from "./
|
|
74
|
-
import { default as default76 } from "./
|
|
75
|
-
import { default as default77 } from "./
|
|
33
|
+
import { default as default34 } from "./CapDragReorder/index.js";
|
|
34
|
+
import { default as default35 } from "./CapDrawer/index.js";
|
|
35
|
+
import { default as default36 } from "./CapDropdown/index.js";
|
|
36
|
+
import { default as default37 } from "./CapError/index.js";
|
|
37
|
+
import { default as default38 } from "./CapErrorStateIllustration/index.js";
|
|
38
|
+
import { default as default39 } from "./CapErrorBoundary/index.js";
|
|
39
|
+
import { default as default40 } from "./CapEmptyDivWithBorder/index.js";
|
|
40
|
+
import { default as default41 } from "./CapExpressionEditor/index.js";
|
|
41
|
+
import { default as default42 } from "./CapForm/index.js";
|
|
42
|
+
import { default as default43 } from "./CapFormItem/index.js";
|
|
43
|
+
import { default as default44 } from "./CapGraph/index.js";
|
|
44
|
+
import { default as default45 } from "./CapHeading/index.js";
|
|
45
|
+
import { default as default46 } from "./CapHeader/index.js";
|
|
46
|
+
import { default as default47 } from "./CapHamburgerMenu/index.js";
|
|
47
|
+
import { default as default48 } from "./CapIcon/index.js";
|
|
48
|
+
import { default as default49 } from "./CapImage/index.js";
|
|
49
|
+
import { default as default50 } from "./CapIllustration/index.js";
|
|
50
|
+
import { default as default51 } from "./CapImportMFEComponent/index.js";
|
|
51
|
+
import { default as default52 } from "./CapInput/index.js";
|
|
52
|
+
import { default as default53, default as default54 } from "./CapInput/Search.js";
|
|
53
|
+
import { default as default55 } from "./CapInfoNote/index.js";
|
|
54
|
+
import { default as default56 } from "./CapLabel/index.js";
|
|
55
|
+
import { default as default57 } from "./CapLevelGraphRenderer/index.js";
|
|
56
|
+
import { default as default58 } from "./CapLink/index.js";
|
|
57
|
+
import { default as default59 } from "./CapList/index.js";
|
|
58
|
+
import { default as default60 } from "./CapListLayout/index.js";
|
|
59
|
+
import { default as default61 } from "./CapLogin/index.js";
|
|
60
|
+
import { default as default62 } from "./CapMenu/index.js";
|
|
61
|
+
import { default as default63 } from "./CapModal/index.js";
|
|
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";
|
|
76
78
|
import { CapSplit } from "./CapSplit/index.js";
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
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";
|
|
109
112
|
import { CapVirtualList } from "./CapVirtualList/index.js";
|
|
110
113
|
import * as assets_icons_index from "./assets/icons/index.js";
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
114
|
+
import { default as default113 } from "./LocaleHoc/index.js";
|
|
115
|
+
import { default as default114 } from "./CapLanguageProvider/index.js";
|
|
113
116
|
import { request } from "./service/api.js";
|
|
114
117
|
import { loadCapUI } from "./utils/index.js";
|
|
115
118
|
import { getCapUIFontLinks, loadCapUIFonts } from "./utils/fonts.js";
|
|
116
119
|
import "sanitize.css";
|
|
117
120
|
import * as styles__variables from "./styles/_variables.js";
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
121
|
+
import { default as default115 } from "./CapCollapsibleLeftNavigation/reducer.js";
|
|
122
|
+
import { default as default116 } from "./CapCollapsibleLeftNavigation/saga.js";
|
|
120
123
|
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";
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
124
|
+
import { default as default117 } from "./CapInput/Number.js";
|
|
125
|
+
import { default as default118 } from "./CapInput/TextArea.js";
|
|
123
126
|
import { getCapThemeConfig } from "./utils/getCapThemeConfig.js";
|
|
124
127
|
export {
|
|
125
128
|
CLICKED,
|
|
@@ -140,8 +143,8 @@ export {
|
|
|
140
143
|
default13 as CapCardBox,
|
|
141
144
|
default14 as CapCarousel,
|
|
142
145
|
default15 as CapCheckbox,
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
default115 as CapCollapsibleLeftNavigationReducer,
|
|
147
|
+
default116 as CapCollapsibleLeftNavigationSaga,
|
|
145
148
|
default31 as CapColorPicker,
|
|
146
149
|
default24 as CapColoredTag,
|
|
147
150
|
default25 as CapColumn,
|
|
@@ -156,90 +159,93 @@ export {
|
|
|
156
159
|
default18 as CapDateTimePicker,
|
|
157
160
|
default19 as CapDateTimeRangePicker,
|
|
158
161
|
default33 as CapDivider,
|
|
159
|
-
default34 as
|
|
160
|
-
default35 as
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
default34 as CapDragReorder,
|
|
163
|
+
default35 as CapDrawer,
|
|
164
|
+
default36 as CapDropdown,
|
|
165
|
+
default40 as CapEmptyDivWithBorder,
|
|
166
|
+
default37 as CapError,
|
|
167
|
+
default39 as CapErrorBoundary,
|
|
168
|
+
default38 as CapErrorStateIllustration,
|
|
165
169
|
default2 as CapEventCalendar,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
default41 as CapExpressionEditor,
|
|
171
|
+
default42 as CapForm,
|
|
172
|
+
default43 as CapFormItem,
|
|
173
|
+
default44 as CapGraph,
|
|
174
|
+
default47 as CapHamburgerMenu,
|
|
175
|
+
default46 as CapHeader,
|
|
176
|
+
default45 as CapHeading,
|
|
177
|
+
default48 as CapIcon,
|
|
174
178
|
assets_icons_index as CapIcons,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
179
|
+
default50 as CapIllustration,
|
|
180
|
+
default49 as CapImage,
|
|
181
|
+
default51 as CapImportMFEComponent,
|
|
182
|
+
default55 as CapInfoNote,
|
|
183
|
+
default52 as CapInput,
|
|
184
|
+
default117 as CapInputNumber,
|
|
185
|
+
default53 as CapInputSearch,
|
|
186
|
+
default118 as CapInputTextArea,
|
|
187
|
+
default56 as CapLabel,
|
|
188
|
+
default114 as CapLanguageProvider,
|
|
189
|
+
default57 as CapLevelGraphRenderer,
|
|
190
|
+
default58 as CapLink,
|
|
191
|
+
default59 as CapList,
|
|
192
|
+
default60 as CapListLayout,
|
|
193
|
+
default61 as CapLogin,
|
|
194
|
+
default62 as CapMenu,
|
|
195
|
+
default64 as CapMobileDatePicker,
|
|
196
|
+
default63 as CapModal,
|
|
197
|
+
default65 as CapMultiSelect,
|
|
194
198
|
default20 as CapMultiSelectDatePicker,
|
|
195
199
|
default21 as CapNavigation,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
default75 as
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
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,
|
|
213
|
+
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,
|
|
220
225
|
CapSplit,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
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,
|
|
243
249
|
CapVirtualList,
|
|
244
250
|
EXPANDED,
|
|
245
251
|
FAILURE,
|
|
@@ -248,7 +254,7 @@ export {
|
|
|
248
254
|
GET_NAVIGATION_CONFIG_SUCCESS,
|
|
249
255
|
IDLE,
|
|
250
256
|
L1IconWrapperSize,
|
|
251
|
-
|
|
257
|
+
default113 as LocaleHoc,
|
|
252
258
|
REQUEST,
|
|
253
259
|
RESIZE,
|
|
254
260
|
SUCCESS,
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { merge } from "lodash";
|
|
2
|
-
import { CAP_PRIMARY,
|
|
2
|
+
import { CAP_SECONDARY, CAP_PRIMARY, CAP_G09, CAP_WHITE, FONT_COLOR_01, CAP_G06, CAP_COLOR_08, CAP_G05, CAP_G07, FONT_COLOR_04, FONT_WEIGHT_MEDIUM, BG_01, CAP_G08, CAP_G01, CAP_G11, CAP_G04, CAP_G03, CAP_G10, CAP_RED, FONT_COLOR_03, FONT_COLOR_02, CAP_COLOR_05, CAP_COLOR_03, CAP_COLOR_02, CAP_COLOR_10, CAP_COLOR_04, CAP_COLOR_11, CAP_COLOR_01, CAP_COLOR_06, FONT_FAMILY, CAP_COLOR_26, CAP_COLOR_15, CAP_COLOR_14, SPACING_32, FONT_SIZE_L, DEFAULT_LINE_HEIGHT, FONT_SIZE_M, SPACING_08, SPACING_24, RADIUS_04, SPACING_16, RADIUS_08, INPUT_HEIGHT, BUTTON_HEIGHT, FONT_SIZE_S, SPACING_12, FONT_SIZE_VL } from "../styles/_variables.js";
|
|
3
3
|
function getRootFontSize() {
|
|
4
4
|
if (typeof window === "undefined" || typeof document === "undefined") {
|
|
5
5
|
return 14;
|
|
@@ -34,7 +34,7 @@ function remToPx(remValue, fallback = "1rem") {
|
|
|
34
34
|
return fallbackMatch ? parseFloat(fallbackMatch[1]) * rootFontSize : rootFontSize;
|
|
35
35
|
}
|
|
36
36
|
function getCapThemeConfig(options) {
|
|
37
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
37
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
38
38
|
const baseTheme = {
|
|
39
39
|
token: {
|
|
40
40
|
// Primary colors
|
|
@@ -322,6 +322,15 @@ function getCapThemeConfig(options) {
|
|
|
322
322
|
colorTextDisabled: CAP_G06,
|
|
323
323
|
activeBorderColor: CAP_G06,
|
|
324
324
|
activeShadow: "transparent"
|
|
325
|
+
},
|
|
326
|
+
// Tree component tokens (for CapTreeView)
|
|
327
|
+
Tree: {
|
|
328
|
+
colorText: FONT_COLOR_01,
|
|
329
|
+
colorBgContainer: CAP_WHITE,
|
|
330
|
+
nodeHoverBg: CAP_G09,
|
|
331
|
+
nodeSelectedBg: ((_o = CAP_SECONDARY) == null ? void 0 : _o.light) || "#e8f5e9",
|
|
332
|
+
indentSize: 18
|
|
333
|
+
// matches original counterMargin step of 18px per level
|
|
325
334
|
}
|
|
326
335
|
}
|
|
327
336
|
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const StyledCapTree: import("styled-components").StyledComponent<import("react").FC<import("../CapTree").CapTreeProps>, any, {}, never>;
|
|
2
|
-
export declare const StyledCapCard: import("styled-components").StyledComponent<import("react").FC<import("../CapCard").CapCardProps>, any, {}, never>;
|
|
3
|
-
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../components/CapProductSelection/style.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,oHAIzB,CAAC;AAEF,eAAO,MAAM,aAAa,oHAwBzB,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import CapCard from "../CapCard/index.js";
|
|
3
|
-
import CapTree from "../CapTree/index.js";
|
|
4
|
-
import { CAP_G07 } from "../styles/_variables.js";
|
|
5
|
-
const StyledCapTree = styled(CapTree)`
|
|
6
|
-
&.ant-tree.cap-tree-v2 {
|
|
7
|
-
background-color: ${(props) => (props == null ? void 0 : props.showModal) && CAP_G07};
|
|
8
|
-
}
|
|
9
|
-
`;
|
|
10
|
-
const StyledCapCard = styled(CapCard)`
|
|
11
|
-
&.ant-card.cap-card-v2 {
|
|
12
|
-
position: absolute;
|
|
13
|
-
top: 40px;
|
|
14
|
-
left: 12px;
|
|
15
|
-
width: 300px;
|
|
16
|
-
.card {
|
|
17
|
-
&-title {
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
line-height: 24px;
|
|
20
|
-
padding-bottom: 12px;
|
|
21
|
-
padding-top: 8px;
|
|
22
|
-
}
|
|
23
|
-
&-description {
|
|
24
|
-
font-size: 12px;
|
|
25
|
-
}
|
|
26
|
-
&-buttons {
|
|
27
|
-
padding-top: 16px;
|
|
28
|
-
&-primary {
|
|
29
|
-
margin-right: 12px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
export {
|
|
36
|
-
StyledCapCard,
|
|
37
|
-
StyledCapTree
|
|
38
|
-
};
|