@kosdev-code/kos-ddk-components 0.1.0-dev.20 → 0.1.0-dev.21
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/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/components/info-message/index.d.ts +2 -0
- package/components/info-message/index.d.ts.map +1 -0
- package/components/info-message/info-message.d.ts +8 -0
- package/components/info-message/info-message.d.ts.map +1 -0
- package/components/modal/index.d.ts +1 -0
- package/components/modal/index.d.ts.map +1 -1
- package/components/modal/modal-container/index.d.ts +2 -0
- package/components/modal/modal-container/index.d.ts.map +1 -0
- package/components/modal/modal-container/modal-container.d.ts +5 -0
- package/components/modal/modal-container/modal-container.d.ts.map +1 -0
- package/components/workflow-modal/workflow-modal.d.ts.map +1 -1
- package/index.cjs +66 -20
- package/index.cjs.map +1 -1
- package/index.js +66 -20
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/styles/typography/typography.d.ts +4 -0
- package/styles/typography/typography.d.ts.map +1 -1
package/components/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './fuel-gauge';
|
|
|
13
13
|
export * from './full-screen-modal';
|
|
14
14
|
export * from './grid';
|
|
15
15
|
export * from './info-card';
|
|
16
|
+
export * from './info-message';
|
|
16
17
|
export * from './info-table';
|
|
17
18
|
export * from './input-card';
|
|
18
19
|
export * from './input-range-with-unit-card';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/kos-ddk-components/src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/kos-ddk-components/src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-components/src/components/info-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CardProps } from '../../styles';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
interface InfoProp extends CardProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const InfoMessage: ({ children, ...props }: InfoProp) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=info-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-message.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-components/src/components/info-message/info-message.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyBvC,UAAU,QAAS,SAAQ,SAAS;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,GAAI,wBAAwB,QAAQ,qDAS3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-components/src/components/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-components/src/components/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ddk-components/src/components/modal/modal-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ModalContainer: import('@emotion/styled').StyledComponent<{
|
|
2
|
+
theme?: import('@emotion/react').Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
//# sourceMappingURL=modal-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ddk-components/src/components/modal/modal-container/modal-container.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;yGAO1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-modal.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-components/src/components/workflow-modal/workflow-modal.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,
|
|
1
|
+
{"version":3,"file":"workflow-modal.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-components/src/components/workflow-modal/workflow-modal.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAML,KAAK,UAAU,EAChB,MAAM,UAAU,CAAC;AAalB,MAAM,MAAM,MAAM,GACd,OAAO,GACP,qBAAqB,GACrB,aAAa,GACb,SAAS,GACT,kBAAkB,GAClB,UAAU,GACV,SAAS,CAAC;AA6Cd,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC;IACtE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,aAAa,GAAI,+GAW3B,kBAAkB,qDAiCpB,CAAC"}
|
package/index.cjs
CHANGED
|
@@ -97,7 +97,7 @@ const ActionItem = styled("div", {
|
|
|
97
97
|
user-select: none;
|
|
98
98
|
white-space: nowrap;
|
|
99
99
|
`;
|
|
100
|
-
const Container$
|
|
100
|
+
const Container$9 = styled.div`
|
|
101
101
|
align-items: center;
|
|
102
102
|
display: flex;
|
|
103
103
|
gap: var(--ddk-component-action-item-button-container-gap);
|
|
@@ -189,7 +189,7 @@ const ActionItemButton = ({
|
|
|
189
189
|
unitStyle = "external",
|
|
190
190
|
unitValue,
|
|
191
191
|
...props
|
|
192
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs(Container$
|
|
192
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(Container$9, { children: [
|
|
193
193
|
unitStyle === "inline" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
194
194
|
ActionItemButtonStyles,
|
|
195
195
|
{
|
|
@@ -349,7 +349,7 @@ const CardButton = styled(Card, {
|
|
|
349
349
|
height: var(--ddk-component-card-button-svg-size);
|
|
350
350
|
}
|
|
351
351
|
`;
|
|
352
|
-
const Container$
|
|
352
|
+
const Container$8 = styled.div`
|
|
353
353
|
display: flex;
|
|
354
354
|
flex-direction: column;
|
|
355
355
|
height: 100%;
|
|
@@ -591,6 +591,17 @@ const HeadingLarge = styled.div`
|
|
|
591
591
|
letter-spacing: var(--ddk-component-typography-heading-large-letter-spacing);
|
|
592
592
|
line-height: var(--ddk-component-typography-heading-large-line-height);
|
|
593
593
|
`;
|
|
594
|
+
const HeadingExtraLarge = styled.div`
|
|
595
|
+
color: var(--ddk-component-typography-heading-x-large-color);
|
|
596
|
+
font-family: var(--ddk-component-typography-heading-x-large-font-family);
|
|
597
|
+
font-size: var(--ddk-component-typography-heading-x-large-font-size);
|
|
598
|
+
font-style: var(--ddk-component-typography-heading-x-large-font-style);
|
|
599
|
+
font-weight: var(--ddk-component-typography-heading-x-large-font-weight);
|
|
600
|
+
letter-spacing: var(
|
|
601
|
+
--ddk-component-typography-heading-x-large-letter-spacing
|
|
602
|
+
);
|
|
603
|
+
line-height: var(--ddk-component-typography-heading-x-large-line-height);
|
|
604
|
+
`;
|
|
594
605
|
const HeadingMediumInformation = styled(HeadingMedium)`
|
|
595
606
|
color: var(--ddk-component-typography-label-information-color);
|
|
596
607
|
`;
|
|
@@ -627,7 +638,7 @@ const LabelInformationSmall = styled(LabelSmall)`
|
|
|
627
638
|
const LabelInformationExtraSmall = styled(LabelExtraSmall)`
|
|
628
639
|
color: var(--ddk-component-typography-label-information-color);
|
|
629
640
|
`;
|
|
630
|
-
const Container$
|
|
641
|
+
const Container$7 = styled.div`
|
|
631
642
|
align-items: var(--ddk-component-input-container-align-items);
|
|
632
643
|
display: flex;
|
|
633
644
|
flex-direction: var(--ddk-component-input-container-flex-direction);
|
|
@@ -686,7 +697,7 @@ const StyledInput = styled.input`
|
|
|
686
697
|
}
|
|
687
698
|
`;
|
|
688
699
|
const Input = React.forwardRef(
|
|
689
|
-
({ error, isError, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Container$
|
|
700
|
+
({ error, isError, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Container$7, { children: [
|
|
690
701
|
error && /* @__PURE__ */ jsxRuntime.jsx(ErrorText, { children: error }),
|
|
691
702
|
/* @__PURE__ */ jsxRuntime.jsx(StyledInput, { ref, isError: isError || !!error, ...props })
|
|
692
703
|
] })
|
|
@@ -1001,7 +1012,7 @@ const ContentStyle = styled.div`
|
|
|
1001
1012
|
`;
|
|
1002
1013
|
const Content$1 = ({ align, children, className, size }) => {
|
|
1003
1014
|
const { componentModeOverride } = useComponentConfigurationContext();
|
|
1004
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
1015
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container$8, { size, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1005
1016
|
ContentStyle,
|
|
1006
1017
|
{
|
|
1007
1018
|
align,
|
|
@@ -1072,7 +1083,7 @@ const HeaderContainer = styled.div`
|
|
|
1072
1083
|
display: flex;
|
|
1073
1084
|
flex-direction: var(--ddk-component-modal-header-flex-direction);
|
|
1074
1085
|
gap: var(--ddk-component-modal-header-gap);
|
|
1075
|
-
height: var(--ddk-component-modal-header-height);
|
|
1086
|
+
min-height: var(--ddk-component-modal-header-height);
|
|
1076
1087
|
justify-content: space-between;
|
|
1077
1088
|
padding: ${(props) => props.contain ? "var(--ddk-component-modal-header-padding-maximized)" : "var(--ddk-component-modal-header-padding)"};
|
|
1078
1089
|
user-select: none;
|
|
@@ -4785,7 +4796,7 @@ const modalStyles = (mode, enableAnimation) => react.css`
|
|
|
4785
4796
|
}
|
|
4786
4797
|
}
|
|
4787
4798
|
`;
|
|
4788
|
-
const ModalContainer = styled(Container$
|
|
4799
|
+
const ModalContainer$1 = styled(Container$8)`
|
|
4789
4800
|
align-items: center;
|
|
4790
4801
|
display: flex;
|
|
4791
4802
|
flex-direction: column;
|
|
@@ -4826,7 +4837,7 @@ const Modal = ({
|
|
|
4826
4837
|
style,
|
|
4827
4838
|
onPointerDown: () => mode !== "maximized" && closeOnShroudClick && onClose?.(),
|
|
4828
4839
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4829
|
-
ModalContainer,
|
|
4840
|
+
ModalContainer$1,
|
|
4830
4841
|
{
|
|
4831
4842
|
...props,
|
|
4832
4843
|
contain: mode !== "fullscreen",
|
|
@@ -4848,14 +4859,19 @@ const Modal = ({
|
|
|
4848
4859
|
document.body
|
|
4849
4860
|
);
|
|
4850
4861
|
};
|
|
4851
|
-
const
|
|
4862
|
+
const ModalContainer = styled.div`
|
|
4852
4863
|
display: flex;
|
|
4853
4864
|
flex-direction: column;
|
|
4854
4865
|
overflow-y: auto;
|
|
4855
4866
|
overflow-x: hidden;
|
|
4856
|
-
gap:
|
|
4867
|
+
gap: var(--ddk-component-base-modal-container-gap);
|
|
4857
4868
|
height: 100%;
|
|
4858
4869
|
`;
|
|
4870
|
+
const WorkflowModalBase = styled(Modal)`
|
|
4871
|
+
--ddk-component-modal-min-height: var(
|
|
4872
|
+
--ddk-component-workflow-modal-min-height
|
|
4873
|
+
);
|
|
4874
|
+
`;
|
|
4859
4875
|
const WorkflowContent = styled(Content$1)`
|
|
4860
4876
|
align-items: center;
|
|
4861
4877
|
gap: 24px;
|
|
@@ -4910,13 +4926,13 @@ const WorkflowModal = ({
|
|
|
4910
4926
|
}) => {
|
|
4911
4927
|
const { componentModeOverride } = useComponentConfigurationContext();
|
|
4912
4928
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4913
|
-
|
|
4929
|
+
WorkflowModalBase,
|
|
4914
4930
|
{
|
|
4915
4931
|
...props,
|
|
4916
4932
|
contain: componentModeOverride !== "compact",
|
|
4917
4933
|
show,
|
|
4918
4934
|
onClose,
|
|
4919
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4935
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(ModalContainer, { children: [
|
|
4920
4936
|
(showCloseButton && !!onClose || title) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4921
4937
|
Header,
|
|
4922
4938
|
{
|
|
@@ -4928,10 +4944,10 @@ const WorkflowModal = ({
|
|
|
4928
4944
|
title
|
|
4929
4945
|
}
|
|
4930
4946
|
),
|
|
4931
|
-
/* @__PURE__ */ jsxRuntime.
|
|
4947
|
+
/* @__PURE__ */ jsxRuntime.jsxs(WorkflowContent, { contain: componentModeOverride === "compact", children: [
|
|
4932
4948
|
getIcon(status, iconStyle),
|
|
4933
4949
|
information
|
|
4934
|
-
] })
|
|
4950
|
+
] }),
|
|
4935
4951
|
/* @__PURE__ */ jsxRuntime.jsx(Footer, { children: footer })
|
|
4936
4952
|
] })
|
|
4937
4953
|
}
|
|
@@ -5904,6 +5920,33 @@ const InfoCardContainer = (props) => {
|
|
|
5904
5920
|
const { t } = kosUiSdk.useKosTranslation("common");
|
|
5905
5921
|
return /* @__PURE__ */ jsxRuntime.jsx(InfoCard, { unavailableText: t("unavailable"), ...props });
|
|
5906
5922
|
};
|
|
5923
|
+
const InfoMessageCard = styled(Card)`
|
|
5924
|
+
background-color: var(--ddk-semantic-color-system-orange-light);
|
|
5925
|
+
border-color: var(--ddk-semantic-color-system-orange);
|
|
5926
|
+
gap: var(--ddk-generic-padding-medium);
|
|
5927
|
+
padding: var(--ddk-generic-padding-large) var(--ddk-generic-padding-x-large);
|
|
5928
|
+
display: flex;
|
|
5929
|
+
align-items: flex-start;
|
|
5930
|
+
min-height: initial;
|
|
5931
|
+
`;
|
|
5932
|
+
const InfoMessageIcon = styled(kosDdkStyles.ErrorIconWithBackground)`
|
|
5933
|
+
background-color: var(--ddk-semantic-color-system-orange);
|
|
5934
|
+
box-sizing: border-box;
|
|
5935
|
+
width: var(--ddk-component-info-message-icon-width);
|
|
5936
|
+
height: var(--ddk-component-info-message-icon-height);
|
|
5937
|
+
padding: var(--ddk-component-info-message-icon-padding);
|
|
5938
|
+
`;
|
|
5939
|
+
const Message = styled(BodyLarge)`
|
|
5940
|
+
color: var(--ddk-semantic-color-system-orange);
|
|
5941
|
+
flex: 1;
|
|
5942
|
+
`;
|
|
5943
|
+
const InfoMessage = ({ children, ...props }) => {
|
|
5944
|
+
const { componentModeOverride } = useComponentConfigurationContext();
|
|
5945
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(InfoMessageCard, { ...props, children: [
|
|
5946
|
+
/* @__PURE__ */ jsxRuntime.jsx(InfoMessageIcon, {}),
|
|
5947
|
+
/* @__PURE__ */ jsxRuntime.jsx(Message, { children })
|
|
5948
|
+
] });
|
|
5949
|
+
};
|
|
5907
5950
|
var build$1 = { exports: {} };
|
|
5908
5951
|
var build = build$1.exports;
|
|
5909
5952
|
var hasRequiredBuild;
|
|
@@ -10747,7 +10790,7 @@ const Tabs = ({
|
|
|
10747
10790
|
const TabContainerComponent = showBackground ? TabContainerWithBackground : TabContainer;
|
|
10748
10791
|
const TabListComponent = contain ? TabListWithPadding : TabList;
|
|
10749
10792
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
10750
|
-
/* @__PURE__ */ jsxRuntime.jsx(TabContainerComponent, { children: /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
10793
|
+
/* @__PURE__ */ jsxRuntime.jsx(TabContainerComponent, { children: /* @__PURE__ */ jsxRuntime.jsx(Container$8, { children: /* @__PURE__ */ jsxRuntime.jsx(TabListComponent, { children: tabs.map((tab) => {
|
|
10751
10794
|
const TabComponent = activeTabValue === tab.id ? ActiveTab : Tab;
|
|
10752
10795
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10753
10796
|
TabComponent,
|
|
@@ -10758,7 +10801,7 @@ const Tabs = ({
|
|
|
10758
10801
|
tab.id
|
|
10759
10802
|
);
|
|
10760
10803
|
}) }) }) }),
|
|
10761
|
-
/* @__PURE__ */ jsxRuntime.jsx(TabContent, { children: /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
10804
|
+
/* @__PURE__ */ jsxRuntime.jsx(TabContent, { children: /* @__PURE__ */ jsxRuntime.jsx(Container$8, { children: activeTabValue && tabMap[activeTabValue] && /* @__PURE__ */ jsxRuntime.jsx("section", { children: tabMap[activeTabValue].content }) }) })
|
|
10762
10805
|
] });
|
|
10763
10806
|
};
|
|
10764
10807
|
const useNavigate = () => {
|
|
@@ -11068,7 +11111,7 @@ const ContainerStyles = styled.div`
|
|
|
11068
11111
|
const TopNavigation = ({
|
|
11069
11112
|
iconNavigationItems,
|
|
11070
11113
|
navigationItems
|
|
11071
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(TopNavigationStyles, { children: /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
11114
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(TopNavigationStyles, { children: /* @__PURE__ */ jsxRuntime.jsx(Container$8, { children: /* @__PURE__ */ jsxRuntime.jsxs(ContainerStyles, { children: [
|
|
11072
11115
|
/* @__PURE__ */ jsxRuntime.jsx(TopNavigationButtonList, { items: navigationItems }),
|
|
11073
11116
|
/* @__PURE__ */ jsxRuntime.jsx(TopNavigationIconButtonList, { items: iconNavigationItems })
|
|
11074
11117
|
] }) }) });
|
|
@@ -11078,7 +11121,7 @@ const viewStyles = react.css`
|
|
|
11078
11121
|
gap: var(--ddk-component-view-gap);
|
|
11079
11122
|
padding: var(--ddk-component-view-padding);
|
|
11080
11123
|
`;
|
|
11081
|
-
const View = ({ children, contain = true, style }) => contain ? /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
11124
|
+
const View = ({ children, contain = true, style }) => contain ? /* @__PURE__ */ jsxRuntime.jsx(Container$8, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { css: [viewStyles, style], children }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { css: [viewStyles, style], children });
|
|
11082
11125
|
const BackText = () => {
|
|
11083
11126
|
const { t } = kosUiSdk.useKosTranslation("common");
|
|
11084
11127
|
return t("close");
|
|
@@ -11130,7 +11173,7 @@ exports.ComponentConfigurationContext = ComponentConfigurationContext;
|
|
|
11130
11173
|
exports.ComponentConfigurationProvider = ComponentConfigurationProvider;
|
|
11131
11174
|
exports.ConfirmationModal = ConfirmationModalContainer;
|
|
11132
11175
|
exports.ConfirmationModalContainer = ConfirmationModalContainer;
|
|
11133
|
-
exports.Container = Container$
|
|
11176
|
+
exports.Container = Container$8;
|
|
11134
11177
|
exports.Content = Content$1;
|
|
11135
11178
|
exports.DashboardCardContainer = DashboardCardContainer;
|
|
11136
11179
|
exports.Description = Description$1;
|
|
@@ -11150,6 +11193,7 @@ exports.GreenTickIconStyle = GreenTickIconStyle;
|
|
|
11150
11193
|
exports.Grid = Grid;
|
|
11151
11194
|
exports.Header = Header;
|
|
11152
11195
|
exports.Heading = Heading;
|
|
11196
|
+
exports.HeadingExtraLarge = HeadingExtraLarge;
|
|
11153
11197
|
exports.HeadingLarge = HeadingLarge;
|
|
11154
11198
|
exports.HeadingLargeInformation = HeadingLargeInformation;
|
|
11155
11199
|
exports.HeadingMedium = HeadingMedium;
|
|
@@ -11160,6 +11204,7 @@ exports.InfoCard = InfoCardContainer;
|
|
|
11160
11204
|
exports.InfoCardContainer = InfoCardContainer;
|
|
11161
11205
|
exports.InfoCardHead = InfoCardHead;
|
|
11162
11206
|
exports.InfoContainer = InfoContainer;
|
|
11207
|
+
exports.InfoMessage = InfoMessage;
|
|
11163
11208
|
exports.InfoTable = InfoTable;
|
|
11164
11209
|
exports.InformationIconStyle = InformationIconStyle;
|
|
11165
11210
|
exports.Input = Input;
|
|
@@ -11182,6 +11227,7 @@ exports.LargeText = LargeText;
|
|
|
11182
11227
|
exports.ListContainer = ListContainer;
|
|
11183
11228
|
exports.MenuButton = MenuButton;
|
|
11184
11229
|
exports.Modal = Modal;
|
|
11230
|
+
exports.ModalContainer = ModalContainer;
|
|
11185
11231
|
exports.MultiDial = MultiDial;
|
|
11186
11232
|
exports.MultiPicker = MultiPicker;
|
|
11187
11233
|
exports.MultiPickerCard = MultiPickerCard;
|