@citygross/components_v2 0.0.20 → 0.0.22

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.
@@ -0,0 +1,14 @@
1
+ .Accordion_accordionContainer__1fnaf7h0 {
2
+ display: grid;
3
+ transition: grid-template-rows 0.3s ease-in-out;
4
+ overflow: hidden;
5
+ }
6
+ .Accordion_accordionContainer_open_true__1fnaf7h1 {
7
+ grid-template-rows: 1fr;
8
+ }
9
+ .Accordion_accordionContainer_open_false__1fnaf7h2 {
10
+ grid-template-rows: 0fr;
11
+ }
12
+ .Accordion_accordionContent__1fnaf7h3 {
13
+ overflow: hidden;
14
+ }
@@ -0,0 +1,7 @@
1
+ import './Accordion.css.ts.vanilla.css';
2
+ import { createRuntimeFn } from '@vanilla-extract/recipes/createRuntimeFn';
3
+
4
+ var accordionContainer = createRuntimeFn({ defaultClassName: "Accordion_accordionContainer__1fnaf7h0", variantClassNames: { open: { true: "Accordion_accordionContainer_open_true__1fnaf7h1", false: "Accordion_accordionContainer_open_false__1fnaf7h2" } }, defaultVariants: { open: false }, compoundVariants: [] });
5
+ var accordionContent = "Accordion_accordionContent__1fnaf7h3";
6
+
7
+ export { accordionContainer, accordionContent };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+
3
+ declare type TAccordion = {
4
+ children: React.ReactNode;
5
+ open: boolean;
6
+ className?: string;
7
+ };
8
+ declare const Accordion: ({ children, open, className }: TAccordion) => JSX.Element;
9
+
10
+ export { Accordion, TAccordion };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { accordionContainer, accordionContent } from './Accordion.css.vanilla.js';
3
+
4
+ const Accordion = ({ children, open, className }) => {
5
+ return /* @__PURE__ */ React.createElement("div", { className: `${accordionContainer({ open })} ${className}` }, /* @__PURE__ */ React.createElement("div", { className: accordionContent }, children));
6
+ };
7
+
8
+ export { Accordion };
@@ -1,6 +1,4 @@
1
1
  .Divider_divider__1ibthdh0 {
2
2
  width: 100%;
3
3
  height: 1px;
4
- margin: 16px 0;
5
- background: #E8E8E8;
6
4
  }
@@ -1,7 +1,8 @@
1
+ import './../../cssUtils/color.css.ts.vanilla.css';
1
2
  import './../../cssUtils/spacings.css.ts.vanilla.css';
2
3
  import './Divider.css.ts.vanilla.css';
3
4
  import { createRuntimeFn } from '@vanilla-extract/recipes/createRuntimeFn';
4
5
 
5
- var divider = createRuntimeFn({ defaultClassName: "Divider_divider__1ibthdh0", variantClassNames: { marginVertical: { xxxs: "spacings_marginVertical_xxxs__e0awtzo", xxs: "spacings_marginVertical_xxs__e0awtzp", xxs2: "spacings_marginVertical_xxs2__e0awtzq", xs: "spacings_marginVertical_xs__e0awtzr", xs2: "spacings_marginVertical_xs2__e0awtzs", sm: "spacings_marginVertical_sm__e0awtzt", sm2: "spacings_marginVertical_sm2__e0awtzu", md: "spacings_marginVertical_md__e0awtzv", lg: "spacings_marginVertical_lg__e0awtzw", xl: "spacings_marginVertical_xl__e0awtzx", xxl: "spacings_marginVertical_xxl__e0awtzy", false: "spacings_marginVertical_false__e0awtzz" } }, defaultVariants: {}, compoundVariants: [] });
6
+ var divider = createRuntimeFn({ defaultClassName: "Divider_divider__1ibthdh0", variantClassNames: { marginVertical: { xxxs: "spacings_marginVertical_xxxs__e0awtzo", xxs: "spacings_marginVertical_xxs__e0awtzp", xxs2: "spacings_marginVertical_xxs2__e0awtzq", xs: "spacings_marginVertical_xs__e0awtzr", xs2: "spacings_marginVertical_xs2__e0awtzs", sm: "spacings_marginVertical_sm__e0awtzt", sm2: "spacings_marginVertical_sm2__e0awtzu", md: "spacings_marginVertical_md__e0awtzv", lg: "spacings_marginVertical_lg__e0awtzw", xl: "spacings_marginVertical_xl__e0awtzx", xxl: "spacings_marginVertical_xxl__e0awtzy", false: "spacings_marginVertical_false__e0awtzz" }, backgroundColor: { primary: "color_backgroundColor_primary__13rr0b21b", secondary: "color_backgroundColor_secondary__13rr0b21c", brandYellow: "color_backgroundColor_brandYellow__13rr0b21d", brandBlue: "color_backgroundColor_brandBlue__13rr0b21e", brandPurple: "color_backgroundColor_brandPurple__13rr0b21f", brandPrio: "color_backgroundColor_brandPrio__13rr0b21g", yellowLighter: "color_backgroundColor_yellowLighter__13rr0b21h", yellowLight: "color_backgroundColor_yellowLight__13rr0b21i", blueLight: "color_backgroundColor_blueLight__13rr0b21j", blueLighter: "color_backgroundColor_blueLighter__13rr0b21k", blueMedium: "color_backgroundColor_blueMedium__13rr0b21l", greenLight: "color_backgroundColor_greenLight__13rr0b21m", greenMedium: "color_backgroundColor_greenMedium__13rr0b21n", redLight: "color_backgroundColor_redLight__13rr0b21o", recipeVego: "color_backgroundColor_recipeVego__13rr0b21p", recipeLactose: "color_backgroundColor_recipeLactose__13rr0b21q", recipeGluten: "color_backgroundColor_recipeGluten__13rr0b21r", link: "color_backgroundColor_link__13rr0b21s", white: "color_backgroundColor_white__13rr0b21t", black: "color_backgroundColor_black__13rr0b21u", lightest: "color_backgroundColor_lightest__13rr0b21v", lighter: "color_backgroundColor_lighter__13rr0b21w", light: "color_backgroundColor_light__13rr0b21x", medium: "color_backgroundColor_medium__13rr0b21y", mediumDark: "color_backgroundColor_mediumDark__13rr0b21z", dark: "color_backgroundColor_dark__13rr0b220", darker: "color_backgroundColor_darker__13rr0b221", darkest: "color_backgroundColor_darkest__13rr0b222", buttonGray: "color_backgroundColor_buttonGray__13rr0b223", disabledGray: "color_backgroundColor_disabledGray__13rr0b224", disabledDarkGray: "color_backgroundColor_disabledDarkGray__13rr0b225", placeholder: "color_backgroundColor_placeholder__13rr0b226", border: "color_backgroundColor_border__13rr0b227", boxShadow: "color_backgroundColor_boxShadow__13rr0b228", boxShadowActive: "color_backgroundColor_boxShadowActive__13rr0b229", alertRed: "color_backgroundColor_alertRed__13rr0b22a", alertBlue: "color_backgroundColor_alertBlue__13rr0b22b", alertGreen: "color_backgroundColor_alertGreen__13rr0b22c", darkOverlay: "color_backgroundColor_darkOverlay__13rr0b22d", transparent: "color_backgroundColor_transparent__13rr0b22e", brandBlueHover: "color_backgroundColor_brandBlueHover__13rr0b22f", brandYellowHover: "color_backgroundColor_brandYellowHover__13rr0b22g", brandPrioHover: "color_backgroundColor_brandPrioHover__13rr0b22h", brandBlueActive: "color_backgroundColor_brandBlueActive__13rr0b22i", brandYellowActive: "color_backgroundColor_brandYellowActive__13rr0b22j", brandPrioActive: "color_backgroundColor_brandPrioActive__13rr0b22k", none: "color_backgroundColor_none__13rr0b22l" } }, defaultVariants: { backgroundColor: "lightest" }, compoundVariants: [] });
6
7
 
7
8
  export { divider };
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { TSpacingKeys } from '@citygross/design-tokens_v2';
2
+ import { TSpacingKeys, TPaletteKeys } from '@citygross/design-tokens_v2';
3
3
 
4
4
  declare type TDivider = {
5
5
  marginVertical?: TSpacingKeys;
6
+ color?: TPaletteKeys;
6
7
  };
7
8
  declare const Divider: React.FunctionComponent<TDivider>;
8
9
 
@@ -2,9 +2,10 @@ import React from 'react';
2
2
  import { divider } from './Divider.css.vanilla.js';
3
3
 
4
4
  const Divider = ({
5
- marginVertical
5
+ marginVertical,
6
+ color
6
7
  }) => {
7
- return /* @__PURE__ */ React.createElement("div", { className: divider({ marginVertical }) });
8
+ return /* @__PURE__ */ React.createElement("div", { className: divider({ marginVertical, backgroundColor: color }) });
8
9
  };
9
10
 
10
11
  export { Divider };
@@ -0,0 +1,79 @@
1
+ .LinkButton_linkBase__1exysai0 {
2
+ outline: none;
3
+ border: none;
4
+ cursor: pointer;
5
+ font-weight: 500;
6
+ border-radius: 2px;
7
+ }
8
+ .LinkButton_linkBase__1exysai0:focus-visible:not(:hover) {
9
+ outline: none;
10
+ box-shadow: 0 0 0 2px #fff,0 0 0 4px #000,0 0 0 6px #fff;
11
+ transition: all 0.1s ease-in-out;
12
+ }
13
+ .LinkButton_linkBase__1exysai0:disabled {
14
+ cursor: default;
15
+ }
16
+ .LinkButton_linkVariant_primary__1exysai1 {
17
+ color: #0069AE;
18
+ text-decoration: underline;
19
+ }
20
+ .LinkButton_linkVariant_primary__1exysai1:hover:not(:disabled) {
21
+ color: #005C99;
22
+ }
23
+ .LinkButton_linkVariant_primary__1exysai1:active:not(:disabled) {
24
+ color: #004D80;
25
+ }
26
+ .LinkButton_linkVariant_primary__1exysai1:disabled {
27
+ color: #92B9D3;
28
+ }
29
+ .LinkButton_linkVariant_secondary__1exysai2 {
30
+ color: #333333;
31
+ }
32
+ .LinkButton_linkVariant_secondary__1exysai2:hover:not(:disabled) {
33
+ text-decoration: underline;
34
+ }
35
+ .LinkButton_linkVariant_secondary__1exysai2:active:not(:disabled) {
36
+ text-decoration: underline;
37
+ }
38
+ .LinkButton_linkVariant_secondary__1exysai2:disabled {
39
+ color: #B8B8B8;
40
+ }
41
+ .LinkButton_linkVariant_tertiary__1exysai3 {
42
+ color: #333333;
43
+ text-decoration: underline;
44
+ }
45
+ .LinkButton_linkVariant_tertiary__1exysai3:disabled {
46
+ color: #B8B8B8;
47
+ }
48
+ .LinkButton_linkVariant_primaryInverted__1exysai4 {
49
+ color: #FFFFFF;
50
+ text-decoration: underline;
51
+ }
52
+ .LinkButton_linkVariant_primaryInverted__1exysai4:hover:not(:disabled) {
53
+ color: #FFFFFF;
54
+ }
55
+ .LinkButton_linkVariant_primaryInverted__1exysai4:active:not(:disabled) {
56
+ color: #B8B8B8;
57
+ }
58
+ .LinkButton_linkVariant_primaryInverted__1exysai4:disabled {
59
+ color: #5c5c5c;
60
+ }
61
+ .LinkButton_linkVariant_secondaryInverted__1exysai5 {
62
+ color: #FFFFFF;
63
+ }
64
+ .LinkButton_linkVariant_secondaryInverted__1exysai5:hover:not(:disabled) {
65
+ text-decoration: underline;
66
+ }
67
+ .LinkButton_linkVariant_secondaryInverted__1exysai5:active:not(:disabled) {
68
+ text-decoration: underline;
69
+ color: #B8B8B8;
70
+ }
71
+ .LinkButton_linkVariant_secondaryInverted__1exysai5:disabled {
72
+ color: #5c5c5c;
73
+ }
74
+ .LinkButton_linkStyle_size_small__1exysaic {
75
+ font-size: 13px;
76
+ }
77
+ .LinkButton_linkStyle_size_default__1exysaid {
78
+ font-size: 15px;
79
+ }
@@ -0,0 +1,6 @@
1
+ import './LinkButton.css.ts.vanilla.css';
2
+ import { createRuntimeFn } from '@vanilla-extract/recipes/createRuntimeFn';
3
+
4
+ var linkStyle = createRuntimeFn({ defaultClassName: "LinkButton__1exysai6 LinkButton_linkBase__1exysai0", variantClassNames: { linkVariant: { primary: "LinkButton_linkVariant_primary__1exysai1", secondary: "LinkButton_linkVariant_secondary__1exysai2", tertiary: "LinkButton_linkVariant_tertiary__1exysai3", primaryInverted: "LinkButton_linkVariant_primaryInverted__1exysai4", secondaryInverted: "LinkButton_linkVariant_secondaryInverted__1exysai5" }, size: { small: "LinkButton_linkStyle_size_small__1exysaic", "default": "LinkButton_linkStyle_size_default__1exysaid" } }, defaultVariants: { size: "default", linkVariant: "primary" }, compoundVariants: [] });
5
+
6
+ export { linkStyle };
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+
3
+ declare type TLinkButton = {
4
+ children?: React.ReactNode;
5
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'primaryInverted' | 'secondaryInverted';
6
+ disabled?: boolean;
7
+ onClick?: () => void;
8
+ };
9
+ declare const LinkButton: ({ onClick, children, variant, disabled }: TLinkButton) => JSX.Element;
10
+
11
+ export { LinkButton, TLinkButton };
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { linkStyle } from './LinkButton.css.vanilla.js';
3
+
4
+ const LinkButton = ({
5
+ onClick,
6
+ children,
7
+ variant,
8
+ disabled
9
+ }) => {
10
+ return /* @__PURE__ */ React.createElement(
11
+ "button",
12
+ {
13
+ className: linkStyle({ linkVariant: variant }),
14
+ disabled,
15
+ onClick: () => onClick && onClick()
16
+ },
17
+ "LinkButton"
18
+ );
19
+ };
20
+
21
+ export { LinkButton };
@@ -0,0 +1,69 @@
1
+ .Modal_modalOverlay__mwif0x0 {
2
+ position: fixed;
3
+ top: 0;
4
+ bottom: 0;
5
+ left: 0;
6
+ right: 0;
7
+ height: 100%;
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ padding: 8px;
12
+ z-index: 5;
13
+ background: rgba(0, 0, 0, 0.6);
14
+ }
15
+ .Modal_modalContainer__mwif0x1 {
16
+ overflow: auto;
17
+ display: flex;
18
+ flex-direction: column;
19
+ padding: 24px;
20
+ max-height: 100vh;
21
+ max-width: 100%;
22
+ border-radius: 5px;
23
+ }
24
+ .Modal_modalContainer_maxWidth_confirm__mwif0x1d {
25
+ max-width: 480px;
26
+ }
27
+ .Modal_modalContainer_maxWidth_regular__mwif0x1e {
28
+ max-width: 615px;
29
+ }
30
+ .Modal_modalHeaderContainer__mwif0x1f {
31
+ padding-bottom: 24px;
32
+ }
33
+ .Modal_modalHeader__mwif0x1g {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ padding-bottom: 16px;
37
+ align-items: center;
38
+ }
39
+ .Modal_closeButtonWrapper__mwif0x1h {
40
+ display: flex;
41
+ justify-content: space-between;
42
+ align-items: center;
43
+ padding-bottom: 16px;
44
+ }
45
+ .Modal_childrenWrapper__mwif0x1i {
46
+ display: flex;
47
+ flex-direction: column;
48
+ min-height: 64px;
49
+ gap: 24px;
50
+ }
51
+ .Modal_footerWrapper__mwif0x1j {
52
+ display: flex;
53
+ gap: 8px;
54
+ }
55
+ @media (min-width: 8px) {
56
+ .Modal_modalOverlay__mwif0x0 {
57
+ padding: 32px;
58
+ }
59
+ .Modal_modalContainer__mwif0x1 {
60
+ padding: 32px;
61
+ width: 100%;
62
+ max-height: 90vh;
63
+ }
64
+ }
65
+ @media (min-width: 16px) {
66
+ .Modal_modalHeaderContainer__mwif0x1f {
67
+ padding-top: 8px;
68
+ }
69
+ }
@@ -0,0 +1,13 @@
1
+ import './../../cssUtils/color.css.ts.vanilla.css';
2
+ import './Modal.css.ts.vanilla.css';
3
+ import { createRuntimeFn } from '@vanilla-extract/recipes/createRuntimeFn';
4
+
5
+ var childrenWrapper = "Modal_childrenWrapper__mwif0x1i";
6
+ var closeButtonWrapper = "Modal_closeButtonWrapper__mwif0x1h";
7
+ var footerWrapper = "Modal_footerWrapper__mwif0x1j";
8
+ var modalContainer = createRuntimeFn({ defaultClassName: "Modal_modalContainer__mwif0x1", variantClassNames: { backgroundColor: { primary: "color_backgroundColor_primary__13rr0b21b", secondary: "color_backgroundColor_secondary__13rr0b21c", brandYellow: "color_backgroundColor_brandYellow__13rr0b21d", brandBlue: "color_backgroundColor_brandBlue__13rr0b21e", brandPurple: "color_backgroundColor_brandPurple__13rr0b21f", brandPrio: "color_backgroundColor_brandPrio__13rr0b21g", yellowLighter: "color_backgroundColor_yellowLighter__13rr0b21h", yellowLight: "color_backgroundColor_yellowLight__13rr0b21i", blueLight: "color_backgroundColor_blueLight__13rr0b21j", blueLighter: "color_backgroundColor_blueLighter__13rr0b21k", blueMedium: "color_backgroundColor_blueMedium__13rr0b21l", greenLight: "color_backgroundColor_greenLight__13rr0b21m", greenMedium: "color_backgroundColor_greenMedium__13rr0b21n", redLight: "color_backgroundColor_redLight__13rr0b21o", recipeVego: "color_backgroundColor_recipeVego__13rr0b21p", recipeLactose: "color_backgroundColor_recipeLactose__13rr0b21q", recipeGluten: "color_backgroundColor_recipeGluten__13rr0b21r", link: "color_backgroundColor_link__13rr0b21s", white: "color_backgroundColor_white__13rr0b21t", black: "color_backgroundColor_black__13rr0b21u", lightest: "color_backgroundColor_lightest__13rr0b21v", lighter: "color_backgroundColor_lighter__13rr0b21w", light: "color_backgroundColor_light__13rr0b21x", medium: "color_backgroundColor_medium__13rr0b21y", mediumDark: "color_backgroundColor_mediumDark__13rr0b21z", dark: "color_backgroundColor_dark__13rr0b220", darker: "color_backgroundColor_darker__13rr0b221", darkest: "color_backgroundColor_darkest__13rr0b222", buttonGray: "color_backgroundColor_buttonGray__13rr0b223", disabledGray: "color_backgroundColor_disabledGray__13rr0b224", disabledDarkGray: "color_backgroundColor_disabledDarkGray__13rr0b225", placeholder: "color_backgroundColor_placeholder__13rr0b226", border: "color_backgroundColor_border__13rr0b227", boxShadow: "color_backgroundColor_boxShadow__13rr0b228", boxShadowActive: "color_backgroundColor_boxShadowActive__13rr0b229", alertRed: "color_backgroundColor_alertRed__13rr0b22a", alertBlue: "color_backgroundColor_alertBlue__13rr0b22b", alertGreen: "color_backgroundColor_alertGreen__13rr0b22c", darkOverlay: "color_backgroundColor_darkOverlay__13rr0b22d", transparent: "color_backgroundColor_transparent__13rr0b22e", brandBlueHover: "color_backgroundColor_brandBlueHover__13rr0b22f", brandYellowHover: "color_backgroundColor_brandYellowHover__13rr0b22g", brandPrioHover: "color_backgroundColor_brandPrioHover__13rr0b22h", brandBlueActive: "color_backgroundColor_brandBlueActive__13rr0b22i", brandYellowActive: "color_backgroundColor_brandYellowActive__13rr0b22j", brandPrioActive: "color_backgroundColor_brandPrioActive__13rr0b22k", none: "color_backgroundColor_none__13rr0b22l" }, maxWidth: { confirm: "Modal_modalContainer_maxWidth_confirm__mwif0x1d", regular: "Modal_modalContainer_maxWidth_regular__mwif0x1e" } }, defaultVariants: {}, compoundVariants: [] });
9
+ var modalHeader = "Modal_modalHeader__mwif0x1g";
10
+ var modalHeaderContainer = "Modal_modalHeaderContainer__mwif0x1f";
11
+ var modalOverlay = "Modal_modalOverlay__mwif0x0";
12
+
13
+ export { childrenWrapper, closeButtonWrapper, footerWrapper, modalContainer, modalHeader, modalHeaderContainer, modalOverlay };
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { TPaletteKeys } from '@citygross/design-tokens_v2';
3
+
4
+ declare type TModal = {
5
+ onBackdropClick?: () => void;
6
+ children?: React.ReactNode;
7
+ title?: string;
8
+ subTitle?: string;
9
+ hideCancel?: boolean;
10
+ querySelector?: string;
11
+ footer?: JSX.Element;
12
+ background?: TPaletteKeys;
13
+ isConfirm?: boolean;
14
+ className?: string;
15
+ };
16
+ declare const Modal: ({ onBackdropClick, children, title, subTitle, hideCancel, isConfirm, background, querySelector, footer, className }: TModal) => React.ReactPortal;
17
+
18
+ export { Modal, TModal };
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ import { createPortal } from 'react-dom';
3
+ import { Icons } from '@citygross/icons_v2';
4
+ import { Spacer } from '../Spacer/Spacer.js';
5
+ import { modalOverlay, modalContainer, modalHeaderContainer, modalHeader, closeButtonWrapper, childrenWrapper, footerWrapper } from './Modal.css.vanilla.js';
6
+ import { H2 } from '../../typography/H2/H2.js';
7
+ import { BodyText } from '../../typography/BodyText/BodyText.js';
8
+
9
+ const Modal = ({
10
+ onBackdropClick,
11
+ children,
12
+ title,
13
+ subTitle,
14
+ hideCancel = true,
15
+ isConfirm,
16
+ background = "white",
17
+ querySelector = "#root",
18
+ footer,
19
+ className
20
+ }) => {
21
+ const domSafe = typeof document !== "undefined";
22
+ return domSafe ? createPortal(
23
+ /* @__PURE__ */ React.createElement(
24
+ "div",
25
+ {
26
+ className: modalOverlay,
27
+ onClick: () => onBackdropClick && onBackdropClick()
28
+ },
29
+ /* @__PURE__ */ React.createElement(
30
+ "div",
31
+ {
32
+ className: `${modalContainer({
33
+ backgroundColor: background,
34
+ maxWidth: isConfirm ? "confirm" : "regular"
35
+ })} ${className}`,
36
+ onClick: (e) => e.stopPropagation()
37
+ },
38
+ title && /* @__PURE__ */ React.createElement("div", { className: modalHeaderContainer }, /* @__PURE__ */ React.createElement("div", { className: modalHeader }, /* @__PURE__ */ React.createElement(H2, null, title), !hideCancel && /* @__PURE__ */ React.createElement(
39
+ "div",
40
+ {
41
+ className: closeButtonWrapper,
42
+ onClick: () => onBackdropClick && onBackdropClick()
43
+ },
44
+ /* @__PURE__ */ React.createElement(Icons.Cross, null)
45
+ )), /* @__PURE__ */ React.createElement(BodyText, null, subTitle)),
46
+ children && /* @__PURE__ */ React.createElement("div", { className: childrenWrapper }, children),
47
+ footer && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Spacer, null), /* @__PURE__ */ React.createElement("div", { className: footerWrapper }, footer))
48
+ )
49
+ ),
50
+ document.querySelector(querySelector) || document.body
51
+ ) : null;
52
+ };
53
+
54
+ export { Modal };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { AlertBox, TAlertBox } from './components/AlertBox/AlertBox.js';
2
+ export { Accordion, TAccordion } from './components/Accordion/Accordion.js';
2
3
  export { Box, TBox } from './components/Box/Box.js';
3
4
  export { BoxArrow, TBoxArrow } from './components/BoxArrow/BoxArrow.js';
4
5
  export { Button, TCgButton } from './components/Button/Button.js';
@@ -9,7 +10,9 @@ export { Dot, TDot } from './components/Dot/Dot.js';
9
10
  export { FormControl, TFormControl, TScreenWidth } from './components/FormControl/FormControl.js';
10
11
  export { Header, THeader } from './components/Header/Header.js';
11
12
  export { Input, TInput } from './components/Input/Input.js';
13
+ export { LinkButton, TLinkButton } from './components/LinkButton/LinkButton.js';
12
14
  export { EListItemAlignment, ListItem, TItem, TListItem } from './components/ListItem/ListItem.js';
15
+ export { Modal, TModal } from './components/Modal/Modal.js';
13
16
  export { BorderPosition, borderStyle, orderTable, orderTd, orderTh, orderThead, orderTr } from './components/OrderTable/OrderTable.css.js';
14
17
  export { MobileOrderLine } from './components/OrderTableMobile/OrderTableMobile.js';
15
18
  export { Pagination, TPagination } from './components/Pagination/Pagination.js';
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { AlertBox } from './components/AlertBox/AlertBox.js';
2
+ export { Accordion } from './components/Accordion/Accordion.js';
2
3
  export { Box } from './components/Box/Box.js';
3
4
  export { BoxArrow } from './components/BoxArrow/BoxArrow.js';
4
5
  export { Button } from './components/Button/Button.js';
@@ -9,7 +10,9 @@ export { Dot } from './components/Dot/Dot.js';
9
10
  export { FormControl, TScreenWidth } from './components/FormControl/FormControl.js';
10
11
  export { Header } from './components/Header/Header.js';
11
12
  export { Input } from './components/Input/Input.js';
13
+ export { LinkButton } from './components/LinkButton/LinkButton.js';
12
14
  export { EListItemAlignment, ListItem } from './components/ListItem/ListItem.js';
15
+ export { Modal } from './components/Modal/Modal.js';
13
16
  export { BorderPosition, borderStyle, orderTable, orderTd, orderTh, orderThead, orderTr } from './components/OrderTable/OrderTable.css.vanilla.js';
14
17
  export { MobileOrderLine } from './components/OrderTableMobile/OrderTableMobile.js';
15
18
  export { Pagination } from './components/Pagination/Pagination.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components_v2",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@citygross/design-tokens_v2": "^0.0.4",
69
- "@citygross/icons_v2": "^0.0.1",
69
+ "@citygross/icons_v2": "^0.0.2",
70
70
  "@citygross/react-use-bg-wizard": "^0.0.8",
71
71
  "@citygross/typography": "^0.0.89",
72
72
  "@citygross/utils": "^0.0.39",
@@ -79,5 +79,5 @@
79
79
  "react-slick": "^0.30.1",
80
80
  "slick-carousel": "^1.8.1"
81
81
  },
82
- "gitHead": "c7c5cb9581d61959f72a04a6117b54056f21e70d"
82
+ "gitHead": "b7e20c507101720f85d9c3e08f2575f9f5d25fc3"
83
83
  }