@dnanpm/ui-components 0.6.0 → 0.8.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/dist/components/AccordionItem/AccordionItem.css +16 -16
- package/dist/components/AccordionItem/AccordionItem.module.css.cjs +11 -11
- package/dist/components/AccordionItem/AccordionItem.module.css.js +11 -11
- package/dist/components/Breadcrumb/Breadcrumb.css +9 -9
- package/dist/components/Breadcrumb/Breadcrumb.module.css.cjs +6 -6
- package/dist/components/Breadcrumb/Breadcrumb.module.css.js +6 -6
- package/dist/components/Button/Button.css +32 -30
- package/dist/components/Button/Button.module.css.cjs +11 -11
- package/dist/components/Button/Button.module.css.js +11 -11
- package/dist/components/ButtonCard/ButtonCard.cjs +105 -0
- package/dist/components/ButtonCard/ButtonCard.cjs.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.css +167 -0
- package/dist/components/ButtonCard/ButtonCard.d.ts +3 -0
- package/dist/components/ButtonCard/ButtonCard.d.ts.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.js +105 -0
- package/dist/components/ButtonCard/ButtonCard.js.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.cjs +18 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.cjs.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.js +19 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.js.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.types.d.ts +103 -0
- package/dist/components/ButtonCard/ButtonCard.types.d.ts.map +1 -0
- package/dist/components/ButtonCard/index.d.ts +3 -0
- package/dist/components/ButtonCard/index.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.cjs +101 -0
- package/dist/components/Drawer/Drawer.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.css +219 -0
- package/dist/components/Drawer/Drawer.d.ts +3 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.js +101 -0
- package/dist/components/Drawer/Drawer.js.map +1 -0
- package/dist/components/Drawer/Drawer.module.css.cjs +37 -0
- package/dist/components/Drawer/Drawer.module.css.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.module.css.js +37 -0
- package/dist/components/Drawer/Drawer.module.css.js.map +1 -0
- package/dist/components/Drawer/Drawer.types.d.ts +63 -0
- package/dist/components/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/components/Drawer/index.d.ts +3 -0
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Footer/Footer.cjs +272 -0
- package/dist/components/Footer/Footer.cjs.map +1 -0
- package/dist/components/Footer/Footer.css +473 -0
- package/dist/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/Footer.js +272 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Footer/Footer.module.css.cjs +80 -0
- package/dist/components/Footer/Footer.module.css.cjs.map +1 -0
- package/dist/components/Footer/Footer.module.css.js +80 -0
- package/dist/components/Footer/Footer.module.css.js.map +1 -0
- package/dist/components/Footer/Footer.types.d.ts +128 -0
- package/dist/components/Footer/Footer.types.d.ts.map +1 -0
- package/dist/components/Footer/Footer.utils.cjs +41 -0
- package/dist/components/Footer/Footer.utils.cjs.map +1 -0
- package/dist/components/Footer/Footer.utils.d.ts +13 -0
- package/dist/components/Footer/Footer.utils.d.ts.map +1 -0
- package/dist/components/Footer/Footer.utils.js +41 -0
- package/dist/components/Footer/Footer.utils.js.map +1 -0
- package/dist/components/Footer/assets/app-store-badge.svg.cjs +4 -0
- package/dist/components/Footer/assets/app-store-badge.svg.cjs.map +1 -0
- package/dist/components/Footer/assets/app-store-badge.svg.js +5 -0
- package/dist/components/Footer/assets/app-store-badge.svg.js.map +1 -0
- package/dist/components/Footer/assets/google-play-badge.svg.cjs +4 -0
- package/dist/components/Footer/assets/google-play-badge.svg.cjs.map +1 -0
- package/dist/components/Footer/assets/google-play-badge.svg.js +5 -0
- package/dist/components/Footer/assets/google-play-badge.svg.js.map +1 -0
- package/dist/components/Footer/index.d.ts +3 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.cjs +34 -0
- package/dist/components/FunctionButton/FunctionButton.cjs.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.css +125 -0
- package/dist/components/FunctionButton/FunctionButton.d.ts +3 -0
- package/dist/components/FunctionButton/FunctionButton.d.ts.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.js +34 -0
- package/dist/components/FunctionButton/FunctionButton.js.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.cjs +11 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.cjs.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js +12 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.types.d.ts +21 -0
- package/dist/components/FunctionButton/FunctionButton.types.d.ts.map +1 -0
- package/dist/components/FunctionButton/index.d.ts +3 -0
- package/dist/components/FunctionButton/index.d.ts.map +1 -0
- package/dist/components/Hero/Hero.cjs +44 -30
- package/dist/components/Hero/Hero.cjs.map +1 -1
- package/dist/components/Hero/Hero.css +89 -100
- package/dist/components/Hero/Hero.d.ts +1 -1
- package/dist/components/Hero/Hero.d.ts.map +1 -1
- package/dist/components/Hero/Hero.js +45 -31
- package/dist/components/Hero/Hero.js.map +1 -1
- package/dist/components/Hero/Hero.module.css.cjs +17 -20
- package/dist/components/Hero/Hero.module.css.cjs.map +1 -1
- package/dist/components/Hero/Hero.module.css.js +17 -20
- package/dist/components/Hero/Hero.module.css.js.map +1 -1
- package/dist/components/Hero/Hero.types.d.ts +8 -3
- package/dist/components/Hero/Hero.types.d.ts.map +1 -1
- package/dist/components/Hero/Hero.utils.cjs +5 -8
- package/dist/components/Hero/Hero.utils.cjs.map +1 -1
- package/dist/components/Hero/Hero.utils.d.ts +2 -2
- package/dist/components/Hero/Hero.utils.d.ts.map +1 -1
- package/dist/components/Hero/Hero.utils.js +5 -8
- package/dist/components/Hero/Hero.utils.js.map +1 -1
- package/dist/components/IconButton/IconButton.css +31 -32
- package/dist/components/IconButton/IconButton.module.css.cjs +9 -9
- package/dist/components/IconButton/IconButton.module.css.js +9 -9
- package/dist/components/MainNavigation/MainNavigation.cjs +1094 -0
- package/dist/components/MainNavigation/MainNavigation.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.css +948 -0
- package/dist/components/MainNavigation/MainNavigation.d.ts +3 -0
- package/dist/components/MainNavigation/MainNavigation.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.js +1094 -0
- package/dist/components/MainNavigation/MainNavigation.js.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.cjs +74 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.js +75 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.js.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.types.d.ts +149 -0
- package/dist/components/MainNavigation/MainNavigation.types.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.cjs +168 -0
- package/dist/components/MainNavigation/MainNavigation.utils.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.d.ts +29 -0
- package/dist/components/MainNavigation/MainNavigation.utils.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.js +168 -0
- package/dist/components/MainNavigation/MainNavigation.utils.js.map +1 -0
- package/dist/components/MainNavigation/index.d.ts +3 -0
- package/dist/components/MainNavigation/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.cjs +101 -0
- package/dist/components/Modal/Modal.cjs.map +1 -0
- package/dist/components/Modal/Modal.css +205 -0
- package/dist/components/Modal/Modal.d.ts +3 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.js +101 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.module.css.cjs +39 -0
- package/dist/components/Modal/Modal.module.css.cjs.map +1 -0
- package/dist/components/Modal/Modal.module.css.js +39 -0
- package/dist/components/Modal/Modal.module.css.js.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +62 -0
- package/dist/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/useDialogDismissal.cjs +41 -0
- package/dist/components/Modal/useDialogDismissal.cjs.map +1 -0
- package/dist/components/Modal/useDialogDismissal.d.ts +17 -0
- package/dist/components/Modal/useDialogDismissal.d.ts.map +1 -0
- package/dist/components/Modal/useDialogDismissal.js +41 -0
- package/dist/components/Modal/useDialogDismissal.js.map +1 -0
- package/dist/components/Modal/useNativeDialog.cjs +126 -0
- package/dist/components/Modal/useNativeDialog.cjs.map +1 -0
- package/dist/components/Modal/useNativeDialog.d.ts +14 -0
- package/dist/components/Modal/useNativeDialog.d.ts.map +1 -0
- package/dist/components/Modal/useNativeDialog.js +126 -0
- package/dist/components/Modal/useNativeDialog.js.map +1 -0
- package/dist/components/Pictograph/Pictograph.css +69 -57
- package/dist/components/Pictograph/Pictograph.module.css.cjs +11 -11
- package/dist/components/Pictograph/Pictograph.module.css.js +11 -11
- package/dist/components/Pictograph/Pictograph.types.d.ts +2 -2
- package/dist/components/Pictograph/PictographItem.cjs +15 -4
- package/dist/components/Pictograph/PictographItem.cjs.map +1 -1
- package/dist/components/Pictograph/PictographItem.css +26 -23
- package/dist/components/Pictograph/PictographItem.d.ts.map +1 -1
- package/dist/components/Pictograph/PictographItem.js +15 -4
- package/dist/components/Pictograph/PictographItem.js.map +1 -1
- package/dist/components/Pictograph/PictographItem.module.css.cjs +3 -3
- package/dist/components/Pictograph/PictographItem.module.css.js +3 -3
- package/dist/components/Quote/Quote.cjs +32 -0
- package/dist/components/Quote/Quote.cjs.map +1 -0
- package/dist/components/Quote/Quote.css +95 -0
- package/dist/components/Quote/Quote.d.ts +3 -0
- package/dist/components/Quote/Quote.d.ts.map +1 -0
- package/dist/components/Quote/Quote.js +32 -0
- package/dist/components/Quote/Quote.js.map +1 -0
- package/dist/components/Quote/Quote.module.css.cjs +22 -0
- package/dist/components/Quote/Quote.module.css.cjs.map +1 -0
- package/dist/components/Quote/Quote.module.css.js +22 -0
- package/dist/components/Quote/Quote.module.css.js.map +1 -0
- package/dist/components/Quote/Quote.types.d.ts +12 -0
- package/dist/components/Quote/Quote.types.d.ts.map +1 -0
- package/dist/components/Quote/index.d.ts +3 -0
- package/dist/components/Quote/index.d.ts.map +1 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/utils/elevation.module.css.cjs +3 -0
- package/dist/styles/utils/elevation.module.css.cjs.map +1 -1
- package/dist/styles/utils/elevation.module.css.js +4 -1
- package/dist/styles/utils/elevation.module.css.js.map +1 -1
- package/dist/styles/utils/focus.css +21 -13
- package/dist/styles/utils/focus.module.css.cjs +3 -3
- package/dist/styles/utils/focus.module.css.js +3 -3
- package/dist/styles/utils/overlay.css +37 -0
- package/dist/styles/utils/overlay.module.css.cjs +13 -0
- package/dist/styles/utils/overlay.module.css.cjs.map +1 -0
- package/dist/styles/utils/overlay.module.css.js +13 -0
- package/dist/styles/utils/overlay.module.css.js.map +1 -0
- package/dist/styles/utils/text-decoration.css +9 -1
- package/dist/styles/utils/text-decoration.module.css.cjs +5 -2
- package/dist/styles/utils/text-decoration.module.css.cjs.map +1 -1
- package/dist/styles/utils/text-decoration.module.css.js +6 -3
- package/dist/styles/utils/text-decoration.module.css.js.map +1 -1
- package/dist/styles.css +24 -7
- package/package.json +4 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
4
5
|
const PictographItem_module = require("./PictographItem.module.css.cjs");
|
|
5
6
|
const cn = require("../../utils/cn/cn.cjs");
|
|
6
7
|
const PictographItem = ({
|
|
@@ -10,10 +11,20 @@ const PictographItem = ({
|
|
|
10
11
|
ref,
|
|
11
12
|
...props
|
|
12
13
|
}) => {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
const isShortText = react.Children.count(children) === 1 && (typeof children === "string" || react.isValidElement(children) && children.type === "p");
|
|
15
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16
|
+
"li",
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
className: cn.cn(PictographItem_module["pictograph-item"], className),
|
|
20
|
+
...props,
|
|
21
|
+
"data-pictograph-content": isShortText ? "short" : "long",
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: PictographItem_module["pictograph-item__icon"], "aria-hidden": "true", children: icon }),
|
|
24
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: PictographItem_module["pictograph-item__text"], children })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
17
28
|
};
|
|
18
29
|
exports.PictographItem = PictographItem;
|
|
19
30
|
//# sourceMappingURL=PictographItem.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictographItem.cjs","sources":["../../../src/components/Pictograph/PictographItem.tsx"],"sourcesContent":["import { cn } from '../../utils/cn';\nimport styles from './PictographItem.module.css';\nimport type { PictographItemProps } from './Pictograph.types';\n\nexport const PictographItem = ({\n icon,\n children,\n className,\n ref,\n ...props\n}: PictographItemProps) => {\n return (\n <li
|
|
1
|
+
{"version":3,"file":"PictographItem.cjs","sources":["../../../src/components/Pictograph/PictographItem.tsx"],"sourcesContent":["import { Children, isValidElement } from 'react';\nimport { cn } from '../../utils/cn';\nimport styles from './PictographItem.module.css';\nimport type { PictographItemProps } from './Pictograph.types';\n\nexport const PictographItem = ({\n icon,\n children,\n className,\n ref,\n ...props\n}: PictographItemProps) => {\n const isShortText =\n Children.count(children) === 1 &&\n (typeof children === 'string' || (isValidElement(children) && children.type === 'p'));\n\n return (\n <li\n ref={ref}\n className={cn(styles['pictograph-item'], className)}\n {...props}\n data-pictograph-content={isShortText ? 'short' : 'long'}\n >\n <span className={styles['pictograph-item__icon']} aria-hidden=\"true\">\n {icon}\n </span>\n <div className={styles['pictograph-item__text']}>{children}</div>\n </li>\n );\n};\n"],"names":["Children","isValidElement","jsxs","cn","styles","jsx"],"mappings":";;;;;;AAKO,MAAM,iBAAiB,CAAC;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACP,MAA2B;AACvB,QAAM,cACFA,MAAAA,SAAS,MAAM,QAAQ,MAAM,MAC5B,OAAO,aAAa,YAAaC,MAAAA,eAAe,QAAQ,KAAK,SAAS,SAAS;AAEpF,SACIC,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACG;AAAA,MACA,WAAWC,GAAAA,GAAGC,sBAAO,iBAAiB,GAAG,SAAS;AAAA,MACjD,GAAG;AAAA,MACJ,2BAAyB,cAAc,UAAU;AAAA,MAEjD,UAAA;AAAA,QAAAC,2BAAAA,IAAC,UAAK,WAAWD,sBAAO,uBAAuB,GAAG,eAAY,QACzD,UAAA,MACL;AAAA,uCACC,OAAA,EAAI,WAAWA,sBAAO,uBAAuB,GAAI,SAAA,CAAS;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGvE;;"}
|
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
* for direction, alignment, icon sizing, and gap.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
._pictograph-
|
|
9
|
+
._pictograph-item_1jsnm_9 {
|
|
10
10
|
display: flex;
|
|
11
|
-
flex-direction: var(--
|
|
12
|
-
align-items: var(--
|
|
13
|
-
gap: var(--
|
|
11
|
+
flex-direction: var(--_pictograph-direction);
|
|
12
|
+
align-items: var(--_pictograph-align);
|
|
13
|
+
gap: var(--_pictograph-item-gap);
|
|
14
14
|
margin: 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
._pictograph-
|
|
17
|
+
._pictograph-item__icon_1jsnm_17 {
|
|
18
18
|
flex: 0 0 auto;
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
|
-
color: var(--
|
|
23
|
-
width: var(--
|
|
24
|
-
height: var(--
|
|
22
|
+
color: var(--_pictograph-icon-color);
|
|
23
|
+
width: var(--_pictograph-icon-size);
|
|
24
|
+
height: var(--_pictograph-icon-size);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
._pictograph-
|
|
27
|
+
._pictograph-item__icon_1jsnm_17 svg {
|
|
28
28
|
fill: currentColor;
|
|
29
29
|
width: 100%;
|
|
30
30
|
height: 100%;
|
|
@@ -32,32 +32,35 @@
|
|
|
32
32
|
max-height: none;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
._pictograph-
|
|
35
|
+
._pictograph-item__text_1jsnm_35 {
|
|
36
36
|
display: flex;
|
|
37
37
|
flex-direction: column;
|
|
38
|
-
gap:
|
|
39
|
-
text-align: var(--
|
|
38
|
+
gap: var(--spacing-space-12);
|
|
39
|
+
text-align: var(--_pictograph-text-align);
|
|
40
40
|
text-wrap: balance;
|
|
41
|
-
color: var(--
|
|
41
|
+
color: var(--_pictograph-text-color);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
._pictograph-
|
|
44
|
+
._pictograph-item__text_1jsnm_35 > *:not(dialog) {
|
|
45
45
|
margin-top: 0;
|
|
46
46
|
margin-bottom: 0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
/*
|
|
50
|
-
._pictograph-
|
|
49
|
+
/* Short content uses the larger body style */
|
|
50
|
+
._pictograph-item_1jsnm_9[data-pictograph-content='short'] ._pictograph-item__text_1jsnm_35 {
|
|
51
51
|
font: var(--typography-body-lg);
|
|
52
|
-
margin-bottom: 0;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
/* Headings inside text area */
|
|
56
|
-
._pictograph-
|
|
57
|
-
._pictograph-
|
|
58
|
-
._pictograph-
|
|
59
|
-
._pictograph-
|
|
60
|
-
._pictograph-
|
|
61
|
-
font: var(--
|
|
55
|
+
._pictograph-item__text_1jsnm_35 h1,
|
|
56
|
+
._pictograph-item__text_1jsnm_35 h2,
|
|
57
|
+
._pictograph-item__text_1jsnm_35 h3,
|
|
58
|
+
._pictograph-item__text_1jsnm_35 h4,
|
|
59
|
+
._pictograph-item__text_1jsnm_35 h5 {
|
|
60
|
+
font: var(--_pictograph-heading-font);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
._pictograph-item_1jsnm_9[data-pictograph-content='long'] ._pictograph-item__text_1jsnm_35 > p {
|
|
64
|
+
font: var(--_pictograph-long-body-font);
|
|
62
65
|
}
|
|
63
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictographItem.d.ts","sourceRoot":"","sources":["../../../src/components/Pictograph/PictographItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PictographItem.d.ts","sourceRoot":"","sources":["../../../src/components/Pictograph/PictographItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,eAAO,MAAM,cAAc,GAAI,8CAM5B,mBAAmB,4CAkBrB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Children, isValidElement } from "react";
|
|
2
3
|
import styles from "./PictographItem.module.css.js";
|
|
3
4
|
import { cn } from "../../utils/cn/cn.js";
|
|
4
5
|
const PictographItem = ({
|
|
@@ -8,10 +9,20 @@ const PictographItem = ({
|
|
|
8
9
|
ref,
|
|
9
10
|
...props
|
|
10
11
|
}) => {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
const isShortText = Children.count(children) === 1 && (typeof children === "string" || isValidElement(children) && children.type === "p");
|
|
13
|
+
return /* @__PURE__ */ jsxs(
|
|
14
|
+
"li",
|
|
15
|
+
{
|
|
16
|
+
ref,
|
|
17
|
+
className: cn(styles["pictograph-item"], className),
|
|
18
|
+
...props,
|
|
19
|
+
"data-pictograph-content": isShortText ? "short" : "long",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("span", { className: styles["pictograph-item__icon"], "aria-hidden": "true", children: icon }),
|
|
22
|
+
/* @__PURE__ */ jsx("div", { className: styles["pictograph-item__text"], children })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
);
|
|
15
26
|
};
|
|
16
27
|
export {
|
|
17
28
|
PictographItem
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictographItem.js","sources":["../../../src/components/Pictograph/PictographItem.tsx"],"sourcesContent":["import { cn } from '../../utils/cn';\nimport styles from './PictographItem.module.css';\nimport type { PictographItemProps } from './Pictograph.types';\n\nexport const PictographItem = ({\n icon,\n children,\n className,\n ref,\n ...props\n}: PictographItemProps) => {\n return (\n <li
|
|
1
|
+
{"version":3,"file":"PictographItem.js","sources":["../../../src/components/Pictograph/PictographItem.tsx"],"sourcesContent":["import { Children, isValidElement } from 'react';\nimport { cn } from '../../utils/cn';\nimport styles from './PictographItem.module.css';\nimport type { PictographItemProps } from './Pictograph.types';\n\nexport const PictographItem = ({\n icon,\n children,\n className,\n ref,\n ...props\n}: PictographItemProps) => {\n const isShortText =\n Children.count(children) === 1 &&\n (typeof children === 'string' || (isValidElement(children) && children.type === 'p'));\n\n return (\n <li\n ref={ref}\n className={cn(styles['pictograph-item'], className)}\n {...props}\n data-pictograph-content={isShortText ? 'short' : 'long'}\n >\n <span className={styles['pictograph-item__icon']} aria-hidden=\"true\">\n {icon}\n </span>\n <div className={styles['pictograph-item__text']}>{children}</div>\n </li>\n );\n};\n"],"names":[],"mappings":";;;;AAKO,MAAM,iBAAiB,CAAC;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACP,MAA2B;AACvB,QAAM,cACF,SAAS,MAAM,QAAQ,MAAM,MAC5B,OAAO,aAAa,YAAa,eAAe,QAAQ,KAAK,SAAS,SAAS;AAEpF,SACI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG;AAAA,MACA,WAAW,GAAG,OAAO,iBAAiB,GAAG,SAAS;AAAA,MACjD,GAAG;AAAA,MACJ,2BAAyB,cAAc,UAAU;AAAA,MAEjD,UAAA;AAAA,QAAA,oBAAC,UAAK,WAAW,OAAO,uBAAuB,GAAG,eAAY,QACzD,UAAA,MACL;AAAA,4BACC,OAAA,EAAI,WAAW,OAAO,uBAAuB,GAAI,SAAA,CAAS;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGvE;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require('./PictographItem.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
const styles = {
|
|
4
|
-
"pictograph-item": "_pictograph-
|
|
5
|
-
"pictograph-item__icon": "_pictograph-
|
|
6
|
-
"pictograph-item__text": "_pictograph-
|
|
4
|
+
"pictograph-item": "_pictograph-item_1jsnm_9",
|
|
5
|
+
"pictograph-item__icon": "_pictograph-item__icon_1jsnm_17",
|
|
6
|
+
"pictograph-item__text": "_pictograph-item__text_1jsnm_35"
|
|
7
7
|
};
|
|
8
8
|
module.exports = styles;
|
|
9
9
|
//# sourceMappingURL=PictographItem.module.css.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './PictographItem.css';
|
|
2
2
|
const styles = {
|
|
3
|
-
"pictograph-item": "_pictograph-
|
|
4
|
-
"pictograph-item__icon": "_pictograph-
|
|
5
|
-
"pictograph-item__text": "_pictograph-
|
|
3
|
+
"pictograph-item": "_pictograph-item_1jsnm_9",
|
|
4
|
+
"pictograph-item__icon": "_pictograph-item__icon_1jsnm_17",
|
|
5
|
+
"pictograph-item__text": "_pictograph-item__text_1jsnm_35"
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
8
|
styles as default
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const Quote_module = require("./Quote.module.css.cjs");
|
|
5
|
+
const cn = require("../../utils/cn/cn.cjs");
|
|
6
|
+
const Quote = ({ children, author, className, ref, ...props }) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("blockquote", { ref, className: cn.cn(Quote_module.default.quote, className), ...props, children: [
|
|
8
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
className: Quote_module.default.quote__mark,
|
|
12
|
+
viewBox: "0 0 54 42",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
d: "M10.4516 20.134C11.9032 15.2105 14.9516 11.011 20.1774 7.53563C21.4839 6.52197 21.9194 5.50832 21.1936 4.34985L18.7258 1.01926C18 0.00560203 17.129 -0.284017 15.9677 0.295217C3.91935 6.81159 0 19.2651 0 25.7815C0 37.2213 6.09678 42 12.4839 42C18.871 42 23.6613 37.0765 23.6613 30.8498C23.6613 24.623 18.2903 18.9755 10.4516 20.134ZM40.7903 20.134C42.2419 15.2105 45.2903 11.011 50.5161 7.53563C51.8226 6.52197 52.2581 5.50832 51.5323 4.34985L49.0645 1.01926C48.3387 0.00560203 47.4678 -0.284017 46.3065 0.295217C34.2581 6.81159 30.3387 19.2651 30.3387 25.7815C30.3387 37.2213 36.4355 42 42.8226 42C49.2097 42 54 37.0765 54 30.8498C54 24.623 48.629 18.9755 40.7903 20.134Z",
|
|
20
|
+
fill: "currentColor"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Quote_module.default.quote__content, children: [
|
|
26
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Quote_module.default.quote__text, children }),
|
|
27
|
+
author != null && /* @__PURE__ */ jsxRuntime.jsx("footer", { className: Quote_module.default.quote__author, children: author })
|
|
28
|
+
] })
|
|
29
|
+
] });
|
|
30
|
+
};
|
|
31
|
+
exports.Quote = Quote;
|
|
32
|
+
//# sourceMappingURL=Quote.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.cjs","sources":["../../../src/components/Quote/Quote.tsx"],"sourcesContent":["import { cn } from '../../utils/cn';\nimport styles from './Quote.module.css';\nimport type { QuoteProps } from './Quote.types';\n\nexport const Quote = ({ children, author, className, ref, ...props }: QuoteProps) => {\n return (\n <blockquote ref={ref} className={cn(styles.quote, className)} {...props}>\n <svg\n className={styles.quote__mark}\n viewBox=\"0 0 54 42\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10.4516 20.134C11.9032 15.2105 14.9516 11.011 20.1774 7.53563C21.4839 6.52197 21.9194 5.50832 21.1936 4.34985L18.7258 1.01926C18 0.00560203 17.129 -0.284017 15.9677 0.295217C3.91935 6.81159 0 19.2651 0 25.7815C0 37.2213 6.09678 42 12.4839 42C18.871 42 23.6613 37.0765 23.6613 30.8498C23.6613 24.623 18.2903 18.9755 10.4516 20.134ZM40.7903 20.134C42.2419 15.2105 45.2903 11.011 50.5161 7.53563C51.8226 6.52197 52.2581 5.50832 51.5323 4.34985L49.0645 1.01926C48.3387 0.00560203 47.4678 -0.284017 46.3065 0.295217C34.2581 6.81159 30.3387 19.2651 30.3387 25.7815C30.3387 37.2213 36.4355 42 42.8226 42C49.2097 42 54 37.0765 54 30.8498C54 24.623 48.629 18.9755 40.7903 20.134Z\"\n fill=\"currentColor\"\n />\n </svg>\n <div className={styles.quote__content}>\n <div className={styles.quote__text}>{children}</div>\n {author != null && <footer className={styles.quote__author}>{author}</footer>}\n </div>\n </blockquote>\n );\n};\n"],"names":["jsxs","cn","styles","jsx"],"mappings":";;;;;AAIO,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,WAAW,KAAK,GAAG,YAAwB;AACjF,SACIA,gCAAC,cAAA,EAAW,KAAU,WAAWC,GAAAA,GAAGC,aAAAA,QAAO,OAAO,SAAS,GAAI,GAAG,OAC9D,UAAA;AAAA,IAAAC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAWD,aAAAA,QAAO;AAAA,QAClB,SAAQ;AAAA,QACR,MAAK;AAAA,QACL,OAAM;AAAA,QACN,eAAY;AAAA,QAEZ,UAAAC,2BAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACG,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACT;AAAA,IAAA;AAAA,IAEJH,2BAAAA,KAAC,OAAA,EAAI,WAAWE,aAAAA,QAAO,gBACnB,UAAA;AAAA,MAAAC,2BAAAA,IAAC,OAAA,EAAI,WAAWD,aAAAA,QAAO,aAAc,UAAS;AAAA,MAC7C,UAAU,QAAQC,2BAAAA,IAAC,YAAO,WAAWD,qBAAO,eAAgB,UAAA,OAAA,CAAO;AAAA,IAAA,EAAA,CACxE;AAAA,EAAA,GACJ;AAER;;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
@layer dds-components {._quote_1dakr_1 {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: flex-start;
|
|
4
|
+
gap: var(--spacing-space-20);
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
margin-block: var(--spacing-space-32);
|
|
8
|
+
margin-inline: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
color: var(--color-semantic-foreground-default);
|
|
11
|
+
container-name: quote;
|
|
12
|
+
container-type: inline-size;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
._quote__mark_1dakr_15 {
|
|
16
|
+
flex: 0 0 auto;
|
|
17
|
+
width: 35px;
|
|
18
|
+
height: 27px;
|
|
19
|
+
color: var(--color-semantic-foreground-primary-strong);
|
|
20
|
+
transform: rotate(180deg);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
._quote__content_1dakr_23 {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
align-items: flex-end;
|
|
28
|
+
gap: var(--spacing-space-20);
|
|
29
|
+
min-width: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
._quote__text_1dakr_32 {
|
|
33
|
+
width: 100%;
|
|
34
|
+
margin: 0;
|
|
35
|
+
font: var(--typography-heading-xs);
|
|
36
|
+
text-wrap: pretty;
|
|
37
|
+
overflow-wrap: anywhere;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
._quote__text_1dakr_32 > *:not(dialog) {
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
._quote__author_1dakr_44 {
|
|
45
|
+
width: 100%;
|
|
46
|
+
margin: 0;
|
|
47
|
+
font: var(--typography-body-sm);
|
|
48
|
+
font-style: normal;
|
|
49
|
+
text-align: right;
|
|
50
|
+
text-wrap: pretty;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@container quote (min-width: 321px) {
|
|
54
|
+
._quote__mark_1dakr_15 {
|
|
55
|
+
width: 46px;
|
|
56
|
+
height: 36px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
._quote__text_1dakr_32 {
|
|
60
|
+
font: var(--typography-heading-sm);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
._quote__author_1dakr_44 {
|
|
64
|
+
font: var(--typography-body-md);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@container quote (min-width: 641px) {
|
|
69
|
+
._quote__mark_1dakr_15 {
|
|
70
|
+
width: 54px;
|
|
71
|
+
height: 42px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
._quote__text_1dakr_32 {
|
|
75
|
+
font: var(--typography-heading-md);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
._quote__author_1dakr_44 {
|
|
79
|
+
font: var(--typography-body-lg);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@scope ([data-color-scheme='dark']) to ([data-color-scheme='light']) {
|
|
84
|
+
._quote_1dakr_1 {
|
|
85
|
+
color: var(--color-semantic-foreground-inverse);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (forced-colors: active) {
|
|
90
|
+
._quote_1dakr_1,
|
|
91
|
+
._quote__mark_1dakr_15 {
|
|
92
|
+
color: CanvasText;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/Quote.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,KAAK,GAAI,gDAAgD,UAAU,4CAqB/E,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import styles from "./Quote.module.css.js";
|
|
3
|
+
import { cn } from "../../utils/cn/cn.js";
|
|
4
|
+
const Quote = ({ children, author, className, ref, ...props }) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("blockquote", { ref, className: cn(styles.quote, className), ...props, children: [
|
|
6
|
+
/* @__PURE__ */ jsx(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
className: styles.quote__mark,
|
|
10
|
+
viewBox: "0 0 54 42",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-hidden": "true",
|
|
14
|
+
children: /* @__PURE__ */ jsx(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M10.4516 20.134C11.9032 15.2105 14.9516 11.011 20.1774 7.53563C21.4839 6.52197 21.9194 5.50832 21.1936 4.34985L18.7258 1.01926C18 0.00560203 17.129 -0.284017 15.9677 0.295217C3.91935 6.81159 0 19.2651 0 25.7815C0 37.2213 6.09678 42 12.4839 42C18.871 42 23.6613 37.0765 23.6613 30.8498C23.6613 24.623 18.2903 18.9755 10.4516 20.134ZM40.7903 20.134C42.2419 15.2105 45.2903 11.011 50.5161 7.53563C51.8226 6.52197 52.2581 5.50832 51.5323 4.34985L49.0645 1.01926C48.3387 0.00560203 47.4678 -0.284017 46.3065 0.295217C34.2581 6.81159 30.3387 19.2651 30.3387 25.7815C30.3387 37.2213 36.4355 42 42.8226 42C49.2097 42 54 37.0765 54 30.8498C54 24.623 48.629 18.9755 40.7903 20.134Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ jsxs("div", { className: styles.quote__content, children: [
|
|
24
|
+
/* @__PURE__ */ jsx("div", { className: styles.quote__text, children }),
|
|
25
|
+
author != null && /* @__PURE__ */ jsx("footer", { className: styles.quote__author, children: author })
|
|
26
|
+
] })
|
|
27
|
+
] });
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
Quote
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Quote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.js","sources":["../../../src/components/Quote/Quote.tsx"],"sourcesContent":["import { cn } from '../../utils/cn';\nimport styles from './Quote.module.css';\nimport type { QuoteProps } from './Quote.types';\n\nexport const Quote = ({ children, author, className, ref, ...props }: QuoteProps) => {\n return (\n <blockquote ref={ref} className={cn(styles.quote, className)} {...props}>\n <svg\n className={styles.quote__mark}\n viewBox=\"0 0 54 42\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10.4516 20.134C11.9032 15.2105 14.9516 11.011 20.1774 7.53563C21.4839 6.52197 21.9194 5.50832 21.1936 4.34985L18.7258 1.01926C18 0.00560203 17.129 -0.284017 15.9677 0.295217C3.91935 6.81159 0 19.2651 0 25.7815C0 37.2213 6.09678 42 12.4839 42C18.871 42 23.6613 37.0765 23.6613 30.8498C23.6613 24.623 18.2903 18.9755 10.4516 20.134ZM40.7903 20.134C42.2419 15.2105 45.2903 11.011 50.5161 7.53563C51.8226 6.52197 52.2581 5.50832 51.5323 4.34985L49.0645 1.01926C48.3387 0.00560203 47.4678 -0.284017 46.3065 0.295217C34.2581 6.81159 30.3387 19.2651 30.3387 25.7815C30.3387 37.2213 36.4355 42 42.8226 42C49.2097 42 54 37.0765 54 30.8498C54 24.623 48.629 18.9755 40.7903 20.134Z\"\n fill=\"currentColor\"\n />\n </svg>\n <div className={styles.quote__content}>\n <div className={styles.quote__text}>{children}</div>\n {author != null && <footer className={styles.quote__author}>{author}</footer>}\n </div>\n </blockquote>\n );\n};\n"],"names":[],"mappings":";;;AAIO,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,WAAW,KAAK,GAAG,YAAwB;AACjF,SACI,qBAAC,cAAA,EAAW,KAAU,WAAW,GAAG,OAAO,OAAO,SAAS,GAAI,GAAG,OAC9D,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAW,OAAO;AAAA,QAClB,SAAQ;AAAA,QACR,MAAK;AAAA,QACL,OAAM;AAAA,QACN,eAAY;AAAA,QAEZ,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACT;AAAA,IAAA;AAAA,IAEJ,qBAAC,OAAA,EAAI,WAAW,OAAO,gBACnB,UAAA;AAAA,MAAA,oBAAC,OAAA,EAAI,WAAW,OAAO,aAAc,UAAS;AAAA,MAC7C,UAAU,QAAQ,oBAAC,YAAO,WAAW,OAAO,eAAgB,UAAA,OAAA,CAAO;AAAA,IAAA,EAAA,CACxE;AAAA,EAAA,GACJ;AAER;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require('./Quote.css');
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
+
const quote = "_quote_1dakr_1";
|
|
5
|
+
const quote__mark = "_quote__mark_1dakr_15";
|
|
6
|
+
const quote__content = "_quote__content_1dakr_23";
|
|
7
|
+
const quote__text = "_quote__text_1dakr_32";
|
|
8
|
+
const quote__author = "_quote__author_1dakr_44";
|
|
9
|
+
const styles = {
|
|
10
|
+
quote,
|
|
11
|
+
quote__mark,
|
|
12
|
+
quote__content,
|
|
13
|
+
quote__text,
|
|
14
|
+
quote__author
|
|
15
|
+
};
|
|
16
|
+
exports.default = styles;
|
|
17
|
+
exports.quote = quote;
|
|
18
|
+
exports.quote__author = quote__author;
|
|
19
|
+
exports.quote__content = quote__content;
|
|
20
|
+
exports.quote__mark = quote__mark;
|
|
21
|
+
exports.quote__text = quote__text;
|
|
22
|
+
//# sourceMappingURL=Quote.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './Quote.css';
|
|
2
|
+
const quote = "_quote_1dakr_1";
|
|
3
|
+
const quote__mark = "_quote__mark_1dakr_15";
|
|
4
|
+
const quote__content = "_quote__content_1dakr_23";
|
|
5
|
+
const quote__text = "_quote__text_1dakr_32";
|
|
6
|
+
const quote__author = "_quote__author_1dakr_44";
|
|
7
|
+
const styles = {
|
|
8
|
+
quote,
|
|
9
|
+
quote__mark,
|
|
10
|
+
quote__content,
|
|
11
|
+
quote__text,
|
|
12
|
+
quote__author
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
styles as default,
|
|
16
|
+
quote,
|
|
17
|
+
quote__author,
|
|
18
|
+
quote__content,
|
|
19
|
+
quote__mark,
|
|
20
|
+
quote__text
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Quote.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
export interface QuoteProps extends Omit<ComponentPropsWithRef<'blockquote'>, 'children'> {
|
|
3
|
+
/**
|
|
4
|
+
* Main quote content.
|
|
5
|
+
*/
|
|
6
|
+
readonly children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Quote attribution shown below the content.
|
|
9
|
+
*/
|
|
10
|
+
readonly author?: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Quote.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.types.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/Quote.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC;IACrF;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -5,26 +5,40 @@ const Accordion = require("./components/Accordion/Accordion.cjs");
|
|
|
5
5
|
const AccordionItem = require("./components/AccordionItem/AccordionItem.cjs");
|
|
6
6
|
const Breadcrumb = require("./components/Breadcrumb/Breadcrumb.cjs");
|
|
7
7
|
const Button = require("./components/Button/Button.cjs");
|
|
8
|
+
const ButtonCard = require("./components/ButtonCard/ButtonCard.cjs");
|
|
8
9
|
const ColorScheme = require("./components/ColorScheme/ColorScheme.cjs");
|
|
10
|
+
const Drawer = require("./components/Drawer/Drawer.cjs");
|
|
11
|
+
const Footer = require("./components/Footer/Footer.cjs");
|
|
12
|
+
const FunctionButton = require("./components/FunctionButton/FunctionButton.cjs");
|
|
9
13
|
const Hero = require("./components/Hero/Hero.cjs");
|
|
10
14
|
const IconButton = require("./components/IconButton/IconButton.cjs");
|
|
11
15
|
const Label = require("./components/Label/Label.cjs");
|
|
16
|
+
const MainNavigation = require("./components/MainNavigation/MainNavigation.cjs");
|
|
17
|
+
const Modal = require("./components/Modal/Modal.cjs");
|
|
12
18
|
const Notification = require("./components/Notification/Notification.cjs");
|
|
13
19
|
const Pictograph = require("./components/Pictograph/Pictograph.cjs");
|
|
14
20
|
const PictographItem = require("./components/Pictograph/PictographItem.cjs");
|
|
21
|
+
const Quote = require("./components/Quote/Quote.cjs");
|
|
15
22
|
const Spinner = require("./components/Spinner/Spinner.cjs");
|
|
16
23
|
const cn = require("./utils/cn/cn.cjs");
|
|
17
24
|
exports.Accordion = Accordion.Accordion;
|
|
18
25
|
exports.AccordionItem = AccordionItem.AccordionItem;
|
|
19
26
|
exports.Breadcrumb = Breadcrumb.Breadcrumb;
|
|
20
27
|
exports.Button = Button.Button;
|
|
28
|
+
exports.ButtonCard = ButtonCard.ButtonCard;
|
|
21
29
|
exports.ColorScheme = ColorScheme.ColorScheme;
|
|
30
|
+
exports.Drawer = Drawer.Drawer;
|
|
31
|
+
exports.Footer = Footer.Footer;
|
|
32
|
+
exports.FunctionButton = FunctionButton.FunctionButton;
|
|
22
33
|
exports.Hero = Hero.Hero;
|
|
23
34
|
exports.IconButton = IconButton.IconButton;
|
|
24
35
|
exports.Label = Label.Label;
|
|
36
|
+
exports.MainNavigation = MainNavigation.MainNavigation;
|
|
37
|
+
exports.Modal = Modal.Modal;
|
|
25
38
|
exports.Notification = Notification.Notification;
|
|
26
39
|
exports.Pictograph = Pictograph.Pictograph;
|
|
27
40
|
exports.PictographItem = PictographItem.PictographItem;
|
|
41
|
+
exports.Quote = Quote.Quote;
|
|
28
42
|
exports.Spinner = Spinner.Spinner;
|
|
29
43
|
exports.cn = cn.cn;
|
|
30
44
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,24 +2,38 @@ export { Accordion } from './components/Accordion';
|
|
|
2
2
|
export { AccordionItem } from './components/AccordionItem';
|
|
3
3
|
export { Breadcrumb } from './components/Breadcrumb';
|
|
4
4
|
export { Button } from './components/Button';
|
|
5
|
+
export { ButtonCard } from './components/ButtonCard';
|
|
5
6
|
export { ColorScheme } from './components/ColorScheme';
|
|
7
|
+
export { Drawer } from './components/Drawer';
|
|
8
|
+
export { Footer } from './components/Footer';
|
|
6
9
|
export { Hero } from './components/Hero';
|
|
10
|
+
export { MainNavigation } from './components/MainNavigation';
|
|
7
11
|
export { Notification } from './components/Notification';
|
|
8
12
|
export { Label } from './components/Label';
|
|
13
|
+
export { Modal } from './components/Modal';
|
|
9
14
|
export { Pictograph, PictographItem } from './components/Pictograph';
|
|
15
|
+
export { Quote } from './components/Quote';
|
|
10
16
|
export { Spinner } from './components/Spinner';
|
|
11
17
|
export { IconButton } from './components/IconButton';
|
|
18
|
+
export { FunctionButton } from './components/FunctionButton';
|
|
12
19
|
export type { AccordionProps } from './components/Accordion';
|
|
13
20
|
export type { AccordionItemProps } from './components/AccordionItem';
|
|
14
21
|
export type { BreadcrumbItem, BreadcrumbLinkProps, BreadcrumbProps } from './components/Breadcrumb';
|
|
15
22
|
export type { ButtonProps, ButtonLinkProps, ButtonVariant, ButtonSize } from './components/Button';
|
|
23
|
+
export type { ButtonCardIcon, ButtonCardLinkProps, ButtonCardProps, ButtonCardSize, } from './components/ButtonCard';
|
|
16
24
|
export type { ColorSchemeProps, ColorSchemeValue } from './components/ColorScheme';
|
|
25
|
+
export type { DrawerHeaderStyle, DrawerProps, DrawerSide, DrawerSize } from './components/Drawer';
|
|
26
|
+
export type { FooterAppLink, FooterAppLinks, FooterLanguage, FooterLink, FooterLinkMeta, FooterLinkProps, FooterMandatoryLink, FooterNavigationGroup, FooterOrganization, FooterProps, FooterRenderLink, FooterSocialLink, FooterSocialPlatform, FooterTopSectionGroup, FooterTopSectionLink, } from './components/Footer';
|
|
17
27
|
export type { HeroProps, HeroHeadingLevel, HeroCommonImageProps, HeroImageComponent, } from './components/Hero';
|
|
28
|
+
export type { MainNavigationItem, MainNavigationLink, MainNavigationOrganizationLink, MainNavigationPanel, MainNavigationProps, MainNavigationSubmenuColumn, } from './components/MainNavigation';
|
|
18
29
|
export type { NotificationProps, NotificationVariant } from './components/Notification';
|
|
19
30
|
export type { LabelProps, LabelVariant } from './components/Label';
|
|
31
|
+
export type { ModalHeaderStyle, ModalProps, ModalSize } from './components/Modal';
|
|
20
32
|
export type { PictographItemProps, PictographProps } from './components/Pictograph';
|
|
33
|
+
export type { QuoteProps } from './components/Quote';
|
|
21
34
|
export type { SpinnerColor, SpinnerProps, SpinnerSize } from './components/Spinner';
|
|
22
35
|
export type { Icon, IconPosition, IconButtonLinkProps, IconButtonProps, IconButtonSize, } from './components/IconButton';
|
|
36
|
+
export type { FunctionButtonIcon, FunctionButtonProps, FunctionButtonSize, FunctionButtonVariant, } from './components/FunctionButton';
|
|
23
37
|
export { cn } from './utils';
|
|
24
38
|
export type { CnDictionary, CnInput } from './utils';
|
|
25
39
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.js
CHANGED
|
@@ -3,13 +3,20 @@ import { Accordion } from "./components/Accordion/Accordion.js";
|
|
|
3
3
|
import { AccordionItem } from "./components/AccordionItem/AccordionItem.js";
|
|
4
4
|
import { Breadcrumb } from "./components/Breadcrumb/Breadcrumb.js";
|
|
5
5
|
import { Button } from "./components/Button/Button.js";
|
|
6
|
+
import { ButtonCard } from "./components/ButtonCard/ButtonCard.js";
|
|
6
7
|
import { ColorScheme } from "./components/ColorScheme/ColorScheme.js";
|
|
8
|
+
import { Drawer } from "./components/Drawer/Drawer.js";
|
|
9
|
+
import { Footer } from "./components/Footer/Footer.js";
|
|
10
|
+
import { FunctionButton } from "./components/FunctionButton/FunctionButton.js";
|
|
7
11
|
import { Hero } from "./components/Hero/Hero.js";
|
|
8
12
|
import { IconButton } from "./components/IconButton/IconButton.js";
|
|
9
13
|
import { Label } from "./components/Label/Label.js";
|
|
14
|
+
import { MainNavigation } from "./components/MainNavigation/MainNavigation.js";
|
|
15
|
+
import { Modal } from "./components/Modal/Modal.js";
|
|
10
16
|
import { Notification } from "./components/Notification/Notification.js";
|
|
11
17
|
import { Pictograph } from "./components/Pictograph/Pictograph.js";
|
|
12
18
|
import { PictographItem } from "./components/Pictograph/PictographItem.js";
|
|
19
|
+
import { Quote } from "./components/Quote/Quote.js";
|
|
13
20
|
import { Spinner } from "./components/Spinner/Spinner.js";
|
|
14
21
|
import { cn } from "./utils/cn/cn.js";
|
|
15
22
|
export {
|
|
@@ -17,13 +24,20 @@ export {
|
|
|
17
24
|
AccordionItem,
|
|
18
25
|
Breadcrumb,
|
|
19
26
|
Button,
|
|
27
|
+
ButtonCard,
|
|
20
28
|
ColorScheme,
|
|
29
|
+
Drawer,
|
|
30
|
+
Footer,
|
|
31
|
+
FunctionButton,
|
|
21
32
|
Hero,
|
|
22
33
|
IconButton,
|
|
23
34
|
Label,
|
|
35
|
+
MainNavigation,
|
|
36
|
+
Modal,
|
|
24
37
|
Notification,
|
|
25
38
|
Pictograph,
|
|
26
39
|
PictographItem,
|
|
40
|
+
Quote,
|
|
27
41
|
Spinner,
|
|
28
42
|
cn
|
|
29
43
|
};
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,12 +2,15 @@ require('./elevation.css');
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
4
|
const elevationLow = "_elevationLow_dspr0_1";
|
|
5
|
+
const elevationMedium = "_elevationMedium_dspr0_8";
|
|
5
6
|
const elevationHigh = "_elevationHigh_dspr0_16";
|
|
6
7
|
const elevationStyles = {
|
|
7
8
|
elevationLow,
|
|
9
|
+
elevationMedium,
|
|
8
10
|
elevationHigh
|
|
9
11
|
};
|
|
10
12
|
exports.default = elevationStyles;
|
|
11
13
|
exports.elevationHigh = elevationHigh;
|
|
12
14
|
exports.elevationLow = elevationLow;
|
|
15
|
+
exports.elevationMedium = elevationMedium;
|
|
13
16
|
//# sourceMappingURL=elevation.module.css.cjs.map
|