@tetjana/flowmakers-ds 0.1.1 → 0.1.2

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.
@@ -1,15 +1,15 @@
1
- import * as React from 'react';
1
+ import type { ButtonHTMLAttributes, ReactNode, FC } from 'react';
2
2
  import './Button.css';
3
3
  export type ButtonVariant = 'primary' | 'hero' | 'secondary' | 'secondary-large' | 'ghost' | 'ghost-icon';
4
4
  export type ButtonSize = 'sm' | 'md' | 'lg';
5
5
  export type ButtonState = 'default' | 'hover' | 'pressed' | 'focused' | 'disabled';
6
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
6
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
7
7
  variant?: ButtonVariant;
8
8
  size?: ButtonSize;
9
- leftIcon?: React.ReactNode;
10
- rightIcon?: React.ReactNode;
11
- children?: React.ReactNode;
9
+ leftIcon?: ReactNode;
10
+ rightIcon?: ReactNode;
11
+ children?: ReactNode;
12
12
  fullWidth?: boolean;
13
13
  }
14
- export declare const Button: React.FC<ButtonProps>;
14
+ export declare const Button: FC<ButtonProps>;
15
15
  export default Button;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { type FC } from 'react';
2
2
  import './Checkbox.css';
3
3
  export type CheckboxState = 'idle' | 'clicked' | 'disabled';
4
4
  export type CheckboxSelection = 'on' | 'off' | 'mixed';
@@ -12,5 +12,5 @@ export interface CheckboxProps {
12
12
  label?: string;
13
13
  className?: string;
14
14
  }
15
- export declare const Checkbox: React.FC<CheckboxProps>;
15
+ export declare const Checkbox: FC<CheckboxProps>;
16
16
  export default Checkbox;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type { FC } from 'react';
2
2
  import './Footer.css';
3
3
  export type FooterVariant = 'light' | 'dark';
4
4
  export interface FooterLink {
@@ -16,12 +16,7 @@ export interface FooterProps {
16
16
  onCtaClick?: () => void;
17
17
  sections?: FooterSection[];
18
18
  copyright?: string;
19
- socials?: {
20
- twitter?: string;
21
- instagram?: string;
22
- facebook?: string;
23
- };
24
19
  className?: string;
25
20
  }
26
- export declare const Footer: React.FC<FooterProps>;
21
+ export declare const Footer: FC<FooterProps>;
27
22
  export default Footer;
@@ -1,13 +1,13 @@
1
- import * as React from 'react';
1
+ import type { ReactNode, FC } from 'react';
2
2
  import './Header.css';
3
3
  export type HeaderColor = 'purple' | 'grey';
4
4
  export interface HeaderProps {
5
5
  title: string;
6
6
  subtitle?: string;
7
7
  color?: HeaderColor;
8
- leftSlot?: React.ReactNode;
9
- rightSlot?: React.ReactNode;
8
+ leftSlot?: ReactNode;
9
+ rightSlot?: ReactNode;
10
10
  className?: string;
11
11
  }
12
- export declare const Header: React.FC<HeaderProps>;
12
+ export declare const Header: FC<HeaderProps>;
13
13
  export default Header;
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
1
+ import type { InputHTMLAttributes, ReactNode, FC } from 'react';
2
2
  import './Input.css';
3
3
  export type InputState = 'default' | 'hover' | 'focused' | 'filled' | 'error' | 'success';
4
- export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
4
+ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
5
5
  label?: string;
6
6
  placeholder?: string;
7
7
  state?: InputState;
8
8
  errorMessage?: string;
9
9
  successMessage?: string;
10
- leftIcon?: React.ReactNode;
11
- rightIcon?: React.ReactNode;
10
+ leftIcon?: ReactNode;
11
+ rightIcon?: ReactNode;
12
12
  }
13
- export declare const Input: React.FC<InputProps>;
13
+ export declare const Input: FC<InputProps>;
14
14
  export default Input;
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
1
+ import type { ReactNode, FC } from 'react';
2
2
  import './Tag.css';
3
3
  export type TagColor = 'grey' | 'green' | 'yellow' | 'purple' | 'pink';
4
4
  export interface TagProps {
5
- children: React.ReactNode;
5
+ children: ReactNode;
6
6
  color?: TagColor;
7
7
  className?: string;
8
8
  }
9
- export declare const Tag: React.FC<TagProps>;
9
+ export declare const Tag: FC<TagProps>;
10
10
  export default Tag;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type { FC } from 'react';
2
2
  import './Toggle.css';
3
3
  export interface ToggleProps {
4
4
  checked: boolean;
@@ -7,5 +7,5 @@ export interface ToggleProps {
7
7
  label?: string;
8
8
  className?: string;
9
9
  }
10
- export declare const Toggle: React.FC<ToggleProps>;
10
+ export declare const Toggle: FC<ToggleProps>;
11
11
  export default Toggle;
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react");function re(n){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(o,a,s.get?s:{enumerable:!0,get:()=>n[a]})}}return o.default=n,Object.freeze(o)}const L=re(B);var w={exports:{}},j={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("react");var A={exports:{}},x={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var M;function te(){if(M)return j;M=1;var n=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function a(s,l,c){var m=null;if(c!==void 0&&(m=""+c),l.key!==void 0&&(m=""+l.key),"key"in l){c={};for(var _ in l)_!=="key"&&(c[_]=l[_])}else c=l;return l=c.ref,{$$typeof:n,type:s,key:m,ref:l!==void 0?l:null,props:c}}return j.Fragment=o,j.jsx=a,j.jsxs=a,j}var x={};/**
9
+ */var I;function ee(){if(I)return x;I=1;var l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function a(n,s,o){var m=null;if(o!==void 0&&(m=""+o),s.key!==void 0&&(m=""+s.key),"key"in s){o={};for(var _ in s)_!=="key"&&(o[_]=s[_])}else o=s;return s=o.ref,{$$typeof:l,type:n,key:m,ref:s!==void 0?s:null,props:o}}return x.Fragment=c,x.jsx=a,x.jsxs=a,x}var j={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,9 +14,9 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var I;function ae(){return I||(I=1,process.env.NODE_ENV!=="production"&&function(){function n(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Q?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case z:return"Profiler";case U:return"StrictMode";case J:return"Suspense";case X:return"SuspenseList";case Z:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case W:return"Portal";case q:return e.displayName||"Context";case V:return(e._context.displayName||"Context")+".Consumer";case G:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case H:return t=e.displayName||null,t!==null?t:n(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return n(e(t))}catch{}}return null}function o(e){return""+e}function a(e){try{o(e);var t=!1}catch{t=!0}if(t){t=console;var i=t.error,f=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",f),o(e)}}function s(e){if(e===k)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===g)return"<...>";try{var t=n(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=R.A;return e===null?null:e.getOwner()}function c(){return Error("react-stack-top-frame")}function m(e){if(S.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function _(e,t){function i(){C||(C=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}function d(){var e=n(this.type);return $[e]||($[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function p(e,t,i,f,N,O){var u=i.ref;return e={$$typeof:P,type:e,key:t,props:i,_owner:f},(u!==void 0?u:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:d}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:N}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function b(e,t,i,f,N,O){var u=t.children;if(u!==void 0)if(f)if(K(u)){for(f=0;f<u.length;f++)v(u[f]);Object.freeze&&Object.freeze(u)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v(u);if(S.call(t,"key")){u=n(e);var h=Object.keys(t).filter(function(ee){return ee!=="key"});f=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",D[u+f]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var M;function re(){return M||(M=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case U:return"Profiler";case W:return"StrictMode";case G:return"Suspense";case J:return"SuspenseList";case H:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case B:return"Portal";case q:return e.displayName||"Context";case V:return(e._context.displayName||"Context")+".Consumer";case z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:l(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return l(e(t))}catch{}}return null}function c(e){return""+e}function a(e){try{c(e);var t=!1}catch{t=!0}if(t){t=console;var i=t.error,f=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",f),c(e)}}function n(e){if(e===k)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===R)return"<...>";try{var t=l(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function s(){var e=g.A;return e===null?null:e.getOwner()}function o(){return Error("react-stack-top-frame")}function m(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function _(e,t){function i(){$||($=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}function d(){var e=l(this.type);return Y[e]||(Y[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function p(e,t,i,f,N,w){var u=i.ref;return e={$$typeof:S,type:e,key:t,props:i,_owner:f},(u!==void 0?u:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:d}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:N}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function b(e,t,i,f,N,w){var u=t.children;if(u!==void 0)if(f)if(Q(u)){for(f=0;f<u.length;f++)v(u[f]);Object.freeze&&Object.freeze(u)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v(u);if(C.call(t,"key")){u=l(e);var h=Object.keys(t).filter(function(K){return K!=="key"});f=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",D[u+f]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,f,u,h,u),D[u+f]=!0)}if(u=null,i!==void 0&&(a(i),u=""+i),m(t)&&(a(t.key),u=""+t.key),"key"in t){i={};for(var y in t)y!=="key"&&(i[y]=t[y])}else i=t;return u&&_(i,typeof e=="function"?e.displayName||e.name||"Unknown":e),p(e,u,i,l(),N,O)}function v(e){A(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===g&&(e._payload.status==="fulfilled"?A(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function A(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}var E=B,P=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),q=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),Q=Symbol.for("react.client.reference"),R=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S=Object.prototype.hasOwnProperty,K=Array.isArray,T=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(e){return e()}};var C,$={},Y=E.react_stack_bottom_frame.bind(E,c)(),F=T(s(c)),D={};x.Fragment=k,x.jsx=function(e,t,i){var f=1e4>R.recentlyCreatedOwnerStacks++;return b(e,t,i,!1,f?Error("react-stack-top-frame"):Y,f?T(s(e)):F)},x.jsxs=function(e,t,i){var f=1e4>R.recentlyCreatedOwnerStacks++;return b(e,t,i,!0,f?Error("react-stack-top-frame"):Y,f?T(s(e)):F)}}()),x}process.env.NODE_ENV==="production"?w.exports=te():w.exports=ae();var r=w.exports;const ne=({variant:n="primary",size:o="md",leftIcon:a,rightIcon:s,children:l,fullWidth:c=!1,disabled:m,className:_="",...d})=>{const p=["fm-btn",`fm-btn--${n}`,`fm-btn--${o}`,c?"fm-btn--full":"",m?"fm-btn--disabled":"",_].filter(Boolean).join(" ");return r.jsxs("button",{className:p,disabled:m,...d,children:[a&&r.jsx("span",{className:"fm-btn__icon fm-btn__icon--left",children:a}),l&&r.jsx("span",{className:"fm-btn__label",children:l}),s&&r.jsx("span",{className:"fm-btn__icon fm-btn__icon--right",children:s})]})},se=({label:n,placeholder:o,state:a="default",errorMessage:s,successMessage:l,leftIcon:c,rightIcon:m,className:_="",disabled:d,...p})=>{const b=["fm-input-wrapper",`fm-input-wrapper--${a}`,d?"fm-input-wrapper--disabled":"",_].filter(Boolean).join(" ");return r.jsxs("div",{className:b,children:[n&&r.jsx("label",{className:"fm-input__label",children:n}),r.jsxs("div",{className:"fm-input__field",children:[c&&r.jsx("span",{className:"fm-input__icon fm-input__icon--left",children:c}),r.jsx("input",{className:"fm-input__el",placeholder:o,disabled:d,...p}),m&&r.jsx("span",{className:"fm-input__icon fm-input__icon--right",children:m})]}),a==="error"&&s&&r.jsx("p",{className:"fm-input__message fm-input__message--error",children:s}),a==="success"&&l&&r.jsx("p",{className:"fm-input__message fm-input__message--success",children:l})]})},oe=({children:n,color:o="grey",className:a=""})=>{const s=["fm-tag",`fm-tag--${o}`,a].filter(Boolean).join(" ");return r.jsx("span",{className:s,children:n})},le=({checked:n,onChange:o,disabled:a,label:s,className:l=""})=>r.jsxs("label",{className:["fm-toggle",a?"fm-toggle--disabled":"",l].filter(Boolean).join(" "),children:[r.jsx("input",{type:"checkbox",className:"fm-toggle__input",checked:n,onChange:c=>o(c.target.checked),disabled:a}),r.jsx("span",{className:"fm-toggle__track",children:r.jsx("span",{className:"fm-toggle__thumb"})}),s&&r.jsx("span",{className:"fm-toggle__label",children:s})]}),ce=({checked:n=!1,indeterminate:o=!1,onChange:a,disabled:s,size:l="small",label:c,className:m=""})=>{const _=L.useRef(null);return L.useEffect(()=>{_.current&&(_.current.indeterminate=o)},[o]),r.jsxs("label",{className:["fm-checkbox",`fm-checkbox--${l}`,s?"fm-checkbox--disabled":"",m].filter(Boolean).join(" "),children:[r.jsx("input",{ref:_,type:"checkbox",className:"fm-checkbox__input",checked:n,onChange:d=>a==null?void 0:a(d.target.checked),disabled:s}),r.jsxs("span",{className:"fm-checkbox__box",children:[n&&!o&&r.jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",children:r.jsx("path",{d:"M1 4L3.5 6.5L9 1",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),o&&r.jsx("span",{className:"fm-checkbox__minus"})]}),c&&r.jsx("span",{className:"fm-checkbox__label",children:c})]})},ie=({title:n,subtitle:o,color:a="purple",leftSlot:s,rightSlot:l,className:c=""})=>{const m=["fm-header",`fm-header--${a}`,c].filter(Boolean).join(" ");return r.jsxs("div",{className:m,children:[s&&r.jsx("div",{className:"fm-header__slot fm-header__slot--left",children:s}),r.jsxs("div",{className:"fm-header__title-block",children:[r.jsx("h4",{className:"fm-header__title",children:n}),o&&r.jsx("p",{className:"fm-header__subtitle",children:o})]}),l&&r.jsx("div",{className:"fm-header__slot fm-header__slot--right",children:l})]})},fe=({variant:n="light",headline:o="Є ідеї чи пропозиції?",ctaLabel:a="Написати нам",onCtaClick:s,sections:l=[],copyright:c="© 2024 Made by FlowMakers. All rights reserved",className:m=""})=>{const _=["fm-footer",`fm-footer--${n}`,m].filter(Boolean).join(" ");return r.jsxs("footer",{className:_,children:[r.jsxs("div",{className:"fm-footer__top",children:[r.jsxs("div",{className:"fm-footer__cta-block",children:[r.jsx("h3",{className:"fm-footer__headline",children:o}),r.jsx("button",{className:"fm-footer__cta-btn",onClick:s,children:a})]}),r.jsx("div",{className:"fm-footer__sections",children:l.map((d,p)=>r.jsxs("div",{className:"fm-footer__section",children:[r.jsx("p",{className:"fm-footer__section-title",children:d.title}),r.jsx("ul",{className:"fm-footer__section-links",children:d.links.map((b,v)=>r.jsx("li",{children:r.jsx("a",{href:b.href,className:"fm-footer__link",children:b.label})},v))})]},p))})]}),r.jsx("div",{className:"fm-footer__bottom",children:r.jsx("p",{className:"fm-footer__copyright",children:c})})]})};exports.Button=ne;exports.Checkbox=ce;exports.Footer=fe;exports.Header=ie;exports.Input=se;exports.Tag=oe;exports.Toggle=le;
22
+ <%s key={someKey} {...props} />`,f,u,h,u),D[u+f]=!0)}if(u=null,i!==void 0&&(a(i),u=""+i),m(t)&&(a(t.key),u=""+t.key),"key"in t){i={};for(var y in t)y!=="key"&&(i[y]=t[y])}else i=t;return u&&_(i,typeof e=="function"?e.displayName||e.name||"Unknown":e),p(e,u,i,s(),N,w)}function v(e){P(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===R&&(e._payload.status==="fulfilled"?P(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function P(e){return typeof e=="object"&&e!==null&&e.$$typeof===S}var E=O,S=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),q=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),Z=Symbol.for("react.client.reference"),g=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,Q=Array.isArray,T=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(e){return e()}};var $,Y={},F=E.react_stack_bottom_frame.bind(E,o)(),L=T(n(o)),D={};j.Fragment=k,j.jsx=function(e,t,i){var f=1e4>g.recentlyCreatedOwnerStacks++;return b(e,t,i,!1,f?Error("react-stack-top-frame"):F,f?T(n(e)):L)},j.jsxs=function(e,t,i){var f=1e4>g.recentlyCreatedOwnerStacks++;return b(e,t,i,!0,f?Error("react-stack-top-frame"):F,f?T(n(e)):L)}}()),j}process.env.NODE_ENV==="production"?A.exports=ee():A.exports=re();var r=A.exports;const te=({variant:l="primary",size:c="md",leftIcon:a,rightIcon:n,children:s,fullWidth:o=!1,disabled:m,className:_="",...d})=>{const p=["fm-btn",`fm-btn--${l}`,`fm-btn--${c}`,o?"fm-btn--full":"",m?"fm-btn--disabled":"",_].filter(Boolean).join(" ");return r.jsxs("button",{className:p,disabled:m,...d,children:[a&&r.jsx("span",{className:"fm-btn__icon fm-btn__icon--left",children:a}),s&&r.jsx("span",{className:"fm-btn__label",children:s}),n&&r.jsx("span",{className:"fm-btn__icon fm-btn__icon--right",children:n})]})},se=({label:l,placeholder:c,state:a="default",errorMessage:n,successMessage:s,leftIcon:o,rightIcon:m,className:_="",disabled:d,...p})=>{const b=["fm-input-wrapper",`fm-input-wrapper--${a}`,d?"fm-input-wrapper--disabled":"",_].filter(Boolean).join(" ");return r.jsxs("div",{className:b,children:[l&&r.jsx("label",{className:"fm-input__label",children:l}),r.jsxs("div",{className:"fm-input__field",children:[o&&r.jsx("span",{className:"fm-input__icon fm-input__icon--left",children:o}),r.jsx("input",{className:"fm-input__el",placeholder:c,disabled:d,...p}),m&&r.jsx("span",{className:"fm-input__icon fm-input__icon--right",children:m})]}),a==="error"&&n&&r.jsx("p",{className:"fm-input__message fm-input__message--error",children:n}),a==="success"&&s&&r.jsx("p",{className:"fm-input__message fm-input__message--success",children:s})]})},ae=({children:l,color:c="grey",className:a=""})=>{const n=["fm-tag",`fm-tag--${c}`,a].filter(Boolean).join(" ");return r.jsx("span",{className:n,children:l})},ne=({checked:l,onChange:c,disabled:a,label:n,className:s=""})=>r.jsxs("label",{className:["fm-toggle",a?"fm-toggle--disabled":"",s].filter(Boolean).join(" "),children:[r.jsx("input",{type:"checkbox",className:"fm-toggle__input",checked:l,onChange:o=>c(o.target.checked),disabled:a}),r.jsx("span",{className:"fm-toggle__track",children:r.jsx("span",{className:"fm-toggle__thumb"})}),n&&r.jsx("span",{className:"fm-toggle__label",children:n})]}),oe=({checked:l=!1,indeterminate:c=!1,onChange:a,disabled:n,size:s="small",label:o,className:m=""})=>{const _=O.useRef(null);return O.useEffect(()=>{_.current&&(_.current.indeterminate=c)},[c]),r.jsxs("label",{className:["fm-checkbox",`fm-checkbox--${s}`,n?"fm-checkbox--disabled":"",m].filter(Boolean).join(" "),children:[r.jsx("input",{ref:_,type:"checkbox",className:"fm-checkbox__input",checked:l,onChange:d=>a==null?void 0:a(d.target.checked),disabled:n}),r.jsxs("span",{className:"fm-checkbox__box",children:[l&&!c&&r.jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",children:r.jsx("path",{d:"M1 4L3.5 6.5L9 1",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),c&&r.jsx("span",{className:"fm-checkbox__minus"})]}),o&&r.jsx("span",{className:"fm-checkbox__label",children:o})]})},le=({title:l,subtitle:c,color:a="purple",leftSlot:n,rightSlot:s,className:o=""})=>{const m=["fm-header",`fm-header--${a}`,o].filter(Boolean).join(" ");return r.jsxs("div",{className:m,children:[n&&r.jsx("div",{className:"fm-header__slot fm-header__slot--left",children:n}),r.jsxs("div",{className:"fm-header__title-block",children:[r.jsx("h4",{className:"fm-header__title",children:l}),c&&r.jsx("p",{className:"fm-header__subtitle",children:c})]}),s&&r.jsx("div",{className:"fm-header__slot fm-header__slot--right",children:s})]})},ce=({variant:l="light",headline:c="Є ідеї чи пропозиції?",ctaLabel:a="Написати нам",onCtaClick:n,sections:s=[],copyright:o="© 2024 Made by FlowMakers. All rights reserved",className:m=""})=>{const _=["fm-footer",`fm-footer--${l}`,m].filter(Boolean).join(" ");return r.jsxs("footer",{className:_,children:[r.jsxs("div",{className:"fm-footer__top",children:[r.jsxs("div",{className:"fm-footer__cta-block",children:[r.jsx("h3",{className:"fm-footer__headline",children:c}),r.jsx("button",{className:"fm-footer__cta-btn",onClick:n,children:a})]}),r.jsx("div",{className:"fm-footer__sections",children:s.map((d,p)=>r.jsxs("div",{className:"fm-footer__section",children:[r.jsx("p",{className:"fm-footer__section-title",children:d.title}),r.jsx("ul",{className:"fm-footer__section-links",children:d.links.map((b,v)=>r.jsx("li",{children:r.jsx("a",{href:b.href,className:"fm-footer__link",children:b.label})},v))})]},p))})]}),r.jsx("div",{className:"fm-footer__bottom",children:r.jsx("p",{className:"fm-footer__copyright",children:o})})]})};exports.Button=te;exports.Checkbox=oe;exports.Footer=ce;exports.Header=le;exports.Input=se;exports.Tag=ae;exports.Toggle=ne;
package/dist/index.esm.js CHANGED
@@ -1,5 +1,4 @@
1
- import * as D from "react";
2
- import ee from "react";
1
+ import K, { useRef as ee, useEffect as re } from "react";
3
2
  var O = { exports: {} }, x = {};
4
3
  /**
5
4
  * @license React
@@ -10,27 +9,27 @@ var O = { exports: {} }, x = {};
10
9
  * This source code is licensed under the MIT license found in the
11
10
  * LICENSE file in the root directory of this source tree.
12
11
  */
13
- var I;
14
- function re() {
15
- if (I) return x;
16
- I = 1;
12
+ var D;
13
+ function te() {
14
+ if (D) return x;
15
+ D = 1;
17
16
  var l = Symbol.for("react.transitional.element"), c = Symbol.for("react.fragment");
18
- function s(n, a, o) {
17
+ function a(n, s, o) {
19
18
  var m = null;
20
- if (o !== void 0 && (m = "" + o), a.key !== void 0 && (m = "" + a.key), "key" in a) {
19
+ if (o !== void 0 && (m = "" + o), s.key !== void 0 && (m = "" + s.key), "key" in s) {
21
20
  o = {};
22
- for (var _ in a)
23
- _ !== "key" && (o[_] = a[_]);
24
- } else o = a;
25
- return a = o.ref, {
21
+ for (var _ in s)
22
+ _ !== "key" && (o[_] = s[_]);
23
+ } else o = s;
24
+ return s = o.ref, {
26
25
  $$typeof: l,
27
26
  type: n,
28
27
  key: m,
29
- ref: a !== void 0 ? a : null,
28
+ ref: s !== void 0 ? s : null,
30
29
  props: o
31
30
  };
32
31
  }
33
- return x.Fragment = c, x.jsx = s, x.jsxs = s, x;
32
+ return x.Fragment = c, x.jsx = a, x.jsxs = a, x;
34
33
  }
35
34
  var j = {};
36
35
  /**
@@ -42,42 +41,42 @@ var j = {};
42
41
  * This source code is licensed under the MIT license found in the
43
42
  * LICENSE file in the root directory of this source tree.
44
43
  */
45
- var M;
46
- function te() {
47
- return M || (M = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var I;
45
+ function se() {
46
+ return I || (I = 1, process.env.NODE_ENV !== "production" && function() {
48
47
  function l(e) {
49
48
  if (e == null) return null;
50
49
  if (typeof e == "function")
51
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
50
+ return e.$$typeof === H ? null : e.displayName || e.name || null;
52
51
  if (typeof e == "string") return e;
53
52
  switch (e) {
54
53
  case k:
55
54
  return "Fragment";
56
- case U:
57
- return "Profiler";
58
55
  case B:
56
+ return "Profiler";
57
+ case W:
59
58
  return "StrictMode";
60
- case J:
61
- return "Suspense";
62
59
  case q:
60
+ return "Suspense";
61
+ case G:
63
62
  return "SuspenseList";
64
- case H:
63
+ case X:
65
64
  return "Activity";
66
65
  }
67
66
  if (typeof e == "object")
68
67
  switch (typeof e.tag == "number" && console.error(
69
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
69
  ), e.$$typeof) {
71
- case W:
70
+ case M:
72
71
  return "Portal";
73
- case z:
74
- return e.displayName || "Context";
75
72
  case V:
73
+ return e.displayName || "Context";
74
+ case U:
76
75
  return (e._context.displayName || "Context") + ".Consumer";
77
- case G:
76
+ case z:
78
77
  var t = e.render;
79
78
  return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
80
- case X:
79
+ case J:
81
80
  return t = e.displayName || null, t !== null ? t : l(e.type) || "Memo";
82
81
  case R:
83
82
  t = e._payload, e = e._init;
@@ -91,7 +90,7 @@ function te() {
91
90
  function c(e) {
92
91
  return "" + e;
93
92
  }
94
- function s(e) {
93
+ function a(e) {
95
94
  try {
96
95
  c(e);
97
96
  var t = !1;
@@ -119,7 +118,7 @@ function te() {
119
118
  return "<...>";
120
119
  }
121
120
  }
122
- function a() {
121
+ function s() {
123
122
  var e = T.A;
124
123
  return e === null ? null : e.getOwner();
125
124
  }
@@ -188,7 +187,7 @@ function te() {
188
187
  var u = t.children;
189
188
  if (u !== void 0)
190
189
  if (f)
191
- if (Q(u)) {
190
+ if (Z(u)) {
192
191
  for (f = 0; f < u.length; f++)
193
192
  v(u[f]);
194
193
  Object.freeze && Object.freeze(u);
@@ -199,8 +198,8 @@ function te() {
199
198
  else v(u);
200
199
  if (S.call(t, "key")) {
201
200
  u = l(e);
202
- var b = Object.keys(t).filter(function(K) {
203
- return K !== "key";
201
+ var b = Object.keys(t).filter(function(Q) {
202
+ return Q !== "key";
204
203
  });
205
204
  f = 0 < b.length ? "{key: someKey, " + b.join(": ..., ") + ": ...}" : "{key: someKey}", L[u + f] || (b = 0 < b.length ? "{" + b.join(": ..., ") + ": ...}" : "{}", console.error(
206
205
  `A props object containing a "key" prop is being spread into JSX:
@@ -215,7 +214,7 @@ React keys must be passed directly to JSX without using spread:
215
214
  u
216
215
  ), L[u + f] = !0);
217
216
  }
218
- if (u = null, i !== void 0 && (s(i), u = "" + i), m(t) && (s(t.key), u = "" + t.key), "key" in t) {
217
+ if (u = null, i !== void 0 && (a(i), u = "" + i), m(t) && (a(t.key), u = "" + t.key), "key" in t) {
219
218
  i = {};
220
219
  for (var y in t)
221
220
  y !== "key" && (i[y] = t[y]);
@@ -227,7 +226,7 @@ React keys must be passed directly to JSX without using spread:
227
226
  e,
228
227
  u,
229
228
  i,
230
- a(),
229
+ s(),
231
230
  N,
232
231
  w
233
232
  );
@@ -238,7 +237,7 @@ React keys must be passed directly to JSX without using spread:
238
237
  function A(e) {
239
238
  return typeof e == "object" && e !== null && e.$$typeof === P;
240
239
  }
241
- var E = ee, P = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), B = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), z = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), J = Symbol.for("react.suspense"), q = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), T = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, Q = Array.isArray, g = console.createTask ? console.createTask : function() {
240
+ var E = K, P = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), U = Symbol.for("react.consumer"), V = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), q = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), T = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, Z = Array.isArray, g = console.createTask ? console.createTask : function() {
242
241
  return null;
243
242
  };
244
243
  E = {
@@ -273,14 +272,14 @@ React keys must be passed directly to JSX without using spread:
273
272
  };
274
273
  }()), j;
275
274
  }
276
- process.env.NODE_ENV === "production" ? O.exports = re() : O.exports = te();
275
+ process.env.NODE_ENV === "production" ? O.exports = te() : O.exports = se();
277
276
  var r = O.exports;
278
- const se = ({
277
+ const ne = ({
279
278
  variant: l = "primary",
280
279
  size: c = "md",
281
- leftIcon: s,
280
+ leftIcon: a,
282
281
  rightIcon: n,
283
- children: a,
282
+ children: s,
284
283
  fullWidth: o = !1,
285
284
  disabled: m,
286
285
  className: _ = "",
@@ -295,16 +294,16 @@ const se = ({
295
294
  _
296
295
  ].filter(Boolean).join(" ");
297
296
  return /* @__PURE__ */ r.jsxs("button", { className: p, disabled: m, ...d, children: [
298
- s && /* @__PURE__ */ r.jsx("span", { className: "fm-btn__icon fm-btn__icon--left", children: s }),
299
- a && /* @__PURE__ */ r.jsx("span", { className: "fm-btn__label", children: a }),
297
+ a && /* @__PURE__ */ r.jsx("span", { className: "fm-btn__icon fm-btn__icon--left", children: a }),
298
+ s && /* @__PURE__ */ r.jsx("span", { className: "fm-btn__label", children: s }),
300
299
  n && /* @__PURE__ */ r.jsx("span", { className: "fm-btn__icon fm-btn__icon--right", children: n })
301
300
  ] });
302
- }, ne = ({
301
+ }, oe = ({
303
302
  label: l,
304
303
  placeholder: c,
305
- state: s = "default",
304
+ state: a = "default",
306
305
  errorMessage: n,
307
- successMessage: a,
306
+ successMessage: s,
308
307
  leftIcon: o,
309
308
  rightIcon: m,
310
309
  className: _ = "",
@@ -313,7 +312,7 @@ const se = ({
313
312
  }) => {
314
313
  const h = [
315
314
  "fm-input-wrapper",
316
- `fm-input-wrapper--${s}`,
315
+ `fm-input-wrapper--${a}`,
317
316
  d ? "fm-input-wrapper--disabled" : "",
318
317
  _
319
318
  ].filter(Boolean).join(" ");
@@ -332,13 +331,13 @@ const se = ({
332
331
  ),
333
332
  m && /* @__PURE__ */ r.jsx("span", { className: "fm-input__icon fm-input__icon--right", children: m })
334
333
  ] }),
335
- s === "error" && n && /* @__PURE__ */ r.jsx("p", { className: "fm-input__message fm-input__message--error", children: n }),
336
- s === "success" && a && /* @__PURE__ */ r.jsx("p", { className: "fm-input__message fm-input__message--success", children: a })
334
+ a === "error" && n && /* @__PURE__ */ r.jsx("p", { className: "fm-input__message fm-input__message--error", children: n }),
335
+ a === "success" && s && /* @__PURE__ */ r.jsx("p", { className: "fm-input__message fm-input__message--success", children: s })
337
336
  ] });
338
- }, oe = ({ children: l, color: c = "grey", className: s = "" }) => {
339
- const n = ["fm-tag", `fm-tag--${c}`, s].filter(Boolean).join(" ");
337
+ }, le = ({ children: l, color: c = "grey", className: a = "" }) => {
338
+ const n = ["fm-tag", `fm-tag--${c}`, a].filter(Boolean).join(" ");
340
339
  return /* @__PURE__ */ r.jsx("span", { className: n, children: l });
341
- }, le = ({ checked: l, onChange: c, disabled: s, label: n, className: a = "" }) => /* @__PURE__ */ r.jsxs("label", { className: ["fm-toggle", s ? "fm-toggle--disabled" : "", a].filter(Boolean).join(" "), children: [
340
+ }, ce = ({ checked: l, onChange: c, disabled: a, label: n, className: s = "" }) => /* @__PURE__ */ r.jsxs("label", { className: ["fm-toggle", a ? "fm-toggle--disabled" : "", s].filter(Boolean).join(" "), children: [
342
341
  /* @__PURE__ */ r.jsx(
343
342
  "input",
344
343
  {
@@ -346,24 +345,24 @@ const se = ({
346
345
  className: "fm-toggle__input",
347
346
  checked: l,
348
347
  onChange: (o) => c(o.target.checked),
349
- disabled: s
348
+ disabled: a
350
349
  }
351
350
  ),
352
351
  /* @__PURE__ */ r.jsx("span", { className: "fm-toggle__track", children: /* @__PURE__ */ r.jsx("span", { className: "fm-toggle__thumb" }) }),
353
352
  n && /* @__PURE__ */ r.jsx("span", { className: "fm-toggle__label", children: n })
354
- ] }), ce = ({
353
+ ] }), ie = ({
355
354
  checked: l = !1,
356
355
  indeterminate: c = !1,
357
- onChange: s,
356
+ onChange: a,
358
357
  disabled: n,
359
- size: a = "small",
358
+ size: s = "small",
360
359
  label: o,
361
360
  className: m = ""
362
361
  }) => {
363
- const _ = D.useRef(null);
364
- return D.useEffect(() => {
362
+ const _ = ee(null);
363
+ return re(() => {
365
364
  _.current && (_.current.indeterminate = c);
366
- }, [c]), /* @__PURE__ */ r.jsxs("label", { className: ["fm-checkbox", `fm-checkbox--${a}`, n ? "fm-checkbox--disabled" : "", m].filter(Boolean).join(" "), children: [
365
+ }, [c]), /* @__PURE__ */ r.jsxs("label", { className: ["fm-checkbox", `fm-checkbox--${s}`, n ? "fm-checkbox--disabled" : "", m].filter(Boolean).join(" "), children: [
367
366
  /* @__PURE__ */ r.jsx(
368
367
  "input",
369
368
  {
@@ -371,7 +370,7 @@ const se = ({
371
370
  type: "checkbox",
372
371
  className: "fm-checkbox__input",
373
372
  checked: l,
374
- onChange: (d) => s == null ? void 0 : s(d.target.checked),
373
+ onChange: (d) => a == null ? void 0 : a(d.target.checked),
375
374
  disabled: n
376
375
  }
377
376
  ),
@@ -381,29 +380,29 @@ const se = ({
381
380
  ] }),
382
381
  o && /* @__PURE__ */ r.jsx("span", { className: "fm-checkbox__label", children: o })
383
382
  ] });
384
- }, ie = ({
383
+ }, fe = ({
385
384
  title: l,
386
385
  subtitle: c,
387
- color: s = "purple",
386
+ color: a = "purple",
388
387
  leftSlot: n,
389
- rightSlot: a,
388
+ rightSlot: s,
390
389
  className: o = ""
391
390
  }) => {
392
- const m = ["fm-header", `fm-header--${s}`, o].filter(Boolean).join(" ");
391
+ const m = ["fm-header", `fm-header--${a}`, o].filter(Boolean).join(" ");
393
392
  return /* @__PURE__ */ r.jsxs("div", { className: m, children: [
394
393
  n && /* @__PURE__ */ r.jsx("div", { className: "fm-header__slot fm-header__slot--left", children: n }),
395
394
  /* @__PURE__ */ r.jsxs("div", { className: "fm-header__title-block", children: [
396
395
  /* @__PURE__ */ r.jsx("h4", { className: "fm-header__title", children: l }),
397
396
  c && /* @__PURE__ */ r.jsx("p", { className: "fm-header__subtitle", children: c })
398
397
  ] }),
399
- a && /* @__PURE__ */ r.jsx("div", { className: "fm-header__slot fm-header__slot--right", children: a })
398
+ s && /* @__PURE__ */ r.jsx("div", { className: "fm-header__slot fm-header__slot--right", children: s })
400
399
  ] });
401
- }, fe = ({
400
+ }, ue = ({
402
401
  variant: l = "light",
403
402
  headline: c = "Є ідеї чи пропозиції?",
404
- ctaLabel: s = "Написати нам",
403
+ ctaLabel: a = "Написати нам",
405
404
  onCtaClick: n,
406
- sections: a = [],
405
+ sections: s = [],
407
406
  copyright: o = "© 2024 Made by FlowMakers. All rights reserved",
408
407
  className: m = ""
409
408
  }) => {
@@ -412,9 +411,9 @@ const se = ({
412
411
  /* @__PURE__ */ r.jsxs("div", { className: "fm-footer__top", children: [
413
412
  /* @__PURE__ */ r.jsxs("div", { className: "fm-footer__cta-block", children: [
414
413
  /* @__PURE__ */ r.jsx("h3", { className: "fm-footer__headline", children: c }),
415
- /* @__PURE__ */ r.jsx("button", { className: "fm-footer__cta-btn", onClick: n, children: s })
414
+ /* @__PURE__ */ r.jsx("button", { className: "fm-footer__cta-btn", onClick: n, children: a })
416
415
  ] }),
417
- /* @__PURE__ */ r.jsx("div", { className: "fm-footer__sections", children: a.map((d, p) => /* @__PURE__ */ r.jsxs("div", { className: "fm-footer__section", children: [
416
+ /* @__PURE__ */ r.jsx("div", { className: "fm-footer__sections", children: s.map((d, p) => /* @__PURE__ */ r.jsxs("div", { className: "fm-footer__section", children: [
418
417
  /* @__PURE__ */ r.jsx("p", { className: "fm-footer__section-title", children: d.title }),
419
418
  /* @__PURE__ */ r.jsx("ul", { className: "fm-footer__section-links", children: d.links.map((h, v) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("a", { href: h.href, className: "fm-footer__link", children: h.label }) }, v)) })
420
419
  ] }, p)) })
@@ -423,11 +422,11 @@ const se = ({
423
422
  ] });
424
423
  };
425
424
  export {
426
- se as Button,
427
- ce as Checkbox,
428
- fe as Footer,
429
- ie as Header,
430
- ne as Input,
431
- oe as Tag,
432
- le as Toggle
425
+ ne as Button,
426
+ ie as Checkbox,
427
+ ue as Footer,
428
+ fe as Header,
429
+ oe as Input,
430
+ le as Tag,
431
+ ce as Toggle
433
432
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetjana/flowmakers-ds",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "FlowMakers UI Design System — React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",