@baloise/ds-react 16.0.3-nightly.20240417 → 16.1.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.
- package/index.cjs.js +20 -12
- package/index.esm.js +18 -13
- package/package.json +2 -2
- package/src/generated/proxies.d.ts +3 -0
package/index.cjs.js
CHANGED
|
@@ -12,6 +12,17 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
|
|
15
|
+
function _extends() {
|
|
16
|
+
_extends = Object.assign || function assign(target) {
|
|
17
|
+
for(var i = 1; i < arguments.length; i++){
|
|
18
|
+
var source = arguments[i];
|
|
19
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
20
|
+
}
|
|
21
|
+
return target;
|
|
22
|
+
};
|
|
23
|
+
return _extends.apply(this, arguments);
|
|
24
|
+
}
|
|
25
|
+
|
|
15
26
|
function _defineProperties(target, props) {
|
|
16
27
|
for(var i = 0; i < props.length; i++){
|
|
17
28
|
var descriptor = props[i];
|
|
@@ -27,17 +38,6 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
27
38
|
return Constructor;
|
|
28
39
|
}
|
|
29
40
|
|
|
30
|
-
function _extends() {
|
|
31
|
-
_extends = Object.assign || function assign(target) {
|
|
32
|
-
for(var i = 1; i < arguments.length; i++){
|
|
33
|
-
var source = arguments[i];
|
|
34
|
-
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
35
|
-
}
|
|
36
|
-
return target;
|
|
37
|
-
};
|
|
38
|
-
return _extends.apply(this, arguments);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
41
|
function _set_prototype_of(o, p) {
|
|
42
42
|
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
43
43
|
o.__proto__ = p;
|
|
@@ -330,6 +330,7 @@ var BalDateCalendar = /*@__PURE__*/ createReactComponent("bal-date-calendar");
|
|
|
330
330
|
var BalDateCalendarCell = /*@__PURE__*/ createReactComponent("bal-date-calendar-cell");
|
|
331
331
|
var BalDatepicker = /*@__PURE__*/ createReactComponent("bal-datepicker");
|
|
332
332
|
var BalDivider = /*@__PURE__*/ createReactComponent("bal-divider");
|
|
333
|
+
var BalDropdown = /*@__PURE__*/ createReactComponent("bal-dropdown");
|
|
333
334
|
var BalField = /*@__PURE__*/ createReactComponent("bal-field");
|
|
334
335
|
var BalFieldControl = /*@__PURE__*/ createReactComponent("bal-field-control");
|
|
335
336
|
var BalFieldHint = /*@__PURE__*/ createReactComponent("bal-field-hint");
|
|
@@ -379,6 +380,8 @@ var BalNavbarMenuStart = /*@__PURE__*/ createReactComponent("bal-navbar-menu-sta
|
|
|
379
380
|
var BalNotices = /*@__PURE__*/ createReactComponent("bal-notices");
|
|
380
381
|
var BalNotification = /*@__PURE__*/ createReactComponent("bal-notification");
|
|
381
382
|
var BalNumberInput = /*@__PURE__*/ createReactComponent("bal-number-input");
|
|
383
|
+
var BalOption = /*@__PURE__*/ createReactComponent("bal-option");
|
|
384
|
+
var BalOptionList = /*@__PURE__*/ createReactComponent("bal-option-list");
|
|
382
385
|
var BalPagination = /*@__PURE__*/ createReactComponent("bal-pagination");
|
|
383
386
|
var BalPopover = /*@__PURE__*/ createReactComponent("bal-popover");
|
|
384
387
|
var BalPopoverContent = /*@__PURE__*/ createReactComponent("bal-popover-content");
|
|
@@ -415,7 +418,9 @@ var BalTooltip = /*@__PURE__*/ createReactComponent("bal-tooltip");
|
|
|
415
418
|
|
|
416
419
|
var useBaloiseDesignSystem = function(config) {
|
|
417
420
|
if (config === void 0) config = {};
|
|
418
|
-
dsCore.initialize(config.defaults
|
|
421
|
+
dsCore.initialize(_extends({}, config.defaults, {
|
|
422
|
+
httpFormSubmit: false
|
|
423
|
+
}));
|
|
419
424
|
};
|
|
420
425
|
|
|
421
426
|
exports.BalAccordion = BalAccordion;
|
|
@@ -448,6 +453,7 @@ exports.BalDateCalendar = BalDateCalendar;
|
|
|
448
453
|
exports.BalDateCalendarCell = BalDateCalendarCell;
|
|
449
454
|
exports.BalDatepicker = BalDatepicker;
|
|
450
455
|
exports.BalDivider = BalDivider;
|
|
456
|
+
exports.BalDropdown = BalDropdown;
|
|
451
457
|
exports.BalField = BalField;
|
|
452
458
|
exports.BalFieldControl = BalFieldControl;
|
|
453
459
|
exports.BalFieldHint = BalFieldHint;
|
|
@@ -497,6 +503,8 @@ exports.BalNavbarMenuStart = BalNavbarMenuStart;
|
|
|
497
503
|
exports.BalNotices = BalNotices;
|
|
498
504
|
exports.BalNotification = BalNotification;
|
|
499
505
|
exports.BalNumberInput = BalNumberInput;
|
|
506
|
+
exports.BalOption = BalOption;
|
|
507
|
+
exports.BalOptionList = BalOptionList;
|
|
500
508
|
exports.BalPagination = BalPagination;
|
|
501
509
|
exports.BalPopover = BalPopover;
|
|
502
510
|
exports.BalPopoverContent = BalPopoverContent;
|
package/index.esm.js
CHANGED
|
@@ -4,6 +4,17 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import { defineCustomElements } from '@baloise/ds-core/loader';
|
|
6
6
|
|
|
7
|
+
function _extends() {
|
|
8
|
+
_extends = Object.assign || function assign(target) {
|
|
9
|
+
for(var i = 1; i < arguments.length; i++){
|
|
10
|
+
var source = arguments[i];
|
|
11
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
return _extends.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
|
|
7
18
|
function _defineProperties(target, props) {
|
|
8
19
|
for(var i = 0; i < props.length; i++){
|
|
9
20
|
var descriptor = props[i];
|
|
@@ -19,17 +30,6 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
19
30
|
return Constructor;
|
|
20
31
|
}
|
|
21
32
|
|
|
22
|
-
function _extends() {
|
|
23
|
-
_extends = Object.assign || function assign(target) {
|
|
24
|
-
for(var i = 1; i < arguments.length; i++){
|
|
25
|
-
var source = arguments[i];
|
|
26
|
-
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
27
|
-
}
|
|
28
|
-
return target;
|
|
29
|
-
};
|
|
30
|
-
return _extends.apply(this, arguments);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
33
|
function _set_prototype_of(o, p) {
|
|
34
34
|
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
35
35
|
o.__proto__ = p;
|
|
@@ -322,6 +322,7 @@ var BalDateCalendar = /*@__PURE__*/ createReactComponent("bal-date-calendar");
|
|
|
322
322
|
var BalDateCalendarCell = /*@__PURE__*/ createReactComponent("bal-date-calendar-cell");
|
|
323
323
|
var BalDatepicker = /*@__PURE__*/ createReactComponent("bal-datepicker");
|
|
324
324
|
var BalDivider = /*@__PURE__*/ createReactComponent("bal-divider");
|
|
325
|
+
var BalDropdown = /*@__PURE__*/ createReactComponent("bal-dropdown");
|
|
325
326
|
var BalField = /*@__PURE__*/ createReactComponent("bal-field");
|
|
326
327
|
var BalFieldControl = /*@__PURE__*/ createReactComponent("bal-field-control");
|
|
327
328
|
var BalFieldHint = /*@__PURE__*/ createReactComponent("bal-field-hint");
|
|
@@ -371,6 +372,8 @@ var BalNavbarMenuStart = /*@__PURE__*/ createReactComponent("bal-navbar-menu-sta
|
|
|
371
372
|
var BalNotices = /*@__PURE__*/ createReactComponent("bal-notices");
|
|
372
373
|
var BalNotification = /*@__PURE__*/ createReactComponent("bal-notification");
|
|
373
374
|
var BalNumberInput = /*@__PURE__*/ createReactComponent("bal-number-input");
|
|
375
|
+
var BalOption = /*@__PURE__*/ createReactComponent("bal-option");
|
|
376
|
+
var BalOptionList = /*@__PURE__*/ createReactComponent("bal-option-list");
|
|
374
377
|
var BalPagination = /*@__PURE__*/ createReactComponent("bal-pagination");
|
|
375
378
|
var BalPopover = /*@__PURE__*/ createReactComponent("bal-popover");
|
|
376
379
|
var BalPopoverContent = /*@__PURE__*/ createReactComponent("bal-popover-content");
|
|
@@ -407,7 +410,9 @@ var BalTooltip = /*@__PURE__*/ createReactComponent("bal-tooltip");
|
|
|
407
410
|
|
|
408
411
|
var useBaloiseDesignSystem = function(config) {
|
|
409
412
|
if (config === void 0) config = {};
|
|
410
|
-
initialize(config.defaults
|
|
413
|
+
initialize(_extends({}, config.defaults, {
|
|
414
|
+
httpFormSubmit: false
|
|
415
|
+
}));
|
|
411
416
|
};
|
|
412
417
|
|
|
413
|
-
export { BalAccordion, BalAccordionDetails, BalAccordionSummary, BalAccordionTrigger, BalApp, BalBadge, BalButton, BalButtonGroup, BalCard, BalCardActions, BalCardButton, BalCardContent, BalCardSubtitle, BalCardTitle, BalCarousel, BalCarouselItem, BalCheckbox, BalCheckboxButton, BalCheckboxGroup, BalClose, BalContent, BalData, BalDataItem, BalDataLabel, BalDataValue, BalDate, BalDateCalendar, BalDateCalendarCell, BalDatepicker, BalDivider, BalField, BalFieldControl, BalFieldHint, BalFieldLabel, BalFieldMessage, BalFileUpload, BalFooter, BalForm, BalFormCol, BalFormGrid, BalHeading, BalHint, BalHintText, BalHintTitle, BalIcon, BalInput, BalInputDate, BalInputGroup, BalInputSlider, BalInputStepper, BalLabel, BalList, BalListItem, BalListItemAccordionBody, BalListItemAccordionHead, BalListItemContent, BalListItemIcon, BalListItemSubtitle, BalListItemTitle, BalLogo, BalModal, BalModalBody, BalModalHeader, BalNav, BalNavLink, BalNavLinkGrid, BalNavLinkGridCol, BalNavLinkGroup, BalNavMenuBar, BalNavMenuFlyout, BalNavMetaBar, BalNavbar, BalNavbarBrand, BalNavbarMenu, BalNavbarMenuEnd, BalNavbarMenuStart, BalNotices, BalNotification, BalNumberInput, BalPagination, BalPopover, BalPopoverContent, BalPopup, BalProgressBar, BalRadio, BalRadioButton, BalRadioGroup, BalSelect, BalSelectOption, BalShape, BalSheet, BalSnackbar, BalSpinner, BalStack, BalStage, BalStageBackLink, BalStageBody, BalStageFoot, BalStageHead, BalStageImage, BalStepItem, BalSteps, BalTabItem, BalTable, BalTabs, BalTag, BalTagGroup, BalText, BalTextarea, BalTimeInput, BalToast, BalTooltip, useBaloiseDesignSystem };
|
|
418
|
+
export { BalAccordion, BalAccordionDetails, BalAccordionSummary, BalAccordionTrigger, BalApp, BalBadge, BalButton, BalButtonGroup, BalCard, BalCardActions, BalCardButton, BalCardContent, BalCardSubtitle, BalCardTitle, BalCarousel, BalCarouselItem, BalCheckbox, BalCheckboxButton, BalCheckboxGroup, BalClose, BalContent, BalData, BalDataItem, BalDataLabel, BalDataValue, BalDate, BalDateCalendar, BalDateCalendarCell, BalDatepicker, BalDivider, BalDropdown, BalField, BalFieldControl, BalFieldHint, BalFieldLabel, BalFieldMessage, BalFileUpload, BalFooter, BalForm, BalFormCol, BalFormGrid, BalHeading, BalHint, BalHintText, BalHintTitle, BalIcon, BalInput, BalInputDate, BalInputGroup, BalInputSlider, BalInputStepper, BalLabel, BalList, BalListItem, BalListItemAccordionBody, BalListItemAccordionHead, BalListItemContent, BalListItemIcon, BalListItemSubtitle, BalListItemTitle, BalLogo, BalModal, BalModalBody, BalModalHeader, BalNav, BalNavLink, BalNavLinkGrid, BalNavLinkGridCol, BalNavLinkGroup, BalNavMenuBar, BalNavMenuFlyout, BalNavMetaBar, BalNavbar, BalNavbarBrand, BalNavbarMenu, BalNavbarMenuEnd, BalNavbarMenuStart, BalNotices, BalNotification, BalNumberInput, BalOption, BalOptionList, BalPagination, BalPopover, BalPopoverContent, BalPopup, BalProgressBar, BalRadio, BalRadioButton, BalRadioGroup, BalSelect, BalSelectOption, BalShape, BalSheet, BalSnackbar, BalSpinner, BalStack, BalStage, BalStageBackLink, BalStageBody, BalStageFoot, BalStageHead, BalStageImage, BalStepItem, BalSteps, BalTabItem, BalTable, BalTabs, BalTag, BalTagGroup, BalText, BalTextarea, BalTimeInput, BalToast, BalTooltip, useBaloiseDesignSystem };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baloise/ds-react",
|
|
3
|
-
"version": "16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"homepage": "https://design.baloise.dev",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@baloise/ds-core": "16.0
|
|
15
|
+
"@baloise/ds-core": "16.1.0"
|
|
16
16
|
},
|
|
17
17
|
"module": "./index.esm.js",
|
|
18
18
|
"main": "./index.cjs.js"
|
|
@@ -29,6 +29,7 @@ export declare const BalDateCalendar: import("react").ForwardRefExoticComponent<
|
|
|
29
29
|
export declare const BalDateCalendarCell: import("react").ForwardRefExoticComponent<JSX.BalDateCalendarCell & Omit<import("react").HTMLAttributes<HTMLBalDateCalendarCellElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalDateCalendarCellElement>>;
|
|
30
30
|
export declare const BalDatepicker: import("react").ForwardRefExoticComponent<JSX.BalDatepicker & Omit<import("react").HTMLAttributes<HTMLBalDatepickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalDatepickerElement>>;
|
|
31
31
|
export declare const BalDivider: import("react").ForwardRefExoticComponent<JSX.BalDivider & Omit<import("react").HTMLAttributes<HTMLBalDividerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalDividerElement>>;
|
|
32
|
+
export declare const BalDropdown: import("react").ForwardRefExoticComponent<JSX.BalDropdown & Omit<import("react").HTMLAttributes<HTMLBalDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalDropdownElement>>;
|
|
32
33
|
export declare const BalField: import("react").ForwardRefExoticComponent<JSX.BalField & Omit<import("react").HTMLAttributes<HTMLBalFieldElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalFieldElement>>;
|
|
33
34
|
export declare const BalFieldControl: import("react").ForwardRefExoticComponent<JSX.BalFieldControl & Omit<import("react").HTMLAttributes<HTMLBalFieldControlElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalFieldControlElement>>;
|
|
34
35
|
export declare const BalFieldHint: import("react").ForwardRefExoticComponent<JSX.BalFieldHint & Omit<import("react").HTMLAttributes<HTMLBalFieldHintElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalFieldHintElement>>;
|
|
@@ -78,6 +79,8 @@ export declare const BalNavbarMenuStart: import("react").ForwardRefExoticCompone
|
|
|
78
79
|
export declare const BalNotices: import("react").ForwardRefExoticComponent<JSX.BalNotices & Omit<import("react").HTMLAttributes<HTMLBalNoticesElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalNoticesElement>>;
|
|
79
80
|
export declare const BalNotification: import("react").ForwardRefExoticComponent<JSX.BalNotification & Omit<import("react").HTMLAttributes<HTMLBalNotificationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalNotificationElement>>;
|
|
80
81
|
export declare const BalNumberInput: import("react").ForwardRefExoticComponent<JSX.BalNumberInput & Omit<import("react").HTMLAttributes<HTMLBalNumberInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalNumberInputElement>>;
|
|
82
|
+
export declare const BalOption: import("react").ForwardRefExoticComponent<JSX.BalOption & Omit<import("react").HTMLAttributes<HTMLBalOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalOptionElement>>;
|
|
83
|
+
export declare const BalOptionList: import("react").ForwardRefExoticComponent<JSX.BalOptionList & Omit<import("react").HTMLAttributes<HTMLBalOptionListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalOptionListElement>>;
|
|
81
84
|
export declare const BalPagination: import("react").ForwardRefExoticComponent<JSX.BalPagination & Omit<import("react").HTMLAttributes<HTMLBalPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalPaginationElement>>;
|
|
82
85
|
export declare const BalPopover: import("react").ForwardRefExoticComponent<JSX.BalPopover & Omit<import("react").HTMLAttributes<HTMLBalPopoverElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalPopoverElement>>;
|
|
83
86
|
export declare const BalPopoverContent: import("react").ForwardRefExoticComponent<JSX.BalPopoverContent & Omit<import("react").HTMLAttributes<HTMLBalPopoverContentElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBalPopoverContentElement>>;
|