@g4rcez/components 3.0.2 → 4.0.1
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/CaretDown.es-Cj7klWI3.js +33 -0
- package/dist/CaretDown.es-Cj7klWI3.js.map +1 -0
- package/dist/CaretRight.es-0-M8D9y8.js +33 -0
- package/dist/CaretRight.es-0-M8D9y8.js.map +1 -0
- package/dist/CheckCircle.es-C6QWLfk_.js +33 -0
- package/dist/CheckCircle.es-C6QWLfk_.js.map +1 -0
- package/dist/File.es-CA-vuPED.js +33 -0
- package/dist/File.es-CA-vuPED.js.map +1 -0
- package/dist/IconBase.es-DJ1oCtpo.js +50 -0
- package/dist/IconBase.es-DJ1oCtpo.js.map +1 -0
- package/dist/Info.es-CrZKs4q4.js +33 -0
- package/dist/Info.es-CrZKs4q4.js.map +1 -0
- package/dist/MotionConfigContext-C7MqlSdv.js.map +1 -1
- package/dist/Warning.es-D_eI6tLe.js +39 -0
- package/dist/Warning.es-D_eI6tLe.js.map +1 -0
- package/dist/X.es-BJ1O93El.js +39 -0
- package/dist/X.es-BJ1O93El.js.map +1 -0
- package/dist/ai/docs/Alert.md +1 -1
- package/dist/ai/docs/AnimatedList.md +3 -3
- package/dist/ai/docs/Button.md +1 -1
- package/dist/ai/docs/CommandPalette.md +7 -7
- package/dist/ai/docs/Dropdown.md +4 -4
- package/dist/ai/docs/Empty.md +9 -9
- package/dist/ai/docs/Expand.md +1 -1
- package/dist/ai/docs/FileUpload.md +2 -2
- package/dist/ai/docs/Input.md +2 -2
- package/dist/ai/docs/InputField.md +2 -2
- package/dist/ai/docs/List.md +3 -3
- package/dist/ai/docs/Menu.md +3 -3
- package/dist/ai/docs/MultiSelect.md +1 -1
- package/dist/ai/docs/PageCalendar.md +1 -1
- package/dist/ai/docs/Select.md +1 -1
- package/dist/ai/docs/Slot.md +1 -1
- package/dist/ai/docs/Stats.md +11 -11
- package/dist/ai/docs/Table.md +1 -1
- package/dist/ai/docs/Tag.md +2 -2
- package/dist/ai/docs/Timeline.md +5 -5
- package/dist/ai/docs/Toolbar.md +2 -2
- package/dist/ai/docs/Tooltip.md +3 -3
- package/dist/ai/docs/TransferList.md +2 -2
- package/dist/{autocomplete-Boida9R7.js → autocomplete-Cn9Z2hLq.js} +48 -48
- package/dist/autocomplete-Cn9Z2hLq.js.map +1 -0
- package/dist/{calendar-BswV66Nx.js → calendar-B5lSd0ID.js} +599 -571
- package/dist/calendar-B5lSd0ID.js.map +1 -0
- package/dist/components/display/alert.js +18 -18
- package/dist/components/display/alert.js.map +1 -1
- package/dist/components/display/calendar.js +4 -4
- package/dist/components/display/card.d.ts +2 -2
- package/dist/components/display/card.d.ts.map +1 -1
- package/dist/components/display/card.js +6 -6
- package/dist/components/display/card.js.map +1 -1
- package/dist/components/display/empty.d.ts +2 -2
- package/dist/components/display/empty.d.ts.map +1 -1
- package/dist/components/display/list.js +15 -15
- package/dist/components/display/list.js.map +1 -1
- package/dist/components/display/notifications.js +5 -5
- package/dist/components/display/tabs.js +1 -1
- package/dist/components/floating/command-palette.d.ts +3 -3
- package/dist/components/floating/command-palette.d.ts.map +1 -1
- package/dist/components/floating/dropdown.js +1 -1
- package/dist/components/floating/expand.js +1 -1
- package/dist/components/floating/menu.d.ts +2 -2
- package/dist/components/floating/menu.d.ts.map +1 -1
- package/dist/components/floating/menu.js +31 -31
- package/dist/components/floating/menu.js.map +1 -1
- package/dist/components/floating/modal.js +35 -35
- package/dist/components/floating/modal.js.map +1 -1
- package/dist/components/floating/tooltip.js +1 -1
- package/dist/components/form/autocomplete.js +5 -5
- package/dist/components/form/date-picker.js +3 -3
- package/dist/components/form/file-upload.d.ts.map +1 -1
- package/dist/components/form/file-upload.js +3 -3
- package/dist/components/form/input-field.d.ts.map +1 -1
- package/dist/components/form/input.js +1 -1
- package/dist/components/form/select.js +29 -29
- package/dist/components/form/select.js.map +1 -1
- package/dist/components/form/task-list.js.map +1 -1
- package/dist/components/form/transfer-list.js +15 -15
- package/dist/components/form/transfer-list.js.map +1 -1
- package/dist/components/page-calendar/calendar-header.d.ts.map +1 -1
- package/dist/components/page-calendar/day-view.d.ts.map +1 -1
- package/dist/components/page-calendar/month-view.d.ts.map +1 -1
- package/dist/components/page-calendar/page-calendar.utils.d.ts +6 -0
- package/dist/components/page-calendar/page-calendar.utils.d.ts.map +1 -1
- package/dist/components/page-calendar/week-view.d.ts.map +1 -1
- package/dist/components/table/table.js +3 -3
- package/dist/config/context.d.ts +2 -0
- package/dist/config/context.d.ts.map +1 -1
- package/dist/context-BFXNJVn2.js.map +1 -1
- package/dist/{date-picker-BxPTdZPy.js → date-picker-DwNo22lx.js} +316 -288
- package/dist/date-picker-DwNo22lx.js.map +1 -0
- package/dist/{file-upload-BB6BdGcE.js → file-upload-Brf2NkLr.js} +1103 -976
- package/dist/file-upload-Brf2NkLr.js.map +1 -0
- package/dist/{floating-ui.react-DycKASR0.js → floating-ui.react-QNHG9W4N.js} +205 -205
- package/dist/{floating-ui.react-DycKASR0.js.map → floating-ui.react-QNHG9W4N.js.map} +1 -1
- package/dist/hooks/use-components-provider.d.ts.map +1 -1
- package/dist/index-0YMC-_Lt.js.map +1 -1
- package/dist/index-BelDtX5M.js +1821 -0
- package/dist/index-BelDtX5M.js.map +1 -0
- package/dist/{index-BtlhELJ3.js → index-C-PuFUZi.js} +136 -136
- package/dist/index-C-PuFUZi.js.map +1 -0
- package/dist/index-Z-fZHxfJ.js +335 -0
- package/dist/index-Z-fZHxfJ.js.map +1 -0
- package/dist/index-t1qLJTt5.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +2583 -2463
- package/dist/index.js.map +1 -1
- package/dist/{input-CoJoHIhd.js → input-CrGrSnUt.js} +2 -2
- package/dist/{input-CoJoHIhd.js.map → input-CrGrSnUt.js.map} +1 -1
- package/dist/input-field-5vYcz5tT.js +166 -0
- package/dist/input-field-5vYcz5tT.js.map +1 -0
- package/dist/notifications-cUdVPs-B.js +2786 -0
- package/dist/notifications-cUdVPs-B.js.map +1 -0
- package/dist/proxy-BZcQiBrp.js.map +1 -1
- package/dist/{slot-CQW8ZzBb.js → slot-CRyweuj0.js} +5 -5
- package/dist/{slot-CQW8ZzBb.js.map → slot-CRyweuj0.js.map} +1 -1
- package/dist/{tabs-ccIA7vMo.js → tabs-S00a8qq8.js} +5 -5
- package/dist/{tabs-ccIA7vMo.js.map → tabs-S00a8qq8.js.map} +1 -1
- package/dist/use-motion-value-eGwNuWuw.js.map +1 -1
- package/package.json +2 -2
- package/dist/autocomplete-Boida9R7.js.map +0 -1
- package/dist/calendar-BswV66Nx.js.map +0 -1
- package/dist/chevron-down-BBFYYzZq.js +0 -6
- package/dist/chevron-down-BBFYYzZq.js.map +0 -1
- package/dist/chevron-right-DvXGOiS_.js +0 -6
- package/dist/chevron-right-DvXGOiS_.js.map +0 -1
- package/dist/circle-check-big-3M5lhTxx.js +0 -9
- package/dist/circle-check-big-3M5lhTxx.js.map +0 -1
- package/dist/createLucideIcon-CP-mMPfa.js +0 -76
- package/dist/createLucideIcon-CP-mMPfa.js.map +0 -1
- package/dist/date-picker-BxPTdZPy.js.map +0 -1
- package/dist/file-CBCP85VI.js +0 -15
- package/dist/file-CBCP85VI.js.map +0 -1
- package/dist/file-upload-BB6BdGcE.js.map +0 -1
- package/dist/index-BJ1ayTam.js +0 -126
- package/dist/index-BJ1ayTam.js.map +0 -1
- package/dist/index-BtlhELJ3.js.map +0 -1
- package/dist/index-ChfR6F8d.js +0 -1590
- package/dist/index-ChfR6F8d.js.map +0 -1
- package/dist/index-DE4shK8D.js +0 -215
- package/dist/index-DE4shK8D.js.map +0 -1
- package/dist/info-N5jWZg2A.js +0 -10
- package/dist/info-N5jWZg2A.js.map +0 -1
- package/dist/input-field-DTeIrwpK.js +0 -146
- package/dist/input-field-DTeIrwpK.js.map +0 -1
- package/dist/notifications-NPuFDsBp.js +0 -2550
- package/dist/notifications-NPuFDsBp.js.map +0 -1
- package/dist/triangle-alert-CHMhQ6yd.js +0 -16
- package/dist/triangle-alert-CHMhQ6yd.js.map +0 -1
- package/dist/x-B9bYxG31.js +0 -9
- package/dist/x-B9bYxG31.js.map +0 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { p as l } from "./IconBase.es-DJ1oCtpo.js";
|
|
3
|
+
const n = /* @__PURE__ */ new Map([
|
|
4
|
+
[
|
|
5
|
+
"bold",
|
|
6
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z" }))
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
"duotone",
|
|
10
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",
|
|
14
|
+
opacity: "0.2"
|
|
15
|
+
}
|
|
16
|
+
), /* @__PURE__ */ a.createElement("path", { d: "M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z" }))
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"fill",
|
|
20
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"light",
|
|
24
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"regular",
|
|
28
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"thin",
|
|
32
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z" }))
|
|
33
|
+
]
|
|
34
|
+
]), m = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(l, { ref: t, ...e, weights: n }));
|
|
35
|
+
m.displayName = "WarningIcon";
|
|
36
|
+
export {
|
|
37
|
+
m as r
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=Warning.es-D_eI6tLe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Warning.es-D_eI6tLe.js","sources":["../../../node_modules/@phosphor-icons/react/dist/defs/Warning.es.js","../../../node_modules/@phosphor-icons/react/dist/csr/Warning.es.js"],"sourcesContent":["import * as a from \"react\";\nconst e = /* @__PURE__ */ new Map([\n [\n \"bold\",\n /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(\"path\", { d: \"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z\" }))\n ],\n [\n \"duotone\",\n /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(\n \"path\",\n {\n d: \"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z\",\n opacity: \"0.2\"\n }\n ), /* @__PURE__ */ a.createElement(\"path\", { d: \"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\" }))\n ],\n [\n \"fill\",\n /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(\"path\", { d: \"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z\" }))\n ],\n [\n \"light\",\n /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(\"path\", { d: \"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z\" }))\n ],\n [\n \"regular\",\n /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(\"path\", { d: \"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\" }))\n ],\n [\n \"thin\",\n /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(\"path\", { d: \"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z\" }))\n ]\n]);\nexport {\n e as default\n};\n","import * as o from \"react\";\nimport e from \"../lib/IconBase.es.js\";\nimport t from \"../defs/Warning.es.js\";\nconst r = o.forwardRef((n, a) => /* @__PURE__ */ o.createElement(e, { ref: a, ...n, weights: t }));\nr.displayName = \"WarningIcon\";\nconst c = r;\nexport {\n c as Warning,\n r as WarningIcon\n};\n"],"names":["e","r","o","n","a","t"],"mappings":";;AACA,MAAMA,IAAoB,oBAAI,IAAI;AAAA,EAChC;AAAA,IACE;AAAA,IACgB,kBAAE,cAAc,EAAE,UAAU,MAAsB,kBAAE,cAAc,QAAQ,EAAE,GAAG,0bAAyb,CAAE,CAAC;AAAA,EAC/hB;AAAA,EACE;AAAA,IACE;AAAA,IACgB,kBAAE,cAAc,EAAE,UAAU,MAAsB,kBAAE;AAAA,MAClE;AAAA,MACA;AAAA,QACE,GAAG;AAAA,QACH,SAAS;AAAA,MACjB;AAAA,IACA,GAAuB,kBAAE,cAAc,QAAQ,EAAE,GAAG,8bAA6b,CAAE,CAAC;AAAA,EACpf;AAAA,EACE;AAAA,IACE;AAAA,IACgB,kBAAE,cAAc,EAAE,UAAU,MAAsB,kBAAE,cAAc,QAAQ,EAAE,GAAG,oRAAmR,CAAE,CAAC;AAAA,EACzX;AAAA,EACE;AAAA,IACE;AAAA,IACgB,kBAAE,cAAc,EAAE,UAAU,MAAsB,kBAAE,cAAc,QAAQ,EAAE,GAAG,8cAA6c,CAAE,CAAC;AAAA,EACnjB;AAAA,EACE;AAAA,IACE;AAAA,IACgB,kBAAE,cAAc,EAAE,UAAU,MAAsB,kBAAE,cAAc,QAAQ,EAAE,GAAG,8bAA6b,CAAE,CAAC;AAAA,EACniB;AAAA,EACE;AAAA,IACE;AAAA,IACgB,kBAAE,cAAc,EAAE,UAAU,MAAsB,kBAAE,cAAc,QAAQ,EAAE,GAAG,2cAA0c,CAAE,CAAC;AAAA,EAChjB;AACA,CAAC,GC7BKC,IAAIC,EAAE,WAAW,CAACC,GAAGC,MAAsBF,kBAAE,cAAcF,GAAG,EAAE,KAAKI,GAAG,GAAGD,GAAG,SAASE,GAAG,CAAC;AACjGJ,EAAE,cAAc;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { p as l } from "./IconBase.es-DJ1oCtpo.js";
|
|
3
|
+
const n = /* @__PURE__ */ new Map([
|
|
4
|
+
[
|
|
5
|
+
"bold",
|
|
6
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z" }))
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
"duotone",
|
|
10
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",
|
|
14
|
+
opacity: "0.2"
|
|
15
|
+
}
|
|
16
|
+
), /* @__PURE__ */ e.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"fill",
|
|
20
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"light",
|
|
24
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"regular",
|
|
28
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"thin",
|
|
32
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
|
|
33
|
+
]
|
|
34
|
+
]), r = e.forwardRef((a, t) => /* @__PURE__ */ e.createElement(l, { ref: t, ...a, weights: n }));
|
|
35
|
+
r.displayName = "XIcon";
|
|
36
|
+
export {
|
|
37
|
+
r as e
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=X.es-BJ1O93El.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"X.es-BJ1O93El.js","sources":["../../../node_modules/@phosphor-icons/react/dist/defs/X.es.js","../../../node_modules/@phosphor-icons/react/dist/csr/X.es.js"],"sourcesContent":["import * as e from \"react\";\nconst a = /* @__PURE__ */ new Map([\n [\n \"bold\",\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\"path\", { d: \"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z\" }))\n ],\n [\n \"duotone\",\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n d: \"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z\",\n opacity: \"0.2\"\n }\n ), /* @__PURE__ */ e.createElement(\"path\", { d: \"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z\" }))\n ],\n [\n \"fill\",\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\"path\", { d: \"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z\" }))\n ],\n [\n \"light\",\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\"path\", { d: \"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z\" }))\n ],\n [\n \"regular\",\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\"path\", { d: \"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z\" }))\n ],\n [\n \"thin\",\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\"path\", { d: \"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z\" }))\n ]\n]);\nexport {\n a as default\n};\n","import * as o from \"react\";\nimport a from \"../lib/IconBase.es.js\";\nimport m from \"../defs/X.es.js\";\nconst e = o.forwardRef((r, t) => /* @__PURE__ */ o.createElement(a, { ref: t, ...r, weights: m }));\ne.displayName = \"XIcon\";\nconst n = e;\nexport {\n n as X,\n e as XIcon\n};\n"],"names":["a","e","o","r","m"],"mappings":";;AACA,MAAMA,IAAoB,oBAAI,IAAI;AAAA,EAChC;AAAA,IACE;AAAA,IACgBC,gBAAAA,EAAE,cAAcA,EAAE,UAAU,MAAsBA,gBAAAA,EAAE,cAAc,QAAQ,EAAE,GAAG,+JAA8J,CAAE,CAAC;AAAA,EACpQ;AAAA,EACE;AAAA,IACE;AAAA,IACgBA,gBAAAA,EAAE,cAAcA,EAAE,UAAU,MAAsBA,gBAAAA,EAAE;AAAA,MAClE;AAAA,MACA;AAAA,QACE,GAAG;AAAA,QACH,SAAS;AAAA,MACjB;AAAA,IACA,GAAuBA,gBAAAA,EAAE,cAAc,QAAQ,EAAE,GAAG,2LAA0L,CAAE,CAAC;AAAA,EACjP;AAAA,EACE;AAAA,IACE;AAAA,IACgBA,gBAAAA,EAAE,cAAcA,EAAE,UAAU,MAAsBA,gBAAAA,EAAE,cAAc,QAAQ,EAAE,GAAG,0RAAyR,CAAE,CAAC;AAAA,EAC/X;AAAA,EACE;AAAA,IACE;AAAA,IACgBA,gBAAAA,EAAE,cAAcA,EAAE,UAAU,MAAsBA,gBAAAA,EAAE,cAAc,QAAQ,EAAE,GAAG,mLAAkL,CAAE,CAAC;AAAA,EACxR;AAAA,EACE;AAAA,IACE;AAAA,IACgBA,gBAAAA,EAAE,cAAcA,EAAE,UAAU,MAAsBA,gBAAAA,EAAE,cAAc,QAAQ,EAAE,GAAG,2LAA0L,CAAE,CAAC;AAAA,EAChS;AAAA,EACE;AAAA,IACE;AAAA,IACgBA,gBAAAA,EAAE,cAAcA,EAAE,UAAU,MAAsBA,gBAAAA,EAAE,cAAc,QAAQ,EAAE,GAAG,mLAAkL,CAAE,CAAC;AAAA,EACxR;AACA,CAAC,GC7BKA,IAAIC,EAAE,WAAW,CAACC,GAAG,MAAsBD,gBAAAA,EAAE,cAAcF,GAAG,EAAE,KAAK,GAAG,GAAGG,GAAG,SAASC,GAAG,CAAC;AACjGH,EAAE,cAAc;","x_google_ignoreList":[0,1]}
|
package/dist/ai/docs/Alert.md
CHANGED
|
@@ -83,7 +83,7 @@ Each theme maps to a set of `bg-alert-{theme}-*` tokens and provides default ico
|
|
|
83
83
|
### With Custom Icon
|
|
84
84
|
|
|
85
85
|
```tsx
|
|
86
|
-
import { BellIcon } from "
|
|
86
|
+
import { BellIcon } from "@phosphor-icons/react";
|
|
87
87
|
|
|
88
88
|
<Alert theme="info" title="Notification" Icon={<BellIcon size={20} />}>
|
|
89
89
|
You have new messages.
|
|
@@ -90,7 +90,7 @@ export function TeamList() {
|
|
|
90
90
|
|
|
91
91
|
```tsx
|
|
92
92
|
import { AnimatedList, AnimatedListItem } from "@g4rcez/components";
|
|
93
|
-
import { UserCircleIcon } from "
|
|
93
|
+
import { UserCircleIcon } from "@phosphor-icons/react";
|
|
94
94
|
|
|
95
95
|
export function UserDirectory() {
|
|
96
96
|
return (
|
|
@@ -142,11 +142,11 @@ export function OrderList({ orders }: { orders: Order[] }) {
|
|
|
142
142
|
|
|
143
143
|
```tsx
|
|
144
144
|
import { AnimatedList, AnimatedListItem } from "@g4rcez/components";
|
|
145
|
-
import { BellIcon, CheckCircleIcon,
|
|
145
|
+
import { BellIcon, CheckCircleIcon, WarningIcon } from "@phosphor-icons/react";
|
|
146
146
|
|
|
147
147
|
const activities = [
|
|
148
148
|
{ id: "a1", icon: <CheckCircleIcon size={20} className="text-success" />, title: "Deployment succeeded", description: "2 minutes ago", detail: "All 3 services started." },
|
|
149
|
-
{ id: "a2", icon: <
|
|
149
|
+
{ id: "a2", icon: <WarningIcon size={20} className="text-warn" />, title: "High memory usage", description: "15 minutes ago", detail: "Instance i-0ab2c was at 91%." },
|
|
150
150
|
];
|
|
151
151
|
|
|
152
152
|
export function ActivityFeed() {
|
package/dist/ai/docs/Button.md
CHANGED
|
@@ -105,7 +105,7 @@ Transparent background with colored text; shows a tinted background on hover.
|
|
|
105
105
|
### With Icons
|
|
106
106
|
|
|
107
107
|
```tsx
|
|
108
|
-
import { PlusIcon } from "
|
|
108
|
+
import { PlusIcon } from "@phosphor-icons/react";
|
|
109
109
|
|
|
110
110
|
<Button icon={<PlusIcon size={16} />}>Add Item</Button>
|
|
111
111
|
|
|
@@ -30,7 +30,7 @@ import { CommandPalette } from "@g4rcez/components";
|
|
|
30
30
|
| `footer` | `React.ReactElement` | — | Custom footer content |
|
|
31
31
|
| `onChangeText` | `(text: string) => void` | — | Search text change handler |
|
|
32
32
|
| `Preview` | `React.FC<{ command: CommandItemTypes; text: string }>` | — | Preview panel component for the active command |
|
|
33
|
-
| `Icon` | `React.FC<
|
|
33
|
+
| `Icon` | `React.FC<IconProps & { text: string; Default: React.FC<IconProps> }>` | — | Custom search icon |
|
|
34
34
|
|
|
35
35
|
## Command Types
|
|
36
36
|
|
|
@@ -81,7 +81,7 @@ Tokens this component reads. Customize by overriding these CSS variables in your
|
|
|
81
81
|
|
|
82
82
|
```tsx
|
|
83
83
|
import { useState } from "react";
|
|
84
|
-
import { FileTextIcon,
|
|
84
|
+
import { FileTextIcon, FloppyDiskIcon, FolderOpenIcon } from "@phosphor-icons/react";
|
|
85
85
|
import { CommandPalette } from "@g4rcez/components";
|
|
86
86
|
|
|
87
87
|
function BasicCommandPalette() {
|
|
@@ -102,7 +102,7 @@ function BasicCommandPalette() {
|
|
|
102
102
|
type: "shortcut" as const,
|
|
103
103
|
title: "Save Document",
|
|
104
104
|
shortcut: "Ctrl+S",
|
|
105
|
-
Icon: <
|
|
105
|
+
Icon: <FloppyDiskIcon size={16} />,
|
|
106
106
|
action: ({ setOpen }) => {
|
|
107
107
|
console.log("Saving document");
|
|
108
108
|
setOpen(false);
|
|
@@ -133,7 +133,7 @@ function BasicCommandPalette() {
|
|
|
133
133
|
### Grouped Commands
|
|
134
134
|
|
|
135
135
|
```tsx
|
|
136
|
-
import { FileIcon, FolderOpenIcon,
|
|
136
|
+
import { FileIcon, FolderOpenIcon, HouseIcon, GearIcon, MoonIcon } from "@phosphor-icons/react";
|
|
137
137
|
import { CommandPalette } from "@g4rcez/components";
|
|
138
138
|
|
|
139
139
|
function GroupedCommandPalette() {
|
|
@@ -170,7 +170,7 @@ function GroupedCommandPalette() {
|
|
|
170
170
|
type: "shortcut" as const,
|
|
171
171
|
title: "Go to Dashboard",
|
|
172
172
|
hint: ["dashboard", "home", "main"],
|
|
173
|
-
Icon: <
|
|
173
|
+
Icon: <HouseIcon size={16} />,
|
|
174
174
|
action: ({ setOpen }) => {
|
|
175
175
|
window.location.href = "/dashboard";
|
|
176
176
|
setOpen(false);
|
|
@@ -180,7 +180,7 @@ function GroupedCommandPalette() {
|
|
|
180
180
|
type: "shortcut" as const,
|
|
181
181
|
title: "Go to Settings",
|
|
182
182
|
hint: ["settings", "preferences", "config"],
|
|
183
|
-
Icon: <
|
|
183
|
+
Icon: <GearIcon size={16} />,
|
|
184
184
|
action: ({ setOpen }) => {
|
|
185
185
|
window.location.href = "/settings";
|
|
186
186
|
setOpen(false);
|
|
@@ -231,7 +231,7 @@ function GroupedCommandPalette() {
|
|
|
231
231
|
### Conditional Commands
|
|
232
232
|
|
|
233
233
|
```tsx
|
|
234
|
-
import { UserIcon, ShieldIcon } from "
|
|
234
|
+
import { UserIcon, ShieldIcon } from "@phosphor-icons/react";
|
|
235
235
|
|
|
236
236
|
const commands = [
|
|
237
237
|
{
|
package/dist/ai/docs/Dropdown.md
CHANGED
|
@@ -77,7 +77,7 @@ function SimpleDropdown() {
|
|
|
77
77
|
### Dropdown with Title and Arrow
|
|
78
78
|
|
|
79
79
|
```tsx
|
|
80
|
-
import { UserIcon,
|
|
80
|
+
import { UserIcon, CaretDownIcon } from "@phosphor-icons/react";
|
|
81
81
|
import { Dropdown } from "@g4rcez/components/dropdown";
|
|
82
82
|
|
|
83
83
|
function AccountDropdown() {
|
|
@@ -87,7 +87,7 @@ function AccountDropdown() {
|
|
|
87
87
|
<button className="flex items-center gap-2 px-3 py-2 rounded-button border border-border text-foreground">
|
|
88
88
|
<UserIcon size={16} />
|
|
89
89
|
Account
|
|
90
|
-
<
|
|
90
|
+
<CaretDownIcon size={16} />
|
|
91
91
|
</button>
|
|
92
92
|
}
|
|
93
93
|
title="Account Options"
|
|
@@ -145,7 +145,7 @@ function ControlledDropdown() {
|
|
|
145
145
|
### Filter Dropdown with Form Content
|
|
146
146
|
|
|
147
147
|
```tsx
|
|
148
|
-
import {
|
|
148
|
+
import { FunnelIcon } from "@phosphor-icons/react";
|
|
149
149
|
import { Dropdown } from "@g4rcez/components/dropdown";
|
|
150
150
|
|
|
151
151
|
function FilterDropdown() {
|
|
@@ -155,7 +155,7 @@ function FilterDropdown() {
|
|
|
155
155
|
<Dropdown
|
|
156
156
|
trigger={
|
|
157
157
|
<button className="flex items-center gap-2 px-3 py-2 rounded-button border border-border text-foreground">
|
|
158
|
-
<
|
|
158
|
+
<FunnelIcon size={16} />
|
|
159
159
|
Filters
|
|
160
160
|
{status && <span className="h-2 w-2 rounded-full bg-primary" />}
|
|
161
161
|
</button>
|
package/dist/ai/docs/Empty.md
CHANGED
|
@@ -21,7 +21,7 @@ import { Empty } from "@g4rcez/components";
|
|
|
21
21
|
|
|
22
22
|
| Prop | Type | Default | Description |
|
|
23
23
|
|------|------|---------|-------------|
|
|
24
|
-
| `Icon` | `
|
|
24
|
+
| `Icon` | `Icon` | `FileIcon` | Phosphor icon component to display |
|
|
25
25
|
| `message` | `string` | Localized "No data available" | Descriptive empty state message |
|
|
26
26
|
|
|
27
27
|
## Design Tokens
|
|
@@ -43,15 +43,15 @@ Tokens this component reads. Customize by overriding these CSS variables in your
|
|
|
43
43
|
### Custom Message and Icon
|
|
44
44
|
|
|
45
45
|
```tsx
|
|
46
|
-
import {
|
|
46
|
+
import { MagnifyingGlassMinusIcon } from "@phosphor-icons/react";
|
|
47
47
|
|
|
48
|
-
<Empty Icon={
|
|
48
|
+
<Empty Icon={MagnifyingGlassMinusIcon} message="No results found" />
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
### In a Data Table
|
|
52
52
|
|
|
53
53
|
```tsx
|
|
54
|
-
import { DatabaseIcon } from "
|
|
54
|
+
import { DatabaseIcon } from "@phosphor-icons/react";
|
|
55
55
|
|
|
56
56
|
function DataTable({ data }: { data: Item[] }) {
|
|
57
57
|
if (data.length === 0) {
|
|
@@ -69,7 +69,7 @@ function DataTable({ data }: { data: Item[] }) {
|
|
|
69
69
|
### In a List
|
|
70
70
|
|
|
71
71
|
```tsx
|
|
72
|
-
import {
|
|
72
|
+
import { TrayIcon } from "@phosphor-icons/react";
|
|
73
73
|
|
|
74
74
|
function TaskList({ tasks }: { tasks: Task[] }) {
|
|
75
75
|
return (
|
|
@@ -77,7 +77,7 @@ function TaskList({ tasks }: { tasks: Task[] }) {
|
|
|
77
77
|
<h2>My Tasks</h2>
|
|
78
78
|
|
|
79
79
|
{tasks.length === 0 ? (
|
|
80
|
-
<Empty Icon={
|
|
80
|
+
<Empty Icon={TrayIcon} message="No tasks yet" />
|
|
81
81
|
) : (
|
|
82
82
|
<ul>
|
|
83
83
|
{tasks.map((task) => (
|
|
@@ -94,7 +94,7 @@ function TaskList({ tasks }: { tasks: Task[] }) {
|
|
|
94
94
|
|
|
95
95
|
```tsx
|
|
96
96
|
import { Button } from "@g4rcez/components/button";
|
|
97
|
-
import { FolderPlusIcon } from "
|
|
97
|
+
import { FolderPlusIcon } from "@phosphor-icons/react";
|
|
98
98
|
|
|
99
99
|
function EmptyProjectsList() {
|
|
100
100
|
return (
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
HeartIcon,
|
|
122
122
|
BellIcon,
|
|
123
123
|
MailIcon,
|
|
124
|
-
} from "
|
|
124
|
+
} from "@phosphor-icons/react";
|
|
125
125
|
|
|
126
126
|
// Cart
|
|
127
127
|
<Empty Icon={ShoppingCartIcon} message="Your cart is empty" />
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
|
|
154
154
|
## Accessibility
|
|
155
155
|
|
|
156
|
-
- The icon renders at `size={64}` using a
|
|
156
|
+
- The icon renders at `size={64}` using a Phosphor component which includes accessible SVG markup.
|
|
157
157
|
- The message uses a `<p>` element for semantic text.
|
|
158
158
|
- Both icon and text use `text-disabled` ensuring sufficient contrast against the background.
|
|
159
159
|
|
package/dist/ai/docs/Expand.md
CHANGED
|
@@ -46,7 +46,7 @@ The `Expand` component itself only renders the trigger button and an animated wr
|
|
|
46
46
|
### Action FAB
|
|
47
47
|
|
|
48
48
|
```tsx
|
|
49
|
-
import { PlusIcon } from "
|
|
49
|
+
import { PlusIcon } from "@phosphor-icons/react";
|
|
50
50
|
import { Expand } from "@g4rcez/components/expand";
|
|
51
51
|
|
|
52
52
|
<Expand
|
|
@@ -116,11 +116,11 @@ function AvatarUpload() {
|
|
|
116
116
|
### Custom idle state
|
|
117
117
|
|
|
118
118
|
```tsx
|
|
119
|
-
import {
|
|
119
|
+
import { UploadSimpleIcon } from "@phosphor-icons/react";
|
|
120
120
|
|
|
121
121
|
const CustomIdle = () => (
|
|
122
122
|
<div className="flex flex-col items-center gap-2 py-10">
|
|
123
|
-
<
|
|
123
|
+
<UploadSimpleIcon size={48} className="text-primary" />
|
|
124
124
|
<p className="text-foreground font-medium">Drop files here</p>
|
|
125
125
|
<p className="text-muted-foreground text-sm">PDF, DOCX, up to 10 MB each</p>
|
|
126
126
|
</div>
|
package/dist/ai/docs/Input.md
CHANGED
|
@@ -129,12 +129,12 @@ const docMask = (value: string) =>
|
|
|
129
129
|
### Input with inline left/right slots
|
|
130
130
|
|
|
131
131
|
```tsx
|
|
132
|
-
import {
|
|
132
|
+
import { MagnifyingGlassIcon } from "@phosphor-icons/react";
|
|
133
133
|
|
|
134
134
|
<Input
|
|
135
135
|
name="search"
|
|
136
136
|
title="Search"
|
|
137
|
-
left={<
|
|
137
|
+
left={<MagnifyingGlassIcon size={16} className="text-muted-foreground" />}
|
|
138
138
|
placeholder="Type to search..."
|
|
139
139
|
/>
|
|
140
140
|
```
|
|
@@ -73,14 +73,14 @@ import { InputField } from "@g4rcez/components";
|
|
|
73
73
|
### With info tooltip and error
|
|
74
74
|
|
|
75
75
|
```tsx
|
|
76
|
-
import {
|
|
76
|
+
import { MagnifyingGlassIcon, CheckIcon } from "@phosphor-icons/react";
|
|
77
77
|
|
|
78
78
|
<InputField
|
|
79
79
|
title="API Key"
|
|
80
80
|
name="api_key"
|
|
81
81
|
info="Your secret API key from the developer portal."
|
|
82
82
|
error={apiKeyError}
|
|
83
|
-
left={<
|
|
83
|
+
left={<MagnifyingGlassIcon size={16} className="text-muted-foreground" />}
|
|
84
84
|
right={isValid ? <CheckIcon size={16} className="text-success" /> : null}
|
|
85
85
|
required
|
|
86
86
|
>
|
package/dist/ai/docs/List.md
CHANGED
|
@@ -90,7 +90,7 @@ export function TeamList() {
|
|
|
90
90
|
|
|
91
91
|
```tsx
|
|
92
92
|
import { AnimatedList, AnimatedListItem } from "@g4rcez/components/list";
|
|
93
|
-
import { UserCircleIcon } from "
|
|
93
|
+
import { UserCircleIcon } from "@phosphor-icons/react";
|
|
94
94
|
|
|
95
95
|
export function UserDirectory() {
|
|
96
96
|
return (
|
|
@@ -142,11 +142,11 @@ export function OrderList({ orders }: { orders: Order[] }) {
|
|
|
142
142
|
|
|
143
143
|
```tsx
|
|
144
144
|
import { AnimatedList, AnimatedListItem } from "@g4rcez/components/list";
|
|
145
|
-
import { CheckCircleIcon,
|
|
145
|
+
import { CheckCircleIcon, WarningIcon } from "@phosphor-icons/react";
|
|
146
146
|
|
|
147
147
|
const feed = [
|
|
148
148
|
{ id: "n1", icon: <CheckCircleIcon size={20} className="text-success" />, title: "Deployment succeeded", time: "2 min ago", detail: "All 3 services are healthy." },
|
|
149
|
-
{ id: "n2", icon: <
|
|
149
|
+
{ id: "n2", icon: <WarningIcon size={20} className="text-warn" />, title: "High CPU usage", time: "10 min ago", detail: "Instance i-0ab2 is at 94 %." },
|
|
150
150
|
];
|
|
151
151
|
|
|
152
152
|
export function NotificationFeed() {
|
package/dist/ai/docs/Menu.md
CHANGED
|
@@ -39,7 +39,7 @@ import { Menu, MenuItem } from "@g4rcez/components/menu";
|
|
|
39
39
|
| `title` | `string` | — | Item text; used for typeahead matching and the `title` attribute |
|
|
40
40
|
| `children` | `React.ReactNode` | — | Visual content of the item |
|
|
41
41
|
| `disabled` | `boolean` | `false` | Removes item from keyboard navigation and typeahead |
|
|
42
|
-
| `Right` | `React.FC<
|
|
42
|
+
| `Right` | `React.FC<IconProps>` | — | Icon rendered on the right side |
|
|
43
43
|
| `onClick` | `function` | — | Click handler |
|
|
44
44
|
|
|
45
45
|
## Design Tokens
|
|
@@ -71,11 +71,11 @@ import { Menu, MenuItem } from "@g4rcez/components/menu";
|
|
|
71
71
|
### With Icons and Shortcuts
|
|
72
72
|
|
|
73
73
|
```tsx
|
|
74
|
-
import {
|
|
74
|
+
import { PencilSimpleIcon, TrashIcon } from "@phosphor-icons/react";
|
|
75
75
|
import { Menu, MenuItem } from "@g4rcez/components/menu";
|
|
76
76
|
|
|
77
77
|
<Menu label="Settings">
|
|
78
|
-
<MenuItem title="Edit" Right={
|
|
78
|
+
<MenuItem title="Edit" Right={PencilSimpleIcon}>Edit</MenuItem>
|
|
79
79
|
<MenuItem title="Delete" Right={TrashIcon} className="text-danger">
|
|
80
80
|
Delete
|
|
81
81
|
</MenuItem>
|
|
@@ -113,7 +113,7 @@ export default function ControlledMultiSelect() {
|
|
|
113
113
|
### Custom option rendering
|
|
114
114
|
|
|
115
115
|
```tsx
|
|
116
|
-
import { ShieldIcon } from "
|
|
116
|
+
import { ShieldIcon } from "@phosphor-icons/react";
|
|
117
117
|
import { MultiSelect } from "@g4rcez/components";
|
|
118
118
|
|
|
119
119
|
const roleOptions = roles.map((r) => ({
|
|
@@ -158,7 +158,7 @@ export function FilteredCalendar() {
|
|
|
158
158
|
|
|
159
159
|
```tsx
|
|
160
160
|
import { PageCalendar } from "@g4rcez/components";
|
|
161
|
-
import { MapPinIcon } from "
|
|
161
|
+
import { MapPinIcon } from "@phosphor-icons/react";
|
|
162
162
|
|
|
163
163
|
export function DetailCalendar() {
|
|
164
164
|
return (
|
package/dist/ai/docs/Select.md
CHANGED
|
@@ -266,7 +266,7 @@ export default function CascadingSelect() {
|
|
|
266
266
|
|
|
267
267
|
- Uses a native `<select>` element for full keyboard support and screen-reader compatibility.
|
|
268
268
|
- The `placeholder` renders as a `disabled hidden` option so it is never submitted.
|
|
269
|
-
- A `
|
|
269
|
+
- A `CaretDownIcon` caret is rendered inside a `<label>` pointing to the select id, giving it a larger click target.
|
|
270
270
|
- `data-selected` is set to `"false"` until the user selects an option, which toggles the placeholder color class.
|
|
271
271
|
|
|
272
272
|
## Data Attributes
|
package/dist/ai/docs/Slot.md
CHANGED
|
@@ -92,7 +92,7 @@ const StyledButton = ({ asChild, children, ...props }: ButtonProps) => {
|
|
|
92
92
|
When your component wraps children with additional internal elements, use `Slottable` to mark which child is the slot target.
|
|
93
93
|
|
|
94
94
|
```tsx
|
|
95
|
-
import { CheckIcon } from "
|
|
95
|
+
import { CheckIcon } from "@phosphor-icons/react";
|
|
96
96
|
|
|
97
97
|
const IconButton = ({ asChild, children, ...props }: { asChild?: boolean; children: React.ReactNode }) => {
|
|
98
98
|
const Component = asChild ? Slot : "button";
|
package/dist/ai/docs/Stats.md
CHANGED
|
@@ -22,7 +22,7 @@ import { Stats } from "@g4rcez/components/stats";
|
|
|
22
22
|
| Prop | Type | Default | Description |
|
|
23
23
|
|------|------|---------|-------------|
|
|
24
24
|
| `title` | `Label` | — | Metric label displayed above the value |
|
|
25
|
-
| `Icon` | `React.FC<{ className: string }>` | — | Icon component to display (
|
|
25
|
+
| `Icon` | `React.FC<{ className: string }>` | — | Icon component to display (Phosphor recommended) |
|
|
26
26
|
| `iconContainer` | `string` | — | Additional classes for the icon background container |
|
|
27
27
|
| `footer` | `React.ReactElement` | — | Optional footer area for trend data or context |
|
|
28
28
|
| `children` | `React.ReactNode` | — | The metric value (e.g. a number, formatted string) |
|
|
@@ -46,7 +46,7 @@ Tokens this component reads. Customize by overriding these CSS variables in your
|
|
|
46
46
|
### Basic Metric
|
|
47
47
|
|
|
48
48
|
```tsx
|
|
49
|
-
import { UsersIcon } from "
|
|
49
|
+
import { UsersIcon } from "@phosphor-icons/react";
|
|
50
50
|
|
|
51
51
|
<Stats title="Active Users" Icon={UsersIcon}>
|
|
52
52
|
1,234
|
|
@@ -56,15 +56,15 @@ import { UsersIcon } from "lucide-react";
|
|
|
56
56
|
### With Footer Trend
|
|
57
57
|
|
|
58
58
|
```tsx
|
|
59
|
-
import {
|
|
59
|
+
import { TrendUpIcon, CurrencyDollarIcon } from "@phosphor-icons/react";
|
|
60
60
|
|
|
61
61
|
<Stats
|
|
62
62
|
title="Revenue"
|
|
63
|
-
Icon={
|
|
63
|
+
Icon={CurrencyDollarIcon}
|
|
64
64
|
iconContainer="bg-success"
|
|
65
65
|
footer={
|
|
66
66
|
<div className="flex items-center gap-1 text-success text-sm font-medium">
|
|
67
|
-
<
|
|
67
|
+
<TrendUpIcon size={14} />
|
|
68
68
|
<span>+12% from last month</span>
|
|
69
69
|
</div>
|
|
70
70
|
}
|
|
@@ -76,11 +76,11 @@ import { TrendingUpIcon, DollarSignIcon } from "lucide-react";
|
|
|
76
76
|
### Custom Icon Container Theme
|
|
77
77
|
|
|
78
78
|
```tsx
|
|
79
|
-
import {
|
|
79
|
+
import { WarningCircleIcon } from "@phosphor-icons/react";
|
|
80
80
|
|
|
81
81
|
<Stats
|
|
82
82
|
title="Error Rate"
|
|
83
|
-
Icon={
|
|
83
|
+
Icon={WarningCircleIcon}
|
|
84
84
|
iconContainer="bg-danger"
|
|
85
85
|
>
|
|
86
86
|
0.3%
|
|
@@ -90,7 +90,7 @@ import { AlertCircleIcon } from "lucide-react";
|
|
|
90
90
|
### Dashboard Grid
|
|
91
91
|
|
|
92
92
|
```tsx
|
|
93
|
-
import { UsersIcon, ClockIcon, TargetIcon } from "
|
|
93
|
+
import { UsersIcon, ClockIcon, TargetIcon } from "@phosphor-icons/react";
|
|
94
94
|
|
|
95
95
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
|
|
96
96
|
<Stats title="Users" Icon={UsersIcon}>1.2k</Stats>
|
|
@@ -102,10 +102,10 @@ import { UsersIcon, ClockIcon, TargetIcon } from "lucide-react";
|
|
|
102
102
|
### With Skeleton Loading
|
|
103
103
|
|
|
104
104
|
```tsx
|
|
105
|
-
import {
|
|
105
|
+
import { ChartBarIcon } from "@phosphor-icons/react";
|
|
106
106
|
import { Skeleton } from "@g4rcez/components";
|
|
107
107
|
|
|
108
|
-
<Stats title="Page Views" Icon={
|
|
108
|
+
<Stats title="Page Views" Icon={ChartBarIcon}>
|
|
109
109
|
{isLoading ? <Skeleton className="h-9 w-24" /> : "48,301"}
|
|
110
110
|
</Stats>
|
|
111
111
|
```
|
|
@@ -127,7 +127,7 @@ import { Skeleton } from "@g4rcez/components";
|
|
|
127
127
|
## Accessibility
|
|
128
128
|
|
|
129
129
|
- The metric label uses an `<h3>` element for proper heading hierarchy within a dashboard context.
|
|
130
|
-
- The icon renders via `props.Icon` with a `className` prop applied;
|
|
130
|
+
- The icon renders via `props.Icon` with a `className` prop applied; Phosphor icons include accessible SVG structure.
|
|
131
131
|
- Consider adding `aria-label` to the icon container if the icon carries essential meaning not conveyed by the title.
|
|
132
132
|
|
|
133
133
|
## Notes
|
package/dist/ai/docs/Table.md
CHANGED
|
@@ -226,7 +226,7 @@ export function OrdersTable({ orders }: { orders: Order[] }) {
|
|
|
226
226
|
### Row-level actions with Aside
|
|
227
227
|
|
|
228
228
|
```tsx
|
|
229
|
-
import { TrashIcon, PencilIcon } from "
|
|
229
|
+
import { TrashIcon, PencilIcon } from "@phosphor-icons/react";
|
|
230
230
|
|
|
231
231
|
<Table
|
|
232
232
|
name="contacts"
|
package/dist/ai/docs/Tag.md
CHANGED
|
@@ -101,7 +101,7 @@ Tokens this component reads. Customize by overriding these CSS variables in your
|
|
|
101
101
|
### With Icons
|
|
102
102
|
|
|
103
103
|
```tsx
|
|
104
|
-
import { StarIcon, CheckIcon } from "
|
|
104
|
+
import { StarIcon, CheckIcon } from "@phosphor-icons/react";
|
|
105
105
|
|
|
106
106
|
<Tag icon={<StarIcon size={14} />} theme="warn">Featured</Tag>
|
|
107
107
|
<Tag icon={<CheckIcon size={14} />} theme="success">Completed</Tag>
|
|
@@ -174,7 +174,7 @@ const categories = [
|
|
|
174
174
|
### Notification Badge
|
|
175
175
|
|
|
176
176
|
```tsx
|
|
177
|
-
import { BellIcon } from "
|
|
177
|
+
import { BellIcon } from "@phosphor-icons/react";
|
|
178
178
|
|
|
179
179
|
<div className="relative">
|
|
180
180
|
<BellIcon size={24} />
|
package/dist/ai/docs/Timeline.md
CHANGED
|
@@ -70,7 +70,7 @@ Tokens this component reads. Customize by overriding these CSS variables in your
|
|
|
70
70
|
### Order Tracking Timeline
|
|
71
71
|
|
|
72
72
|
```tsx
|
|
73
|
-
import { CheckIcon, PackageIcon, TruckIcon } from "
|
|
73
|
+
import { CheckIcon, PackageIcon, TruckIcon } from "@phosphor-icons/react";
|
|
74
74
|
|
|
75
75
|
<Timeline>
|
|
76
76
|
<TimelineItem>
|
|
@@ -128,12 +128,12 @@ import { CheckIcon, PackageIcon, TruckIcon } from "lucide-react";
|
|
|
128
128
|
### Activity Feed
|
|
129
129
|
|
|
130
130
|
```tsx
|
|
131
|
-
import { UserIcon,
|
|
131
|
+
import { UserIcon, PencilSimpleIcon, TrashIcon } from "@phosphor-icons/react";
|
|
132
132
|
|
|
133
133
|
function ActivityFeed({ events }: { events: ActivityEvent[] }) {
|
|
134
134
|
const iconMap = {
|
|
135
135
|
create: UserIcon,
|
|
136
|
-
update:
|
|
136
|
+
update: PencilSimpleIcon,
|
|
137
137
|
delete: TrashIcon,
|
|
138
138
|
};
|
|
139
139
|
|
|
@@ -164,11 +164,11 @@ function ActivityFeed({ events }: { events: ActivityEvent[] }) {
|
|
|
164
164
|
### Custom Icon Background
|
|
165
165
|
|
|
166
166
|
```tsx
|
|
167
|
-
import {
|
|
167
|
+
import { WarningCircleIcon } from "@phosphor-icons/react";
|
|
168
168
|
|
|
169
169
|
<TimelineItem>
|
|
170
170
|
<TimelineItem.Icon className="bg-danger text-danger-foreground">
|
|
171
|
-
<
|
|
171
|
+
<WarningCircleIcon size={20} />
|
|
172
172
|
</TimelineItem.Icon>
|
|
173
173
|
<TimelineItem.Body>
|
|
174
174
|
<h4 className="font-bold text-danger-foreground">Deployment Failed</h4>
|
package/dist/ai/docs/Toolbar.md
CHANGED
|
@@ -51,7 +51,7 @@ import { Button } from "@g4rcez/components/button";
|
|
|
51
51
|
### Rich Text Editor Toolbar
|
|
52
52
|
|
|
53
53
|
```tsx
|
|
54
|
-
import { BoldIcon, ItalicIcon, UnderlineIcon } from "
|
|
54
|
+
import { BoldIcon, ItalicIcon, UnderlineIcon } from "@phosphor-icons/react";
|
|
55
55
|
import { Toolbar } from "@g4rcez/components";
|
|
56
56
|
import { Button } from "@g4rcez/components/button";
|
|
57
57
|
import { Tooltip } from "@g4rcez/components/tooltip";
|
|
@@ -80,7 +80,7 @@ import { Tooltip } from "@g4rcez/components/tooltip";
|
|
|
80
80
|
### Batch Action Toolbar
|
|
81
81
|
|
|
82
82
|
```tsx
|
|
83
|
-
import { TrashIcon, DownloadIcon } from "
|
|
83
|
+
import { TrashIcon, DownloadIcon } from "@phosphor-icons/react";
|
|
84
84
|
import { Toolbar } from "@g4rcez/components";
|
|
85
85
|
import { Button } from "@g4rcez/components/button";
|
|
86
86
|
|