@beweco/aurora-ui 0.1.4 → 0.1.5

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.
Files changed (36) hide show
  1. package/dist/assets/css/styles.css +1 -1
  2. package/dist/index.cjs.js +101 -40
  3. package/dist/index.esm.js +97 -41
  4. package/dist/types/components/color-selector/ColorSelector.d.ts +5 -0
  5. package/dist/types/components/color-selector/ColorSelector.d.ts.map +1 -0
  6. package/dist/types/components/color-selector/ColorSelector.types.d.ts +5 -0
  7. package/dist/types/components/color-selector/ColorSelector.types.d.ts.map +1 -0
  8. package/dist/types/components/color-selector/index.d.ts +3 -0
  9. package/dist/types/components/color-selector/index.d.ts.map +1 -0
  10. package/dist/types/components/h2/H2.d.ts +4 -0
  11. package/dist/types/components/h2/H2.d.ts.map +1 -0
  12. package/dist/types/components/h2/H2.types.d.ts +4 -0
  13. package/dist/types/components/h2/H2.types.d.ts.map +1 -0
  14. package/dist/types/components/h2/index.d.ts +3 -0
  15. package/dist/types/components/h2/index.d.ts.map +1 -0
  16. package/dist/types/components/h3/H3.d.ts +4 -0
  17. package/dist/types/components/h3/H3.d.ts.map +1 -0
  18. package/dist/types/components/h3/H3.types.d.ts +4 -0
  19. package/dist/types/components/h3/H3.types.d.ts.map +1 -0
  20. package/dist/types/components/h3/index.d.ts +3 -0
  21. package/dist/types/components/h3/index.d.ts.map +1 -0
  22. package/dist/types/components/h4/H4.d.ts +4 -0
  23. package/dist/types/components/h4/H4.d.ts.map +1 -0
  24. package/dist/types/components/h4/H4.types.d.ts +4 -0
  25. package/dist/types/components/h4/H4.types.d.ts.map +1 -0
  26. package/dist/types/components/h4/index.d.ts +3 -0
  27. package/dist/types/components/h4/index.d.ts.map +1 -0
  28. package/dist/types/components/p/P.d.ts +4 -0
  29. package/dist/types/components/p/P.d.ts.map +1 -0
  30. package/dist/types/components/p/P.types.d.ts +4 -0
  31. package/dist/types/components/p/P.types.d.ts.map +1 -0
  32. package/dist/types/components/p/index.d.ts +3 -0
  33. package/dist/types/components/p/index.d.ts.map +1 -0
  34. package/dist/types/index.d.ts +5 -0
  35. package/dist/types/index.d.ts.map +1 -1
  36. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -1440,38 +1440,40 @@ var Pagination = function (_a) {
1440
1440
  return jsxRuntime.jsx(react.Pagination, __assign({ showControls: true, isCompact: true }, props));
1441
1441
  };
1442
1442
 
1443
- var Modal = function (props) {
1444
- return (jsxRuntime.jsx(react.Modal, __assign({ shouldBlockScroll: true, radius: "lg", className: "py-9 px-6" }, props)));
1443
+ var H2 = function (_a) {
1444
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1445
+ return (jsxRuntime.jsx("h2", __assign({ className: react.cn("text-lg font-medium", className) }, props, { children: children })));
1445
1446
  };
1446
1447
 
1447
- var ModalContent = react.ModalContent;
1448
-
1449
- var ModalHeader = react.ModalHeader;
1450
-
1451
- var ModalBody = react.ModalBody;
1448
+ var H3 = function (_a) {
1449
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1450
+ return (jsxRuntime.jsx("h3", __assign({ className: react.cn("text-base font-medium mb-1", className) }, props, { children: children })));
1451
+ };
1452
1452
 
1453
- var ModalFooter = react.ModalFooter;
1453
+ var H4 = function (_a) {
1454
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1455
+ return (jsxRuntime.jsx("h4", __assign({ className: react.cn("text-sm font-medium mb-1", className) }, props, { children: children })));
1456
+ };
1454
1457
 
1455
- var paddingClasses = {
1456
- sm: "p-4",
1457
- md: "p-6",
1458
- lg: "p-8",
1458
+ var P = function (_a) {
1459
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1460
+ return (jsxRuntime.jsx("p", __assign({ className: react.cn("text-sm text-default-500", className) }, props, { children: children })));
1459
1461
  };
1460
1462
 
1461
- /**
1462
- * Card genérica siguiendo las reglas de diseño BeweOS basada en HeroUI.
1463
- *
1464
- * Reglas aplicadas:
1465
- * - Shadow: none, sm, md, lg (configurable)
1466
- * - Radius: sm (por defecto, configurable)
1467
- * - Padding configurable (sm, md, lg)
1468
- * - Hereda de HeroUI Card con personalización BeweOS
1469
- */
1470
- var Card = function (_a) {
1471
- var children = _a.children, _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.shadow, shadow = _c === void 0 ? "sm" : _c, _d = _a.radius, radius = _d === void 0 ? "sm" : _d, _e = _a.padding, padding = _e === void 0 ? "md" : _e, props = __rest(_a, ["children", "className", "shadow", "radius", "padding"]);
1472
- var paddingClass = paddingClasses[padding];
1473
- var combinedClassName = [paddingClass, className].filter(Boolean).join(" ");
1474
- return (jsxRuntime.jsx(react.Card, __assign({ shadow: shadow, radius: radius, className: combinedClassName }, props, { children: children })));
1463
+ var ThemeContext = React.createContext({
1464
+ mode: "light",
1465
+ color: "blue",
1466
+ // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1467
+ setMode: function () { },
1468
+ // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1469
+ setColor: function () { },
1470
+ });
1471
+ var useThemeContext = function () {
1472
+ var context = React.useContext(ThemeContext);
1473
+ if (!context) {
1474
+ throw new Error("useThemeContext debe ser usado dentro de un ThemeProvider");
1475
+ }
1476
+ return context;
1475
1477
  };
1476
1478
 
1477
1479
  var themeColors = {
@@ -1964,20 +1966,74 @@ var themeColors = {
1964
1966
  },
1965
1967
  };
1966
1968
 
1967
- var ThemeContext = React.createContext({
1968
- mode: "light",
1969
- color: "blue",
1970
- // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1971
- setMode: function () { },
1972
- // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1973
- setColor: function () { },
1974
- });
1975
- var useThemeContext = function () {
1976
- var context = React.useContext(ThemeContext);
1977
- if (!context) {
1978
- throw new Error("useThemeContext debe ser usado dentro de un ThemeProvider");
1979
- }
1980
- return context;
1969
+ var ColorSelector = function (_a) {
1970
+ var selectedColor = _a.selectedColor, onColorChange = _a.onColorChange;
1971
+ var mode = useThemeContext().mode;
1972
+ /**
1973
+ * Filters and maps the available theme colors to the current theme mode (light/dark).
1974
+ * Each color option contains:
1975
+ * - value: the theme name (e.g., "blue-light")
1976
+ * - label: the base color name (e.g., "blue")
1977
+ * - color: the primary color hex value
1978
+ */
1979
+ var colorOptions = Object.entries(themeColors)
1980
+ .filter(function (_a) {
1981
+ var themeData = _a[1];
1982
+ var themeMode = themeData.extend;
1983
+ return mode === "light" ? themeMode === "light" : themeMode === "dark";
1984
+ })
1985
+ .map(function (_a) {
1986
+ var themeName = _a[0], theme = _a[1];
1987
+ return ({
1988
+ value: themeName,
1989
+ label: themeName.split("-")[0],
1990
+ color: theme.colors.primary.DEFAULT,
1991
+ });
1992
+ });
1993
+ return (jsxRuntime.jsx(react.RadioGroup, { value: selectedColor, onValueChange: onColorChange, orientation: "horizontal", className: "flex flex-wrap !gap-2", classNames: {
1994
+ base: "flex flex-wrap !gap-2",
1995
+ wrapper: "flex flex-wrap !gap-2",
1996
+ }, children: colorOptions.map(function (color) { return (jsxRuntime.jsx(react.Radio, { value: color.label, className: "p-0 m-0", classNames: {
1997
+ base: "p-0 m-0",
1998
+ wrapper: "hidden",
1999
+ labelWrapper: "p-0 m-0",
2000
+ }, children: jsxRuntime.jsx("div", { className: "w-8 h-8 rounded-full border-2 cursor-pointer transition-all ".concat(selectedColor === color.label
2001
+ ? "border-black border-opacity-20 scale-110"
2002
+ : "border-gray-200 hover:scale-105"), style: { backgroundColor: color.color }, title: color.label }) }, color.value)); }) }));
2003
+ };
2004
+
2005
+ var Modal = function (props) {
2006
+ return (jsxRuntime.jsx(react.Modal, __assign({ shouldBlockScroll: true, radius: "lg", className: "py-9 px-6" }, props)));
2007
+ };
2008
+
2009
+ var ModalContent = react.ModalContent;
2010
+
2011
+ var ModalHeader = react.ModalHeader;
2012
+
2013
+ var ModalBody = react.ModalBody;
2014
+
2015
+ var ModalFooter = react.ModalFooter;
2016
+
2017
+ var paddingClasses = {
2018
+ sm: "p-4",
2019
+ md: "p-6",
2020
+ lg: "p-8",
2021
+ };
2022
+
2023
+ /**
2024
+ * Card genérica siguiendo las reglas de diseño BeweOS basada en HeroUI.
2025
+ *
2026
+ * Reglas aplicadas:
2027
+ * - Shadow: none, sm, md, lg (configurable)
2028
+ * - Radius: sm (por defecto, configurable)
2029
+ * - Padding configurable (sm, md, lg)
2030
+ * - Hereda de HeroUI Card con personalización BeweOS
2031
+ */
2032
+ var Card = function (_a) {
2033
+ var children = _a.children, _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.shadow, shadow = _c === void 0 ? "sm" : _c, _d = _a.radius, radius = _d === void 0 ? "sm" : _d, _e = _a.padding, padding = _e === void 0 ? "md" : _e, props = __rest(_a, ["children", "className", "shadow", "radius", "padding"]);
2034
+ var paddingClass = paddingClasses[padding];
2035
+ var combinedClassName = [paddingClass, className].filter(Boolean).join(" ");
2036
+ return (jsxRuntime.jsx(react.Card, __assign({ shadow: shadow, radius: radius, className: combinedClassName }, props, { children: children })));
1981
2037
  };
1982
2038
 
1983
2039
  /**
@@ -2097,9 +2153,13 @@ exports.AuraToastProvider = AuraToastProvider;
2097
2153
  exports.AutoComplete = AutoComplete;
2098
2154
  exports.Button = Button;
2099
2155
  exports.Card = Card;
2156
+ exports.ColorSelector = ColorSelector;
2100
2157
  exports.DatePicker = DatePicker;
2101
2158
  exports.DateRangePicker = DateRangePicker;
2102
2159
  exports.GlobalToast = GlobalToast;
2160
+ exports.H2 = H2;
2161
+ exports.H3 = H3;
2162
+ exports.H4 = H4;
2103
2163
  exports.HeaderComponent = HeaderComponent;
2104
2164
  exports.IconComponent = IconComponent;
2105
2165
  exports.Input = Input;
@@ -2109,6 +2169,7 @@ exports.ModalBody = ModalBody;
2109
2169
  exports.ModalContent = ModalContent;
2110
2170
  exports.ModalFooter = ModalFooter;
2111
2171
  exports.ModalHeader = ModalHeader;
2172
+ exports.P = P;
2112
2173
  exports.Pagination = Pagination;
2113
2174
  exports.Phone = Phone;
2114
2175
  exports.ScheduleRow = ScheduleRow;
package/dist/index.esm.js CHANGED
@@ -1439,38 +1439,40 @@ var Pagination = function (_a) {
1439
1439
  return jsx(Pagination$1, __assign({ showControls: true, isCompact: true }, props));
1440
1440
  };
1441
1441
 
1442
- var Modal = function (props) {
1443
- return (jsx(Modal$1, __assign({ shouldBlockScroll: true, radius: "lg", className: "py-9 px-6" }, props)));
1442
+ var H2 = function (_a) {
1443
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1444
+ return (jsx("h2", __assign({ className: cn("text-lg font-medium", className) }, props, { children: children })));
1444
1445
  };
1445
1446
 
1446
- var ModalContent = ModalContent$1;
1447
-
1448
- var ModalHeader = ModalHeader$1;
1449
-
1450
- var ModalBody = ModalBody$1;
1447
+ var H3 = function (_a) {
1448
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1449
+ return (jsx("h3", __assign({ className: cn("text-base font-medium mb-1", className) }, props, { children: children })));
1450
+ };
1451
1451
 
1452
- var ModalFooter = ModalFooter$1;
1452
+ var H4 = function (_a) {
1453
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1454
+ return (jsx("h4", __assign({ className: cn("text-sm font-medium mb-1", className) }, props, { children: children })));
1455
+ };
1453
1456
 
1454
- var paddingClasses = {
1455
- sm: "p-4",
1456
- md: "p-6",
1457
- lg: "p-8",
1457
+ var P = function (_a) {
1458
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
1459
+ return (jsx("p", __assign({ className: cn("text-sm text-default-500", className) }, props, { children: children })));
1458
1460
  };
1459
1461
 
1460
- /**
1461
- * Card genérica siguiendo las reglas de diseño BeweOS basada en HeroUI.
1462
- *
1463
- * Reglas aplicadas:
1464
- * - Shadow: none, sm, md, lg (configurable)
1465
- * - Radius: sm (por defecto, configurable)
1466
- * - Padding configurable (sm, md, lg)
1467
- * - Hereda de HeroUI Card con personalización BeweOS
1468
- */
1469
- var Card = function (_a) {
1470
- var children = _a.children, _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.shadow, shadow = _c === void 0 ? "sm" : _c, _d = _a.radius, radius = _d === void 0 ? "sm" : _d, _e = _a.padding, padding = _e === void 0 ? "md" : _e, props = __rest(_a, ["children", "className", "shadow", "radius", "padding"]);
1471
- var paddingClass = paddingClasses[padding];
1472
- var combinedClassName = [paddingClass, className].filter(Boolean).join(" ");
1473
- return (jsx(Card$1, __assign({ shadow: shadow, radius: radius, className: combinedClassName }, props, { children: children })));
1462
+ var ThemeContext = createContext({
1463
+ mode: "light",
1464
+ color: "blue",
1465
+ // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1466
+ setMode: function () { },
1467
+ // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1468
+ setColor: function () { },
1469
+ });
1470
+ var useThemeContext = function () {
1471
+ var context = useContext(ThemeContext);
1472
+ if (!context) {
1473
+ throw new Error("useThemeContext debe ser usado dentro de un ThemeProvider");
1474
+ }
1475
+ return context;
1474
1476
  };
1475
1477
 
1476
1478
  var themeColors = {
@@ -1963,20 +1965,74 @@ var themeColors = {
1963
1965
  },
1964
1966
  };
1965
1967
 
1966
- var ThemeContext = createContext({
1967
- mode: "light",
1968
- color: "blue",
1969
- // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1970
- setMode: function () { },
1971
- // biome-ignore lint/suspicious/noEmptyBlockStatements: <explanation>
1972
- setColor: function () { },
1973
- });
1974
- var useThemeContext = function () {
1975
- var context = useContext(ThemeContext);
1976
- if (!context) {
1977
- throw new Error("useThemeContext debe ser usado dentro de un ThemeProvider");
1978
- }
1979
- return context;
1968
+ var ColorSelector = function (_a) {
1969
+ var selectedColor = _a.selectedColor, onColorChange = _a.onColorChange;
1970
+ var mode = useThemeContext().mode;
1971
+ /**
1972
+ * Filters and maps the available theme colors to the current theme mode (light/dark).
1973
+ * Each color option contains:
1974
+ * - value: the theme name (e.g., "blue-light")
1975
+ * - label: the base color name (e.g., "blue")
1976
+ * - color: the primary color hex value
1977
+ */
1978
+ var colorOptions = Object.entries(themeColors)
1979
+ .filter(function (_a) {
1980
+ var themeData = _a[1];
1981
+ var themeMode = themeData.extend;
1982
+ return mode === "light" ? themeMode === "light" : themeMode === "dark";
1983
+ })
1984
+ .map(function (_a) {
1985
+ var themeName = _a[0], theme = _a[1];
1986
+ return ({
1987
+ value: themeName,
1988
+ label: themeName.split("-")[0],
1989
+ color: theme.colors.primary.DEFAULT,
1990
+ });
1991
+ });
1992
+ return (jsx(RadioGroup, { value: selectedColor, onValueChange: onColorChange, orientation: "horizontal", className: "flex flex-wrap !gap-2", classNames: {
1993
+ base: "flex flex-wrap !gap-2",
1994
+ wrapper: "flex flex-wrap !gap-2",
1995
+ }, children: colorOptions.map(function (color) { return (jsx(Radio, { value: color.label, className: "p-0 m-0", classNames: {
1996
+ base: "p-0 m-0",
1997
+ wrapper: "hidden",
1998
+ labelWrapper: "p-0 m-0",
1999
+ }, children: jsx("div", { className: "w-8 h-8 rounded-full border-2 cursor-pointer transition-all ".concat(selectedColor === color.label
2000
+ ? "border-black border-opacity-20 scale-110"
2001
+ : "border-gray-200 hover:scale-105"), style: { backgroundColor: color.color }, title: color.label }) }, color.value)); }) }));
2002
+ };
2003
+
2004
+ var Modal = function (props) {
2005
+ return (jsx(Modal$1, __assign({ shouldBlockScroll: true, radius: "lg", className: "py-9 px-6" }, props)));
2006
+ };
2007
+
2008
+ var ModalContent = ModalContent$1;
2009
+
2010
+ var ModalHeader = ModalHeader$1;
2011
+
2012
+ var ModalBody = ModalBody$1;
2013
+
2014
+ var ModalFooter = ModalFooter$1;
2015
+
2016
+ var paddingClasses = {
2017
+ sm: "p-4",
2018
+ md: "p-6",
2019
+ lg: "p-8",
2020
+ };
2021
+
2022
+ /**
2023
+ * Card genérica siguiendo las reglas de diseño BeweOS basada en HeroUI.
2024
+ *
2025
+ * Reglas aplicadas:
2026
+ * - Shadow: none, sm, md, lg (configurable)
2027
+ * - Radius: sm (por defecto, configurable)
2028
+ * - Padding configurable (sm, md, lg)
2029
+ * - Hereda de HeroUI Card con personalización BeweOS
2030
+ */
2031
+ var Card = function (_a) {
2032
+ var children = _a.children, _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.shadow, shadow = _c === void 0 ? "sm" : _c, _d = _a.radius, radius = _d === void 0 ? "sm" : _d, _e = _a.padding, padding = _e === void 0 ? "md" : _e, props = __rest(_a, ["children", "className", "shadow", "radius", "padding"]);
2033
+ var paddingClass = paddingClasses[padding];
2034
+ var combinedClassName = [paddingClass, className].filter(Boolean).join(" ");
2035
+ return (jsx(Card$1, __assign({ shadow: shadow, radius: radius, className: combinedClassName }, props, { children: children })));
1980
2036
  };
1981
2037
 
1982
2038
  /**
@@ -2090,4 +2146,4 @@ var AuraToastProvider = function (_a) {
2090
2146
  return (jsx(ToastContext.Provider, { value: { toast: toast, showToast: showToast, hideToast: hideToast }, children: children }));
2091
2147
  };
2092
2148
 
2093
- export { AddHolidayForm, AuraTable, AuraToastProvider, AutoComplete, Button, Card, DatePicker, DateRangePicker, GlobalToast, HeaderComponent, HolidayType, IconComponent, Input, MenuComponent, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, Pagination, Phone, ScheduleRow, Select, Switch as SwitchComponent, Textarea, ThemeContext, ThemePicker, ThemeProvider, TimeInput as TimeInputComponent, ToastContext, UploadFile, sizeMap, themeColors, useAuraToast, useThemeContext };
2149
+ export { AddHolidayForm, AuraTable, AuraToastProvider, AutoComplete, Button, Card, ColorSelector, DatePicker, DateRangePicker, GlobalToast, H2, H3, H4, HeaderComponent, HolidayType, IconComponent, Input, MenuComponent, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, P, Pagination, Phone, ScheduleRow, Select, Switch as SwitchComponent, Textarea, ThemeContext, ThemePicker, ThemeProvider, TimeInput as TimeInputComponent, ToastContext, UploadFile, sizeMap, themeColors, useAuraToast, useThemeContext };
@@ -0,0 +1,5 @@
1
+ import type React from "react";
2
+ import type { PlatformColorManagerProps } from "./ColorSelector.types";
3
+ declare const ColorSelector: React.FC<PlatformColorManagerProps>;
4
+ export default ColorSelector;
5
+ //# sourceMappingURL=ColorSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/ColorSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAEvE,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAgEtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface PlatformColorManagerProps {
2
+ selectedColor: string;
3
+ onColorChange: (color: string) => void;
4
+ }
5
+ //# sourceMappingURL=ColorSelector.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSelector.types.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/ColorSelector.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC"}
@@ -0,0 +1,3 @@
1
+ export { default as ColorSelector } from "./ColorSelector";
2
+ export * from "./ColorSelector.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type React from "react";
2
+ import type { H2Props } from "./H2.types";
3
+ export declare const H2: React.FC<H2Props>;
4
+ //# sourceMappingURL=H2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/H2.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface H2Props extends HTMLAttributes<HTMLHeadingElement> {
3
+ }
4
+ //# sourceMappingURL=H2.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H2.types.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/H2.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAQ,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ export { H2 } from "./H2";
2
+ export * from "./H2.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type React from "react";
2
+ import type { H3Props } from "./H3.types";
3
+ export declare const H3: React.FC<H3Props>;
4
+ //# sourceMappingURL=H3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/H3.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface H3Props extends HTMLAttributes<HTMLHeadingElement> {
3
+ }
4
+ //# sourceMappingURL=H3.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H3.types.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/H3.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAQ,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ export { H3 } from "./H3";
2
+ export * from "./H3.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type React from "react";
2
+ import type { H4Props } from "./H4.types";
3
+ export declare const H4: React.FC<H4Props>;
4
+ //# sourceMappingURL=H4.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/H4.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface H4Props extends HTMLAttributes<HTMLHeadingElement> {
3
+ }
4
+ //# sourceMappingURL=H4.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H4.types.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/H4.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAQ,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ export { H4 } from "./H4";
2
+ export * from "./H4.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type React from "react";
2
+ import type { PProps } from "./P.types";
3
+ export declare const P: React.FC<PProps>;
4
+ //# sourceMappingURL=P.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"P.d.ts","sourceRoot":"","sources":["../../../../src/components/p/P.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,eAAO,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAM9B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface PProps extends HTMLAttributes<HTMLParagraphElement> {
3
+ }
4
+ //# sourceMappingURL=P.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"P.types.d.ts","sourceRoot":"","sources":["../../../../src/components/p/P.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,MAAO,SAAQ,cAAc,CAAC,oBAAoB,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ export { P } from "./P";
2
+ export * from "./P.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/p/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,cAAc,WAAW,CAAC"}
@@ -18,6 +18,11 @@ export * from "./components/time-input";
18
18
  export * from "./components/toast";
19
19
  export * from "./components/upload-file";
20
20
  export * from "./components/pagination";
21
+ export * from "./components/h2";
22
+ export * from "./components/h3";
23
+ export * from "./components/h4";
24
+ export * from "./components/p";
25
+ export * from "./components/color-selector";
21
26
  export { Modal, ModalContent, ModalHeader, ModalBody, ModalFooter, type ModalProps, } from "./components/modal";
22
27
  export { Button, type ButtonProps } from "./components/button";
23
28
  export { Card, type CardProps } from "./components/card";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAU9B,cAAc,eAAe,CAAC;AAI9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACN,KAAK,EACL,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,KAAK,UAAU,GACf,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EACN,UAAU,EACV,KAAK,eAAe,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACN,eAAe,EACf,KAAK,oBAAoB,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG3E,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAU9B,cAAc,eAAe,CAAC;AAI9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACN,KAAK,EACL,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,KAAK,UAAU,GACf,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EACN,UAAU,EACV,KAAK,eAAe,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACN,eAAe,EACf,KAAK,oBAAoB,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG3E,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beweco/aurora-ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Bewe Aurora UI Component Library",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",