@g4rcez/components 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/core/button.d.ts +1 -1
- package/dist/components/core/button.d.ts.map +1 -1
- package/dist/components/core/button.js +1 -1
- package/dist/components/display/list.d.ts.map +1 -1
- package/dist/components/display/list.js +15 -17
- package/dist/components/display/notifications.d.ts +25 -0
- package/dist/components/display/notifications.d.ts.map +1 -0
- package/dist/components/display/notifications.js +70 -0
- package/dist/components/floating/menu.js +1 -1
- package/dist/components/floating/modal.js +2 -2
- package/dist/hooks/use-hover.d.ts +3 -0
- package/dist/hooks/use-hover.d.ts.map +1 -0
- package/dist/hooks/use-hover.js +18 -0
- package/dist/hooks/use-on-event.d.ts +4 -0
- package/dist/hooks/use-on-event.d.ts.map +1 -0
- package/dist/hooks/use-on-event.js +7 -0
- package/dist/index.css +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -11
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/preset/src/styles/theme.d.ts.map +1 -1
- package/dist/preset/src/styles/theme.js +8 -0
- package/dist/preset/src/styles/theme.types.d.ts +4 -0
- package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
- package/dist/styles/theme.d.ts.map +1 -1
- package/dist/styles/theme.js +8 -0
- package/dist/styles/theme.types.d.ts +4 -0
- package/dist/styles/theme.types.d.ts.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -3404,7 +3404,7 @@ const D1 = /* @__PURE__ */ p1(_1), Ng = (...e) => (t) => {
|
|
|
3404
3404
|
size: {
|
|
3405
3405
|
default: "h-10 px-4 py-2",
|
|
3406
3406
|
big: "h-12 px-6 py-4",
|
|
3407
|
-
small: "h-
|
|
3407
|
+
small: "h-8 p-2 text-sm",
|
|
3408
3408
|
icon: "p-1"
|
|
3409
3409
|
},
|
|
3410
3410
|
rounded: {
|
|
@@ -16132,7 +16132,7 @@ const Dd = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) =>
|
|
|
16132
16132
|
variants: {
|
|
16133
16133
|
type: {
|
|
16134
16134
|
drawer: "max-h-screen max-w-[90%] absolute w-fit h-screen min-h-0",
|
|
16135
|
-
dialog: "max-h-[calc(100lvh-10%)] relative container h-min rounded-lg py-
|
|
16135
|
+
dialog: "max-h-[calc(100lvh-10%)] relative container h-min rounded-lg py-4",
|
|
16136
16136
|
sheet: "w-screen absolute bottom-0 h-[85vh] max-h-[85vh] max-h-[85svh] pt-6 pb-4 rounded-t-lg"
|
|
16137
16137
|
},
|
|
16138
16138
|
position: {
|
|
@@ -16207,7 +16207,7 @@ const Dd = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) =>
|
|
|
16207
16207
|
variants: f,
|
|
16208
16208
|
...x(),
|
|
16209
16209
|
children: [
|
|
16210
|
-
i.title ? /* @__PURE__ */ S("header", { className: "relative w-full", children: i.title ? /* @__PURE__ */ S("h2", { className: "border-b border-floating-border px-8 pb-
|
|
16210
|
+
i.title ? /* @__PURE__ */ S("header", { className: "relative w-full", children: i.title ? /* @__PURE__ */ S("h2", { className: "border-b border-floating-border px-8 pb-2 text-3xl font-medium leading-relaxed", children: i.title }) : null }) : null,
|
|
16211
16211
|
/* @__PURE__ */ S("section", { className: "py-1 flex-1 overflow-y-auto px-8", children: i.children }),
|
|
16212
16212
|
i.footer ? /* @__PURE__ */ S("footer", { className: "w-full border-t border-floating-border px-8 pt-4", children: i.footer }) : null,
|
|
16213
16213
|
o ? /* @__PURE__ */ S("nav", { className: "absolute right-4 top-1", children: /* @__PURE__ */ S(
|
|
@@ -26786,25 +26786,29 @@ const HF = (e, t) => e.localeCompare(t), UF = {
|
|
|
26786
26786
|
DEFAULT: "hsla(219, 91%, 59%)",
|
|
26787
26787
|
subtle: "hsla(219, 93%, 77%)",
|
|
26788
26788
|
hover: "hsla(219, 83%, 41%)",
|
|
26789
|
-
foreground: "hsla(210, 40%, 98%)"
|
|
26789
|
+
foreground: "hsla(210, 40%, 98%)",
|
|
26790
|
+
notification: "hsla(219, 91%, 59%)"
|
|
26790
26791
|
},
|
|
26791
26792
|
warn: {
|
|
26792
26793
|
DEFAULT: "hsla(27, 96%, 61%)",
|
|
26793
26794
|
subtle: "hsla(45, 95%, 66%)",
|
|
26794
26795
|
hover: "hsla(21, 90%, 48%)",
|
|
26795
|
-
foreground: "hsla(210, 40%, 98%)"
|
|
26796
|
+
foreground: "hsla(210, 40%, 98%)",
|
|
26797
|
+
notification: "hsla(32, 65%, 75%)"
|
|
26796
26798
|
},
|
|
26797
26799
|
danger: {
|
|
26798
26800
|
DEFAULT: "hsla(358, 65%, 57%)",
|
|
26799
26801
|
subtle: "hsla(0, 94%, 81%)",
|
|
26800
26802
|
hover: "hsla(0, 82%, 47%)",
|
|
26801
|
-
foreground: "hsla(210, 40%, 98%)"
|
|
26803
|
+
foreground: "hsla(210, 40%, 98%)",
|
|
26804
|
+
notification: "hsla(358, 40%, 23%)"
|
|
26802
26805
|
},
|
|
26803
26806
|
success: {
|
|
26804
26807
|
DEFAULT: "hsla(160, 73%, 36%)",
|
|
26805
26808
|
subtle: "hsla(160, 75%, 75%)",
|
|
26806
26809
|
hover: "hsla(160, 91%, 27%)",
|
|
26807
|
-
foreground: "hsla(160, 91%, 50%)"
|
|
26810
|
+
foreground: "hsla(160, 91%, 50%)",
|
|
26811
|
+
notification: "hsla(161,62%,17%)"
|
|
26808
26812
|
},
|
|
26809
26813
|
input: {
|
|
26810
26814
|
border: "hsla(240, 4%, 25%)",
|
|
@@ -26868,25 +26872,29 @@ const HF = (e, t) => e.localeCompare(t), UF = {
|
|
|
26868
26872
|
DEFAULT: "hsla(219, 91%, 59%)",
|
|
26869
26873
|
subtle: "hsla(219, 70%, 90%)",
|
|
26870
26874
|
hover: "hsla(219, 83%, 41%)",
|
|
26871
|
-
foreground: "hsla(210, 34%, 96%)"
|
|
26875
|
+
foreground: "hsla(210, 34%, 96%)",
|
|
26876
|
+
notification: "hsla(219, 91%, 59%)"
|
|
26872
26877
|
},
|
|
26873
26878
|
danger: {
|
|
26874
26879
|
DEFAULT: "hsla(0, 82%, 63%)",
|
|
26875
26880
|
subtle: "hsla(0, 96%, 95%)",
|
|
26876
26881
|
hover: "hsla(0, 82%, 47%)",
|
|
26877
|
-
foreground: "hsla(210, 34%, 96%)"
|
|
26882
|
+
foreground: "hsla(210, 34%, 96%)",
|
|
26883
|
+
notification: "hsla(0, 100%, 87%)"
|
|
26878
26884
|
},
|
|
26879
26885
|
warn: {
|
|
26880
26886
|
DEFAULT: "hsla(27, 100%, 70%)",
|
|
26881
26887
|
subtle: "hsla(45, 95%, 80%)",
|
|
26882
26888
|
hover: "hsla(29, 85%, 50%)",
|
|
26883
|
-
foreground: "hsla(210, 34%, 96%)"
|
|
26889
|
+
foreground: "hsla(210, 34%, 96%)",
|
|
26890
|
+
notification: "hsla(27, 85%, 92%)"
|
|
26884
26891
|
},
|
|
26885
26892
|
success: {
|
|
26886
26893
|
DEFAULT: "hsla(160, 73%, 36%)",
|
|
26887
26894
|
subtle: "hsla(160, 75%, 90%)",
|
|
26888
26895
|
hover: "hsla(160, 91%, 27%)",
|
|
26889
|
-
foreground: "hsla(160, 91%, 17%)"
|
|
26896
|
+
foreground: "hsla(160, 91%, 17%)",
|
|
26897
|
+
notification: "hsla(160, 75%, 80%)"
|
|
26890
26898
|
},
|
|
26891
26899
|
input: {
|
|
26892
26900
|
border: "hsla(218, 22%, 80%)",
|