trepur_components 2.3.4 → 2.3.6

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.
Files changed (124) hide show
  1. package/archive/theme.ts +1 -1
  2. package/lib/components/Accordion/index.d.ts +1 -2
  3. package/lib/components/Accordion/index.js +8 -8
  4. package/lib/components/AlertBar/index.d.ts +1 -2
  5. package/lib/components/AlertBar/index.js +13 -13
  6. package/lib/components/index.d.ts +3 -3
  7. package/lib/index.js +4 -4
  8. package/lib/styles/{base.css → global.css} +1 -43
  9. package/lib/styles/themes/local.css +40 -0
  10. package/package.json +1 -1
  11. package/postcss.config.js +8 -0
  12. package/src/components/Accordion/Accordion.stories.tsx +1 -1
  13. package/src/components/Accordion/index.tsx +1 -3
  14. package/src/components/AlertBar/AlertBar.stories.tsx +1 -1
  15. package/src/components/AlertBar/index.tsx +2 -4
  16. package/src/components/index.ts +5 -5
  17. package/src/styles/{base.css → global.css} +1 -43
  18. package/src/styles/themes/local.css +40 -0
  19. package/tsconfig.json +1 -1
  20. package/storybook-build/assets/Accordion.stories-Cn994N1H.js +0 -103
  21. package/storybook-build/assets/AlertBar.stories-BkzNXFBh.js +0 -202
  22. package/storybook-build/assets/Avatar.stories-CpH6xVwM.js +0 -418
  23. package/storybook-build/assets/Color-6VNJS4EI-DQV2onvt.js +0 -1378
  24. package/storybook-build/assets/Colours-r29qjFlW.js +0 -324
  25. package/storybook-build/assets/DocsRenderer-NNNQARDV-OgWasCIs.js +0 -44
  26. package/storybook-build/assets/Introduction-Bs1PgnBZ.js +0 -40
  27. package/storybook-build/assets/WithTooltip-V3YHNWJZ-vi2V5TOO.js +0 -15
  28. package/storybook-build/assets/_commonjsHelpers-LQfde5yM.js +0 -35
  29. package/storybook-build/assets/axe-DnFZVv9V.js +0 -32561
  30. package/storybook-build/assets/chunk-EIRT5I3Z-DFD8udmD.js +0 -480
  31. package/storybook-build/assets/context-CIRBAiUz.js +0 -20
  32. package/storybook-build/assets/controls-DJSGrQKd.js +0 -23
  33. package/storybook-build/assets/entry-preview-DmlPV4-3.js +0 -41
  34. package/storybook-build/assets/entry-preview-docs-D46Drugi.js +0 -11861
  35. package/storybook-build/assets/formatter-SWP5E3XI-BWIasvKP.js +0 -14427
  36. package/storybook-build/assets/iframe-Dzzzanqi.js +0 -144
  37. package/storybook-build/assets/index-0FT4HXk-.js +0 -7222
  38. package/storybook-build/assets/index-B9Tccxv4.js +0 -107
  39. package/storybook-build/assets/index-BdOSk9or.js +0 -41
  40. package/storybook-build/assets/index-CU7cYjZD.js +0 -9604
  41. package/storybook-build/assets/index-Clz-aGG3.js +0 -39
  42. package/storybook-build/assets/index-CpyNLP69.js +0 -63
  43. package/storybook-build/assets/index-DM9bPmif.js +0 -319
  44. package/storybook-build/assets/index-ex9_VrIg.js +0 -3734
  45. package/storybook-build/assets/jsx-runtime-D2-sc1j1.js +0 -35
  46. package/storybook-build/assets/preview-3kSipVgK.js +0 -430
  47. package/storybook-build/assets/preview-B4rAxPmB.js +0 -27
  48. package/storybook-build/assets/preview-BMkwWyrh.js +0 -2920
  49. package/storybook-build/assets/preview-BeQelhbu.js +0 -204
  50. package/storybook-build/assets/preview-BiG-rflf.js +0 -2444
  51. package/storybook-build/assets/preview-BiYUJ7TP.js +0 -22
  52. package/storybook-build/assets/preview-C4ItOQzM.js +0 -34
  53. package/storybook-build/assets/preview-CWyhKACi.css +0 -886
  54. package/storybook-build/assets/preview-CtOV68TG.js +0 -10
  55. package/storybook-build/assets/preview-De9E9xaR.js +0 -140
  56. package/storybook-build/assets/preview-bL4x2zrN.js +0 -99
  57. package/storybook-build/assets/preview-gxqyGMHu.js +0 -323
  58. package/storybook-build/assets/react-18-B-gfo82w.js +0 -29
  59. package/storybook-build/assets/syntaxhighlighter-B5GMVT5T-DrY_Dc6-.js +0 -15
  60. package/storybook-build/favicon.svg +0 -7
  61. package/storybook-build/iframe.html +0 -458
  62. package/storybook-build/index.html +0 -163
  63. package/storybook-build/index.json +0 -1
  64. package/storybook-build/preview-stats.json +0 -172
  65. package/storybook-build/project.json +0 -1
  66. package/storybook-build/sb-addons/a11y-9/manager-bundle.js +0 -3
  67. package/storybook-build/sb-addons/a11y-9/manager-bundle.js.LEGAL.txt +0 -0
  68. package/storybook-build/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
  69. package/storybook-build/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  70. package/storybook-build/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
  71. package/storybook-build/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  72. package/storybook-build/sb-addons/essentials-controls-1/manager-bundle.js +0 -63
  73. package/storybook-build/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
  74. package/storybook-build/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
  75. package/storybook-build/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  76. package/storybook-build/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
  77. package/storybook-build/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  78. package/storybook-build/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
  79. package/storybook-build/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  80. package/storybook-build/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
  81. package/storybook-build/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  82. package/storybook-build/sb-addons/interactions-8/manager-bundle.js +0 -12
  83. package/storybook-build/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  84. package/storybook-build/sb-addons/links-0/manager-bundle.js +0 -3
  85. package/storybook-build/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
  86. package/storybook-build/sb-addons/storybook-12/manager-bundle.js +0 -151
  87. package/storybook-build/sb-addons/storybook-12/manager-bundle.js.LEGAL.txt +0 -0
  88. package/storybook-build/sb-addons/storybook-react-i18next-11/manager-bundle.js +0 -3
  89. package/storybook-build/sb-addons/storybook-react-i18next-11/manager-bundle.js.LEGAL.txt +0 -0
  90. package/storybook-build/sb-addons/themes-10/register-bundle.js +0 -5
  91. package/storybook-build/sb-addons/themes-10/register-bundle.js.LEGAL.txt +0 -0
  92. package/storybook-build/sb-common-assets/fonts.css +0 -31
  93. package/storybook-build/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  94. package/storybook-build/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  95. package/storybook-build/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  96. package/storybook-build/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  97. package/storybook-build/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js +0 -1
  98. package/storybook-build/sb-manager/chunk-4IYAVH3S.js +0 -348
  99. package/storybook-build/sb-manager/chunk-CXYKRFSY.js +0 -9
  100. package/storybook-build/sb-manager/chunk-KZYAAUOR.js +0 -406
  101. package/storybook-build/sb-manager/chunk-LVLAH4SI.js +0 -7
  102. package/storybook-build/sb-manager/chunk-ZEU7PDD3.js +0 -1
  103. package/storybook-build/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
  104. package/storybook-build/sb-manager/globals-module-info.js +0 -1
  105. package/storybook-build/sb-manager/globals.js +0 -1
  106. package/storybook-build/sb-manager/index.js +0 -1
  107. package/storybook-build/sb-manager/runtime.js +0 -1
  108. package/storybook-build/sb-manager/syntaxhighlighter-B5GMVT5T-EA5ASEYD.js +0 -1
  109. package/storybook-build/sb-preview/globals.js +0 -1
  110. package/storybook-build/sb-preview/runtime.js +0 -112
  111. package/storybook-build/src/components/Accordion/Accordion.stories.d.ts +0 -94
  112. package/storybook-build/src/components/Accordion/index.d.ts +0 -9
  113. package/storybook-build/src/components/AlertBar/AlertBar.stories.d.ts +0 -162
  114. package/storybook-build/src/components/AlertBar/index.d.ts +0 -13
  115. package/storybook-build/src/components/Avatar/Avatar.stories.d.ts +0 -44
  116. package/storybook-build/src/components/Avatar/index.d.ts +0 -4
  117. package/storybook-build/src/components/index.d.ts +0 -7
  118. package/storybook-build/src/index.d.ts +0 -1
  119. package/storybook-build/src/utils/controls.d.ts +0 -36
  120. package/storybook-build/src/utils/matchMedia.d.ts +0 -2
  121. package/storybook-build/src/utils/screens.d.ts +0 -7
  122. package/storybook-build/src/utils/theme.d.ts +0 -3
  123. package/storybook-build/stories.json +0 -1
  124. package/storybook-build/styles/base.css +0 -116
package/archive/theme.ts CHANGED
@@ -1,4 +1,4 @@
1
- import from '../../tailwind.config.js';
1
+ import tailwindConfig from '../tailwind.config'
2
2
 
3
3
  // const tokenUnits: string[] = ['em', 'ex', '%', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ch', 'rem', 'vh', 'vw', 'vmin', 'vmax']
4
4
  let themeName: string;
@@ -5,5 +5,4 @@ export interface Props {
5
5
  className?: string;
6
6
  items: any;
7
7
  }
8
- declare const Accordion: React.FC<Props>;
9
- export default Accordion;
8
+ export declare const Accordion: React.FC<Props>;
@@ -1,15 +1,15 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import n from "classnames";
3
- const d = ({
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import e from "classnames";
3
+ const i = ({
4
4
  id: c,
5
5
  className: a,
6
- items: o
7
- }) => /* @__PURE__ */ r("div", { id: c, className: n(a, "theme-local"), children: o == null ? void 0 : o.map((e, l) => (
6
+ items: r
7
+ }) => /* @__PURE__ */ o("div", { id: c, className: e(a, "theme-local"), children: r == null ? void 0 : r.map((l, m) => (
8
8
  // <Collapsible key={`collapsible_item_${i}`} {...item}>
9
9
  // {item.children}
10
10
  // </Collapsible>
11
- /* @__PURE__ */ r("div", {})
12
- )) }), m = d;
11
+ /* @__PURE__ */ o("div", {})
12
+ )) });
13
13
  export {
14
- m as default
14
+ i as Accordion
15
15
  };
@@ -9,5 +9,4 @@ export interface Props {
9
9
  isDismissable?: boolean;
10
10
  onDismissClick?: MouseEventHandler;
11
11
  }
12
- declare const AlertBar: ({ id, className, type, text, textCenter, isDismissable, onDismissClick, }: Props) => JSX.Element;
13
- export default AlertBar;
12
+ export declare const AlertBar: ({ id, className, type, text, textCenter, isDismissable, onDismissClick, }: Props) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { useState as d } from "react";
2
+ import { useState as m } from "react";
3
3
  import t from "classnames";
4
- const f = ({
4
+ const x = ({
5
5
  id: a,
6
6
  className: o,
7
7
  type: s = "warning",
@@ -9,13 +9,13 @@ const f = ({
9
9
  // leftIconProps,
10
10
  // rightIconProps,
11
11
  textCenter: n = !1,
12
- isDismissable: l = !1,
13
- onDismissClick: g
12
+ isDismissable: c = !1,
13
+ onDismissClick: d
14
14
  }) => {
15
- const [r, h] = d({
15
+ const [r, f] = m({
16
16
  state: "open",
17
17
  display: !0
18
- }), c = t({
18
+ }), l = t({
19
19
  "bg-success": s === "success",
20
20
  "bg-warning": s === "warning",
21
21
  "bg-error": s === "error",
@@ -26,10 +26,10 @@ const f = ({
26
26
  hidden: !r.display
27
27
  }), u = t(
28
28
  o,
29
- c,
29
+ l,
30
30
  p,
31
- "flex py-2 text-white duration-700 theme-local w-parent transition-opactiy"
32
- ), m = t(
31
+ "flex py-2 text-white duration-700 w-parent transition-opactiy"
32
+ ), g = t(
33
33
  {
34
34
  "text-center": n
35
35
  // 'pl-20': !textCenter && leftIconProps !== null,
@@ -39,11 +39,11 @@ const f = ({
39
39
  );
40
40
  return t(
41
41
  {
42
- "hover:cursor-pointer": l
42
+ "hover:cursor-pointer": c
43
43
  },
44
44
  "absolute right-0 pr-8 pt-3"
45
- ), /* @__PURE__ */ e("div", { id: a, className: u, children: /* @__PURE__ */ e("h3", { className: m, children: i }) });
46
- }, B = f;
45
+ ), /* @__PURE__ */ e("div", { id: a, className: u, children: /* @__PURE__ */ e("h3", { className: g, children: i }) });
46
+ };
47
47
  export {
48
- B as default
48
+ x as AlertBar
49
49
  };
@@ -1,4 +1,4 @@
1
- import { default as AlertBar } from './AlertBar';
2
- import { default as Accordion } from './Accordion';
1
+ import { AlertBar } from './AlertBar';
2
+ import { Accordion } from './Accordion';
3
3
 
4
- export { Accordion, AlertBar, Breadcrumbs, BreadcrumbsBordered, BreadcrumbsItem, };
4
+ export { Accordion, AlertBar, };
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { default as a } from "./components/Accordion/index.js";
2
- import { default as t } from "./components/AlertBar/index.js";
1
+ import { Accordion as e } from "./components/Accordion/index.js";
2
+ import { AlertBar as c } from "./components/AlertBar/index.js";
3
3
  export {
4
- a as Accordion,
5
- t as AlertBar
4
+ e as Accordion,
5
+ c as AlertBar
6
6
  };
@@ -1,49 +1,7 @@
1
- @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css');
1
+ @import './themes/local.css';
2
2
 
3
3
  @tailwind base;
4
4
  @tailwind components;
5
-
6
- .theme-local {
7
- --color-primary: #0036a0;
8
- --color-secondary: #e2e2e2;
9
- --color-tertiary: #921457;
10
- --color-ink: #495863;
11
- --color-transparent: transparent;
12
- --color-white: #ffffff;
13
- --color-black: #000000;
14
- --color-red: #bb0a1e;
15
- --color-grey: #2c373b;
16
- --color-light-grey: #495c63;
17
- --color-lightest-grey: #f5f5f5;
18
- --color-primary-strict: #ff007d;
19
- --color-border: #d0d0d0;
20
- --color-border-lightest: #eeeeee;
21
- --color-border-light: #d8d8d8;
22
- --color-border-dark: #616161;
23
- --color-error-light: #ffd9d9;
24
- --color-success-light: #e7f5e7;
25
- --color-facebook: #3b5999;
26
- --color-whatsapp: #25d366;
27
- --color-twitter: #55acee;
28
- --color-linkedin: #0a66c2;
29
- --color-email: #c71610;
30
- --color-github: #171515;
31
- --color-instagram: #8a3ab9;
32
- --color-interactive-facebook: #2d4474;
33
- --color-interactive-whatsapp: #25d566;
34
- --color-interactive-twitter: #55acee;
35
- --color-interactive-linkedin: #0a66c2;
36
- --color-interactive-instagram: #6d2e92;
37
- --color-interactive-email: #9f110c;
38
- --color-interactive-github: #000000;
39
- --color-gold: #e2b13c;
40
- --color-error: #b11013;
41
- --color-warning: #ffd35c;
42
- --color-success: #69c364;
43
- --color-info-light: #d8eaf5;
44
- --color-linkedin: #0e76a8;
45
- }
46
-
47
5
  @tailwind utilities;
48
6
 
49
7
  @font-face {
@@ -0,0 +1,40 @@
1
+ body {
2
+ --color-primary: #0036a0;
3
+ --color-secondary: #e2e2e2;
4
+ --color-tertiary: #921457;
5
+ --color-ink: #495863;
6
+ --color-transparent: transparent;
7
+ --color-white: #ffffff;
8
+ --color-black: #000000;
9
+ --color-red: #bb0a1e;
10
+ --color-grey: #2c373b;
11
+ --color-light-grey: #495c63;
12
+ --color-lightest-grey: #f5f5f5;
13
+ --color-primary-strict: #ff007d;
14
+ --color-border: #d0d0d0;
15
+ --color-border-lightest: #eeeeee;
16
+ --color-border-light: #d8d8d8;
17
+ --color-border-dark: #616161;
18
+ --color-error-light: #ffd9d9;
19
+ --color-success-light: #e7f5e7;
20
+ --color-facebook: #3b5999;
21
+ --color-whatsapp: #25d366;
22
+ --color-twitter: #55acee;
23
+ --color-linkedin: #0a66c2;
24
+ --color-email: #c71610;
25
+ --color-github: #171515;
26
+ --color-instagram: #8a3ab9;
27
+ --color-interactive-facebook: #2d4474;
28
+ --color-interactive-whatsapp: #25d566;
29
+ --color-interactive-twitter: #55acee;
30
+ --color-interactive-linkedin: #0a66c2;
31
+ --color-interactive-instagram: #6d2e92;
32
+ --color-interactive-email: #9f110c;
33
+ --color-interactive-github: #000000;
34
+ --color-gold: #e2b13c;
35
+ --color-error: #b11013;
36
+ --color-warning: #ffd35c;
37
+ --color-success: #69c364;
38
+ --color-info-light: #d8eaf5;
39
+ --color-linkedin: #0e76a8;
40
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trepur_components",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "component lib",
5
5
  "author": "trepur_ttenneb",
6
6
  "private": false,
@@ -0,0 +1,8 @@
1
+ const config = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ };
7
+
8
+ export default config;
@@ -1,7 +1,7 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { idAndClassName } from '@utils/controls';
3
3
 
4
- import Accordion from '.';
4
+ import { Accordion } from '.';
5
5
 
6
6
  const propItems = [
7
7
  {
@@ -8,7 +8,7 @@ export interface Props {
8
8
  items: any;
9
9
  }
10
10
 
11
- const Accordion: React.FC<Props> = ({
11
+ export const Accordion: React.FC<Props> = ({
12
12
  id,
13
13
  className,
14
14
  items,
@@ -26,5 +26,3 @@ const Accordion: React.FC<Props> = ({
26
26
  </div>
27
27
  );
28
28
  };
29
-
30
- export default Accordion;
@@ -1,7 +1,7 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { idAndClassName } from '@utils/controls';
3
3
 
4
- import AlertBar from '.';
4
+ import { AlertBar } from '.';
5
5
 
6
6
  const meta = {
7
7
  title: 'Components/Alert Bar',
@@ -15,7 +15,7 @@ export interface Props {
15
15
  onDismissClick?: MouseEventHandler;
16
16
  }
17
17
 
18
- const AlertBar = ({
18
+ export const AlertBar = ({
19
19
  id,
20
20
  className,
21
21
  type = 'warning',
@@ -52,7 +52,7 @@ const AlertBar = ({
52
52
  className,
53
53
  bgColor,
54
54
  alertBarState,
55
- 'flex py-2 text-white duration-700 theme-local w-parent transition-opactiy',
55
+ 'flex py-2 text-white duration-700 w-parent transition-opactiy',
56
56
  );
57
57
 
58
58
  const textClassList = classNames(
@@ -111,5 +111,3 @@ const AlertBar = ({
111
111
  </div>
112
112
  );
113
113
  };
114
-
115
- export default AlertBar;
@@ -1,5 +1,5 @@
1
- import Accordion from './Accordion';
2
- import AlertBar from './AlertBar';
1
+ import { Accordion } from './Accordion';
2
+ import { AlertBar } from './AlertBar';
3
3
  // import Breadcrumbs from '../../archive/Breadcrumbs';
4
4
  // import BreadcrumbsBordered from '../../archive/BreadcrumbsBordered';
5
5
  // import BreadcrumbsItem from '../../archive/BreadcrumbsItem';
@@ -60,9 +60,9 @@ import AlertBar from './AlertBar';
60
60
  export {
61
61
  Accordion,
62
62
  AlertBar,
63
- Breadcrumbs,
64
- BreadcrumbsBordered,
65
- BreadcrumbsItem,
63
+ // Breadcrumbs,
64
+ // BreadcrumbsBordered,
65
+ // BreadcrumbsItem,
66
66
  // Button,
67
67
  // Calendar,
68
68
  // Card,
@@ -1,49 +1,7 @@
1
- @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css');
1
+ @import './themes/local.css';
2
2
 
3
3
  @tailwind base;
4
4
  @tailwind components;
5
-
6
- .theme-local {
7
- --color-primary: #0036a0;
8
- --color-secondary: #e2e2e2;
9
- --color-tertiary: #921457;
10
- --color-ink: #495863;
11
- --color-transparent: transparent;
12
- --color-white: #ffffff;
13
- --color-black: #000000;
14
- --color-red: #bb0a1e;
15
- --color-grey: #2c373b;
16
- --color-light-grey: #495c63;
17
- --color-lightest-grey: #f5f5f5;
18
- --color-primary-strict: #ff007d;
19
- --color-border: #d0d0d0;
20
- --color-border-lightest: #eeeeee;
21
- --color-border-light: #d8d8d8;
22
- --color-border-dark: #616161;
23
- --color-error-light: #ffd9d9;
24
- --color-success-light: #e7f5e7;
25
- --color-facebook: #3b5999;
26
- --color-whatsapp: #25d366;
27
- --color-twitter: #55acee;
28
- --color-linkedin: #0a66c2;
29
- --color-email: #c71610;
30
- --color-github: #171515;
31
- --color-instagram: #8a3ab9;
32
- --color-interactive-facebook: #2d4474;
33
- --color-interactive-whatsapp: #25d566;
34
- --color-interactive-twitter: #55acee;
35
- --color-interactive-linkedin: #0a66c2;
36
- --color-interactive-instagram: #6d2e92;
37
- --color-interactive-email: #9f110c;
38
- --color-interactive-github: #000000;
39
- --color-gold: #e2b13c;
40
- --color-error: #b11013;
41
- --color-warning: #ffd35c;
42
- --color-success: #69c364;
43
- --color-info-light: #d8eaf5;
44
- --color-linkedin: #0e76a8;
45
- }
46
-
47
5
  @tailwind utilities;
48
6
 
49
7
  @font-face {
@@ -0,0 +1,40 @@
1
+ body {
2
+ --color-primary: #0036a0;
3
+ --color-secondary: #e2e2e2;
4
+ --color-tertiary: #921457;
5
+ --color-ink: #495863;
6
+ --color-transparent: transparent;
7
+ --color-white: #ffffff;
8
+ --color-black: #000000;
9
+ --color-red: #bb0a1e;
10
+ --color-grey: #2c373b;
11
+ --color-light-grey: #495c63;
12
+ --color-lightest-grey: #f5f5f5;
13
+ --color-primary-strict: #ff007d;
14
+ --color-border: #d0d0d0;
15
+ --color-border-lightest: #eeeeee;
16
+ --color-border-light: #d8d8d8;
17
+ --color-border-dark: #616161;
18
+ --color-error-light: #ffd9d9;
19
+ --color-success-light: #e7f5e7;
20
+ --color-facebook: #3b5999;
21
+ --color-whatsapp: #25d366;
22
+ --color-twitter: #55acee;
23
+ --color-linkedin: #0a66c2;
24
+ --color-email: #c71610;
25
+ --color-github: #171515;
26
+ --color-instagram: #8a3ab9;
27
+ --color-interactive-facebook: #2d4474;
28
+ --color-interactive-whatsapp: #25d566;
29
+ --color-interactive-twitter: #55acee;
30
+ --color-interactive-linkedin: #0a66c2;
31
+ --color-interactive-instagram: #6d2e92;
32
+ --color-interactive-email: #9f110c;
33
+ --color-interactive-github: #000000;
34
+ --color-gold: #e2b13c;
35
+ --color-error: #b11013;
36
+ --color-warning: #ffd35c;
37
+ --color-success: #69c364;
38
+ --color-info-light: #d8eaf5;
39
+ --color-linkedin: #0e76a8;
40
+ }
package/tsconfig.json CHANGED
@@ -32,7 +32,7 @@
32
32
  ".storybook/docs",
33
33
  "tailwind.config.ts",
34
34
  "tailwind"
35
- , "archive/Video", "archive/BreadcrumbsItem", "archive/BreadcrumbsBordered", "archive/Breadcrumbs", "archive/typography" ],
35
+ , "archive/Video", "archive/BreadcrumbsItem", "archive/BreadcrumbsBordered", "archive/Breadcrumbs", "archive/typography", "archive/theme.ts" ],
36
36
  "files": ["svg.d.ts"],
37
37
  "exclude": ["node_modules", "lib"],
38
38
  "references": [
@@ -1,103 +0,0 @@
1
- var _a, _b, _c;
2
- import { j as jsxRuntimeExports } from "./jsx-runtime-D2-sc1j1.js";
3
- import { i as idAndClassName } from "./controls-DJSGrQKd.js";
4
- import { c as classNames } from "./index-CpyNLP69.js";
5
- import "./index-DM9bPmif.js";
6
- import "./_commonjsHelpers-LQfde5yM.js";
7
- const Accordion = ({
8
- id,
9
- className,
10
- items
11
- }) => {
12
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: classNames(className, "theme-local"), children: items == null ? void 0 : items.map((item, i) => {
13
- return (
14
- // <Collapsible key={`collapsible_item_${i}`} {...item}>
15
- // {item.children}
16
- // </Collapsible>
17
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", {})
18
- );
19
- }) });
20
- };
21
- try {
22
- Accordion.displayName = "Accordion";
23
- Accordion.__docgenInfo = { "description": "", "displayName": "Accordion", "props": { "id": { "defaultValue": null, "description": "", "name": "id", "required": false, "type": { "name": "string" } }, "className": { "defaultValue": null, "description": "", "name": "className", "required": false, "type": { "name": "string" } }, "items": { "defaultValue": null, "description": "", "name": "items", "required": true, "type": { "name": "any" } } } };
24
- } catch (__react_docgen_typescript_loader_error) {
25
- }
26
- const propItems = [{
27
- preText: "This is some text",
28
- title: "This is a title",
29
- subtitle: "This is a subtitle",
30
- imageProps: {
31
- src: "https://picsum.photos/100/100"
32
- },
33
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
34
- children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
35
- })
36
- }, {
37
- preText: "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Repellendus nihil, molestias amet sed, corrupti debitis odit doloribus perspiciatis est, quasi illum culpa iusto. Molestias, ducimus. Provident, quibusdam fuga. Voluptatem, saepe.",
38
- title: "This is a title",
39
- imageProps: {
40
- src: "https://picsum.photos/101/100"
41
- },
42
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
43
- children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
44
- })
45
- }, {
46
- subtitle: "This is a subtitle",
47
- imageProps: {
48
- src: "https://picsum.photos/100/101"
49
- },
50
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
51
- children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
52
- })
53
- }, {
54
- imageProps: {
55
- src: "https://picsum.photos/102/100"
56
- },
57
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
58
- children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
59
- })
60
- }];
61
- const meta = {
62
- title: "Components/Accordion",
63
- component: Accordion,
64
- argTypes: {
65
- ...idAndClassName,
66
- items: {
67
- description: "An array of collapsible props",
68
- control: {
69
- type: "array",
70
- default: void 0
71
- },
72
- table: {
73
- category: "Accordion",
74
- type: {
75
- summary: "array"
76
- },
77
- defaultValue: {
78
- summary: "undefined"
79
- }
80
- }
81
- }
82
- },
83
- args: {
84
- items: propItems
85
- }
86
- };
87
- const Default = {};
88
- Default.parameters = {
89
- ...Default.parameters,
90
- docs: {
91
- ...(_a = Default.parameters) == null ? void 0 : _a.docs,
92
- source: {
93
- originalSource: "{}",
94
- ...(_c = (_b = Default.parameters) == null ? void 0 : _b.docs) == null ? void 0 : _c.source
95
- }
96
- }
97
- };
98
- const __namedExportsOrder = ["Default"];
99
- export {
100
- Default,
101
- __namedExportsOrder,
102
- meta as default
103
- };