@stamcat/craftsman 0.0.31 → 0.0.32

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 (24) hide show
  1. package/Components.esm.js +16 -16
  2. package/package.json +1 -1
  3. package/src/components/Accordion/{Accordion2.esm.js → Accordion.esm.js} +1 -1
  4. package/src/components/Carousel/{Carousel2.esm.js → Carousel.esm.js} +2 -2
  5. package/src/components/Checkbox/Checkbox.esm.js +1 -1
  6. package/src/components/DatePicker/{DatePicker2.esm.js → DatePicker.esm.js} +2 -2
  7. package/src/components/DateRangePicker/{DateRangePicker2.esm.js → DateRangePicker.esm.js} +2 -2
  8. package/src/components/DateTimePicker/{DateTimePicker2.esm.js → DateTimePicker.esm.js} +2 -2
  9. package/src/components/Input/InputWrapper.esm.js +1 -1
  10. package/src/components/InputNumber/{InputNumber2.esm.js → InputNumber.esm.js} +2 -2
  11. package/src/components/InputPassword/InputPassword.esm.js +1 -1
  12. package/src/components/InputPhone/{InputPhone2.esm.js → InputPhone.esm.js} +1 -1
  13. package/src/components/Loader/Loader.esm.js +1 -1
  14. package/src/components/Modal/{Modal2.esm.js → Modal.esm.js} +1 -1
  15. package/src/components/Notice/{Notice2.esm.js → Notice.esm.js} +2 -2
  16. package/src/components/Pagination/{Pagination2.esm.js → Pagination.esm.js} +1 -1
  17. package/src/components/RadioButton/RadioButton.esm.js +1 -1
  18. package/src/components/SortableList/{SortableList2.esm.js → SortableList.esm.js} +1 -1
  19. package/src/components/Text/{Text2.esm.js → Text.esm.js} +1 -1
  20. package/src/components/TimePicker/{TimePicker2.esm.js → TimePicker.esm.js} +1 -1
  21. package/src/components/Toggle/{Toggle2.esm.js → Toggle.esm.js} +2 -2
  22. package/src/components/Tooltip/{Tooltip2.esm.js → Tooltip.esm.js} +1 -1
  23. /package/src/components/Input/{Input2.esm.js → Input.esm.js} +0 -0
  24. /package/src/components/Loader/{loaders.module.esm.js → loaders.module.style.esm.js} +0 -0
package/Components.esm.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { __exportAll as e } from "./_virtual/_rolldown/runtime.esm.js";
2
- import { Accordion as t } from "./src/components/Accordion/Accordion2.esm.js";
2
+ import { Accordion as t } from "./src/components/Accordion/Accordion.esm.js";
3
3
  import { Button as n } from "./src/components/Button/Button.esm.js";
4
- import { Input as r } from "./src/components/Input/Input2.esm.js";
4
+ import { Input as r } from "./src/components/Input/Input.esm.js";
5
5
  import { InputPassword as i } from "./src/components/InputPassword/InputPassword.esm.js";
6
6
  import { Loader as a } from "./src/components/Loader/Loader.esm.js";
7
7
  import { RadioButton as o } from "./src/components/RadioButton/RadioButton.esm.js";
8
8
  import { Checkbox as s } from "./src/components/Checkbox/Checkbox.esm.js";
9
9
  import { Textarea as c } from "./src/components/Textarea/Textarea.esm.js";
10
- import { Text as l } from "./src/components/Text/Text2.esm.js";
11
- import { Modal as u } from "./src/components/Modal/Modal2.esm.js";
10
+ import { Text as l } from "./src/components/Text/Text.esm.js";
11
+ import { Modal as u } from "./src/components/Modal/Modal.esm.js";
12
12
  import { Select as d } from "./src/components/Select/Select.esm.js";
13
- import { DatePicker as f } from "./src/components/DatePicker/DatePicker2.esm.js";
14
- import { DateRangePicker as p } from "./src/components/DateRangePicker/DateRangePicker2.esm.js";
15
- import { InputPhone as m } from "./src/components/InputPhone/InputPhone2.esm.js";
16
- import { InputNumber as h } from "./src/components/InputNumber/InputNumber2.esm.js";
17
- import { Toggle as g } from "./src/components/Toggle/Toggle2.esm.js";
18
- import { Pagination as _ } from "./src/components/Pagination/Pagination2.esm.js";
19
- import { Carousel as v } from "./src/components/Carousel/Carousel2.esm.js";
20
- import { TimePicker as y } from "./src/components/TimePicker/TimePicker2.esm.js";
21
- import { DateTimePicker as b } from "./src/components/DateTimePicker/DateTimePicker2.esm.js";
22
- import { Tooltip as x } from "./src/components/Tooltip/Tooltip2.esm.js";
23
- import { Notice as S } from "./src/components/Notice/Notice2.esm.js";
24
- import { SortableList as C } from "./src/components/SortableList/SortableList2.esm.js";
13
+ import { DatePicker as f } from "./src/components/DatePicker/DatePicker.esm.js";
14
+ import { DateRangePicker as p } from "./src/components/DateRangePicker/DateRangePicker.esm.js";
15
+ import { InputPhone as m } from "./src/components/InputPhone/InputPhone.esm.js";
16
+ import { InputNumber as h } from "./src/components/InputNumber/InputNumber.esm.js";
17
+ import { Toggle as g } from "./src/components/Toggle/Toggle.esm.js";
18
+ import { Pagination as _ } from "./src/components/Pagination/Pagination.esm.js";
19
+ import { Carousel as v } from "./src/components/Carousel/Carousel.esm.js";
20
+ import { TimePicker as y } from "./src/components/TimePicker/TimePicker.esm.js";
21
+ import { DateTimePicker as b } from "./src/components/DateTimePicker/DateTimePicker.esm.js";
22
+ import { Tooltip as x } from "./src/components/Tooltip/Tooltip.esm.js";
23
+ import { Notice as S } from "./src/components/Notice/Notice.esm.js";
24
+ import { SortableList as C } from "./src/components/SortableList/SortableList.esm.js";
25
25
  import { IconAmazonPay as w } from "./src/components/Icons/IconAmazonPay.esm.js";
26
26
  import { IconAmex as T } from "./src/components/Icons/IconAmex.esm.js";
27
27
  import { IconApplePay as E } from "./src/components/Icons/IconApplePay.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stamcat/craftsman",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "type": "module",
5
5
  "description": "A powerful, lightweight framework for design systems",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { isEmpty as e } from "../../utilities/validations.esm.js";
3
- import './Accordion.css';/* empty css */
3
+ import './Accordion.css';/* empty css */
4
4
  import { useId as t, useRef as n, useState as r } from "react";
5
5
  import i from "clsx";
6
6
  import { FaAngleUp as a } from "react-icons/fa6";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Button as e } from "../Button/Button.esm.js";
3
- import { Pagination as t } from "../Pagination/Pagination2.esm.js";
4
- import './Carousel.css';/* empty css */
3
+ import { Pagination as t } from "../Pagination/Pagination.esm.js";
4
+ import './Carousel.css';/* empty css */
5
5
  import { useCallback as n, useSyncExternalStore as r } from "react";
6
6
  import i from "clsx";
7
7
  import { FaAngleLeft as a, FaAngleRight as o, FaCircle as s, FaRegCircle as c } from "react-icons/fa6";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Input as e } from "../Input/Input2.esm.js";
2
+ import { Input as e } from "../Input/Input.esm.js";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  //#region src/components/Checkbox/Checkbox.tsx
5
5
  var n = ({ type: n = "checkbox", labelPosition: r = "right", size: i, style: a, ...o }) => {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { InputWrapper as e } from "../Input/InputWrapper.esm.js";
3
- import './ReactCalendar.css';import './DatePicker.css';/* empty css */
4
- /* empty css */
3
+ import './ReactCalendar.css';import './DatePicker.css';/* empty css */
4
+ /* empty css */
5
5
  import { useId as t } from "react";
6
6
  import n from "clsx";
7
7
  import { FaRegCalendar as r, FaX as i } from "react-icons/fa6";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { InputWrapper as e } from "../Input/InputWrapper.esm.js";
3
- import './DateRangePicker.css';import '../DatePicker/ReactCalendar.css';/* empty css */
4
- /* empty css */
3
+ import './DateRangePicker.css';import '../DatePicker/ReactCalendar.css';/* empty css */
4
+ /* empty css */
5
5
  import { useId as t } from "react";
6
6
  import n from "clsx";
7
7
  import { FaRegCalendar as r, FaX as i } from "react-icons/fa6";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { formatTime as e } from "../../utilities/validations.esm.js";
3
3
  import { InputWrapper as t } from "../Input/InputWrapper.esm.js";
4
- import './DateTimePicker.css';import '../DatePicker/ReactCalendar.css';/* empty css */
4
+ import './DateTimePicker.css';import '../DatePicker/ReactCalendar.css';/* empty css */
5
5
  import { resolveLocale as n } from "../TimePicker/utilities.esm.js";
6
6
  import { TimePickerDisplay as r } from "../TimePicker/TimePickerDisplay.esm.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  import { useEffect as i, useId as a, useRef as o, useState as s } from "react";
9
9
  import c from "clsx";
10
10
  import { FaRegCalendar as l, FaX as u } from "react-icons/fa6";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { isEmpty as e } from "../../utilities/validations.esm.js";
3
- import './Input.css';/* empty css */
3
+ import './Input.css';/* empty css */
4
4
  import t from "clsx";
5
5
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
6
6
  //#region src/components/Input/InputWrapper.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Button as e } from "../Button/Button.esm.js";
3
- import { Input as t } from "../Input/Input2.esm.js";
4
- import './InputNumber.css';/* empty css */
3
+ import { Input as t } from "../Input/Input.esm.js";
4
+ import './InputNumber.css';/* empty css */
5
5
  import { useRef as n } from "react";
6
6
  import r from "clsx";
7
7
  import { jsx as i } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { Button as e } from "../Button/Button.esm.js";
3
- import { Input as t } from "../Input/Input2.esm.js";
3
+ import { Input as t } from "../Input/Input.esm.js";
4
4
  import { useState as n } from "react";
5
5
  import r from "clsx";
6
6
  import { jsx as i } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { InputWrapper as e } from "../Input/InputWrapper.esm.js";
3
- import './InputPhone.css';/* empty css */
3
+ import './InputPhone.css';/* empty css */
4
4
  import t, { useId as n } from "react";
5
5
  import r from "clsx";
6
6
  import { jsx as i } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { loaders as e } from "./types.esm.js";
3
- import t from "./loaders.module.esm.js";
3
+ import t from "./loaders.module.style.esm.js";
4
4
  import n from "clsx";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
6
  //#region src/components/Loader/Loader.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Button as e } from "../Button/Button.esm.js";
3
3
  import { color as t } from "../../styles/utilities/color.esm.js";
4
- import './Modal.css';/* empty css */
4
+ import './Modal.css';/* empty css */
5
5
  import n from "react";
6
6
  import r from "clsx";
7
7
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Button as e } from "../Button/Button.esm.js";
3
- import { Text as t } from "../Text/Text2.esm.js";
4
- import './Notice.css';/* empty css */
3
+ import { Text as t } from "../Text/Text.esm.js";
4
+ import './Notice.css';/* empty css */
5
5
  import n from "clsx";
6
6
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
7
7
  import { IoAlertCircleOutline as o, IoCheckmarkCircleOutline as s, IoCloseOutline as c, IoHelpCircleOutline as l, IoInformationCircleOutline as u } from "react-icons/io5";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import './Pagination.css';/* empty css */
2
+ import './Pagination.css';/* empty css */
3
3
  import "react";
4
4
  import e from "clsx";
5
5
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Input as e } from "../Input/Input2.esm.js";
2
+ import { Input as e } from "../Input/Input.esm.js";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  //#region src/components/RadioButton/RadioButton.tsx
5
5
  var n = ({ type: n = "radio", labelPosition: r = "right", size: i, style: a, ...o }) => {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import './SortableList.css';/* empty css */
2
+ import './SortableList.css';/* empty css */
3
3
  import { isItemData as e } from "./utilities.esm.js";
4
4
  import { SortableListItem as t } from "./ListItem.esm.js";
5
5
  import { useEffect as n, useId as r } from "react";
@@ -1,4 +1,4 @@
1
- import './Text.css';/* empty css */
1
+ import './Text.css';/* empty css */
2
2
  import e from "clsx";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  import n from "dompurify";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Button as e } from "../Button/Button.esm.js";
3
3
  import { InputWrapper as t } from "../Input/InputWrapper.esm.js";
4
- import './TimePicker.css';/* empty css */
4
+ import './TimePicker.css';/* empty css */
5
5
  import { resolveLocale as n } from "./utilities.esm.js";
6
6
  import { TimePickerDisplay as r } from "./TimePickerDisplay.esm.js";
7
7
  import { useEffect as i, useState as a } from "react";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { Input as e } from "../Input/Input2.esm.js";
3
- import './Toggle.css';/* empty css */
2
+ import { Input as e } from "../Input/Input.esm.js";
3
+ import './Toggle.css';/* empty css */
4
4
  import t from "clsx";
5
5
  import { jsx as n } from "react/jsx-runtime";
6
6
  //#region src/components/Toggle/Toggle.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import './Tooltip.css';/* empty css */
2
+ import './Tooltip.css';/* empty css */
3
3
  import { useEffect as e, useState as t } from "react";
4
4
  import n from "clsx";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";