@drivenets/design-system 0.12.0 → 0.12.1
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +418 -10
- package/dist/index.d.cts +102 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +102 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +418 -11
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/ds-catalog-layout/catalog-layout-empty-illustration.tsx +57 -0
- package/src/components/ds-catalog-layout/ds-catalog-layout.context.ts +19 -0
- package/src/components/ds-catalog-layout/ds-catalog-layout.module.scss +167 -0
- package/src/components/ds-catalog-layout/ds-catalog-layout.tsx +130 -0
- package/src/components/ds-catalog-layout/ds-catalog-layout.types.ts +62 -0
- package/src/components/ds-catalog-layout/index.ts +9 -0
- package/src/components/ds-smart-tabs/ds-smart-tabs.module.scss +1 -0
- package/src/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -3195,7 +3195,7 @@ const Title$2 = (t0) => {
|
|
|
3195
3195
|
} else t2 = $[5];
|
|
3196
3196
|
return t2;
|
|
3197
3197
|
};
|
|
3198
|
-
const Body$
|
|
3198
|
+
const Body$4 = (t0) => {
|
|
3199
3199
|
const $ = c(6);
|
|
3200
3200
|
const { style, className, children } = t0;
|
|
3201
3201
|
let t1;
|
|
@@ -3243,7 +3243,7 @@ const Actions$3 = (t0) => {
|
|
|
3243
3243
|
return t2;
|
|
3244
3244
|
};
|
|
3245
3245
|
DsAlertBanner.Title = Title$2;
|
|
3246
|
-
DsAlertBanner.Body = Body$
|
|
3246
|
+
DsAlertBanner.Body = Body$4;
|
|
3247
3247
|
DsAlertBanner.Actions = Actions$3;
|
|
3248
3248
|
//#endregion
|
|
3249
3249
|
//#region src/components/ds-alert-banner/ds-alert-banner.types.ts
|
|
@@ -4052,7 +4052,7 @@ const Trigger = Menu.Trigger;
|
|
|
4052
4052
|
/**
|
|
4053
4053
|
* Content component - wraps the dropdown content
|
|
4054
4054
|
*/
|
|
4055
|
-
const Content$
|
|
4055
|
+
const Content$2 = (t0) => {
|
|
4056
4056
|
const $ = c(9);
|
|
4057
4057
|
const { disablePortal: t1, children, className, style } = t0;
|
|
4058
4058
|
const Wrapper = (t1 === void 0 ? false : t1) ? Fragment$1 : Portal;
|
|
@@ -4157,7 +4157,7 @@ const ItemIndicator = (t0) => {
|
|
|
4157
4157
|
/**
|
|
4158
4158
|
* Header component - sticky header container for search, filters, or other controls
|
|
4159
4159
|
*/
|
|
4160
|
-
const Header$
|
|
4160
|
+
const Header$5 = (t0) => {
|
|
4161
4161
|
const $ = c(6);
|
|
4162
4162
|
const { children, className, style } = t0;
|
|
4163
4163
|
let t1;
|
|
@@ -4633,11 +4633,11 @@ const DsDropdownMenuLegacy = (t0) => {
|
|
|
4633
4633
|
const DsDropdownMenu = {
|
|
4634
4634
|
Root: Root$4,
|
|
4635
4635
|
Trigger,
|
|
4636
|
-
Content: Content$
|
|
4636
|
+
Content: Content$2,
|
|
4637
4637
|
Item: Item$2,
|
|
4638
4638
|
ItemIndicator,
|
|
4639
4639
|
TriggerItem,
|
|
4640
|
-
Header: Header$
|
|
4640
|
+
Header: Header$5,
|
|
4641
4641
|
Actions: Actions$2,
|
|
4642
4642
|
ItemGroup,
|
|
4643
4643
|
ItemGroupLabel,
|
|
@@ -5475,7 +5475,7 @@ const Root$3 = (t0) => {
|
|
|
5475
5475
|
* Use with DsCard.Title and DsCard.Extra for standard layout,
|
|
5476
5476
|
* or provide custom children for full flexibility.
|
|
5477
5477
|
*/
|
|
5478
|
-
const Header$
|
|
5478
|
+
const Header$4 = (t0) => {
|
|
5479
5479
|
const $ = c(12);
|
|
5480
5480
|
let children;
|
|
5481
5481
|
let className;
|
|
@@ -5519,7 +5519,7 @@ const Header$3 = (t0) => {
|
|
|
5519
5519
|
/**
|
|
5520
5520
|
* Card body - main content area.
|
|
5521
5521
|
*/
|
|
5522
|
-
const Body$
|
|
5522
|
+
const Body$3 = (t0) => {
|
|
5523
5523
|
const $ = c(12);
|
|
5524
5524
|
let children;
|
|
5525
5525
|
let className;
|
|
@@ -5606,8 +5606,8 @@ const Footer$3 = (t0) => {
|
|
|
5606
5606
|
};
|
|
5607
5607
|
const DsCard = {
|
|
5608
5608
|
Root: Root$3,
|
|
5609
|
-
Header: Header$
|
|
5610
|
-
Body: Body$
|
|
5609
|
+
Header: Header$4,
|
|
5610
|
+
Body: Body$3,
|
|
5611
5611
|
Footer: Footer$3
|
|
5612
5612
|
};
|
|
5613
5613
|
//#endregion
|
|
@@ -5618,6 +5618,413 @@ const cardSizes = [
|
|
|
5618
5618
|
"large"
|
|
5619
5619
|
];
|
|
5620
5620
|
//#endregion
|
|
5621
|
+
//#region src/components/ds-catalog-layout/ds-catalog-layout.module.scss
|
|
5622
|
+
var ds_catalog_layout_module_default = {
|
|
5623
|
+
"body": "ub6JXq_body",
|
|
5624
|
+
"content": "ub6JXq_content",
|
|
5625
|
+
"contentHeader": "ub6JXq_contentHeader",
|
|
5626
|
+
"contentHeaderActions": "ub6JXq_contentHeaderActions",
|
|
5627
|
+
"contentHeaderItem": "ub6JXq_contentHeaderItem",
|
|
5628
|
+
"contentHeaderTitle": "ub6JXq_contentHeaderTitle",
|
|
5629
|
+
"contentHeaderTitleRow": "ub6JXq_contentHeaderTitleRow",
|
|
5630
|
+
"contentWithSideMenu": "ub6JXq_contentWithSideMenu",
|
|
5631
|
+
"fillParent": "ub6JXq_fillParent",
|
|
5632
|
+
"header": "ub6JXq_header",
|
|
5633
|
+
"root": "ub6JXq_root",
|
|
5634
|
+
"sideMenu": "ub6JXq_sideMenu",
|
|
5635
|
+
"sideMenuPanel": "ub6JXq_sideMenuPanel",
|
|
5636
|
+
"sideMenuPinButton": "ub6JXq_sideMenuPinButton"
|
|
5637
|
+
};
|
|
5638
|
+
//#endregion
|
|
5639
|
+
//#region src/components/ds-catalog-layout/ds-catalog-layout.context.ts
|
|
5640
|
+
const DsCatalogLayoutContext = createContext(null);
|
|
5641
|
+
const useDsCatalogLayoutContext = () => {
|
|
5642
|
+
const context = useContext(DsCatalogLayoutContext);
|
|
5643
|
+
if (!context) throw new Error("DsCatalogLayout compound components must be used within DsCatalogLayout");
|
|
5644
|
+
return context;
|
|
5645
|
+
};
|
|
5646
|
+
//#endregion
|
|
5647
|
+
//#region src/components/ds-catalog-layout/ds-catalog-layout.tsx
|
|
5648
|
+
const DEFAULT_LOCALE = Object.freeze({
|
|
5649
|
+
pinButtonLabel: "Pin side menu",
|
|
5650
|
+
unpinButtonLabel: "Unpin side menu"
|
|
5651
|
+
});
|
|
5652
|
+
const DsCatalogLayout = (t0) => {
|
|
5653
|
+
const $ = c(17);
|
|
5654
|
+
let className;
|
|
5655
|
+
let rest;
|
|
5656
|
+
let t1;
|
|
5657
|
+
if ($[0] !== t0) {
|
|
5658
|
+
({className, fillParent: t1, ...rest} = t0);
|
|
5659
|
+
$[0] = t0;
|
|
5660
|
+
$[1] = className;
|
|
5661
|
+
$[2] = rest;
|
|
5662
|
+
$[3] = t1;
|
|
5663
|
+
} else {
|
|
5664
|
+
className = $[1];
|
|
5665
|
+
rest = $[2];
|
|
5666
|
+
t1 = $[3];
|
|
5667
|
+
}
|
|
5668
|
+
const fillParent = t1 === void 0 ? false : t1;
|
|
5669
|
+
const [hasSideMenu, setHasSideMenu] = useState(false);
|
|
5670
|
+
let t2;
|
|
5671
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
5672
|
+
t2 = () => setHasSideMenu(true);
|
|
5673
|
+
$[4] = t2;
|
|
5674
|
+
} else t2 = $[4];
|
|
5675
|
+
const registerSideMenu = t2;
|
|
5676
|
+
let t3;
|
|
5677
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
5678
|
+
t3 = () => setHasSideMenu(false);
|
|
5679
|
+
$[5] = t3;
|
|
5680
|
+
} else t3 = $[5];
|
|
5681
|
+
const unregisterSideMenu = t3;
|
|
5682
|
+
let t4;
|
|
5683
|
+
if ($[6] !== hasSideMenu) {
|
|
5684
|
+
t4 = {
|
|
5685
|
+
hasSideMenu,
|
|
5686
|
+
registerSideMenu,
|
|
5687
|
+
unregisterSideMenu
|
|
5688
|
+
};
|
|
5689
|
+
$[6] = hasSideMenu;
|
|
5690
|
+
$[7] = t4;
|
|
5691
|
+
} else t4 = $[7];
|
|
5692
|
+
const contextValue = t4;
|
|
5693
|
+
let t5;
|
|
5694
|
+
if ($[8] !== className || $[9] !== fillParent) {
|
|
5695
|
+
t5 = classNames(ds_catalog_layout_module_default.root, { [ds_catalog_layout_module_default.fillParent]: fillParent }, className);
|
|
5696
|
+
$[8] = className;
|
|
5697
|
+
$[9] = fillParent;
|
|
5698
|
+
$[10] = t5;
|
|
5699
|
+
} else t5 = $[10];
|
|
5700
|
+
let t6;
|
|
5701
|
+
if ($[11] !== rest || $[12] !== t5) {
|
|
5702
|
+
t6 = /* @__PURE__ */ jsx("div", {
|
|
5703
|
+
...rest,
|
|
5704
|
+
className: t5
|
|
5705
|
+
});
|
|
5706
|
+
$[11] = rest;
|
|
5707
|
+
$[12] = t5;
|
|
5708
|
+
$[13] = t6;
|
|
5709
|
+
} else t6 = $[13];
|
|
5710
|
+
let t7;
|
|
5711
|
+
if ($[14] !== contextValue || $[15] !== t6) {
|
|
5712
|
+
t7 = /* @__PURE__ */ jsx(DsCatalogLayoutContext.Provider, {
|
|
5713
|
+
value: contextValue,
|
|
5714
|
+
children: t6
|
|
5715
|
+
});
|
|
5716
|
+
$[14] = contextValue;
|
|
5717
|
+
$[15] = t6;
|
|
5718
|
+
$[16] = t7;
|
|
5719
|
+
} else t7 = $[16];
|
|
5720
|
+
return t7;
|
|
5721
|
+
};
|
|
5722
|
+
const Header$3 = (t0) => {
|
|
5723
|
+
const $ = c(8);
|
|
5724
|
+
let className;
|
|
5725
|
+
let rest;
|
|
5726
|
+
if ($[0] !== t0) {
|
|
5727
|
+
({className, ...rest} = t0);
|
|
5728
|
+
$[0] = t0;
|
|
5729
|
+
$[1] = className;
|
|
5730
|
+
$[2] = rest;
|
|
5731
|
+
} else {
|
|
5732
|
+
className = $[1];
|
|
5733
|
+
rest = $[2];
|
|
5734
|
+
}
|
|
5735
|
+
let t1;
|
|
5736
|
+
if ($[3] !== className) {
|
|
5737
|
+
t1 = classNames(ds_catalog_layout_module_default.header, className);
|
|
5738
|
+
$[3] = className;
|
|
5739
|
+
$[4] = t1;
|
|
5740
|
+
} else t1 = $[4];
|
|
5741
|
+
let t2;
|
|
5742
|
+
if ($[5] !== rest || $[6] !== t1) {
|
|
5743
|
+
t2 = /* @__PURE__ */ jsx("header", {
|
|
5744
|
+
...rest,
|
|
5745
|
+
className: t1
|
|
5746
|
+
});
|
|
5747
|
+
$[5] = rest;
|
|
5748
|
+
$[6] = t1;
|
|
5749
|
+
$[7] = t2;
|
|
5750
|
+
} else t2 = $[7];
|
|
5751
|
+
return t2;
|
|
5752
|
+
};
|
|
5753
|
+
const Body$2 = (t0) => {
|
|
5754
|
+
const $ = c(8);
|
|
5755
|
+
let className;
|
|
5756
|
+
let rest;
|
|
5757
|
+
if ($[0] !== t0) {
|
|
5758
|
+
({className, ...rest} = t0);
|
|
5759
|
+
$[0] = t0;
|
|
5760
|
+
$[1] = className;
|
|
5761
|
+
$[2] = rest;
|
|
5762
|
+
} else {
|
|
5763
|
+
className = $[1];
|
|
5764
|
+
rest = $[2];
|
|
5765
|
+
}
|
|
5766
|
+
let t1;
|
|
5767
|
+
if ($[3] !== className) {
|
|
5768
|
+
t1 = classNames(ds_catalog_layout_module_default.body, className);
|
|
5769
|
+
$[3] = className;
|
|
5770
|
+
$[4] = t1;
|
|
5771
|
+
} else t1 = $[4];
|
|
5772
|
+
let t2;
|
|
5773
|
+
if ($[5] !== rest || $[6] !== t1) {
|
|
5774
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
5775
|
+
...rest,
|
|
5776
|
+
className: t1
|
|
5777
|
+
});
|
|
5778
|
+
$[5] = rest;
|
|
5779
|
+
$[6] = t1;
|
|
5780
|
+
$[7] = t2;
|
|
5781
|
+
} else t2 = $[7];
|
|
5782
|
+
return t2;
|
|
5783
|
+
};
|
|
5784
|
+
const SideMenu = (t0) => {
|
|
5785
|
+
const $ = c(32);
|
|
5786
|
+
let children;
|
|
5787
|
+
let className;
|
|
5788
|
+
let locale;
|
|
5789
|
+
let onPinnedChange;
|
|
5790
|
+
let rest;
|
|
5791
|
+
let t1;
|
|
5792
|
+
if ($[0] !== t0) {
|
|
5793
|
+
({className, pinned: t1, onPinnedChange, locale, children, ...rest} = t0);
|
|
5794
|
+
$[0] = t0;
|
|
5795
|
+
$[1] = children;
|
|
5796
|
+
$[2] = className;
|
|
5797
|
+
$[3] = locale;
|
|
5798
|
+
$[4] = onPinnedChange;
|
|
5799
|
+
$[5] = rest;
|
|
5800
|
+
$[6] = t1;
|
|
5801
|
+
} else {
|
|
5802
|
+
children = $[1];
|
|
5803
|
+
className = $[2];
|
|
5804
|
+
locale = $[3];
|
|
5805
|
+
onPinnedChange = $[4];
|
|
5806
|
+
rest = $[5];
|
|
5807
|
+
t1 = $[6];
|
|
5808
|
+
}
|
|
5809
|
+
const pinned = t1 === void 0 ? false : t1;
|
|
5810
|
+
const { registerSideMenu, unregisterSideMenu } = useDsCatalogLayoutContext();
|
|
5811
|
+
const [isHovering, setIsHovering] = useState(false);
|
|
5812
|
+
let t2;
|
|
5813
|
+
let t3;
|
|
5814
|
+
if ($[7] !== registerSideMenu || $[8] !== unregisterSideMenu) {
|
|
5815
|
+
t2 = () => {
|
|
5816
|
+
registerSideMenu();
|
|
5817
|
+
return unregisterSideMenu;
|
|
5818
|
+
};
|
|
5819
|
+
t3 = [registerSideMenu, unregisterSideMenu];
|
|
5820
|
+
$[7] = registerSideMenu;
|
|
5821
|
+
$[8] = unregisterSideMenu;
|
|
5822
|
+
$[9] = t2;
|
|
5823
|
+
$[10] = t3;
|
|
5824
|
+
} else {
|
|
5825
|
+
t2 = $[9];
|
|
5826
|
+
t3 = $[10];
|
|
5827
|
+
}
|
|
5828
|
+
useEffect(t2, t3);
|
|
5829
|
+
const isExpanded = pinned || isHovering;
|
|
5830
|
+
const ariaLabel = pinned ? locale?.unpinButtonLabel ?? DEFAULT_LOCALE.unpinButtonLabel : locale?.pinButtonLabel ?? DEFAULT_LOCALE.pinButtonLabel;
|
|
5831
|
+
let t4;
|
|
5832
|
+
if ($[11] !== className) {
|
|
5833
|
+
t4 = classNames(ds_catalog_layout_module_default.sideMenu, className);
|
|
5834
|
+
$[11] = className;
|
|
5835
|
+
$[12] = t4;
|
|
5836
|
+
} else t4 = $[12];
|
|
5837
|
+
let t5;
|
|
5838
|
+
if ($[13] !== pinned) {
|
|
5839
|
+
t5 = pinned ? { "data-pinned": "" } : {};
|
|
5840
|
+
$[13] = pinned;
|
|
5841
|
+
$[14] = t5;
|
|
5842
|
+
} else t5 = $[14];
|
|
5843
|
+
let t6;
|
|
5844
|
+
if ($[15] !== isExpanded) {
|
|
5845
|
+
t6 = isExpanded ? { "data-expanded": "" } : {};
|
|
5846
|
+
$[15] = isExpanded;
|
|
5847
|
+
$[16] = t6;
|
|
5848
|
+
} else t6 = $[16];
|
|
5849
|
+
let t7;
|
|
5850
|
+
let t8;
|
|
5851
|
+
if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
5852
|
+
t7 = () => setIsHovering(true);
|
|
5853
|
+
t8 = () => setIsHovering(false);
|
|
5854
|
+
$[17] = t7;
|
|
5855
|
+
$[18] = t8;
|
|
5856
|
+
} else {
|
|
5857
|
+
t7 = $[17];
|
|
5858
|
+
t8 = $[18];
|
|
5859
|
+
}
|
|
5860
|
+
let t9;
|
|
5861
|
+
if ($[19] !== ariaLabel || $[20] !== onPinnedChange || $[21] !== pinned) {
|
|
5862
|
+
t9 = onPinnedChange ? /* @__PURE__ */ jsx("button", {
|
|
5863
|
+
type: "button",
|
|
5864
|
+
className: ds_catalog_layout_module_default.sideMenuPinButton,
|
|
5865
|
+
onClick: () => onPinnedChange(!pinned),
|
|
5866
|
+
"aria-label": ariaLabel,
|
|
5867
|
+
"aria-pressed": pinned,
|
|
5868
|
+
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
5869
|
+
icon: "keep",
|
|
5870
|
+
size: "small",
|
|
5871
|
+
filled: pinned
|
|
5872
|
+
})
|
|
5873
|
+
}) : null;
|
|
5874
|
+
$[19] = ariaLabel;
|
|
5875
|
+
$[20] = onPinnedChange;
|
|
5876
|
+
$[21] = pinned;
|
|
5877
|
+
$[22] = t9;
|
|
5878
|
+
} else t9 = $[22];
|
|
5879
|
+
let t10;
|
|
5880
|
+
if ($[23] !== children || $[24] !== t9) {
|
|
5881
|
+
t10 = /* @__PURE__ */ jsxs("div", {
|
|
5882
|
+
className: ds_catalog_layout_module_default.sideMenuPanel,
|
|
5883
|
+
onMouseEnter: t7,
|
|
5884
|
+
onMouseLeave: t8,
|
|
5885
|
+
children: [t9, children]
|
|
5886
|
+
});
|
|
5887
|
+
$[23] = children;
|
|
5888
|
+
$[24] = t9;
|
|
5889
|
+
$[25] = t10;
|
|
5890
|
+
} else t10 = $[25];
|
|
5891
|
+
let t11;
|
|
5892
|
+
if ($[26] !== rest || $[27] !== t10 || $[28] !== t4 || $[29] !== t5 || $[30] !== t6) {
|
|
5893
|
+
t11 = /* @__PURE__ */ jsx("aside", {
|
|
5894
|
+
...rest,
|
|
5895
|
+
className: t4,
|
|
5896
|
+
...t5,
|
|
5897
|
+
...t6,
|
|
5898
|
+
children: t10
|
|
5899
|
+
});
|
|
5900
|
+
$[26] = rest;
|
|
5901
|
+
$[27] = t10;
|
|
5902
|
+
$[28] = t4;
|
|
5903
|
+
$[29] = t5;
|
|
5904
|
+
$[30] = t6;
|
|
5905
|
+
$[31] = t11;
|
|
5906
|
+
} else t11 = $[31];
|
|
5907
|
+
return t11;
|
|
5908
|
+
};
|
|
5909
|
+
const Content$1 = (t0) => {
|
|
5910
|
+
const $ = c(9);
|
|
5911
|
+
let className;
|
|
5912
|
+
let rest;
|
|
5913
|
+
if ($[0] !== t0) {
|
|
5914
|
+
({className, ...rest} = t0);
|
|
5915
|
+
$[0] = t0;
|
|
5916
|
+
$[1] = className;
|
|
5917
|
+
$[2] = rest;
|
|
5918
|
+
} else {
|
|
5919
|
+
className = $[1];
|
|
5920
|
+
rest = $[2];
|
|
5921
|
+
}
|
|
5922
|
+
const { hasSideMenu } = useDsCatalogLayoutContext();
|
|
5923
|
+
let t1;
|
|
5924
|
+
if ($[3] !== className || $[4] !== hasSideMenu) {
|
|
5925
|
+
t1 = classNames(ds_catalog_layout_module_default.content, { [ds_catalog_layout_module_default.contentWithSideMenu]: hasSideMenu }, className);
|
|
5926
|
+
$[3] = className;
|
|
5927
|
+
$[4] = hasSideMenu;
|
|
5928
|
+
$[5] = t1;
|
|
5929
|
+
} else t1 = $[5];
|
|
5930
|
+
let t2;
|
|
5931
|
+
if ($[6] !== rest || $[7] !== t1) {
|
|
5932
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
5933
|
+
...rest,
|
|
5934
|
+
className: t1
|
|
5935
|
+
});
|
|
5936
|
+
$[6] = rest;
|
|
5937
|
+
$[7] = t1;
|
|
5938
|
+
$[8] = t2;
|
|
5939
|
+
} else t2 = $[8];
|
|
5940
|
+
return t2;
|
|
5941
|
+
};
|
|
5942
|
+
const ContentHeader = (t0) => {
|
|
5943
|
+
const $ = c(22);
|
|
5944
|
+
let children;
|
|
5945
|
+
let className;
|
|
5946
|
+
let headerActions;
|
|
5947
|
+
let rest;
|
|
5948
|
+
let title;
|
|
5949
|
+
if ($[0] !== t0) {
|
|
5950
|
+
({className, title, headerActions, children, ...rest} = t0);
|
|
5951
|
+
$[0] = t0;
|
|
5952
|
+
$[1] = children;
|
|
5953
|
+
$[2] = className;
|
|
5954
|
+
$[3] = headerActions;
|
|
5955
|
+
$[4] = rest;
|
|
5956
|
+
$[5] = title;
|
|
5957
|
+
} else {
|
|
5958
|
+
children = $[1];
|
|
5959
|
+
className = $[2];
|
|
5960
|
+
headerActions = $[3];
|
|
5961
|
+
rest = $[4];
|
|
5962
|
+
title = $[5];
|
|
5963
|
+
}
|
|
5964
|
+
let t1;
|
|
5965
|
+
if ($[6] !== className) {
|
|
5966
|
+
t1 = classNames(ds_catalog_layout_module_default.contentHeader, className);
|
|
5967
|
+
$[6] = className;
|
|
5968
|
+
$[7] = t1;
|
|
5969
|
+
} else t1 = $[7];
|
|
5970
|
+
let t2;
|
|
5971
|
+
if ($[8] !== title) {
|
|
5972
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
5973
|
+
className: ds_catalog_layout_module_default.contentHeaderTitle,
|
|
5974
|
+
children: title
|
|
5975
|
+
});
|
|
5976
|
+
$[8] = title;
|
|
5977
|
+
$[9] = t2;
|
|
5978
|
+
} else t2 = $[9];
|
|
5979
|
+
let t3;
|
|
5980
|
+
if ($[10] !== headerActions) {
|
|
5981
|
+
t3 = headerActions ? /* @__PURE__ */ jsx("div", {
|
|
5982
|
+
className: ds_catalog_layout_module_default.contentHeaderActions,
|
|
5983
|
+
children: headerActions
|
|
5984
|
+
}) : null;
|
|
5985
|
+
$[10] = headerActions;
|
|
5986
|
+
$[11] = t3;
|
|
5987
|
+
} else t3 = $[11];
|
|
5988
|
+
let t4;
|
|
5989
|
+
if ($[12] !== t2 || $[13] !== t3) {
|
|
5990
|
+
t4 = /* @__PURE__ */ jsxs("div", {
|
|
5991
|
+
className: ds_catalog_layout_module_default.contentHeaderTitleRow,
|
|
5992
|
+
children: [t2, t3]
|
|
5993
|
+
});
|
|
5994
|
+
$[12] = t2;
|
|
5995
|
+
$[13] = t3;
|
|
5996
|
+
$[14] = t4;
|
|
5997
|
+
} else t4 = $[14];
|
|
5998
|
+
let t5;
|
|
5999
|
+
if ($[15] !== children) {
|
|
6000
|
+
t5 = children ? /* @__PURE__ */ jsx("div", {
|
|
6001
|
+
className: ds_catalog_layout_module_default.contentHeaderItem,
|
|
6002
|
+
children
|
|
6003
|
+
}) : null;
|
|
6004
|
+
$[15] = children;
|
|
6005
|
+
$[16] = t5;
|
|
6006
|
+
} else t5 = $[16];
|
|
6007
|
+
let t6;
|
|
6008
|
+
if ($[17] !== rest || $[18] !== t1 || $[19] !== t4 || $[20] !== t5) {
|
|
6009
|
+
t6 = /* @__PURE__ */ jsxs("div", {
|
|
6010
|
+
...rest,
|
|
6011
|
+
className: t1,
|
|
6012
|
+
children: [t4, t5]
|
|
6013
|
+
});
|
|
6014
|
+
$[17] = rest;
|
|
6015
|
+
$[18] = t1;
|
|
6016
|
+
$[19] = t4;
|
|
6017
|
+
$[20] = t5;
|
|
6018
|
+
$[21] = t6;
|
|
6019
|
+
} else t6 = $[21];
|
|
6020
|
+
return t6;
|
|
6021
|
+
};
|
|
6022
|
+
DsCatalogLayout.Header = Header$3;
|
|
6023
|
+
DsCatalogLayout.Body = Body$2;
|
|
6024
|
+
DsCatalogLayout.SideMenu = SideMenu;
|
|
6025
|
+
DsCatalogLayout.Content = Content$1;
|
|
6026
|
+
DsCatalogLayout.ContentHeader = ContentHeader;
|
|
6027
|
+
//#endregion
|
|
5621
6028
|
//#region src/components/ds-checkbox/ds-checkbox.module.scss
|
|
5622
6029
|
var ds_checkbox_module_default = {
|
|
5623
6030
|
"control": "-9VV7a_control",
|
|
@@ -20171,6 +20578,6 @@ DsWorkspace.SubHeader = SubHeader;
|
|
|
20171
20578
|
DsWorkspace.Content = Content;
|
|
20172
20579
|
DsWorkspace.Footer = Footer;
|
|
20173
20580
|
//#endregion
|
|
20174
|
-
export { BREAKPOINT_LG, DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsButtonV3, DsCard, DsCheckbox, DsCheckboxGroup, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDatePicker, DsDateRangePicker, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsKeyValuePair, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, ds_skeleton_default as DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsSplitButton, DsStack, DsStatusBadge, DsStatusBadgeV2, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsTimePicker, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsVerticalTabs, DsWorkspace, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dropdownMenuItemVariants, dsKeyValuePairOrientations, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, statusBadgeV2Phases, statusBadgeV2Sizes, statusBadgeV2Variants, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
20581
|
+
export { BREAKPOINT_LG, DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsButtonV3, DsCard, DsCatalogLayout, DsCheckbox, DsCheckboxGroup, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDatePicker, DsDateRangePicker, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsKeyValuePair, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, ds_skeleton_default as DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsSplitButton, DsStack, DsStatusBadge, DsStatusBadgeV2, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsTimePicker, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsVerticalTabs, DsWorkspace, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dropdownMenuItemVariants, dsKeyValuePairOrientations, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, statusBadgeV2Phases, statusBadgeV2Sizes, statusBadgeV2Variants, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
20175
20582
|
|
|
20176
20583
|
//# sourceMappingURL=index.js.map
|