@giddaa-housing/ui 3.0.1 → 3.1.0
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/css/generated/shared.css +1 -1
- package/css/giddaa.css +162 -0
- package/css/preset.css +8 -1
- package/dist/activity-timeline.js +3 -3
- package/dist/auth-layout.js +18 -18
- package/dist/bar-chart.d.ts +1 -1
- package/dist/bullet-chart.d.ts +1 -1
- package/dist/button-group.d.ts +1 -1
- package/dist/carousel.d.ts +1 -1
- package/dist/chart.d.ts +1 -1
- package/dist/combobox.d.ts +1 -1
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/footer.d.ts +4 -2
- package/dist/footer.js +38 -34
- package/dist/funnel-chart.d.ts +1 -1
- package/dist/heatmap-chart.d.ts +1 -1
- package/dist/input-group.js +4 -5
- package/dist/input-size-context.js +4 -2
- package/dist/input.js +1 -1
- package/dist/line-chart.d.ts +1 -1
- package/dist/mask-input.d.ts +61 -0
- package/dist/mask-input.js +0 -0
- package/dist/mobile-sidebar.d.ts +57 -0
- package/dist/mobile-sidebar.js +196 -0
- package/dist/number-input.d.ts +1 -1
- package/dist/phone-input.d.ts +1 -1
- package/dist/pie-chart.d.ts +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/radar-chart.d.ts +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/scatter-chart.d.ts +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/{size-context-D4mYvcg8.d.ts → size-context-BX6kAdVj.d.ts} +2 -1
- package/dist/size-context.d.ts +2 -2
- package/dist/size-context.js +5 -2
- package/dist/sparkline.d.ts +1 -1
- package/dist/styles.css +505 -111
- package/dist/table.js +2 -2
- package/dist/tabs.d.ts +1 -1
- package/dist/tag.d.ts +1 -1
- package/dist/top-navbar.d.ts +100 -0
- package/dist/top-navbar.js +295 -0
- package/dist/tree-map.d.ts +1 -1
- package/dist/waterfall-chart.d.ts +1 -1
- package/package.json +13 -1
package/dist/phone-input.d.ts
CHANGED
package/dist/pie-chart.d.ts
CHANGED
package/dist/popover.d.ts
CHANGED
package/dist/radar-chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ComponentSize } from "./size-context-
|
|
1
|
+
import { t as ComponentSize } from "./size-context-BX6kAdVj.js";
|
|
2
2
|
import { ChartConfig } from "./chart.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { PolarAngleAxis, PolarGrid, PolarRadiusAxis, Radar, RadarChart as RadarChart$1 } from "recharts";
|
package/dist/scatter-chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ComponentSize } from "./size-context-
|
|
1
|
+
import { t as ComponentSize } from "./size-context-BX6kAdVj.js";
|
|
2
2
|
import { ChartConfig } from "./chart.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { CartesianGrid, Scatter, ScatterChart as ScatterChart$1, XAxis, YAxis } from "recharts";
|
package/dist/select.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/size-context.d.ts
|
|
3
3
|
type ComponentSize = "sm" | "md" | "lg";
|
|
4
|
+
declare function useInheritedComponentSize(): ComponentSize | undefined;
|
|
4
5
|
declare function SizeProvider({ children, size }: {
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
size?: ComponentSize | null;
|
|
7
8
|
}): import("react").JSX.Element;
|
|
8
9
|
declare function useComponentSize(size?: ComponentSize | null, fallback?: ComponentSize): ComponentSize;
|
|
9
10
|
//#endregion
|
|
10
|
-
export { SizeProvider as n, useComponentSize as r, ComponentSize as t };
|
|
11
|
+
export { useInheritedComponentSize as i, SizeProvider as n, useComponentSize as r, ComponentSize as t };
|
package/dist/size-context.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SizeProvider, r as useComponentSize, t as ComponentSize } from "./size-context-
|
|
2
|
-
export { type ComponentSize, SizeProvider, useComponentSize };
|
|
1
|
+
import { i as useInheritedComponentSize, n as SizeProvider, r as useComponentSize, t as ComponentSize } from "./size-context-BX6kAdVj.js";
|
|
2
|
+
export { type ComponentSize, SizeProvider, useComponentSize, useInheritedComponentSize };
|
package/dist/size-context.js
CHANGED
|
@@ -3,6 +3,9 @@ import { Fragment, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
4
|
//#region src/size-context.tsx
|
|
5
5
|
const SizeContext = createContext(void 0);
|
|
6
|
+
function useInheritedComponentSize() {
|
|
7
|
+
return useContext(SizeContext);
|
|
8
|
+
}
|
|
6
9
|
function SizeProvider({ children, size }) {
|
|
7
10
|
if (!size) return /* @__PURE__ */ jsx(Fragment, { children });
|
|
8
11
|
return /* @__PURE__ */ jsx(SizeContext.Provider, {
|
|
@@ -11,8 +14,8 @@ function SizeProvider({ children, size }) {
|
|
|
11
14
|
});
|
|
12
15
|
}
|
|
13
16
|
function useComponentSize(size, fallback = "md") {
|
|
14
|
-
const inheritedSize =
|
|
17
|
+
const inheritedSize = useInheritedComponentSize();
|
|
15
18
|
return size ?? inheritedSize ?? fallback;
|
|
16
19
|
}
|
|
17
20
|
//#endregion
|
|
18
|
-
export { SizeProvider, useComponentSize };
|
|
21
|
+
export { SizeProvider, useComponentSize, useInheritedComponentSize };
|
package/dist/sparkline.d.ts
CHANGED