jvetrau-ds 0.2.42 → 0.2.43

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.
@@ -32,7 +32,9 @@ const Breadcrumbs = ({
32
32
  {
33
33
  className: "breadcrumbs__icon",
34
34
  name: "chevron-left",
35
- "aria-hidden": "true"
35
+ size: "compact",
36
+ "aria-hidden": true,
37
+ focusable: false
36
38
  }
37
39
  ),
38
40
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "breadcrumbs__label", children: item.label })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":["classnames","jsxs","Fragment","jsx","Icon"],"mappings":";;;;;;;;;;;AAkBA,MAAM,cAA0C,CAAC;AAAA,EAC/C,YAAA,GAAe,UAAA;AAAA,EACf,KAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,OAAA,GAAUA,qBAAA,CAAW,aAAA,EAAe,SAAA,EAAW;AAAA,IACnD,yBAAyB,YAAA,KAAiB,UAAA;AAAA,IAC1C,qBAAqB,YAAA,KAAiB;AAAA,GACvC,CAAA;AAED,EAAA,IAAI,iBAAiB,MAAA,EAAQ;AAC3B,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,IAAA,GAAO,MAAM,CAAC,CAAA;AAEpB,EAAA,IAAI,CAAC,IAAA,EAAM;AACT,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,0BACJC,eAAA,CAAAC,mBAAA,EAAA,EACE,QAAA,EAAA;AAAA,oBAAAC,cAAA;AAAA,MAACC,qBAAA;AAAA,MAAA;AAAA,QACC,SAAA,EAAU,mBAAA;AAAA,QACV,IAAA,EAAK,cAAA;AAAA,QACL,aAAA,EAAY;AAAA;AAAA,KACd;AAAA,oBAEAD,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,oBAAA,EACb,eAAK,KAAA,EACR;AAAA,GAAA,EACF,CAAA;AAGF,EAAA,uBACEA,cAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,YAAA,EAAW,YAAA;AAAA,MACV,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA,IAAA,CAAK,UAAA,mBACJA,cAAA,CAAC,MAAA,EAAA,EAAK,WAAU,mBAAA,EACb,QAAA,EAAA,IAAA,CAAK,UAAA,CAAW,OAAO,GAC1B,CAAA,mBAEAA,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,wBACb,QAAA,EAAA,OAAA,EACH;AAAA;AAAA,GAEJ;AAEJ,CAAA;AAEA,IAAO,mBAAA,GAAQ","file":"breadcrumbs.cjs","sourcesContent":["import React from 'react';\nimport './breadcrumbs.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon from '../../icons/icon';\n\nexport type BreadcrumbsPresentation = 'backlink' | 'path';\n\nexport interface BreadcrumbItem {\n label: React.ReactNode;\n renderLink?: (children: React.ReactNode) => React.ReactNode;\n}\n\nexport interface BreadcrumbsProps\n extends React.HTMLAttributes<HTMLElement> {\n presentation?: BreadcrumbsPresentation;\n items: BreadcrumbItem[];\n}\n\nconst Breadcrumbs: React.FC<BreadcrumbsProps> = ({\n presentation = 'backlink',\n items,\n className = '',\n ...props\n}) => {\n const classes = classnames('breadcrumbs', className, {\n 'breadcrumbs--backlink': presentation === 'backlink',\n 'breadcrumbs--path': presentation === 'path',\n });\n\n if (presentation === 'path') {\n return null;\n }\n\n const item = items[0];\n\n if (!item) {\n return null;\n }\n\n const content = (\n <>\n <Icon\n className=\"breadcrumbs__icon\"\n name=\"chevron-left\"\n aria-hidden=\"true\"\n />\n\n <span className=\"breadcrumbs__label\">\n {item.label}\n </span>\n </>\n );\n\n return (\n <nav\n className={classes}\n aria-label=\"Breadcrumb\"\n {...props}\n >\n {item.renderLink ? (\n <span className=\"breadcrumbs__link\">\n {item.renderLink(content)}\n </span>\n ) : (\n <span className=\"breadcrumbs__current\">\n {content}\n </span>\n )}\n </nav>\n );\n};\n\nexport default Breadcrumbs;"]}
1
+ {"version":3,"sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":["classnames","jsxs","Fragment","jsx","Icon"],"mappings":";;;;;;;;;;;AAkBA,MAAM,cAA0C,CAAC;AAAA,EAC/C,YAAA,GAAe,UAAA;AAAA,EACf,KAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,OAAA,GAAUA,qBAAA,CAAW,aAAA,EAAe,SAAA,EAAW;AAAA,IACnD,yBAAyB,YAAA,KAAiB,UAAA;AAAA,IAC1C,qBAAqB,YAAA,KAAiB;AAAA,GACvC,CAAA;AAED,EAAA,IAAI,iBAAiB,MAAA,EAAQ;AAC3B,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,IAAA,GAAO,MAAM,CAAC,CAAA;AAEpB,EAAA,IAAI,CAAC,IAAA,EAAM;AACT,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,0BACJC,eAAA,CAAAC,mBAAA,EAAA,EACE,QAAA,EAAA;AAAA,oBAAAC,cAAA;AAAA,MAACC,qBAAA;AAAA,MAAA;AAAA,QACC,SAAA,EAAU,mBAAA;AAAA,QACV,IAAA,EAAK,cAAA;AAAA,QACL,IAAA,EAAK,SAAA;AAAA,QACL,aAAA,EAAW,IAAA;AAAA,QACX,SAAA,EAAW;AAAA;AAAA,KACb;AAAA,oBAEAD,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,oBAAA,EACb,eAAK,KAAA,EACR;AAAA,GAAA,EACF,CAAA;AAGF,EAAA,uBACEA,cAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,YAAA,EAAW,YAAA;AAAA,MACV,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA,IAAA,CAAK,UAAA,mBACJA,cAAA,CAAC,MAAA,EAAA,EAAK,WAAU,mBAAA,EACb,QAAA,EAAA,IAAA,CAAK,UAAA,CAAW,OAAO,GAC1B,CAAA,mBAEAA,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,wBACb,QAAA,EAAA,OAAA,EACH;AAAA;AAAA,GAEJ;AAEJ,CAAA;AAEA,IAAO,mBAAA,GAAQ","file":"breadcrumbs.cjs","sourcesContent":["import React from 'react';\nimport './breadcrumbs.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon from '../../icons/icon';\n\nexport type BreadcrumbsPresentation = 'backlink' | 'path';\n\nexport interface BreadcrumbItem {\n label: React.ReactNode;\n renderLink?: (children: React.ReactNode) => React.ReactNode;\n}\n\nexport interface BreadcrumbsProps\n extends React.HTMLAttributes<HTMLElement> {\n presentation?: BreadcrumbsPresentation;\n items: BreadcrumbItem[];\n}\n\nconst Breadcrumbs: React.FC<BreadcrumbsProps> = ({\n presentation = 'backlink',\n items,\n className = '',\n ...props\n}) => {\n const classes = classnames('breadcrumbs', className, {\n 'breadcrumbs--backlink': presentation === 'backlink',\n 'breadcrumbs--path': presentation === 'path',\n });\n\n if (presentation === 'path') {\n return null;\n }\n\n const item = items[0];\n\n if (!item) {\n return null;\n }\n\n const content = (\n <>\n <Icon\n className=\"breadcrumbs__icon\"\n name=\"chevron-left\"\n size=\"compact\"\n aria-hidden\n focusable={false}\n />\n\n <span className=\"breadcrumbs__label\">\n {item.label}\n </span>\n </>\n );\n\n return (\n <nav\n className={classes}\n aria-label=\"Breadcrumb\"\n {...props}\n >\n {item.renderLink ? (\n <span className=\"breadcrumbs__link\">\n {item.renderLink(content)}\n </span>\n ) : (\n <span className=\"breadcrumbs__current\">\n {content}\n </span>\n )}\n </nav>\n );\n};\n\nexport default Breadcrumbs;\n"]}
@@ -26,14 +26,16 @@
26
26
 
27
27
  .breadcrumbs__link,
28
28
  .breadcrumbs__current {
29
+ /* color */
30
+ color: inherit;
31
+
32
+ /* typography */
33
+
29
34
  /* size */
30
35
  display: inline-flex;
31
36
  align-items: center;
32
37
  gap: var(--margin-icon);
33
38
 
34
- /* color */
35
- color: inherit;
36
-
37
39
  /* border */
38
40
 
39
41
  /* depth */
@@ -47,11 +49,31 @@
47
49
  color: inherit;
48
50
 
49
51
  /* typography */
52
+
53
+ /* size */
54
+
55
+ /* border */
56
+
57
+ /* depth */
58
+
59
+ /* motion */
50
60
  }
51
61
 
52
62
  .breadcrumbs__icon {
63
+ /* color */
64
+
65
+ /* typography */
66
+
53
67
  /* size */
54
68
  flex-shrink: 0;
69
+ translate: 0 -0.0305em;
70
+ translate: 0 -0.08em;
71
+
72
+ /* border */
73
+
74
+ /* depth */
75
+
76
+ /* motion */
55
77
  }
56
78
 
57
79
  .breadcrumbs__label {
@@ -26,7 +26,9 @@ const Breadcrumbs = ({
26
26
  {
27
27
  className: "breadcrumbs__icon",
28
28
  name: "chevron-left",
29
- "aria-hidden": "true"
29
+ size: "compact",
30
+ "aria-hidden": true,
31
+ focusable: false
30
32
  }
31
33
  ),
32
34
  /* @__PURE__ */ jsx("span", { className: "breadcrumbs__label", children: item.label })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":";;;;;AAkBA,MAAM,cAA0C,CAAC;AAAA,EAC/C,YAAA,GAAe,UAAA;AAAA,EACf,KAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,OAAA,GAAU,UAAA,CAAW,aAAA,EAAe,SAAA,EAAW;AAAA,IACnD,yBAAyB,YAAA,KAAiB,UAAA;AAAA,IAC1C,qBAAqB,YAAA,KAAiB;AAAA,GACvC,CAAA;AAED,EAAA,IAAI,iBAAiB,MAAA,EAAQ;AAC3B,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,IAAA,GAAO,MAAM,CAAC,CAAA;AAEpB,EAAA,IAAI,CAAC,IAAA,EAAM;AACT,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,0BACJ,IAAA,CAAA,QAAA,EAAA,EACE,QAAA,EAAA;AAAA,oBAAA,GAAA;AAAA,MAAC,IAAA;AAAA,MAAA;AAAA,QACC,SAAA,EAAU,mBAAA;AAAA,QACV,IAAA,EAAK,cAAA;AAAA,QACL,aAAA,EAAY;AAAA;AAAA,KACd;AAAA,oBAEA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,oBAAA,EACb,eAAK,KAAA,EACR;AAAA,GAAA,EACF,CAAA;AAGF,EAAA,uBACE,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,YAAA,EAAW,YAAA;AAAA,MACV,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA,IAAA,CAAK,UAAA,mBACJ,GAAA,CAAC,MAAA,EAAA,EAAK,WAAU,mBAAA,EACb,QAAA,EAAA,IAAA,CAAK,UAAA,CAAW,OAAO,GAC1B,CAAA,mBAEA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,wBACb,QAAA,EAAA,OAAA,EACH;AAAA;AAAA,GAEJ;AAEJ,CAAA;AAEA,IAAO,mBAAA,GAAQ","file":"breadcrumbs.js","sourcesContent":["import React from 'react';\nimport './breadcrumbs.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon from '../../icons/icon';\n\nexport type BreadcrumbsPresentation = 'backlink' | 'path';\n\nexport interface BreadcrumbItem {\n label: React.ReactNode;\n renderLink?: (children: React.ReactNode) => React.ReactNode;\n}\n\nexport interface BreadcrumbsProps\n extends React.HTMLAttributes<HTMLElement> {\n presentation?: BreadcrumbsPresentation;\n items: BreadcrumbItem[];\n}\n\nconst Breadcrumbs: React.FC<BreadcrumbsProps> = ({\n presentation = 'backlink',\n items,\n className = '',\n ...props\n}) => {\n const classes = classnames('breadcrumbs', className, {\n 'breadcrumbs--backlink': presentation === 'backlink',\n 'breadcrumbs--path': presentation === 'path',\n });\n\n if (presentation === 'path') {\n return null;\n }\n\n const item = items[0];\n\n if (!item) {\n return null;\n }\n\n const content = (\n <>\n <Icon\n className=\"breadcrumbs__icon\"\n name=\"chevron-left\"\n aria-hidden=\"true\"\n />\n\n <span className=\"breadcrumbs__label\">\n {item.label}\n </span>\n </>\n );\n\n return (\n <nav\n className={classes}\n aria-label=\"Breadcrumb\"\n {...props}\n >\n {item.renderLink ? (\n <span className=\"breadcrumbs__link\">\n {item.renderLink(content)}\n </span>\n ) : (\n <span className=\"breadcrumbs__current\">\n {content}\n </span>\n )}\n </nav>\n );\n};\n\nexport default Breadcrumbs;"]}
1
+ {"version":3,"sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":";;;;;AAkBA,MAAM,cAA0C,CAAC;AAAA,EAC/C,YAAA,GAAe,UAAA;AAAA,EACf,KAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,OAAA,GAAU,UAAA,CAAW,aAAA,EAAe,SAAA,EAAW;AAAA,IACnD,yBAAyB,YAAA,KAAiB,UAAA;AAAA,IAC1C,qBAAqB,YAAA,KAAiB;AAAA,GACvC,CAAA;AAED,EAAA,IAAI,iBAAiB,MAAA,EAAQ;AAC3B,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,IAAA,GAAO,MAAM,CAAC,CAAA;AAEpB,EAAA,IAAI,CAAC,IAAA,EAAM;AACT,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,0BACJ,IAAA,CAAA,QAAA,EAAA,EACE,QAAA,EAAA;AAAA,oBAAA,GAAA;AAAA,MAAC,IAAA;AAAA,MAAA;AAAA,QACC,SAAA,EAAU,mBAAA;AAAA,QACV,IAAA,EAAK,cAAA;AAAA,QACL,IAAA,EAAK,SAAA;AAAA,QACL,aAAA,EAAW,IAAA;AAAA,QACX,SAAA,EAAW;AAAA;AAAA,KACb;AAAA,oBAEA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,oBAAA,EACb,eAAK,KAAA,EACR;AAAA,GAAA,EACF,CAAA;AAGF,EAAA,uBACE,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,YAAA,EAAW,YAAA;AAAA,MACV,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA,IAAA,CAAK,UAAA,mBACJ,GAAA,CAAC,MAAA,EAAA,EAAK,WAAU,mBAAA,EACb,QAAA,EAAA,IAAA,CAAK,UAAA,CAAW,OAAO,GAC1B,CAAA,mBAEA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,wBACb,QAAA,EAAA,OAAA,EACH;AAAA;AAAA,GAEJ;AAEJ,CAAA;AAEA,IAAO,mBAAA,GAAQ","file":"breadcrumbs.js","sourcesContent":["import React from 'react';\nimport './breadcrumbs.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon from '../../icons/icon';\n\nexport type BreadcrumbsPresentation = 'backlink' | 'path';\n\nexport interface BreadcrumbItem {\n label: React.ReactNode;\n renderLink?: (children: React.ReactNode) => React.ReactNode;\n}\n\nexport interface BreadcrumbsProps\n extends React.HTMLAttributes<HTMLElement> {\n presentation?: BreadcrumbsPresentation;\n items: BreadcrumbItem[];\n}\n\nconst Breadcrumbs: React.FC<BreadcrumbsProps> = ({\n presentation = 'backlink',\n items,\n className = '',\n ...props\n}) => {\n const classes = classnames('breadcrumbs', className, {\n 'breadcrumbs--backlink': presentation === 'backlink',\n 'breadcrumbs--path': presentation === 'path',\n });\n\n if (presentation === 'path') {\n return null;\n }\n\n const item = items[0];\n\n if (!item) {\n return null;\n }\n\n const content = (\n <>\n <Icon\n className=\"breadcrumbs__icon\"\n name=\"chevron-left\"\n size=\"compact\"\n aria-hidden\n focusable={false}\n />\n\n <span className=\"breadcrumbs__label\">\n {item.label}\n </span>\n </>\n );\n\n return (\n <nav\n className={classes}\n aria-label=\"Breadcrumb\"\n {...props}\n >\n {item.renderLink ? (\n <span className=\"breadcrumbs__link\">\n {item.renderLink(content)}\n </span>\n ) : (\n <span className=\"breadcrumbs__current\">\n {content}\n </span>\n )}\n </nav>\n );\n};\n\nexport default Breadcrumbs;\n"]}
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var breadcrumbs = require('./breadcrumbs');
4
6
 
5
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -8,6 +10,13 @@ var breadcrumbs__default = /*#__PURE__*/_interopDefault(breadcrumbs);
8
10
 
9
11
 
10
12
 
11
- module.exports = breadcrumbs__default.default;
13
+ Object.defineProperty(exports, "Breadcrumbs", {
14
+ enumerable: true,
15
+ get: function () { return breadcrumbs__default.default; }
16
+ });
17
+ Object.defineProperty(exports, "default", {
18
+ enumerable: true,
19
+ get: function () { return breadcrumbs__default.default; }
20
+ });
12
21
  //# sourceMappingURL=index.cjs.map
13
22
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export { default } from './breadcrumbs';
1
+ export { default, default as Breadcrumbs, } from './breadcrumbs';
2
2
  export type { BreadcrumbItem, BreadcrumbsPresentation, BreadcrumbsProps, } from './breadcrumbs';
@@ -1,3 +1,3 @@
1
- export { default } from './breadcrumbs';
1
+ export { default as Breadcrumbs, default } from './breadcrumbs';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -48,7 +48,7 @@ export type { ActionGroupProps } from './action-group/action-group';
48
48
  export { default as CardGroup } from './card-group/card-group';
49
49
  export type { CardGroupProps } from './card-group/card-group';
50
50
  export { default as Breadcrumbs } from './breadcrumbs/breadcrumbs';
51
- export type { BreadcrumbsProps } from './breadcrumbs/breadcrumbs';
51
+ export type { BreadcrumbItem, BreadcrumbsPresentation, BreadcrumbsProps, } from './breadcrumbs/breadcrumbs';
52
52
  export { default as Markdown } from './markdown/markdown';
53
53
  export type { MarkdownEmbed, MarkdownProps, } from './markdown/markdown';
54
54
  export { default as Discussion } from './discussion/discussion';
package/index.d.ts CHANGED
@@ -56,7 +56,7 @@ export type { ActionGroupProps } from './components/action-group';
56
56
  export { default as CardGroup } from './components/card-group';
57
57
  export type { CardGroupProps } from './components/card-group';
58
58
  export { default as Breadcrumbs } from './components/breadcrumbs';
59
- export type { BreadcrumbsProps } from './components/breadcrumbs';
59
+ export type { BreadcrumbItem, BreadcrumbsPresentation, BreadcrumbsProps, } from './components/breadcrumbs';
60
60
  export { default as Markdown } from './components/markdown';
61
61
  export type { MarkdownEmbed, MarkdownProps, } from './components/markdown';
62
62
  export { default as Discussion } from './components/discussion';
@@ -0,0 +1,2 @@
1
+ import type { ComponentMeta } from '../../catalog/types';
2
+ export declare const authMeta: ComponentMeta;
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var auth = require('./auth');
4
6
 
5
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -8,6 +10,13 @@ var auth__default = /*#__PURE__*/_interopDefault(auth);
8
10
 
9
11
 
10
12
 
11
- module.exports = auth__default.default;
13
+ Object.defineProperty(exports, "LayoutAuth", {
14
+ enumerable: true,
15
+ get: function () { return auth__default.default; }
16
+ });
17
+ Object.defineProperty(exports, "default", {
18
+ enumerable: true,
19
+ get: function () { return auth__default.default; }
20
+ });
12
21
  //# sourceMappingURL=index.cjs.map
13
22
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export { default } from './auth';
2
- export type { LayoutAuthProps } from './auth';
1
+ export { default, default as LayoutAuth, } from './auth';
2
+ export type { LayoutAuthProps, } from './auth';
@@ -1,3 +1,3 @@
1
- export { default } from './auth';
1
+ export { default as LayoutAuth, default } from './auth';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -40,11 +40,33 @@
40
40
  }
41
41
 
42
42
  .layout-base__header--align-center {
43
+ /* color */
44
+
45
+ /* typography */
46
+
47
+ /* size */
43
48
  align-items: center;
49
+
50
+ /* border */
51
+
52
+ /* depth */
53
+
54
+ /* motion */
44
55
  }
45
56
 
46
57
  .layout-base__header--align-end {
58
+ /* color */
59
+
60
+ /* typography */
61
+
62
+ /* size */
47
63
  align-items: flex-end;
64
+
65
+ /* border */
66
+
67
+ /* depth */
68
+
69
+ /* motion */
48
70
  }
49
71
 
50
72
  .layout-base__main {
@@ -70,11 +92,33 @@
70
92
  }
71
93
 
72
94
  .layout-base__main--align-center {
95
+ /* color */
96
+
97
+ /* typography */
98
+
99
+ /* size */
73
100
  align-items: center;
101
+
102
+ /* border */
103
+
104
+ /* depth */
105
+
106
+ /* motion */
74
107
  }
75
108
 
76
109
  .layout-base__main--align-end {
110
+ /* color */
111
+
112
+ /* typography */
113
+
114
+ /* size */
77
115
  align-items: flex-end;
116
+
117
+ /* border */
118
+
119
+ /* depth */
120
+
121
+ /* motion */
78
122
  }
79
123
 
80
124
  .layout-base__content {
@@ -112,15 +156,48 @@
112
156
  }
113
157
 
114
158
  .layout-base__content--narrow {
159
+ /* color */
160
+
161
+ /* typography */
162
+
163
+ /* size */
115
164
  --layout-base-content-width: 720px;
165
+
166
+ /* border */
167
+
168
+ /* depth */
169
+
170
+ /* motion */
116
171
  }
117
172
 
118
173
  .layout-base__content--wide {
174
+ /* color */
175
+
176
+ /* typography */
177
+
178
+ /* size */
119
179
  --layout-base-content-width: 1200px;
180
+
181
+ /* border */
182
+
183
+ /* depth */
184
+
185
+ /* motion */
120
186
  }
121
187
 
122
188
  .layout-base__content--full {
189
+ /* color */
190
+
191
+ /* typography */
192
+
193
+ /* size */
123
194
  max-width: none;
195
+
196
+ /* border */
197
+
198
+ /* depth */
199
+
200
+ /* motion */
124
201
  }
125
202
 
126
203
  .layout-base__content--align-center {
@@ -153,4 +230,4 @@
153
230
  /* depth */
154
231
 
155
232
  /* motion */
156
- }
233
+ }
@@ -0,0 +1,2 @@
1
+ import type { ComponentMeta } from '../../catalog/types';
2
+ export declare const baseMeta: ComponentMeta;
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var base = require('./base');
4
6
 
5
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -8,6 +10,13 @@ var base__default = /*#__PURE__*/_interopDefault(base);
8
10
 
9
11
 
10
12
 
11
- module.exports = base__default.default;
13
+ Object.defineProperty(exports, "LayoutBase", {
14
+ enumerable: true,
15
+ get: function () { return base__default.default; }
16
+ });
17
+ Object.defineProperty(exports, "default", {
18
+ enumerable: true,
19
+ get: function () { return base__default.default; }
20
+ });
12
21
  //# sourceMappingURL=index.cjs.map
13
22
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export { default } from './base';
2
- export type { LayoutBaseHeaderAlign, LayoutBaseMainAlign, LayoutBaseProps, } from './base';
1
+ export { default, default as LayoutBase, } from './base';
2
+ export type { LayoutBaseContentAlign, LayoutBaseHeaderAlign, LayoutBaseMainAlign, LayoutBaseProps, } from './base';
@@ -1,3 +1,3 @@
1
- export { default } from './base';
1
+ export { default as LayoutBase, default } from './base';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -28,15 +28,48 @@
28
28
  }
29
29
 
30
30
  .layout-foundation--narrow {
31
+ /* color */
32
+
33
+ /* typography */
34
+
35
+ /* size */
31
36
  --layout-foundation-width: 720px;
37
+
38
+ /* border */
39
+
40
+ /* depth */
41
+
42
+ /* motion */
32
43
  }
33
44
 
34
45
  .layout-foundation--wide {
46
+ /* color */
47
+
48
+ /* typography */
49
+
50
+ /* size */
35
51
  --layout-foundation-width: 1200px;
52
+
53
+ /* border */
54
+
55
+ /* depth */
56
+
57
+ /* motion */
36
58
  }
37
59
 
38
60
  .layout-foundation--full {
61
+ /* color */
62
+
63
+ /* typography */
64
+
65
+ /* size */
39
66
  max-width: none;
67
+
68
+ /* border */
69
+
70
+ /* depth */
71
+
72
+ /* motion */
40
73
  }
41
74
 
42
75
  .layout-foundation__grid {
@@ -66,17 +99,50 @@
66
99
  }
67
100
 
68
101
  .layout-foundation__grid > * {
102
+ /* color */
103
+
104
+ /* typography */
105
+
106
+ /* size */
69
107
  grid-column: 1 / -1;
108
+
109
+ /* border */
110
+
111
+ /* depth */
112
+
113
+ /* motion */
70
114
  }
71
115
 
72
116
  @media (max-width: 1024px) {
73
117
  .layout-foundation {
118
+ /* color */
119
+
120
+ /* typography */
121
+
122
+ /* size */
74
123
  --layout-foundation-columns: 8;
124
+
125
+ /* border */
126
+
127
+ /* depth */
128
+
129
+ /* motion */
75
130
  }
76
131
  }
77
132
 
78
133
  @media (max-width: 640px) {
79
134
  .layout-foundation {
135
+ /* color */
136
+
137
+ /* typography */
138
+
139
+ /* size */
80
140
  --layout-foundation-columns: 4;
141
+
142
+ /* border */
143
+
144
+ /* depth */
145
+
146
+ /* motion */
81
147
  }
82
148
  }
@@ -0,0 +1,2 @@
1
+ import type { ComponentMeta } from '../../catalog/types';
2
+ export declare const foundationMeta: ComponentMeta;
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var foundation = require('./foundation');
4
6
 
5
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -8,6 +10,13 @@ var foundation__default = /*#__PURE__*/_interopDefault(foundation);
8
10
 
9
11
 
10
12
 
11
- module.exports = foundation__default.default;
13
+ Object.defineProperty(exports, "LayoutFoundation", {
14
+ enumerable: true,
15
+ get: function () { return foundation__default.default; }
16
+ });
17
+ Object.defineProperty(exports, "default", {
18
+ enumerable: true,
19
+ get: function () { return foundation__default.default; }
20
+ });
12
21
  //# sourceMappingURL=index.cjs.map
13
22
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export { default } from './foundation';
1
+ export { default, default as LayoutFoundation, } from './foundation';
2
2
  export type { LayoutFoundationProps, LayoutFoundationWidth, } from './foundation';
@@ -1,3 +1,3 @@
1
- export { default } from './foundation';
1
+ export { default as LayoutFoundation, default } from './foundation';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
- export { default as LayoutFoundation } from './foundation';
1
+ export { default as LayoutFoundation, } from './foundation';
2
2
  export type { LayoutFoundationProps, LayoutFoundationWidth, } from './foundation';
3
- export { default as LayoutBase } from './base';
4
- export type { LayoutBaseProps } from './base';
5
- export { default as LayoutSidebar } from './sidebar';
6
- export type { LayoutSidebarProps } from './sidebar';
7
- export { default as LayoutAuth } from './auth';
8
- export type { LayoutAuthProps } from './auth';
3
+ export { default as LayoutBase, } from './base';
4
+ export type { LayoutBaseContentAlign, LayoutBaseHeaderAlign, LayoutBaseMainAlign, LayoutBaseProps, } from './base';
5
+ export { default as LayoutSidebar, } from './sidebar';
6
+ export type { LayoutSidebarContentAlign, LayoutSidebarProps, } from './sidebar';
7
+ export { default as LayoutAuth, } from './auth';
8
+ export type { LayoutAuthProps, } from './auth';
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var sidebar = require('./sidebar');
4
6
 
5
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -8,6 +10,13 @@ var sidebar__default = /*#__PURE__*/_interopDefault(sidebar);
8
10
 
9
11
 
10
12
 
11
- module.exports = sidebar__default.default;
13
+ Object.defineProperty(exports, "LayoutSidebar", {
14
+ enumerable: true,
15
+ get: function () { return sidebar__default.default; }
16
+ });
17
+ Object.defineProperty(exports, "default", {
18
+ enumerable: true,
19
+ get: function () { return sidebar__default.default; }
20
+ });
12
21
  //# sourceMappingURL=index.cjs.map
13
22
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export { default } from './sidebar';
2
- export type { LayoutSidebarProps } from './sidebar';
1
+ export { default, default as LayoutSidebar, } from './sidebar';
2
+ export type { LayoutSidebarContentAlign, LayoutSidebarProps, } from './sidebar';
@@ -1,3 +1,3 @@
1
- export { default } from './sidebar';
1
+ export { default as LayoutSidebar, default } from './sidebar';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -113,6 +113,17 @@
113
113
  @media (max-width: 1024px) {
114
114
  .layout-sidebar__main,
115
115
  .layout-sidebar__side {
116
+ /* color */
117
+
118
+ /* typography */
119
+
120
+ /* size */
116
121
  grid-column: 1 / -1;
122
+
123
+ /* border */
124
+
125
+ /* depth */
126
+
127
+ /* motion */
117
128
  }
118
- }
129
+ }
@@ -0,0 +1,2 @@
1
+ import type { ComponentMeta } from '../../catalog/types';
2
+ export declare const sidebarMeta: ComponentMeta;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jvetrau-ds",
3
- "version": "0.2.42",
3
+ "version": "0.2.43",
4
4
  "description": "Multi-brand React design system with semantic tokens",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/styles.css CHANGED
@@ -556,14 +556,16 @@
556
556
 
557
557
  .breadcrumbs__link,
558
558
  .breadcrumbs__current {
559
+ /* color */
560
+ color: inherit;
561
+
562
+ /* typography */
563
+
559
564
  /* size */
560
565
  display: inline-flex;
561
566
  align-items: center;
562
567
  gap: var(--margin-icon);
563
568
 
564
- /* color */
565
- color: inherit;
566
-
567
569
  /* border */
568
570
 
569
571
  /* depth */
@@ -577,11 +579,31 @@
577
579
  color: inherit;
578
580
 
579
581
  /* typography */
582
+
583
+ /* size */
584
+
585
+ /* border */
586
+
587
+ /* depth */
588
+
589
+ /* motion */
580
590
  }
581
591
 
582
592
  .breadcrumbs__icon {
593
+ /* color */
594
+
595
+ /* typography */
596
+
583
597
  /* size */
584
598
  flex-shrink: 0;
599
+ translate: 0 -0.0305em;
600
+ translate: 0 -0.08em;
601
+
602
+ /* border */
603
+
604
+ /* depth */
605
+
606
+ /* motion */
585
607
  }
586
608
 
587
609
  .breadcrumbs__label {
@@ -6977,11 +6999,33 @@ h4.course-outline__group-title {
6977
6999
  }
6978
7000
 
6979
7001
  .layout-base__header--align-center {
7002
+ /* color */
7003
+
7004
+ /* typography */
7005
+
7006
+ /* size */
6980
7007
  align-items: center;
7008
+
7009
+ /* border */
7010
+
7011
+ /* depth */
7012
+
7013
+ /* motion */
6981
7014
  }
6982
7015
 
6983
7016
  .layout-base__header--align-end {
7017
+ /* color */
7018
+
7019
+ /* typography */
7020
+
7021
+ /* size */
6984
7022
  align-items: flex-end;
7023
+
7024
+ /* border */
7025
+
7026
+ /* depth */
7027
+
7028
+ /* motion */
6985
7029
  }
6986
7030
 
6987
7031
  .layout-base__main {
@@ -7007,11 +7051,33 @@ h4.course-outline__group-title {
7007
7051
  }
7008
7052
 
7009
7053
  .layout-base__main--align-center {
7054
+ /* color */
7055
+
7056
+ /* typography */
7057
+
7058
+ /* size */
7010
7059
  align-items: center;
7060
+
7061
+ /* border */
7062
+
7063
+ /* depth */
7064
+
7065
+ /* motion */
7011
7066
  }
7012
7067
 
7013
7068
  .layout-base__main--align-end {
7069
+ /* color */
7070
+
7071
+ /* typography */
7072
+
7073
+ /* size */
7014
7074
  align-items: flex-end;
7075
+
7076
+ /* border */
7077
+
7078
+ /* depth */
7079
+
7080
+ /* motion */
7015
7081
  }
7016
7082
 
7017
7083
  .layout-base__content {
@@ -7049,15 +7115,48 @@ h4.course-outline__group-title {
7049
7115
  }
7050
7116
 
7051
7117
  .layout-base__content--narrow {
7118
+ /* color */
7119
+
7120
+ /* typography */
7121
+
7122
+ /* size */
7052
7123
  --layout-base-content-width: 720px;
7124
+
7125
+ /* border */
7126
+
7127
+ /* depth */
7128
+
7129
+ /* motion */
7053
7130
  }
7054
7131
 
7055
7132
  .layout-base__content--wide {
7133
+ /* color */
7134
+
7135
+ /* typography */
7136
+
7137
+ /* size */
7056
7138
  --layout-base-content-width: 1200px;
7139
+
7140
+ /* border */
7141
+
7142
+ /* depth */
7143
+
7144
+ /* motion */
7057
7145
  }
7058
7146
 
7059
7147
  .layout-base__content--full {
7148
+ /* color */
7149
+
7150
+ /* typography */
7151
+
7152
+ /* size */
7060
7153
  max-width: none;
7154
+
7155
+ /* border */
7156
+
7157
+ /* depth */
7158
+
7159
+ /* motion */
7061
7160
  }
7062
7161
 
7063
7162
  .layout-base__content--align-center {
@@ -7123,15 +7222,48 @@ h4.course-outline__group-title {
7123
7222
  }
7124
7223
 
7125
7224
  .layout-foundation--narrow {
7225
+ /* color */
7226
+
7227
+ /* typography */
7228
+
7229
+ /* size */
7126
7230
  --layout-foundation-width: 720px;
7231
+
7232
+ /* border */
7233
+
7234
+ /* depth */
7235
+
7236
+ /* motion */
7127
7237
  }
7128
7238
 
7129
7239
  .layout-foundation--wide {
7240
+ /* color */
7241
+
7242
+ /* typography */
7243
+
7244
+ /* size */
7130
7245
  --layout-foundation-width: 1200px;
7246
+
7247
+ /* border */
7248
+
7249
+ /* depth */
7250
+
7251
+ /* motion */
7131
7252
  }
7132
7253
 
7133
7254
  .layout-foundation--full {
7255
+ /* color */
7256
+
7257
+ /* typography */
7258
+
7259
+ /* size */
7134
7260
  max-width: none;
7261
+
7262
+ /* border */
7263
+
7264
+ /* depth */
7265
+
7266
+ /* motion */
7135
7267
  }
7136
7268
 
7137
7269
  .layout-foundation__grid {
@@ -7161,18 +7293,51 @@ h4.course-outline__group-title {
7161
7293
  }
7162
7294
 
7163
7295
  .layout-foundation__grid > * {
7296
+ /* color */
7297
+
7298
+ /* typography */
7299
+
7300
+ /* size */
7164
7301
  grid-column: 1 / -1;
7302
+
7303
+ /* border */
7304
+
7305
+ /* depth */
7306
+
7307
+ /* motion */
7165
7308
  }
7166
7309
 
7167
7310
  @media (max-width: 1024px) {
7168
7311
  .layout-foundation {
7312
+ /* color */
7313
+
7314
+ /* typography */
7315
+
7316
+ /* size */
7169
7317
  --layout-foundation-columns: 8;
7318
+
7319
+ /* border */
7320
+
7321
+ /* depth */
7322
+
7323
+ /* motion */
7170
7324
  }
7171
7325
  }
7172
7326
 
7173
7327
  @media (max-width: 640px) {
7174
7328
  .layout-foundation {
7329
+ /* color */
7330
+
7331
+ /* typography */
7332
+
7333
+ /* size */
7175
7334
  --layout-foundation-columns: 4;
7335
+
7336
+ /* border */
7337
+
7338
+ /* depth */
7339
+
7340
+ /* motion */
7176
7341
  }
7177
7342
  }
7178
7343
 
@@ -7292,7 +7457,18 @@ h4.course-outline__group-title {
7292
7457
  @media (max-width: 1024px) {
7293
7458
  .layout-sidebar__main,
7294
7459
  .layout-sidebar__side {
7460
+ /* color */
7461
+
7462
+ /* typography */
7463
+
7464
+ /* size */
7295
7465
  grid-column: 1 / -1;
7466
+
7467
+ /* border */
7468
+
7469
+ /* depth */
7470
+
7471
+ /* motion */
7296
7472
  }
7297
7473
  }
7298
7474