@cashub/ui 0.48.6 → 0.48.7
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/Tab/TabList.js +26 -38
- package/Tab/TabPanel.js +20 -13
- package/Tab/TabTab.js +24 -36
- package/Tab/index.js +6 -3
- package/Tab/subComponent/TabListV2.js +18 -11
- package/Tab/subComponent/TabPanelV2.js +20 -16
- package/Tab/subComponent/TabTabV2.js +21 -33
- package/VerticalTab/TabList.js +18 -13
- package/VerticalTab/TabPanel.js +20 -16
- package/VerticalTab/TabTab.js +21 -40
- package/VerticalTab/VerticalTab.js +4 -8
- package/alert/Alert.js +5 -12
- package/animate/Collapse.js +7 -5
- package/animate/Loader.js +7 -18
- package/animate/PulseRing.js +5 -18
- package/animate/Spinner.js +3 -8
- package/backdrop/BaseBackdrop.js +3 -9
- package/backdrop/LoadingBackdrop.js +3 -7
- package/backdrop/ModalBackdrop.js +3 -5
- package/badge/Badge.js +3 -15
- package/badge/BadgeDot.js +3 -8
- package/badge/BadgeFill.js +6 -24
- package/badge/BadgeWithText.js +3 -13
- package/billing/BarChart.js +1 -1
- package/breadcrumb/Breadcrumb.js +3 -42
- package/button/Button.js +20 -88
- package/button/ButtonGroup.js +9 -33
- package/button/IconButton.js +10 -37
- package/button/ScrollToTopButton.js +4 -12
- package/callout/Callout.js +8 -37
- package/chart/BarChart.js +27 -22
- package/chart/DoughnutChart.js +20 -34
- package/chart/LineChart.js +21 -13
- package/chart/SingleBarChart.js +5 -22
- package/chart/utils/centerTextPlugin.js +2 -2
- package/chart/utils/customTooltip.js +8 -8
- package/chart/utils/htmlLegendPlugin.js +1 -1
- package/chart/utils/yAxisTopTitlePlugin.js +1 -1
- package/container/FlexContainer.js +7 -15
- package/cropper/Cropper.js +2 -1
- package/datetimePicker/DatePicker.js +26 -80
- package/datetimePicker/DatePickerV2.js +36 -95
- package/datetimePicker/DatetimePicker.js +11 -174
- package/datetimePicker/DatetimePickerV2.js +33 -87
- package/datetimePicker/DatetimePickerV3.js +11 -174
- package/datetimePicker/TimeInput.js +10 -35
- package/datetimePicker/TimePicker.js +22 -77
- package/datetimePicker/TimePickerStyle.js +3 -53
- package/datetimePicker/TimePickerV2.js +21 -54
- package/datetimePicker/accordion/Month.js +16 -93
- package/datetimePicker/accordion/Year.js +18 -96
- package/datetimePicker/hooks/useChangeNumber.js +6 -3
- package/datetimePicker/hooks/useDecrease.js +6 -3
- package/datetimePicker/hooks/useIncrease.js +6 -3
- package/datetimePicker/subComponent/Accordion.js +20 -101
- package/descriptionList/DescriptionDetail.js +4 -15
- package/descriptionList/DescriptionList.js +4 -12
- package/descriptionList/DescriptionTerm.js +3 -5
- package/divider/Divider.js +6 -15
- package/dropdown/DropdownButtonOption.js +6 -22
- package/dropdown/DropdownContent.js +15 -29
- package/dropdown/DropdownDivOption.js +3 -17
- package/dropdown/DropdownLinkOption.js +3 -14
- package/dropdown/DropdownToggle.js +15 -7
- package/dropzone/FileDropzone.js +22 -121
- package/dropzone/ImageDropzone.js +14 -83
- package/dropzone/subComponent/Message.js +4 -11
- package/figure/IconFigure.js +7 -16
- package/figure/ImageFigure.js +6 -19
- package/file/HiddenFileInput.js +3 -3
- package/form/Checkbox.js +13 -74
- package/form/Fieldset.js +3 -9
- package/form/FormItem.js +5 -10
- package/form/Input.js +7 -40
- package/form/Label.js +10 -34
- package/form/MutedText.js +4 -8
- package/form/PasswordInput.js +13 -20
- package/form/RadioButton.js +8 -55
- package/form/SearchSelect.js +12 -64
- package/form/Searchbox.js +19 -45
- package/form/Slider.js +10 -28
- package/form/SwitchButton.js +14 -48
- package/form/Textarea.js +3 -30
- package/form/TreeView.js +6 -13
- package/grid/Column.js +10 -23
- package/grid/Grid.js +6 -14
- package/heading/Heading1.js +4 -8
- package/heading/Heading2.js +5 -11
- package/heading/Heading3.js +8 -20
- package/iconbox/ApplicationIconBox.js +12 -48
- package/iconbox/IconBox.js +7 -31
- package/iconbox/IconBoxV2.js +8 -33
- package/iconbox/subComponent/IconBoxFigure.js +9 -17
- package/iconbox/subComponent/IconBoxImage.js +8 -21
- package/image/ImageFluid.js +3 -7
- package/image/UploadImage.js +18 -66
- package/jsoneditor/JsonEditor.js +15 -121
- package/keyframe/Pulse.js +3 -13
- package/keyframe/Spin.js +3 -5
- package/layout/Aside.js +5 -30
- package/layout/Backdrop.js +4 -8
- package/layout/Container.js +5 -21
- package/layout/Footer.js +7 -26
- package/link/LinkSpan.js +19 -37
- package/map/GoogleMap.js +7 -3
- package/map/GoogleReverseGeolocation.js +3 -6
- package/map/LeafletMap.js +2 -2
- package/map/subComponent/GoogleMapContainer.js +4 -16
- package/map/subComponent/GoogleMapPopup.js +10 -7
- package/map/subComponent/GoogleMapWrapper.js +15 -8
- package/map/subComponent/LeafletDrawControl.js +7 -9
- package/map/subComponent/LeafletMapContainer.js +4 -159
- package/modal/StateModal.js +28 -49
- package/modal/TitleModal.js +29 -70
- package/package.json +1 -1
- package/page/Disclaimer.js +3 -119
- package/paginate/Paginate.js +12 -54
- package/popover/Popover.js +25 -30
- package/qrcode/QRCode.js +6 -20
- package/qrcode/QRCodeContainter.js +4 -12
- package/ribbon/Ribbon.js +4 -29
- package/section/Section.js +20 -68
- package/section/SectionBody.js +8 -29
- package/section/SectionHeader.js +11 -36
- package/section/SectionToolbar.js +3 -9
- package/section/SectionToolbarItem.js +3 -8
- package/select/InputSelect.js +23 -16
- package/select/Select.js +43 -112
- package/select/subComponent/Checkbox.js +5 -24
- package/select/subComponent/Footer.js +3 -4
- package/select/subComponent/ListBox.js +5 -12
- package/select/subComponent/Option.js +7 -27
- package/select/subComponent/OptionGroup.js +3 -13
- package/select/subComponent/Options.js +5 -18
- package/select/subComponent/SearchBox.js +12 -34
- package/select/subComponent/SelectedMultipleTags.js +3 -21
- package/select/subComponent/SelectedMultipleText.js +4 -20
- package/select/subComponent/SelectedSingle.js +3 -7
- package/styles/GlobalStyle.js +45 -156
- package/styles/mixin/backgroundColor.js +8 -16
- package/styles/mixin/borderColor.js +7 -13
- package/styles/mixin/color.js +7 -13
- package/styles/mixin/colorOnBackground.js +7 -13
- package/styles/mixin/inputPlaceholder.js +3 -20
- package/styles/mixin/media.js +3 -5
- package/styles/mixin/rounded.js +6 -10
- package/styles/mixin/scrollbar.js +3 -13
- package/styles/theme/dark.theme.js +14 -15
- package/styles/theme/light.theme.js +14 -15
- package/styles/theme/white.theme.js +14 -15
- package/table/GridTable.js +33 -71
- package/table/ImageBox.js +5 -15
- package/table/InfiniteGridTable.js +46 -92
- package/table/PermissionTable.js +10 -32
- package/table/SimpleGridTable.js +17 -52
- package/table/Table.js +48 -198
- package/table/__mock__/columns.js +1 -1
- package/table/subComponent/BaseTableHeadCell.js +8 -37
- package/table/subComponent/GridTableFooter.js +4 -10
- package/table/subComponent/GridTableHeadCell.js +4 -6
- package/table/subComponent/Resizer.js +4 -19
- package/table/subComponent/TableFooter.js +6 -15
- package/table/subComponent/TableFooterInfo.js +3 -4
- package/table/subComponent/TableFooterPager.js +6 -19
- package/table/subComponent/TableHeadCell.js +3 -9
- package/table/subComponent/TableSort.js +7 -17
- package/tagify/TagifyStyle.js +3 -49
- package/tagify/Tags.js +21 -37
- package/tagify/templates/getCreateButtonTemplate.js +2 -5
- package/text/Paragraph.js +12 -50
- package/timeline/Timeline.js +17 -94
- package/toast/CustomToastContainer.js +3 -35
- package/toast/MessageContainer.js +4 -22
- package/tooltip/Tooltip.js +19 -47
- package/treeView/TreeViewV2.js +1 -1
- package/treeView/TreeflexStyle.js +3 -38
- package/wizard/Wizard.js +6 -115
|
@@ -6,44 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = require("styled-components");
|
|
8
8
|
var _scrollbar = _interopRequireDefault(require("../styles/mixin/scrollbar"));
|
|
9
|
+
var _templateObject;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
10
12
|
// integrate treeflex component
|
|
11
|
-
const TreeflexStyle = (0, _styledComponents.createGlobalStyle)
|
|
12
|
-
.tf-tree {
|
|
13
|
-
text-align: center;
|
|
14
|
-
color: var(--font-on-background);
|
|
15
|
-
|
|
16
|
-
.tf-nc {
|
|
17
|
-
border: var(--border-width) solid var(--border-color);
|
|
18
|
-
border-radius: 8px;
|
|
19
|
-
min-width: 120px;
|
|
20
|
-
|
|
21
|
-
&.primary {
|
|
22
|
-
border-color: var(--color-primary);
|
|
23
|
-
font-weight: var(--font-bold);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
${_scrollbar.default}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.tf-tree ul {
|
|
31
|
-
margin-bottom: 2em;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.tf-tree li ul {
|
|
35
|
-
margin-bottom: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.tf-tree li li:before {
|
|
39
|
-
border: var(--border-width) solid var(--border-color);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.tf-tree .tf-nc:after,
|
|
43
|
-
.tf-tree .tf-nc:before,
|
|
44
|
-
.tf-tree .tf-node-content:after,
|
|
45
|
-
.tf-tree .tf-node-content:before {
|
|
46
|
-
border: var(--border-width) solid var(--border-color);
|
|
47
|
-
}
|
|
48
|
-
`;
|
|
13
|
+
const TreeflexStyle = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .tf-tree {\n text-align: center;\n color: var(--font-on-background);\n\n .tf-nc {\n border: var(--border-width) solid var(--border-color);\n border-radius: 8px;\n min-width: 120px;\n\n &.primary {\n border-color: var(--color-primary);\n font-weight: var(--font-bold);\n }\n }\n\n ", "\n }\n\n .tf-tree ul {\n margin-bottom: 2em;\n }\n\n .tf-tree li ul {\n margin-bottom: 0;\n }\n\n .tf-tree li li:before {\n border: var(--border-width) solid var(--border-color);\n }\n\n .tf-tree .tf-nc:after,\n .tf-tree .tf-nc:before,\n .tf-tree .tf-node-content:after,\n .tf-tree .tf-node-content:before {\n border: var(--border-width) solid var(--border-color);\n }\n"])), _scrollbar.default);
|
|
49
14
|
var _default = exports.default = TreeflexStyle;
|
package/wizard/Wizard.js
CHANGED
|
@@ -10,7 +10,9 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _utils = require("@cashub/utils");
|
|
11
11
|
var _media = _interopRequireDefault(require("../styles/mixin/media"));
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
14
16
|
const Wizard = props => {
|
|
15
17
|
const {
|
|
16
18
|
navNames = [],
|
|
@@ -133,119 +135,8 @@ const Wizard = props => {
|
|
|
133
135
|
})]
|
|
134
136
|
});
|
|
135
137
|
};
|
|
136
|
-
const Nav = _styledComponents.default.ul
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
margin-bottom: var(--spacing);
|
|
141
|
-
|
|
142
|
-
${_media.default.mobile`
|
|
143
|
-
display: block;
|
|
144
|
-
`}
|
|
145
|
-
`;
|
|
146
|
-
const NavItem = _styledComponents.default.li`
|
|
147
|
-
color: var(--font-on-mute);
|
|
148
|
-
font-size: var(--font-body1);
|
|
149
|
-
font-weight: var(--font-bold);
|
|
150
|
-
padding: 0 var(--spacing-xs);
|
|
151
|
-
width: 100%;
|
|
152
|
-
height: 36px;
|
|
153
|
-
line-height: 36px;
|
|
154
|
-
transition: 0.3s;
|
|
155
|
-
overflow: hidden;
|
|
156
|
-
flex: 1;
|
|
157
|
-
cursor: pointer;
|
|
158
|
-
|
|
159
|
-
&:hover {
|
|
160
|
-
color: var(--font-on-background);
|
|
161
|
-
|
|
162
|
-
> div > span:first-of-type {
|
|
163
|
-
color: var(--font-on-primary);
|
|
164
|
-
background: var(--font-on-background);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&.current,
|
|
169
|
-
&.done {
|
|
170
|
-
background: var(--color-primary);
|
|
171
|
-
color: var(--font-on-primary);
|
|
172
|
-
|
|
173
|
-
> div > span:first-of-type {
|
|
174
|
-
color: var(--color-primary);
|
|
175
|
-
background: var(--font-on-primary);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
&.current {
|
|
180
|
-
background: var(--color-primary);
|
|
181
|
-
color: var(--font-on-primary);
|
|
182
|
-
border-radius: 0 var(--border-radius-l) var(--border-radius-l) 0;
|
|
183
|
-
|
|
184
|
-
&:first-child {
|
|
185
|
-
border-radius: var(--border-radius-l);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
${_media.default.mobile`
|
|
189
|
-
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
190
|
-
`}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&.done {
|
|
194
|
-
background: var(--color-primary);
|
|
195
|
-
color: var(--font-on-primary);
|
|
196
|
-
|
|
197
|
-
&:first-child {
|
|
198
|
-
border-radius: var(--border-radius-l) 0 0 var(--border-radius-l);
|
|
199
|
-
|
|
200
|
-
${_media.default.mobile`
|
|
201
|
-
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
202
|
-
`}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
`;
|
|
206
|
-
const NavTitle = _styledComponents.default.div`
|
|
207
|
-
display: flex;
|
|
208
|
-
align-items: center;
|
|
209
|
-
|
|
210
|
-
> span:first-of-type {
|
|
211
|
-
display: flex;
|
|
212
|
-
align-items: center;
|
|
213
|
-
justify-content: center;
|
|
214
|
-
margin-right: var(--spacing-xs);
|
|
215
|
-
color: var(--font-on-mute);
|
|
216
|
-
flex: 0 0;
|
|
217
|
-
flex-basis: 24px;
|
|
218
|
-
width: 24px;
|
|
219
|
-
height: 24px;
|
|
220
|
-
border-radius: var(--border-radius-l);
|
|
221
|
-
background: var(--font-on-mute);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
> p {
|
|
225
|
-
margin-right: auto;
|
|
226
|
-
white-space: nowrap;
|
|
227
|
-
overflow: hidden;
|
|
228
|
-
text-overflow: ellipsis;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
> span:last-of-type {
|
|
232
|
-
display: none;
|
|
233
|
-
|
|
234
|
-
&.arrow {
|
|
235
|
-
display: flex;
|
|
236
|
-
align-self: center;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
${_media.default.mobile`
|
|
240
|
-
transform: rotate(90deg);
|
|
241
|
-
`}
|
|
242
|
-
}
|
|
243
|
-
`;
|
|
244
|
-
const Step = _styledComponents.default.div`
|
|
245
|
-
display: none;
|
|
246
|
-
|
|
247
|
-
&.active {
|
|
248
|
-
display: block;
|
|
249
|
-
}
|
|
250
|
-
`;
|
|
138
|
+
const Nav = _styledComponents.default.ul(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n background: var(--color-background2);\n border-radius: var(--border-radius-l);\n margin-bottom: var(--spacing);\n\n ", "\n"])), _media.default.mobile(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: block;\n "]))));
|
|
139
|
+
const NavItem = _styledComponents.default.li(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n color: var(--font-on-mute);\n font-size: var(--font-body1);\n font-weight: var(--font-bold);\n padding: 0 var(--spacing-xs);\n width: 100%;\n height: 36px;\n line-height: 36px;\n transition: 0.3s;\n overflow: hidden;\n flex: 1;\n cursor: pointer;\n\n &:hover {\n color: var(--font-on-background);\n\n > div > span:first-of-type {\n color: var(--font-on-primary);\n background: var(--font-on-background);\n }\n }\n\n &.current,\n &.done {\n background: var(--color-primary);\n color: var(--font-on-primary);\n\n > div > span:first-of-type {\n color: var(--color-primary);\n background: var(--font-on-primary);\n }\n }\n\n &.current {\n background: var(--color-primary);\n color: var(--font-on-primary);\n border-radius: 0 var(--border-radius-l) var(--border-radius-l) 0;\n\n &:first-child {\n border-radius: var(--border-radius-l);\n }\n\n ", "\n }\n\n &.done {\n background: var(--color-primary);\n color: var(--font-on-primary);\n\n &:first-child {\n border-radius: var(--border-radius-l) 0 0 var(--border-radius-l);\n\n ", "\n }\n }\n"])), _media.default.mobile(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border-radius: 0 0 var(--border-radius) var(--border-radius);\n "]))), _media.default.mobile(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-radius: var(--border-radius) var(--border-radius) 0 0;\n "]))));
|
|
140
|
+
const NavTitle = _styledComponents.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n > span:first-of-type {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: var(--spacing-xs);\n color: var(--font-on-mute);\n flex: 0 0;\n flex-basis: 24px;\n width: 24px;\n height: 24px;\n border-radius: var(--border-radius-l);\n background: var(--font-on-mute);\n }\n\n > p {\n margin-right: auto;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n > span:last-of-type {\n display: none;\n\n &.arrow {\n display: flex;\n align-self: center;\n }\n\n ", "\n }\n"])), _media.default.mobile(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n transform: rotate(90deg);\n "]))));
|
|
141
|
+
const Step = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n display: none;\n\n &.active {\n display: block;\n }\n"])));
|
|
251
142
|
var _default = exports.default = Wizard;
|