trepur_components 2.3.30 → 2.3.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,50 @@
1
+ import { jsx as b } from "react/jsx-runtime";
2
+ import { forwardRef as a } from "react";
3
+ import { Icon as p } from "../Icon/index.js";
4
+ import s from "clsx";
5
+ const c = a(
6
+ ({
7
+ className: e,
8
+ children: o,
9
+ loading: t = !1,
10
+ variant: r = "primary",
11
+ size: n,
12
+ href: g,
13
+ target: m,
14
+ ...u
15
+ }) => /* @__PURE__ */ b("div", { className: "inline-block", children: /* @__PURE__ */ b(
16
+ "a",
17
+ {
18
+ href: g,
19
+ target: m,
20
+ className: s(
21
+ "flex px-12 py-3 items-center gap-3 rounded border text-center leading-8",
22
+ {
23
+ "duration-200": !t,
24
+ "border-button-primary-border bg-button-primary-bg text-button-primary-text hover:bg-button-primary-hover active:bg-button-primary-active": r === "primary" && !t,
25
+ "border-button-secondary-border bg-button-secondary-bg text-button-secondary-text hover:bg-button-secondary-hover active:bg-button-secondary-active": r === "secondary" && !t,
26
+ "border-button-ghost-border bg-button-ghost-bg text-button-ghost-text hover:bg-button-ghost-hover active:bg-button-ghost-active": r === "ghost" && !t,
27
+ "border-button-bordered-border text-button-ghost-text hover:bg-button-ghost-hover active:bg-button-ghost-active": r === "bordered" && !t,
28
+ "border-button-basic-border bg-button-basic-bg text-button-basic-text hover:bg-button-basic-hover active:bg-button-basic-active": r === "basic" && !t,
29
+ "w-40 animate-pulse border-loading bg-loading": t,
30
+ "px-12 py-3 text-base font-normal leading-4": n === "sm",
31
+ "px-12 py-3 text-lg font-normal leading-8": n === "md",
32
+ "px-12 py-4 text-xl font-normal leading-8": n === "lg"
33
+ },
34
+ e
35
+ ),
36
+ ...u,
37
+ children: !t && o
38
+ }
39
+ ) })
40
+ ), i = a(({ className: e, ...o }, t) => /* @__PURE__ */ b("p", { className: s("text-md", e), ref: t, ...o })), d = a(({ icon: e }, o) => /* @__PURE__ */ b(p, { size: "md", ref: o, icon: e }));
41
+ c.displayName = "Link";
42
+ d.displayName = "Link.Icon";
43
+ i.displayName = "Link.Label";
44
+ const v = Object.assign(c, {
45
+ Icon: d,
46
+ Label: i
47
+ });
48
+ export {
49
+ v as Link
50
+ };
@@ -12,6 +12,7 @@ import { NavItem } from './NavItem';
12
12
  import { Nav } from './Nav';
13
13
  import { Modal } from './Modal';
14
14
  import { MenuButton } from './MenuButton';
15
+ import { Link } from './Link';
15
16
  import { Input } from './Input';
16
17
  import { ImageCard } from './ImageCard';
17
18
  import { Image } from './Image';
@@ -35,4 +36,4 @@ import { Breadcrumbs } from './Breadcrumbs';
35
36
  import { AlertBar } from './AlertBar';
36
37
  import { Accordion } from './Accordion';
37
38
 
38
- export { Accordion, AlertBar, Breadcrumbs, Button, CalendarComponent, Card, Checkbox, Carousel, CarouselThumbnail, Collapsible, Counter, DetailUpdater, Dialog, Dropdown, Form, Footer, FooterNav, Greeting, Icon, Image, ImageCard, Input, MenuButton, Modal, Nav, NavItem, Pill, Search, Select, SplitCard, Stars, Testimonial, TextArea, Timeline, Tubestops, Video };
39
+ export { Accordion, AlertBar, Breadcrumbs, Button, CalendarComponent, Card, Checkbox, Carousel, CarouselThumbnail, Collapsible, Counter, DetailUpdater, Dialog, Dropdown, Form, Footer, FooterNav, Greeting, Icon, Image, ImageCard, Input, Link, MenuButton, Modal, Nav, NavItem, Pill, Search, Select, SplitCard, Stars, Testimonial, TextArea, Timeline, Tubestops, Video };
package/lib/index.js CHANGED
@@ -12,28 +12,29 @@ import { Counter as S } from "./components/Counter/index.js";
12
12
  import { DetailUpdater as v } from "./components/DetailUpdater/index.js";
13
13
  import { Dialog as D } from "./components/Dialog/index.js";
14
14
  import { Dropdown as N } from "./components/Dropdown/index.js";
15
- import { Form as k } from "./components/Form/index.js";
15
+ import { Form as M } from "./components/Form/index.js";
16
16
  import { Footer as G } from "./components/Footer/index.js";
17
- import { FooterNav as U } from "./components/FooterNav/index.js";
18
- import { Greeting as j } from "./components/Greeting/index.js";
19
- import { Icon as y } from "./components/Icon/index.js";
20
- import { Image as E } from "./components/Image/index.js";
21
- import { ImageCard as J } from "./components/ImageCard/index.js";
22
- import { Input as L } from "./components/Input/index.js";
23
- import { MenuButton as Q } from "./components/MenuButton/index.js";
24
- import { Modal as W } from "./components/Modal/index.js";
25
- import { Nav as Y } from "./components/Nav/index.js";
26
- import { NavItem as _ } from "./components/NavItem/index.js";
27
- import { Pill as oo } from "./components/Pill/index.js";
28
- import { Search as eo } from "./components/Search/index.js";
29
- import { Select as mo } from "./components/Select/index.js";
30
- import { SplitCard as xo } from "./components/SplitCard/index.js";
31
- import { Stars as ao } from "./components/Stars/index.js";
32
- import { Testimonial as no } from "./components/Testimonial/index.js";
33
- import { TextArea as uo } from "./components/TextArea/index.js";
34
- import { Timeline as so } from "./components/Timeline/index.js";
35
- import { Tubestops as bo } from "./components/Tubestops/index.js";
36
- import { Video as To } from "./components/Video/index.js";
17
+ import { FooterNav as P } from "./components/FooterNav/index.js";
18
+ import { Greeting as V } from "./components/Greeting/index.js";
19
+ import { Icon as q } from "./components/Icon/index.js";
20
+ import { Image as z } from "./components/Image/index.js";
21
+ import { ImageCard as H } from "./components/ImageCard/index.js";
22
+ import { Input as K } from "./components/Input/index.js";
23
+ import { Link as Q } from "./components/Link/index.js";
24
+ import { MenuButton as W } from "./components/MenuButton/index.js";
25
+ import { Modal as Y } from "./components/Modal/index.js";
26
+ import { Nav as _ } from "./components/Nav/index.js";
27
+ import { NavItem as oo } from "./components/NavItem/index.js";
28
+ import { Pill as eo } from "./components/Pill/index.js";
29
+ import { Search as mo } from "./components/Search/index.js";
30
+ import { Select as xo } from "./components/Select/index.js";
31
+ import { SplitCard as ao } from "./components/SplitCard/index.js";
32
+ import { Stars as no } from "./components/Stars/index.js";
33
+ import { Testimonial as uo } from "./components/Testimonial/index.js";
34
+ import { TextArea as so } from "./components/TextArea/index.js";
35
+ import { Timeline as bo } from "./components/Timeline/index.js";
36
+ import { Tubestops as To } from "./components/Tubestops/index.js";
37
+ import { Video as Bo } from "./components/Video/index.js";
37
38
  export {
38
39
  e as Accordion,
39
40
  m as AlertBar,
@@ -50,25 +51,26 @@ export {
50
51
  D as Dialog,
51
52
  N as Dropdown,
52
53
  G as Footer,
53
- U as FooterNav,
54
- k as Form,
55
- j as Greeting,
56
- y as Icon,
57
- E as Image,
58
- J as ImageCard,
59
- L as Input,
60
- Q as MenuButton,
61
- W as Modal,
62
- Y as Nav,
63
- _ as NavItem,
64
- oo as Pill,
65
- eo as Search,
66
- mo as Select,
67
- xo as SplitCard,
68
- ao as Stars,
69
- no as Testimonial,
70
- uo as TextArea,
71
- so as Timeline,
72
- bo as Tubestops,
73
- To as Video
54
+ P as FooterNav,
55
+ M as Form,
56
+ V as Greeting,
57
+ q as Icon,
58
+ z as Image,
59
+ H as ImageCard,
60
+ K as Input,
61
+ Q as Link,
62
+ W as MenuButton,
63
+ Y as Modal,
64
+ _ as Nav,
65
+ oo as NavItem,
66
+ eo as Pill,
67
+ mo as Search,
68
+ xo as Select,
69
+ ao as SplitCard,
70
+ no as Stars,
71
+ uo as Testimonial,
72
+ so as TextArea,
73
+ bo as Timeline,
74
+ To as Tubestops,
75
+ Bo as Video
74
76
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trepur_components",
3
- "version": "2.3.30",
3
+ "version": "2.3.31",
4
4
  "description": "component lib",
5
5
  "author": "trepur_ttenneb",
6
6
  "private": false,