mado-ui 0.3.2 → 0.4.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/index.css +41 -6
- package/dist/components/button.d.ts +3 -23
- package/dist/components/details.d.ts +2 -2
- package/dist/components/drop-down.d.ts +1 -1
- package/dist/components/form/fieldset.d.ts +35 -7
- package/dist/components/form/index.d.ts +5 -6
- package/dist/components/form/input/date/index.d.ts +36 -0
- package/dist/components/form/input/index.d.ts +78 -12
- package/dist/components/form/submit-button.d.ts +1 -1
- package/dist/components/form/textarea.d.ts +1 -1
- package/dist/components/ghost.d.ts +1 -1
- package/dist/components/heading.d.ts +1 -1
- package/dist/components/iframe.d.ts +15 -0
- package/dist/components/index.d.ts +10 -11
- package/dist/components/link.d.ts +3 -14
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/time.d.ts +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components.esm.js +466 -122
- package/dist/components.esm.js.map +1 -1
- package/dist/components.js +465 -119
- package/dist/components.js.map +1 -1
- package/dist/hooks/index.d.ts +4 -3
- package/dist/hooks/use-fieldset-context.d.ts +22 -0
- package/dist/hooks/use-form-context.d.ts +18 -10
- package/dist/hooks.esm.js +99 -5
- package/dist/hooks.esm.js.map +1 -1
- package/dist/hooks.js +100 -3
- package/dist/hooks.js.map +1 -1
- package/dist/icons/3-people.d.ts +2 -2
- package/dist/icons/3-rectangles-desktop-fill.d.ts +2 -2
- package/dist/icons/3-rectangles-desktop.d.ts +2 -2
- package/dist/icons/airplane.d.ts +2 -2
- package/dist/icons/arrow-triangle-2-circlepath-circle-fill.d.ts +2 -2
- package/dist/icons/arrow-triangle-2-circlepath-circle.d.ts +2 -2
- package/dist/icons/bag-fill.d.ts +2 -2
- package/dist/icons/banknote.d.ts +2 -2
- package/dist/icons/bell-fill.d.ts +2 -2
- package/dist/icons/bolt-car.d.ts +2 -2
- package/dist/icons/bolt-fill.d.ts +2 -2
- package/dist/icons/bolt-ring-closed.d.ts +2 -2
- package/dist/icons/bolt-trianglebadge-exclamationmark.d.ts +2 -2
- package/dist/icons/book-fill.d.ts +2 -2
- package/dist/icons/bookmark-fill.d.ts +2 -2
- package/dist/icons/briefcase-fill.d.ts +2 -2
- package/dist/icons/bubble-left-fill.d.ts +2 -2
- package/dist/icons/building-2-fill.d.ts +2 -2
- package/dist/icons/calendar.d.ts +2 -2
- package/dist/icons/camera-fill.d.ts +2 -2
- package/dist/icons/car-fill.d.ts +2 -2
- package/dist/icons/cart-fill.d.ts +2 -2
- package/dist/icons/chart-bar-doc-horizontal.d.ts +2 -2
- package/dist/icons/checkmark-seal.d.ts +2 -2
- package/dist/icons/checkmark.d.ts +2 -2
- package/dist/icons/chevron-down.d.ts +2 -2
- package/dist/icons/chevron-left-forwardslash-chevron-right.d.ts +2 -2
- package/dist/icons/chevron-left.d.ts +2 -2
- package/dist/icons/chevron-right.d.ts +2 -2
- package/dist/icons/chevron-up-chevron-down.d.ts +2 -2
- package/dist/icons/circle-fill.d.ts +2 -2
- package/dist/icons/clock-badge-checkmark.d.ts +2 -2
- package/dist/icons/clock-fill.d.ts +2 -2
- package/dist/icons/cloud-fill.d.ts +2 -2
- package/dist/icons/cube-fill.d.ts +2 -2
- package/dist/icons/curve-point-left.d.ts +2 -2
- package/dist/icons/dial-high.d.ts +2 -2
- package/dist/icons/doc-fill.d.ts +2 -2
- package/dist/icons/doc-on-clipboard.d.ts +2 -2
- package/dist/icons/doc-on-doc-fill.d.ts +2 -2
- package/dist/icons/doc-on-doc.d.ts +2 -2
- package/dist/icons/doc-text-magnifyingglass.d.ts +2 -2
- package/dist/icons/dollar-sign.d.ts +2 -2
- package/dist/icons/ellipsis-circle-fill.d.ts +2 -2
- package/dist/icons/ellipsis-circle.d.ts +2 -2
- package/dist/icons/envelope-fill.d.ts +2 -2
- package/dist/icons/envelope.d.ts +2 -2
- package/dist/icons/exclamationmark-octagon.d.ts +2 -2
- package/dist/icons/eye.d.ts +2 -2
- package/dist/icons/figure-water-fitness.d.ts +2 -2
- package/dist/icons/flag-fill.d.ts +2 -2
- package/dist/icons/flame-fill.d.ts +2 -2
- package/dist/icons/folder-fill.d.ts +2 -2
- package/dist/icons/folder.d.ts +2 -2
- package/dist/icons/gearshape-fill.d.ts +2 -2
- package/dist/icons/gearshape.d.ts +2 -2
- package/dist/icons/gift-fill.d.ts +2 -2
- package/dist/icons/globe-americas-fill.d.ts +2 -2
- package/dist/icons/hare-fill.d.ts +2 -2
- package/dist/icons/house-deskclock.d.ts +2 -2
- package/dist/icons/house-fill.d.ts +2 -2
- package/dist/icons/house.d.ts +2 -2
- package/dist/icons/iphone-house.d.ts +2 -2
- package/dist/icons/light-ribbon.d.ts +2 -2
- package/dist/icons/lightbulb-fill.d.ts +2 -2
- package/dist/icons/lightbulb-led.d.ts +2 -2
- package/dist/icons/list-bullet-clipboard-fill.d.ts +2 -2
- package/dist/icons/magnifyingglass.d.ts +2 -2
- package/dist/icons/map-pin-ellipse.d.ts +2 -2
- package/dist/icons/minus-plus-batterblock.d.ts +2 -2
- package/dist/icons/network-shield.d.ts +2 -2
- package/dist/icons/network.d.ts +2 -2
- package/dist/icons/newspaper-fill.d.ts +2 -2
- package/dist/icons/number.d.ts +2 -2
- package/dist/icons/paperplane-fill.d.ts +2 -2
- package/dist/icons/person-crop-square.d.ts +2 -2
- package/dist/icons/person-fill-questionmark.d.ts +2 -2
- package/dist/icons/person-fill.d.ts +2 -2
- package/dist/icons/person.d.ts +2 -2
- package/dist/icons/phone-arrow-up-right.d.ts +2 -2
- package/dist/icons/phone-fill.d.ts +2 -2
- package/dist/icons/phone.d.ts +2 -2
- package/dist/icons/play-rectangle-fill.d.ts +2 -2
- package/dist/icons/plus.d.ts +2 -2
- package/dist/icons/qrcode.d.ts +2 -2
- package/dist/icons/rectangle-portrait-and-arrow-left-fill.d.ts +2 -2
- package/dist/icons/rectangle-portrait-and-arrow-left.d.ts +2 -2
- package/dist/icons/sensor.d.ts +2 -2
- package/dist/icons/signature.d.ts +2 -2
- package/dist/icons/solar-panel.d.ts +2 -2
- package/dist/icons/square-and-arrow-down-fill.d.ts +2 -2
- package/dist/icons/square-and-arrow-down.d.ts +2 -2
- package/dist/icons/square-and-arrow-up-fill.d.ts +2 -2
- package/dist/icons/square-and-arrow-up.d.ts +2 -2
- package/dist/icons/square-and-pencil-fill.d.ts +2 -2
- package/dist/icons/square-and-pencil.d.ts +2 -2
- package/dist/icons/text-bubble.d.ts +2 -2
- package/dist/icons/trash-fill.d.ts +2 -2
- package/dist/icons/trash.d.ts +2 -2
- package/dist/icons/tree.d.ts +2 -2
- package/dist/icons/umbrella-fill.d.ts +2 -2
- package/dist/icons/xmark.d.ts +2 -2
- package/dist/icons.esm.js.map +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.esm.js +466 -122
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +465 -119
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/types/utils.d.ts +20 -0
- package/dist/utils/get-date.d.ts +17 -0
- package/dist/utils/index.d.ts +8 -9
- package/dist/utils/string-manipulation.d.ts +38 -3
- package/dist/utils/tw-sort.d.ts +1 -1
- package/dist/utils.esm.js +112 -21
- package/dist/utils.esm.js.map +1 -1
- package/dist/utils.js +113 -20
- package/dist/utils.js.map +1 -1
- package/package.json +4 -4
package/dist/utils.js
CHANGED
|
@@ -658,12 +658,31 @@ function getUserReadableDateFromTimestampz(timestampz) {
|
|
|
658
658
|
const [date, time] = timestampz.split('T') || [];
|
|
659
659
|
const [year, month, day] = date?.split('-').map(string => Number(string)) || [];
|
|
660
660
|
const timezoneIsAheadOfUTC = time?.includes('+');
|
|
661
|
-
const [hms,
|
|
661
|
+
const [hms, timezone] = timezoneIsAheadOfUTC ? time?.split('+') : time?.split('-') || [];
|
|
662
662
|
const [hours, minutes, seconds] = hms?.split(':').map(string => Number(string)) || [];
|
|
663
|
-
|
|
663
|
+
const [timezoneHours, timezoneMinutes] = timezone?.split(':').map(string => Number(string)) || [];
|
|
664
664
|
const dateAndTime = new Date(year, month - 1, day, hours, minutes, seconds), userReadableDateAndTime = getUserReadableDate(dateAndTime);
|
|
665
665
|
return userReadableDateAndTime;
|
|
666
666
|
}
|
|
667
|
+
function getLocalTime(time) {
|
|
668
|
+
const date = new Date(), [hours, minutes] = typeof time === 'string' ? time.split(':') : time;
|
|
669
|
+
const timezone = getTimezone();
|
|
670
|
+
console.log(timezone);
|
|
671
|
+
date.setUTCHours(Number(hours));
|
|
672
|
+
date.setMinutes(Number(minutes));
|
|
673
|
+
return date.toLocaleTimeString([], {
|
|
674
|
+
hour: 'numeric',
|
|
675
|
+
minute: '2-digit',
|
|
676
|
+
hour12: true,
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
function getTimezone() {
|
|
680
|
+
const date = new Date();
|
|
681
|
+
const timezonePart = Intl.DateTimeFormat('en-US', { timeZoneName: 'short' })
|
|
682
|
+
.formatToParts(date)
|
|
683
|
+
.find(part => part.type === 'timeZoneName');
|
|
684
|
+
return timezonePart ? timezonePart.value : '';
|
|
685
|
+
}
|
|
667
686
|
|
|
668
687
|
function findComponentByType(children, componentType) {
|
|
669
688
|
const childrenArray = react.Children.toArray(children);
|
|
@@ -712,25 +731,97 @@ function isPhoneNumber(tel) {
|
|
|
712
731
|
/**
|
|
713
732
|
* # Format Phone Number
|
|
714
733
|
* Converts any string containing at least 10 numbers to a formatted phone number
|
|
715
|
-
* @param {string}
|
|
716
|
-
* @
|
|
734
|
+
* @param {string} phoneNumber
|
|
735
|
+
* @param options
|
|
736
|
+
* @property {string} `countryCode`
|
|
737
|
+
* @property {'continuous' | 'dot' | 'hyphenated' | 'none' | 'space' | 'standard'} `format`
|
|
738
|
+
*
|
|
739
|
+
* Input: a555b555c5555d
|
|
740
|
+
*
|
|
741
|
+
* @example
|
|
742
|
+
* format: 'continuous'
|
|
743
|
+
* countryCode: '1'
|
|
744
|
+
* returns: +1 5555555555
|
|
745
|
+
*
|
|
746
|
+
* @example
|
|
747
|
+
* format: 'dot'
|
|
748
|
+
* returns: 555.555.5555
|
|
749
|
+
*
|
|
750
|
+
* @example
|
|
751
|
+
* format: 'hyphenated'
|
|
752
|
+
* returns: 555-555-5555
|
|
753
|
+
*
|
|
754
|
+
* @example
|
|
755
|
+
* format: 'none'
|
|
756
|
+
* countryCode: '1'
|
|
757
|
+
* returns: +1 a555b555c5555d
|
|
758
|
+
*
|
|
759
|
+
* @example
|
|
760
|
+
* format: 'space'
|
|
761
|
+
* returns: 555 555 5555
|
|
762
|
+
*
|
|
763
|
+
* @example
|
|
764
|
+
* format: 'standard' (default)
|
|
765
|
+
* returns: (555) 555-5555
|
|
766
|
+
*
|
|
767
|
+
* @returns {string} string formatted
|
|
717
768
|
*/
|
|
718
|
-
function formatPhoneNumber(
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
769
|
+
function formatPhoneNumber(phoneNumber, options) {
|
|
770
|
+
const format = options?.format || 'standard';
|
|
771
|
+
if (format !== 'none')
|
|
772
|
+
phoneNumber = phoneNumber.replace(/\D/g, '').slice(-10);
|
|
773
|
+
switch (format) {
|
|
774
|
+
case 'dot':
|
|
775
|
+
phoneNumber = phoneNumber
|
|
776
|
+
.split('')
|
|
777
|
+
.map((char, index) => {
|
|
778
|
+
if (index === 2)
|
|
779
|
+
return `${char}.`;
|
|
780
|
+
if (index === 5)
|
|
781
|
+
return `${char}.`;
|
|
782
|
+
return char;
|
|
783
|
+
})
|
|
784
|
+
.join('');
|
|
785
|
+
break;
|
|
786
|
+
case 'hyphenated':
|
|
787
|
+
phoneNumber = phoneNumber
|
|
788
|
+
.split('')
|
|
789
|
+
.map((char, index) => {
|
|
790
|
+
if (index === 2)
|
|
791
|
+
return `${char}-`;
|
|
792
|
+
if (index === 5)
|
|
793
|
+
return `${char}-`;
|
|
794
|
+
return char;
|
|
795
|
+
})
|
|
796
|
+
.join('');
|
|
797
|
+
break;
|
|
798
|
+
case 'space':
|
|
799
|
+
phoneNumber = phoneNumber
|
|
800
|
+
.split('')
|
|
801
|
+
.map((char, index) => {
|
|
802
|
+
if (index === 2)
|
|
803
|
+
return `${char} `;
|
|
804
|
+
if (index === 5)
|
|
805
|
+
return `${char} `;
|
|
806
|
+
return char;
|
|
807
|
+
})
|
|
808
|
+
.join('');
|
|
809
|
+
break;
|
|
810
|
+
case 'standard':
|
|
811
|
+
phoneNumber = phoneNumber
|
|
812
|
+
.split('')
|
|
813
|
+
.map((char, index) => {
|
|
814
|
+
if (index === 0)
|
|
815
|
+
return `(${char}`;
|
|
816
|
+
if (index === 2)
|
|
817
|
+
return `${char}) `;
|
|
818
|
+
if (index === 5)
|
|
819
|
+
return `${char}-`;
|
|
820
|
+
return char;
|
|
821
|
+
})
|
|
822
|
+
.join('');
|
|
823
|
+
}
|
|
824
|
+
return `${options?.countryCode ? `+${options?.countryCode} ` : ''}` + phoneNumber;
|
|
734
825
|
}
|
|
735
826
|
/**
|
|
736
827
|
* # To Lower Case
|
|
@@ -762,6 +853,7 @@ exports.formatPhoneNumber = formatPhoneNumber;
|
|
|
762
853
|
exports.getDate = getDate;
|
|
763
854
|
exports.getHours = getHours;
|
|
764
855
|
exports.getHoursIn12 = getHoursIn12;
|
|
856
|
+
exports.getLocalTime = getLocalTime;
|
|
765
857
|
exports.getMeridianFromHour = getMeridianFromHour;
|
|
766
858
|
exports.getMilliseconds = getMilliseconds;
|
|
767
859
|
exports.getMinutes = getMinutes;
|
|
@@ -771,6 +863,7 @@ exports.getMonthName = getMonthName;
|
|
|
771
863
|
exports.getNextMonth = getNextMonth;
|
|
772
864
|
exports.getPreviousMonth = getPreviousMonth;
|
|
773
865
|
exports.getSeconds = getSeconds;
|
|
866
|
+
exports.getTimezone = getTimezone;
|
|
774
867
|
exports.getUserReadableDate = getUserReadableDate;
|
|
775
868
|
exports.getUserReadableDateFromTimestampz = getUserReadableDateFromTimestampz;
|
|
776
869
|
exports.getWeekdayName = getWeekdayName;
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../src/utils/class-management.ts","../src/utils/custom-tailwind-merge.ts","../src/utils/get-date.ts","../src/utils/helpers.tsx","../src/utils/math.ts","../src/utils/regex.ts","../src/utils/string-manipulation.ts","../src/utils/tw-sort.ts"],"sourcesContent":["/**\n * ### Has Class\n * - Returns a boolean based on whether the specified element has the specified class\n * @param {HTMLElement} element Any HTML Element\n * @param {string} className A string of any class to check for\n * @returns {boolean} true if the specified element has the specified class, else false\n */\nexport function hasClass(element: HTMLElement, className: string): boolean {\n return element.classList.contains(className)\n}\n\n/**\n * ### Add Class\n * - Adds the specified classes to the specified elements\n * @param {Element|HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)\n * @param {string|string[]} classList A string or an array of classes to add to each element\n */\nexport function addClass(\n elements: Element | HTMLElement | HTMLElement[] | NodeList | string,\n classList: string | string[],\n) {\n const elementsType = elements.constructor.name,\n elementsIsString = typeof elements === 'string',\n classListType = classList.constructor.name,\n classListIsString = typeof classList === 'string'\n\n let elementList: HTMLElement[] | undefined,\n classListGroup: string[] | undefined\n\n // & Convert elements to array\n switch (elementsType) {\n // Selector\n case 'String':\n if (elementsIsString)\n elementList = Array.from(document.querySelectorAll(elements))\n break\n // Multiple HTML Elements\n case 'NodeList':\n if (!elementsIsString)\n elementList = Array.from(elements as NodeList) as HTMLElement[]\n break\n // Array of Elements\n case 'Array':\n if (!elementsIsString) elementList = elements as HTMLElement[]\n break\n // Single HTML Element\n default:\n if (elementsType.startsWith('HTML') && !elementsIsString)\n elementList = [elements as Element & HTMLElement]\n }\n\n // & Convert classList to array\n switch (classListType) {\n case 'String':\n if (classListIsString)\n if (classList.split(' ').length >= 2) {\n classListGroup = classList.split(' ')\n } else {\n classListGroup = [classList]\n }\n break\n case 'Array':\n if (!classListIsString) classListGroup = classList\n break\n }\n\n if (!elementList || elementList.length < 1)\n throw new Error(\n `Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`,\n )\n\n if (!classListGroup || classListGroup.length < 1)\n throw new Error(\n `Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`,\n )\n\n elementList.forEach((element) =>\n classListGroup.forEach((classItem) => {\n if (hasClass(element, classItem)) return\n element.classList.add(classItem)\n }),\n )\n}\n\n/**\n * ### Remove Class\n * - Removes the specified classes from the specified elements\n * @param {HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)\n * @param {string|string[]} classList A string or an array of classes to remove from each element\n */\nexport function removeClass(\n elements: HTMLElement | HTMLElement[] | NodeList | string,\n classList: string | string[],\n) {\n const elementsType = elements.constructor.name,\n elementsIsString = typeof elements === 'string',\n classListType = classList.constructor.name,\n classListIsString = typeof classList === 'string'\n\n let elementList: HTMLElement[] | undefined,\n classListGroup: string[] | undefined\n\n // & Convert elements to array\n switch (elementsType) {\n // Selector\n case 'String':\n if (elementsIsString)\n elementList = Array.from(document.querySelectorAll(elements))\n break\n // Multiple HTML Elements\n case 'NodeList':\n if (!elementsIsString)\n elementList = Array.from(elements as NodeList) as HTMLElement[]\n break\n // Array of Elements\n case 'Array':\n if (!elementsIsString) elementList = elements as HTMLElement[]\n break\n // Single HTML Element\n default:\n if (elementsType.startsWith('HTML') && !elementsIsString)\n elementList = [elements as Element & HTMLElement]\n }\n\n // & Convert classList to array\n switch (classListType) {\n case 'String':\n if (classListIsString)\n if (classList.split(' ').length >= 2) {\n classListGroup = classList.split(' ')\n } else {\n classListGroup = [classList]\n }\n break\n case 'Array':\n if (!classListIsString) classListGroup = classList\n break\n }\n\n if (!elementList || elementList.length < 1)\n throw new Error(\n `Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`,\n )\n\n if (!classListGroup || classListGroup.length < 1)\n throw new Error(\n `Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`,\n )\n\n elementList.forEach((element) =>\n classListGroup.forEach((classItem) => {\n if (!hasClass(element, classItem)) return\n element.classList.remove(classItem)\n }),\n )\n}\n\n/**\n * ### Toggle Class\n * - Toggles the specified classes on the specified elements\n * @param {HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)\n * @param {string|string[]} classList A string or an array of classes to toggle on each element\n */\nexport function toggleClass(\n elements: HTMLElement | HTMLElement[] | NodeList | string,\n classList: string | string[],\n) {\n const elementsType = elements.constructor.name,\n elementsIsString = typeof elements === 'string',\n classListType = classList.constructor.name,\n classListIsString = typeof classList === 'string'\n\n let elementList: HTMLElement[] | undefined,\n classListGroup: string[] | undefined\n\n // & Convert elements to array\n switch (elementsType) {\n // Selector\n case 'String':\n if (elementsIsString)\n elementList = Array.from(document.querySelectorAll(elements))\n break\n // Multiple HTML Elements\n case 'NodeList':\n if (!elementsIsString)\n elementList = Array.from(elements as NodeList) as HTMLElement[]\n break\n // Array of Elements\n case 'Array':\n if (!elementsIsString) elementList = elements as HTMLElement[]\n break\n // Single HTML Element\n default:\n if (elementsType.startsWith('HTML') && !elementsIsString)\n elementList = [elements as Element & HTMLElement]\n }\n\n // & Convert classList to array\n switch (classListType) {\n case 'String':\n if (classListIsString)\n if (classList.split(' ').length >= 2) {\n classListGroup = classList.split(' ')\n } else {\n classListGroup = [classList]\n }\n break\n case 'Array':\n if (!classListIsString) classListGroup = classList\n break\n }\n\n if (!elementList || elementList.length < 1)\n throw new Error(\n `Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`,\n )\n\n if (!classListGroup || classListGroup.length < 1)\n throw new Error(\n `Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`,\n )\n\n elementList.forEach((element) =>\n classListGroup.forEach((classItem) => {\n element.classList.toggle(classItem)\n }),\n )\n}\n","import { ConfigExtension, DefaultClassGroupIds, DefaultThemeGroupIds, extendTailwindMerge } from 'tailwind-merge'\n\nexport type AdditionalmadoClassGroupIds =\n\t| 'animation-direction'\n\t| 'animation-fill'\n\t| 'animation-iteration'\n\t| 'animation-state'\n\nconst integerList = Array.from({ length: 100 }, (_, i) => `${i + 1}`)\n\nexport const twMerge = extendTailwindMerge<AdditionalmadoClassGroupIds>({\n\textend: {\n\t\ttheme: {\n\t\t\tcolor: [\n\t\t\t\t{\n\t\t\t\t\tui: [\n\t\t\t\t\t\t'red',\n\t\t\t\t\t\t'orange',\n\t\t\t\t\t\t'yellow',\n\t\t\t\t\t\t'green',\n\t\t\t\t\t\t'sky-blue',\n\t\t\t\t\t\t'blue',\n\t\t\t\t\t\t'violet',\n\t\t\t\t\t\t'magenta',\n\t\t\t\t\t\t'purple',\n\t\t\t\t\t\t'brown',\n\t\t\t\t\t\t'grey',\n\t\t\t\t\t\t'pink',\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t\tclassGroups: {\n\t\t\tanimate: [\n\t\t\t\t{\n\t\t\t\t\tanimate: [\n\t\t\t\t\t\t'bounce',\n\t\t\t\t\t\t'double-spin',\n\t\t\t\t\t\t'drop-in',\n\t\t\t\t\t\t'flip',\n\t\t\t\t\t\t'flip-again',\n\t\t\t\t\t\t'grid-rows',\n\t\t\t\t\t\t'heartbeat',\n\t\t\t\t\t\t'ping',\n\t\t\t\t\t\t'pulse',\n\t\t\t\t\t\t'slide-up',\n\t\t\t\t\t\t'spin',\n\t\t\t\t\t\t'wave',\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-direction': [\n\t\t\t\t{\n\t\t\t\t\t'animation-direction': ['normal', 'reverse', 'alternate', 'alternate-reverse'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-fill': [\n\t\t\t\t{\n\t\t\t\t\t'animation-fill': ['none', 'forwards', 'backwards', 'both'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-iteration': [\n\t\t\t\t{\n\t\t\t\t\t'animation-iteration': [...integerList, 'infinite'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-state': [\n\t\t\t\t{\n\t\t\t\t\t'animation-state': ['running', 'paused'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'grid-cols': [\n\t\t\t\t{\n\t\t\t\t\t'grid-cols': ['0fr', '1fr'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'grid-rows': [\n\t\t\t\t{\n\t\t\t\t\t'grid-rows': ['0fr', '1fr'],\n\t\t\t\t},\n\t\t\t],\n\t\t\ttransition: ['transition-rows'],\n\t\t},\n\t},\n})\n\nexport function extendMadoTailwindMerge<\n\tAdditionalClassGroupIds extends string = AdditionalmadoClassGroupIds,\n\tAdditionalThemeGroupIds extends string = never,\n>(\n\tconfigExtension: ConfigExtension<\n\t\tDefaultClassGroupIds | AdditionalClassGroupIds,\n\t\tDefaultThemeGroupIds | AdditionalThemeGroupIds\n\t>,\n) {\n\tconst extend = configExtension.extend || {}\n\tconst theme = extend.theme || {}\n\tconst color = 'color' in theme ? theme.color : []\n\tconst classGroups = extend.classGroups || {}\n\n\tconst themeRest = { ...theme }\n\tif ('color' in themeRest) delete themeRest.color\n\n\tconst extendRest = { ...extend }\n\tdelete extendRest.theme\n\tdelete extendRest.classGroups\n\n\treturn extendTailwindMerge<AdditionalClassGroupIds, AdditionalThemeGroupIds>({\n\t\textend: {\n\t\t\ttheme: {\n\t\t\t\tcolor: [\n\t\t\t\t\t{\n\t\t\t\t\t\tui: [\n\t\t\t\t\t\t\t'red',\n\t\t\t\t\t\t\t'orange',\n\t\t\t\t\t\t\t'yellow',\n\t\t\t\t\t\t\t'green',\n\t\t\t\t\t\t\t'sky-blue',\n\t\t\t\t\t\t\t'blue',\n\t\t\t\t\t\t\t'violet',\n\t\t\t\t\t\t\t'magenta',\n\t\t\t\t\t\t\t'purple',\n\t\t\t\t\t\t\t'brown',\n\t\t\t\t\t\t\t'grey',\n\t\t\t\t\t\t\t'pink',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t...(color as { [key: string]: string[] }[]),\n\t\t\t\t],\n\t\t\t\t...themeRest,\n\t\t\t} as { [key: string]: { [key: string]: string[] }[] } | any,\n\t\t\tclassGroups: {\n\t\t\t\tanimate: [\n\t\t\t\t\t{\n\t\t\t\t\t\tanimate: [\n\t\t\t\t\t\t\t'bounce',\n\t\t\t\t\t\t\t'double-spin',\n\t\t\t\t\t\t\t'drop-in',\n\t\t\t\t\t\t\t'flip',\n\t\t\t\t\t\t\t'flip-again',\n\t\t\t\t\t\t\t'grid-rows',\n\t\t\t\t\t\t\t'heartbeat',\n\t\t\t\t\t\t\t'ping',\n\t\t\t\t\t\t\t'pulse',\n\t\t\t\t\t\t\t'slide-up',\n\t\t\t\t\t\t\t'spin',\n\t\t\t\t\t\t\t'wave',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-direction': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-direction': ['normal', 'reverse', 'alternate', 'alternate-reverse'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-fill': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-fill': ['none', 'forwards', 'backwards', 'both'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-iteration': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-iteration': [...integerList, 'infinite'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-state': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-state': ['running', 'paused'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'grid-cols': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'grid-cols': ['0fr', '1fr'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'grid-rows': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'grid-rows': ['0fr', '1fr'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\ttransition: ['transition-rows'],\n\t\t\t\t...classGroups,\n\t\t\t} as { [key: string]: { [key: string]: string[] }[] } | any,\n\t\t\t...extendRest,\n\t\t},\n\t\t...configExtension,\n\t})\n}\n","export type MonthName =\n\t| 'January'\n\t| 'February'\n\t| 'March'\n\t| 'April'\n\t| 'May'\n\t| 'June'\n\t| 'July'\n\t| 'August'\n\t| 'September'\n\t| 'October'\n\t| 'November'\n\t| 'December'\n\nexport type WeekdayName = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'\n\n/** The current date as a Date object */\nconst d = new Date()\n\n/** The current minute of the current hour */\nconst minutes = d.getMinutes()\n\n/** The current year */\nconst year = d.getFullYear()\n\n/** An array of the names of month in order */\nexport const monthNamesList: MonthName[] = [\n\t'January',\n\t'February',\n\t'March',\n\t'April',\n\t'May',\n\t'June',\n\t'July',\n\t'August',\n\t'September',\n\t'October',\n\t'November',\n\t'December',\n]\n\n/** An array of the names of the days of the week in order */\nexport const weekdayNamesList: WeekdayName[] = [\n\t'Sunday',\n\t'Monday',\n\t'Tuesday',\n\t'Wednesday',\n\t'Thursday',\n\t'Friday',\n\t'Saturday',\n]\n\n/** The name of the current month */\nexport const currentMonthName = getMonthName()\n\n/** The name of the current day of the week */\nexport const currentWeekdayName = getWeekdayName()\n\n/**\n * ### Days In Month\n * - Returns the number of days in the specified month.\n * @param {Date} date A Date object representing the month to get the number of days for. (Preset to the current date)\n * @returns {number} The number of days in the specified month.\n */\nexport function daysInMonth(date: Date = d): number {\n\tconst selectedYear = date.getFullYear(),\n\t\tselectedMonth = date.getMonth() + 1\n\treturn new Date(selectedYear, selectedMonth, 0).getDate()\n}\n\n/**\n * ### First of Month\n * - Returns the first day of the specified month.\n * @param {Date} date A Date object representing the month to get the first day for. (Preset to current date)\n * @returns {Date} A Date object of the given month, with the first day.\n */\nexport function firstOfMonth(date: Date = d): Date {\n\t// Return a new Date object with the first of the month selected\n\treturn new Date(date.getFullYear(), date.getMonth(), 1)\n}\n\n/**\n * ### Get Date\n * - Returns the date with two digits\n * @param {number|Date} date The date to get date\n * @returns {string} The date with two digits\n */\nexport function getDate(date: number | Date = d): string {\n\tif (typeof date !== 'number') date = date.getDate()\n\tlet formattedDate = date.toString()\n\tif (formattedDate.length === 1) formattedDate = `0${formattedDate}`\n\treturn formattedDate\n}\n\n/**\n * ### Get Hours\n * - Returns the hours with two digits\n * @param {number|Date} hours The date to get hours\n * @returns {string} The hours with two digits\n */\nexport function getHours(hours: number | Date = d): string {\n\tif (typeof hours !== 'number') hours = hours.getHours()\n\tlet formattedHours = hours.toString()\n\tif (formattedHours.length === 1) formattedHours = `0${formattedHours}`\n\treturn formattedHours\n}\n\n/**\n * ### Get Hours in 12\n * - Returns the hour based on the specified 24 hour value in a 12 hour format\n * @param {number|Date} hour The hour to be converted to 12 hour format\n * @returns {number} The hour in a 12 hour format\n */\nexport function getHoursIn12(hour: number | Date = d): number {\n\tif (typeof hour !== 'number') hour = hour.getHours()\n\tif (hour > 12) return hour - 12\n\treturn hour\n}\n\n/**\n * ### Get Meridian from Hour\n * - Returns either 'pm' or 'am' based on the specified 24 hour value\n * @param {number|Date} hour The hour to get the meridian from\n * @returns {'am'|'pm'} The meridian for the given hour\n */\nexport function getMeridianFromHour(hour: number | Date = d): 'am' | 'pm' {\n\tif (typeof hour !== 'number') hour = hour.getHours()\n\tif (hour >= 12) return 'pm'\n\treturn 'am'\n}\n\n/**\n * ### Get Milliseconds\n * - Returns the milliseconds with two digits\n * @param {number|Date} milliseconds The date to get milliseconds\n * @returns {string} The milliseconds with two digits\n */\nexport function getMilliseconds(milliseconds: number | Date = d): string {\n\tif (typeof milliseconds !== 'number') milliseconds = milliseconds.getMilliseconds()\n\tlet formattedMilliseconds = minutes.toString()\n\tif (formattedMilliseconds.length === 1) formattedMilliseconds = `0${formattedMilliseconds}`\n\treturn formattedMilliseconds\n}\n\n/**\n * ### Get Minutes\n * - Returns the minutes with two digits\n * @param {number|Date} minutes The date to get minutes\n * @returns {string} The minutes with two digits\n */\nexport function getMinutes(minutes: number | Date = d): string {\n\tif (typeof minutes !== 'number') minutes = minutes.getMinutes()\n\tlet formattedMinutes = minutes.toString()\n\tif (formattedMinutes.length === 1) formattedMinutes = `0${formattedMinutes}`\n\treturn formattedMinutes\n}\n\n/**\n * ### Get Month\n * - Returns the month with two digits\n * @param {number|Date} month The date to get month\n * @returns {string} The month with two digits\n */\nexport function getMonth(month: number | Date = d): string {\n\tif (typeof month !== 'number') month = month.getMonth() + 1\n\tlet formattedMonth = month.toString()\n\tif (formattedMonth.length === 1) formattedMonth = `0${formattedMonth}`\n\treturn formattedMonth\n}\n\nexport function getMonthIndexFromName(name: MonthName): number {\n\treturn monthNamesList.findIndex(monthName => monthName === name)\n}\n\n/**\n * ### Get Month Name\n * - Returns the name of the specified month\n * @param {Date} date A Date object representing the month to get the name of the month from. (Preset to the current date)\n * @returns {MonthName} The name of the specified month\n */\nexport function getMonthName(date: number | Date = d): MonthName {\n\tif (typeof date === 'number') return monthNamesList[date]\n\treturn monthNamesList[date.getMonth()]\n}\n\n/**\n * ### Get Next Month\n * - Returns the number of the following month from the specified month\n * @param {Date} date The Date object representing the month to get the following month from (Preset to current date)\n * @returns {number} The indexed month of the following month\n */\nexport function getNextMonth(date: Date = d): number {\n\tconst givenMonth = date.getMonth() // Get the month from date\n\t// Return the indexed month. min 0, max 11\n\treturn givenMonth === 11 ? 0 : givenMonth + 1\n}\n\n/**\n * ### Get Previous Month\n * - Returns the number of the previous month from the specified month\n * @param {Date} date The Date object representing the month to get the previous month from (Preset to current date)\n * @returns {number} The indexed month of the previous month\n */\nexport function getPreviousMonth(date: Date = d): number {\n\tconst givenMonth = date.getMonth() // Get the month from date\n\t// Return the indexed month. min 0, max 11\n\treturn givenMonth === 0 ? 11 : givenMonth - 1\n}\n\n/**\n * ### Get Seconds\n * - Returns the seconds with two digits\n * @param {number|Date} seconds The date to get seconds\n * @returns {string} The seconds with two digits\n */\nexport function getSeconds(seconds: number | Date = d): string {\n\tif (typeof seconds !== 'number') seconds = seconds.getSeconds()\n\tlet formattedSeconds = seconds.toString()\n\tif (formattedSeconds.length === 1) formattedSeconds = `0${formattedSeconds}`\n\treturn formattedSeconds\n}\n\n/**\n * ### Get User Readable Date\n * - Returns a string of the current date in a user-friendly way\n * - Includes `'Yesterday'`, '`Today'`, and `'Tomorrow'`\n * @param date (default: `new Date()`)\n * @returns {'Today'|'Tomorrow'|'Yesterday'|string} `'weekday, month day, year'` | `'Yesterday'` | `'Today'` | `'Tomorrow'`\n */\nexport function getUserReadableDate(date: Date = d): 'Today' | 'Tomorrow' | 'Yesterday' | string {\n\tconst dateTime = date.getTime()\n\n\tconst today = new Date(),\n\t\tisToday = dateTime === today.getTime()\n\n\tif (isToday) return 'Today'\n\n\tconst yesterday = new Date(today.getDate() - 1),\n\t\tisYesterday = dateTime === yesterday.getTime()\n\n\tif (isYesterday) return 'Yesterday'\n\n\tconst tomorrow = new Date(today.getDate() + 1),\n\t\tisTomorrow = dateTime === tomorrow.getTime()\n\n\tif (isTomorrow) return 'Tomorrow'\n\n\tconst thisYear = today.getFullYear(),\n\t\tisSameYear = date.getFullYear() === thisYear\n\n\tconst fullDateString = toFullDateString(date, {\n\t\tweekday: 'code',\n\t\tyear: !isSameYear,\n\t})\n\n\treturn fullDateString\n}\n\n/**\n * ### Get Weekday Name\n * - Returns the weekday name of the specified day\n * @param {number | Date} weekday A Date object or number representing the day to get the weekday name from. (Preset to the current date)\n * @returns {WeekdayName} The name of the specified weekday\n */\nexport function getWeekdayName(weekday: number | Date = d): WeekdayName {\n\tif (typeof weekday === 'number') return weekdayNamesList[weekday]\n\t// Return the name of the day of the week\n\treturn weekdayNamesList[weekday.getDay()]\n}\n\n/**\n * ### Get Years in Range\n * - Returns an array of years in between the specified minimum and maximum years\n * @param {number} minYear The minimum year\n * @param {number} maxYear The maximum year\n * @returns {number[]} Array of years\n */\nexport function getYearsInRange(minYear: number = 0, maxYear: number = year): number[] {\n\tconst yearList = []\n\n\tfor (let selectedYear = minYear; selectedYear <= maxYear; selectedYear++) {\n\t\tyearList.push(selectedYear)\n\t}\n\n\treturn yearList\n}\n\n/** Change how to display the weekday, month name, day of the month, and year. */\ntype ToFullDateStringOptionsProps = Partial<{\n\t/** Inclusion of the day of the month. (default: `true`) */\n\tday: boolean\n\t/** Inclusion of the month name. (default: `true`/`'full'`) */\n\tmonth: boolean | 'full' | 'code'\n\t/** Inclusion of the day of the week. (default: `true`/`'full'`) */\n\tweekday: boolean | 'full' | 'code'\n\t/** Inclusion of the year. (default: `true`) */\n\tyear: boolean | 'full' | 'code'\n}>\n\n/**\n * ### To Full Date String\n * - Returns a formatted string to display the date\n * @param {Date} date (default: `new Date()`)\n * @param {ToFullDateStringOptionsProps} options Change how to display the weekday, month name, day of the month, and year.\n * @returns {string} '`weekday`, `month` `day`, `year`'\n */\nexport function toFullDateString(date: Date = d, options?: ToFullDateStringOptionsProps): string {\n\tlet weekdayName: string = getWeekdayName(date),\n\t\tmonthName: string = getMonthName(date),\n\t\tdayOfMonth: number | string = date.getDate(),\n\t\tyear = date.getFullYear().toString()\n\n\tif (options) {\n\t\tconst includesWeekday = options.weekday !== false,\n\t\t\tincludesDay = options.day !== false,\n\t\t\tincludesMonth = options.month !== false,\n\t\t\tincludesYear = options.year !== false\n\n\t\tif (includesWeekday) {\n\t\t\tif (options.weekday === 'code') weekdayName = weekdayName.slice(0, 3)\n\n\t\t\tif (includesMonth || includesDay || includesYear) weekdayName += ', '\n\t\t} else {\n\t\t\tweekdayName = ''\n\t\t}\n\n\t\tif (includesMonth) {\n\t\t\tif (options.month === 'code') monthName = monthName.slice(0, 3)\n\n\t\t\tif (includesDay) monthName += ' '\n\t\t} else {\n\t\t\tmonthName = ''\n\t\t}\n\n\t\tif (!includesDay) dayOfMonth = ''\n\n\t\tif (includesYear) {\n\t\t\tif (options.year === 'code') year = year.slice(-2)\n\n\t\t\tif (includesMonth || includesDay) year = ', ' + year\n\t\t} else {\n\t\t\tyear = ''\n\t\t}\n\t}\n\n\treturn weekdayName + monthName + dayOfMonth + year\n}\n\n/**\n * ### Get User Readable Date From Timestampz\n * - Returns a string of the current date in a user-friendly way\n * - Includes `'Yesterday'`, '`Today'`, and `'Tomorrow'`\n * @param string\n * @returns {'Today'|'Tomorrow'|'Yesterday'|string} `'weekday, month day, year'` | `'Yesterday'` | `'Today'` | `'Tomorrow'`\n */\nexport function getUserReadableDateFromTimestampz(timestampz: string): 'Today' | 'Tomorrow' | 'Yesterday' | string {\n\tconst [date, time] = timestampz.split('T') || []\n\n\tconst [year, month, day] = date?.split('-').map(string => Number(string)) || []\n\n\tconst timezoneIsAheadOfUTC = time?.includes('+')\n\n\tconst [hms, _timezone] = timezoneIsAheadOfUTC ? time?.split('+') : time?.split('-') || []\n\n\tconst [hours, minutes, seconds] = hms?.split(':').map(string => Number(string)) || []\n\n\t// const [timezoneHours, timezoneMinutes] = timezone?.split(':').map(string => Number(string)) || []\n\n\tconst dateAndTime = new Date(year, month - 1, day, hours, minutes, seconds),\n\t\tuserReadableDateAndTime = getUserReadableDate(dateAndTime)\n\n\treturn userReadableDateAndTime\n}\n","import { Children, ElementType, Fragment, isValidElement, ReactElement, ReactNode } from 'react'\n\nexport function findComponentByType<P extends { children?: ReactNode; [key: string]: any } = { children?: ReactNode }>(\n\tchildren: ReactNode,\n\tcomponentType: ElementType,\n): ReactElement<P> | null {\n\tconst childrenArray = Children.toArray(children)\n\n\tfor (const child of childrenArray) {\n\t\tif (isValidElement(child) && child.type === componentType) return child as ReactElement<P>\n\t}\n\n\tfor (const child of childrenArray) {\n\t\tif (isValidElement(child)) {\n\t\t\tif (child.type === Fragment && (child as ReactElement<P>).props.children) {\n\t\t\t\tconst found = findComponentByType<P>((child as ReactElement<P>).props.children, componentType)\n\n\t\t\t\tif (found) return found as ReactElement<P>\n\t\t\t} else if ((child as ReactElement<P>).props.children) {\n\t\t\t\tconst found = findComponentByType<P>((child as ReactElement<P>).props.children, componentType)\n\n\t\t\t\tif (found) return found as ReactElement<P>\n\t\t\t}\n\t\t}\n\t}\n\n\treturn null\n}\n","export function easeOutExpo(time: number, start: number, end: number, duration: number) {\n\treturn time == duration ? start + end : end * (-Math.pow(2, (-10 * time) / duration) + 1) + start\n}\n","export const emailRegex =\n\t/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n\n/**\n * # Is Email\n * Checks whether the specified string is in email format\n */\nexport function isEmail(email: string) {\n\treturn emailRegex.test(email)\n}\n\nexport const telRegex =\n\t/(?:\\+1\\s|1\\s|)?\\d{3}\\.\\d{3}\\.\\d{4}|(?:\\+1\\s|1\\s|)?\\d{3}-\\d{3}-\\d{4}|(?:\\+1\\s|1\\s|)?\\(\\d{3}\\) \\d{3}-\\d{4}|(?:\\+1\\s|1\\s|\\+1|1|)?\\d{10}/\n\n/**\n * # Is Phone Number\n * Checks whether the specified string is in phone number format\n */\nexport function isPhoneNumber(tel: string) {\n\treturn telRegex.test(tel)\n}\n","/**\n * # Format Phone Number\n * Converts any string containing at least 10 numbers to a formatted phone number\n * @param {string} string\n * @returns {string} string formatted (000) 000-0000\n */\nexport function formatPhoneNumber(string: string, countryCode?: string): string {\n\treturn (\n\t\t`${countryCode ? `+${countryCode} ` : ''}` +\n\t\tstring\n\t\t\t.replace(/\\D/g, '')\n\t\t\t.slice(-10)\n\t\t\t.split('')\n\t\t\t.map((char, index) => {\n\t\t\t\tif (index === 0) return `(${char}`\n\t\t\t\tif (index === 2) return `${char}) `\n\t\t\t\tif (index === 5) return `${char}-`\n\t\t\t\treturn char\n\t\t\t})\n\t\t\t.join('')\n\t)\n}\n\n/**\n * # To Lower Case\n * Converts a string to lowercase, and offers easy string replacements for creating snake case, kebab case, or your own.\n * @param str - The string to convert to lowercase.\n * @param options - Configuration options.\n * @param options[0] - The delimiter to split the string. Defaults to space.\n * @param options[1] - The string to join the parts back together. Defaults to space.\n * @returns The lowercase version of the input string, with the replacements, if provided.\n */\nexport function toLowerCase(str: string, [delimiter, joiner]: [string | undefined, string | undefined]) {\n\treturn str.toLowerCase().replaceAll(delimiter || ' ', joiner || ' ')\n}\n","export default function twSort(className: string) {\n\treturn className\n}\n"],"names":["extendTailwindMerge","Children","isValidElement","Fragment"],"mappings":";;;;;AAAA;;;;;;AAMG;AACG,SAAU,QAAQ,CAAC,OAAoB,EAAE,SAAiB,EAAA;IAC9D,OAAO,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC;AAC9C;AAEA;;;;;AAKG;AACG,SAAU,QAAQ,CACtB,QAAmE,EACnE,SAA4B,EAAA;AAE5B,IAAA,MAAM,YAAY,GAAG,QAAQ,CAAC,WAAW,CAAC,IAAI,EAC5C,gBAAgB,GAAG,OAAO,QAAQ,KAAK,QAAQ,EAC/C,aAAa,GAAG,SAAS,CAAC,WAAW,CAAC,IAAI,EAC1C,iBAAiB,GAAG,OAAO,SAAS,KAAK,QAAQ;IAEnD,IAAI,WAAsC,EACxC,cAAoC;;IAGtC,QAAQ,YAAY;;AAElB,QAAA,KAAK,QAAQ;AACX,YAAA,IAAI,gBAAgB;AAClB,gBAAA,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YAC/D;;AAEF,QAAA,KAAK,UAAU;AACb,YAAA,IAAI,CAAC,gBAAgB;AACnB,gBAAA,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,QAAoB,CAAkB;YACjE;;AAEF,QAAA,KAAK,OAAO;AACV,YAAA,IAAI,CAAC,gBAAgB;gBAAE,WAAW,GAAG,QAAyB;YAC9D;;A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AAU,CAAC,SAAS,IAAI,GAAG,EAAE,MAAM,IAAI,GAAG,CAAC;AACrE;;AClCc,SAAU,MAAM,CAAC,SAAiB,EAAA;AAC/C,IAAA,OAAO,SAAS;AACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../src/utils/class-management.ts","../src/utils/custom-tailwind-merge.ts","../src/utils/get-date.ts","../src/utils/helpers.tsx","../src/utils/math.ts","../src/utils/regex.ts","../src/utils/string-manipulation.ts","../src/utils/tw-sort.ts"],"sourcesContent":["/**\n * ### Has Class\n * - Returns a boolean based on whether the specified element has the specified class\n * @param {HTMLElement} element Any HTML Element\n * @param {string} className A string of any class to check for\n * @returns {boolean} true if the specified element has the specified class, else false\n */\nexport function hasClass(element: HTMLElement, className: string): boolean {\n return element.classList.contains(className)\n}\n\n/**\n * ### Add Class\n * - Adds the specified classes to the specified elements\n * @param {Element|HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)\n * @param {string|string[]} classList A string or an array of classes to add to each element\n */\nexport function addClass(\n elements: Element | HTMLElement | HTMLElement[] | NodeList | string,\n classList: string | string[],\n) {\n const elementsType = elements.constructor.name,\n elementsIsString = typeof elements === 'string',\n classListType = classList.constructor.name,\n classListIsString = typeof classList === 'string'\n\n let elementList: HTMLElement[] | undefined,\n classListGroup: string[] | undefined\n\n // & Convert elements to array\n switch (elementsType) {\n // Selector\n case 'String':\n if (elementsIsString)\n elementList = Array.from(document.querySelectorAll(elements))\n break\n // Multiple HTML Elements\n case 'NodeList':\n if (!elementsIsString)\n elementList = Array.from(elements as NodeList) as HTMLElement[]\n break\n // Array of Elements\n case 'Array':\n if (!elementsIsString) elementList = elements as HTMLElement[]\n break\n // Single HTML Element\n default:\n if (elementsType.startsWith('HTML') && !elementsIsString)\n elementList = [elements as Element & HTMLElement]\n }\n\n // & Convert classList to array\n switch (classListType) {\n case 'String':\n if (classListIsString)\n if (classList.split(' ').length >= 2) {\n classListGroup = classList.split(' ')\n } else {\n classListGroup = [classList]\n }\n break\n case 'Array':\n if (!classListIsString) classListGroup = classList\n break\n }\n\n if (!elementList || elementList.length < 1)\n throw new Error(\n `Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`,\n )\n\n if (!classListGroup || classListGroup.length < 1)\n throw new Error(\n `Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`,\n )\n\n elementList.forEach((element) =>\n classListGroup.forEach((classItem) => {\n if (hasClass(element, classItem)) return\n element.classList.add(classItem)\n }),\n )\n}\n\n/**\n * ### Remove Class\n * - Removes the specified classes from the specified elements\n * @param {HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)\n * @param {string|string[]} classList A string or an array of classes to remove from each element\n */\nexport function removeClass(\n elements: HTMLElement | HTMLElement[] | NodeList | string,\n classList: string | string[],\n) {\n const elementsType = elements.constructor.name,\n elementsIsString = typeof elements === 'string',\n classListType = classList.constructor.name,\n classListIsString = typeof classList === 'string'\n\n let elementList: HTMLElement[] | undefined,\n classListGroup: string[] | undefined\n\n // & Convert elements to array\n switch (elementsType) {\n // Selector\n case 'String':\n if (elementsIsString)\n elementList = Array.from(document.querySelectorAll(elements))\n break\n // Multiple HTML Elements\n case 'NodeList':\n if (!elementsIsString)\n elementList = Array.from(elements as NodeList) as HTMLElement[]\n break\n // Array of Elements\n case 'Array':\n if (!elementsIsString) elementList = elements as HTMLElement[]\n break\n // Single HTML Element\n default:\n if (elementsType.startsWith('HTML') && !elementsIsString)\n elementList = [elements as Element & HTMLElement]\n }\n\n // & Convert classList to array\n switch (classListType) {\n case 'String':\n if (classListIsString)\n if (classList.split(' ').length >= 2) {\n classListGroup = classList.split(' ')\n } else {\n classListGroup = [classList]\n }\n break\n case 'Array':\n if (!classListIsString) classListGroup = classList\n break\n }\n\n if (!elementList || elementList.length < 1)\n throw new Error(\n `Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`,\n )\n\n if (!classListGroup || classListGroup.length < 1)\n throw new Error(\n `Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`,\n )\n\n elementList.forEach((element) =>\n classListGroup.forEach((classItem) => {\n if (!hasClass(element, classItem)) return\n element.classList.remove(classItem)\n }),\n )\n}\n\n/**\n * ### Toggle Class\n * - Toggles the specified classes on the specified elements\n * @param {HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)\n * @param {string|string[]} classList A string or an array of classes to toggle on each element\n */\nexport function toggleClass(\n elements: HTMLElement | HTMLElement[] | NodeList | string,\n classList: string | string[],\n) {\n const elementsType = elements.constructor.name,\n elementsIsString = typeof elements === 'string',\n classListType = classList.constructor.name,\n classListIsString = typeof classList === 'string'\n\n let elementList: HTMLElement[] | undefined,\n classListGroup: string[] | undefined\n\n // & Convert elements to array\n switch (elementsType) {\n // Selector\n case 'String':\n if (elementsIsString)\n elementList = Array.from(document.querySelectorAll(elements))\n break\n // Multiple HTML Elements\n case 'NodeList':\n if (!elementsIsString)\n elementList = Array.from(elements as NodeList) as HTMLElement[]\n break\n // Array of Elements\n case 'Array':\n if (!elementsIsString) elementList = elements as HTMLElement[]\n break\n // Single HTML Element\n default:\n if (elementsType.startsWith('HTML') && !elementsIsString)\n elementList = [elements as Element & HTMLElement]\n }\n\n // & Convert classList to array\n switch (classListType) {\n case 'String':\n if (classListIsString)\n if (classList.split(' ').length >= 2) {\n classListGroup = classList.split(' ')\n } else {\n classListGroup = [classList]\n }\n break\n case 'Array':\n if (!classListIsString) classListGroup = classList\n break\n }\n\n if (!elementList || elementList.length < 1)\n throw new Error(\n `Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`,\n )\n\n if (!classListGroup || classListGroup.length < 1)\n throw new Error(\n `Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`,\n )\n\n elementList.forEach((element) =>\n classListGroup.forEach((classItem) => {\n element.classList.toggle(classItem)\n }),\n )\n}\n","import { ConfigExtension, DefaultClassGroupIds, DefaultThemeGroupIds, extendTailwindMerge } from 'tailwind-merge'\n\nexport type AdditionalmadoClassGroupIds =\n\t| 'animation-direction'\n\t| 'animation-fill'\n\t| 'animation-iteration'\n\t| 'animation-state'\n\nconst integerList = Array.from({ length: 100 }, (_, i) => `${i + 1}`)\n\nexport const twMerge = extendTailwindMerge<AdditionalmadoClassGroupIds>({\n\textend: {\n\t\ttheme: {\n\t\t\tcolor: [\n\t\t\t\t{\n\t\t\t\t\tui: [\n\t\t\t\t\t\t'red',\n\t\t\t\t\t\t'orange',\n\t\t\t\t\t\t'yellow',\n\t\t\t\t\t\t'green',\n\t\t\t\t\t\t'sky-blue',\n\t\t\t\t\t\t'blue',\n\t\t\t\t\t\t'violet',\n\t\t\t\t\t\t'magenta',\n\t\t\t\t\t\t'purple',\n\t\t\t\t\t\t'brown',\n\t\t\t\t\t\t'grey',\n\t\t\t\t\t\t'pink',\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t\tclassGroups: {\n\t\t\tanimate: [\n\t\t\t\t{\n\t\t\t\t\tanimate: [\n\t\t\t\t\t\t'bounce',\n\t\t\t\t\t\t'double-spin',\n\t\t\t\t\t\t'drop-in',\n\t\t\t\t\t\t'flip',\n\t\t\t\t\t\t'flip-again',\n\t\t\t\t\t\t'grid-rows',\n\t\t\t\t\t\t'heartbeat',\n\t\t\t\t\t\t'ping',\n\t\t\t\t\t\t'pulse',\n\t\t\t\t\t\t'slide-up',\n\t\t\t\t\t\t'spin',\n\t\t\t\t\t\t'wave',\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-direction': [\n\t\t\t\t{\n\t\t\t\t\t'animation-direction': ['normal', 'reverse', 'alternate', 'alternate-reverse'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-fill': [\n\t\t\t\t{\n\t\t\t\t\t'animation-fill': ['none', 'forwards', 'backwards', 'both'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-iteration': [\n\t\t\t\t{\n\t\t\t\t\t'animation-iteration': [...integerList, 'infinite'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'animation-state': [\n\t\t\t\t{\n\t\t\t\t\t'animation-state': ['running', 'paused'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'grid-cols': [\n\t\t\t\t{\n\t\t\t\t\t'grid-cols': ['0fr', '1fr'],\n\t\t\t\t},\n\t\t\t],\n\t\t\t'grid-rows': [\n\t\t\t\t{\n\t\t\t\t\t'grid-rows': ['0fr', '1fr'],\n\t\t\t\t},\n\t\t\t],\n\t\t\ttransition: ['transition-rows'],\n\t\t},\n\t},\n})\n\nexport function extendMadoTailwindMerge<\n\tAdditionalClassGroupIds extends string = AdditionalmadoClassGroupIds,\n\tAdditionalThemeGroupIds extends string = never,\n>(\n\tconfigExtension: ConfigExtension<\n\t\tDefaultClassGroupIds | AdditionalClassGroupIds,\n\t\tDefaultThemeGroupIds | AdditionalThemeGroupIds\n\t>,\n) {\n\tconst extend = configExtension.extend || {}\n\tconst theme = extend.theme || {}\n\tconst color = 'color' in theme ? theme.color : []\n\tconst classGroups = extend.classGroups || {}\n\n\tconst themeRest = { ...theme }\n\tif ('color' in themeRest) delete themeRest.color\n\n\tconst extendRest = { ...extend }\n\tdelete extendRest.theme\n\tdelete extendRest.classGroups\n\n\treturn extendTailwindMerge<AdditionalClassGroupIds, AdditionalThemeGroupIds>({\n\t\textend: {\n\t\t\ttheme: {\n\t\t\t\tcolor: [\n\t\t\t\t\t{\n\t\t\t\t\t\tui: [\n\t\t\t\t\t\t\t'red',\n\t\t\t\t\t\t\t'orange',\n\t\t\t\t\t\t\t'yellow',\n\t\t\t\t\t\t\t'green',\n\t\t\t\t\t\t\t'sky-blue',\n\t\t\t\t\t\t\t'blue',\n\t\t\t\t\t\t\t'violet',\n\t\t\t\t\t\t\t'magenta',\n\t\t\t\t\t\t\t'purple',\n\t\t\t\t\t\t\t'brown',\n\t\t\t\t\t\t\t'grey',\n\t\t\t\t\t\t\t'pink',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t...(color as { [key: string]: string[] }[]),\n\t\t\t\t],\n\t\t\t\t...themeRest,\n\t\t\t} as { [key: string]: { [key: string]: string[] }[] } | any,\n\t\t\tclassGroups: {\n\t\t\t\tanimate: [\n\t\t\t\t\t{\n\t\t\t\t\t\tanimate: [\n\t\t\t\t\t\t\t'bounce',\n\t\t\t\t\t\t\t'double-spin',\n\t\t\t\t\t\t\t'drop-in',\n\t\t\t\t\t\t\t'flip',\n\t\t\t\t\t\t\t'flip-again',\n\t\t\t\t\t\t\t'grid-rows',\n\t\t\t\t\t\t\t'heartbeat',\n\t\t\t\t\t\t\t'ping',\n\t\t\t\t\t\t\t'pulse',\n\t\t\t\t\t\t\t'slide-up',\n\t\t\t\t\t\t\t'spin',\n\t\t\t\t\t\t\t'wave',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-direction': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-direction': ['normal', 'reverse', 'alternate', 'alternate-reverse'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-fill': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-fill': ['none', 'forwards', 'backwards', 'both'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-iteration': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-iteration': [...integerList, 'infinite'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'animation-state': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'animation-state': ['running', 'paused'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'grid-cols': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'grid-cols': ['0fr', '1fr'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\t'grid-rows': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'grid-rows': ['0fr', '1fr'],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\ttransition: ['transition-rows'],\n\t\t\t\t...classGroups,\n\t\t\t} as { [key: string]: { [key: string]: string[] }[] } | any,\n\t\t\t...extendRest,\n\t\t},\n\t\t...configExtension,\n\t})\n}\n","export type DayNumber =\n\t| 1\n\t| 2\n\t| 3\n\t| 4\n\t| 5\n\t| 6\n\t| 7\n\t| 8\n\t| 9\n\t| 10\n\t| 11\n\t| 12\n\t| 13\n\t| 14\n\t| 15\n\t| 16\n\t| 17\n\t| 18\n\t| 19\n\t| 20\n\t| 21\n\t| 22\n\t| 23\n\t| 24\n\t| 25\n\t| 26\n\t| 27\n\t| 28\n\t| 29\n\t| 30\n\t| 31\n\nexport type DateTimeObject = {\n\tday: DayNumber\n\thour: HourNumber\n\tminute: MinuteNumber\n\tmonth: MonthNumber | MonthName\n\tsecond: SecondNumber\n\tyear: number\n}\n\nexport type HourNumber =\n\t| 0\n\t| 1\n\t| 2\n\t| 3\n\t| 4\n\t| 5\n\t| 6\n\t| 7\n\t| 8\n\t| 9\n\t| 10\n\t| 11\n\t| 12\n\t| 13\n\t| 14\n\t| 15\n\t| 16\n\t| 17\n\t| 18\n\t| 19\n\t| 20\n\t| 21\n\t| 22\n\t| 23\n\nexport type MinuteNumber =\n\t| 0\n\t| 1\n\t| 2\n\t| 3\n\t| 4\n\t| 5\n\t| 6\n\t| 7\n\t| 8\n\t| 9\n\t| 10\n\t| 11\n\t| 12\n\t| 13\n\t| 14\n\t| 15\n\t| 16\n\t| 17\n\t| 18\n\t| 19\n\t| 20\n\t| 21\n\t| 22\n\t| 23\n\t| 24\n\t| 25\n\t| 26\n\t| 27\n\t| 28\n\t| 29\n\t| 30\n\t| 31\n\t| 32\n\t| 33\n\t| 34\n\t| 35\n\t| 36\n\t| 37\n\t| 38\n\t| 39\n\t| 40\n\t| 41\n\t| 42\n\t| 43\n\t| 44\n\t| 45\n\t| 46\n\t| 47\n\t| 48\n\t| 49\n\t| 50\n\t| 51\n\t| 52\n\t| 53\n\t| 54\n\t| 55\n\t| 56\n\t| 57\n\t| 58\n\t| 59\n\nexport type MonthName =\n\t| 'January'\n\t| 'February'\n\t| 'March'\n\t| 'April'\n\t| 'May'\n\t| 'June'\n\t| 'July'\n\t| 'August'\n\t| 'September'\n\t| 'October'\n\t| 'November'\n\t| 'December'\n\nexport type MonthNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12\n\nexport type SecondNumber = MinuteNumber\n\nexport type WeekdayName = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'\n\nexport type WeekdayNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7\n\nexport type WeekNumber =\n\t| 1\n\t| 2\n\t| 3\n\t| 4\n\t| 5\n\t| 6\n\t| 7\n\t| 8\n\t| 9\n\t| 10\n\t| 11\n\t| 12\n\t| 13\n\t| 14\n\t| 15\n\t| 16\n\t| 17\n\t| 18\n\t| 19\n\t| 20\n\t| 21\n\t| 22\n\t| 23\n\t| 24\n\t| 25\n\t| 26\n\t| 27\n\t| 28\n\t| 29\n\t| 30\n\t| 31\n\t| 32\n\t| 33\n\t| 34\n\t| 35\n\t| 36\n\t| 37\n\t| 38\n\t| 39\n\t| 40\n\t| 41\n\t| 42\n\t| 43\n\t| 44\n\t| 45\n\t| 46\n\t| 47\n\t| 48\n\t| 49\n\t| 50\n\t| 51\n\t| 52\n\t| 53\n\n/** The current date as a Date object */\nconst d = new Date()\n\n/** The current minute of the current hour */\nconst minutes = d.getMinutes()\n\n/** The current year */\nconst year = d.getFullYear()\n\n/** An array of the names of month in order */\nexport const monthNamesList: MonthName[] = [\n\t'January',\n\t'February',\n\t'March',\n\t'April',\n\t'May',\n\t'June',\n\t'July',\n\t'August',\n\t'September',\n\t'October',\n\t'November',\n\t'December',\n]\n\n/** An array of the names of the days of the week in order */\nexport const weekdayNamesList: WeekdayName[] = [\n\t'Sunday',\n\t'Monday',\n\t'Tuesday',\n\t'Wednesday',\n\t'Thursday',\n\t'Friday',\n\t'Saturday',\n]\n\n/** The name of the current month */\nexport const currentMonthName = getMonthName()\n\n/** The name of the current day of the week */\nexport const currentWeekdayName = getWeekdayName()\n\n/**\n * ### Days In Month\n * - Returns the number of days in the specified month.\n * @param {Date} date A Date object representing the month to get the number of days for. (Preset to the current date)\n * @returns {number} The number of days in the specified month.\n */\nexport function daysInMonth(date: Date = d): number {\n\tconst selectedYear = date.getFullYear(),\n\t\tselectedMonth = date.getMonth() + 1\n\treturn new Date(selectedYear, selectedMonth, 0).getDate()\n}\n\n/**\n * ### First of Month\n * - Returns the first day of the specified month.\n * @param {Date} date A Date object representing the month to get the first day for. (Preset to current date)\n * @returns {Date} A Date object of the given month, with the first day.\n */\nexport function firstOfMonth(date: Date = d): Date {\n\t// Return a new Date object with the first of the month selected\n\treturn new Date(date.getFullYear(), date.getMonth(), 1)\n}\n\n/**\n * ### Get Date\n * - Returns the date with two digits\n * @param {number|Date} date The date to get date\n * @returns {string} The date with two digits\n */\nexport function getDate(date: number | Date = d): string {\n\tif (typeof date !== 'number') date = date.getDate()\n\tlet formattedDate = date.toString()\n\tif (formattedDate.length === 1) formattedDate = `0${formattedDate}`\n\treturn formattedDate\n}\n\n/**\n * ### Get Hours\n * - Returns the hours with two digits\n * @param {number|Date} hours The date to get hours\n * @returns {string} The hours with two digits\n */\nexport function getHours(hours: number | Date = d): string {\n\tif (typeof hours !== 'number') hours = hours.getHours()\n\tlet formattedHours = hours.toString()\n\tif (formattedHours.length === 1) formattedHours = `0${formattedHours}`\n\treturn formattedHours\n}\n\n/**\n * ### Get Hours in 12\n * - Returns the hour based on the specified 24 hour value in a 12 hour format\n * @param {number|Date} hour The hour to be converted to 12 hour format\n * @returns {number} The hour in a 12 hour format\n */\nexport function getHoursIn12(hour: number | Date = d): number {\n\tif (typeof hour !== 'number') hour = hour.getHours()\n\tif (hour > 12) return hour - 12\n\treturn hour\n}\n\n/**\n * ### Get Meridian from Hour\n * - Returns either 'pm' or 'am' based on the specified 24 hour value\n * @param {number|Date} hour The hour to get the meridian from\n * @returns {'am'|'pm'} The meridian for the given hour\n */\nexport function getMeridianFromHour(hour: number | Date = d): 'am' | 'pm' {\n\tif (typeof hour !== 'number') hour = hour.getHours()\n\tif (hour >= 12) return 'pm'\n\treturn 'am'\n}\n\n/**\n * ### Get Milliseconds\n * - Returns the milliseconds with two digits\n * @param {number|Date} milliseconds The date to get milliseconds\n * @returns {string} The milliseconds with two digits\n */\nexport function getMilliseconds(milliseconds: number | Date = d): string {\n\tif (typeof milliseconds !== 'number') milliseconds = milliseconds.getMilliseconds()\n\tlet formattedMilliseconds = minutes.toString()\n\tif (formattedMilliseconds.length === 1) formattedMilliseconds = `0${formattedMilliseconds}`\n\treturn formattedMilliseconds\n}\n\n/**\n * ### Get Minutes\n * - Returns the minutes with two digits\n * @param {number|Date} minutes The date to get minutes\n * @returns {string} The minutes with two digits\n */\nexport function getMinutes(minutes: number | Date = d): string {\n\tif (typeof minutes !== 'number') minutes = minutes.getMinutes()\n\tlet formattedMinutes = minutes.toString()\n\tif (formattedMinutes.length === 1) formattedMinutes = `0${formattedMinutes}`\n\treturn formattedMinutes\n}\n\n/**\n * ### Get Month\n * - Returns the month with two digits\n * @param {number|Date} month The date to get month\n * @returns {string} The month with two digits\n */\nexport function getMonth(month: number | Date = d): string {\n\tif (typeof month !== 'number') month = month.getMonth() + 1\n\tlet formattedMonth = month.toString()\n\tif (formattedMonth.length === 1) formattedMonth = `0${formattedMonth}`\n\treturn formattedMonth\n}\n\nexport function getMonthIndexFromName(name: MonthName): number {\n\treturn monthNamesList.findIndex(monthName => monthName === name)\n}\n\n/**\n * ### Get Month Name\n * - Returns the name of the specified month\n * @param {Date} date A Date object representing the month to get the name of the month from. (Preset to the current date)\n * @returns {MonthName} The name of the specified month\n */\nexport function getMonthName(date: number | Date = d): MonthName {\n\tif (typeof date === 'number') return monthNamesList[date]\n\treturn monthNamesList[date.getMonth()]\n}\n\n/**\n * ### Get Next Month\n * - Returns the number of the following month from the specified month\n * @param {Date} date The Date object representing the month to get the following month from (Preset to current date)\n * @returns {number} The indexed month of the following month\n */\nexport function getNextMonth(date: Date = d): number {\n\tconst givenMonth = date.getMonth() // Get the month from date\n\t// Return the indexed month. min 0, max 11\n\treturn givenMonth === 11 ? 0 : givenMonth + 1\n}\n\n/**\n * ### Get Previous Month\n * - Returns the number of the previous month from the specified month\n * @param {Date} date The Date object representing the month to get the previous month from (Preset to current date)\n * @returns {number} The indexed month of the previous month\n */\nexport function getPreviousMonth(date: Date = d): number {\n\tconst givenMonth = date.getMonth() // Get the month from date\n\t// Return the indexed month. min 0, max 11\n\treturn givenMonth === 0 ? 11 : givenMonth - 1\n}\n\n/**\n * ### Get Seconds\n * - Returns the seconds with two digits\n * @param {number|Date} seconds The date to get seconds\n * @returns {string} The seconds with two digits\n */\nexport function getSeconds(seconds: number | Date = d): string {\n\tif (typeof seconds !== 'number') seconds = seconds.getSeconds()\n\tlet formattedSeconds = seconds.toString()\n\tif (formattedSeconds.length === 1) formattedSeconds = `0${formattedSeconds}`\n\treturn formattedSeconds\n}\n\n/**\n * ### Get User Readable Date\n * - Returns a string of the current date in a user-friendly way\n * - Includes `'Yesterday'`, '`Today'`, and `'Tomorrow'`\n * @param date (default: `new Date()`)\n * @returns {'Today'|'Tomorrow'|'Yesterday'|string} `'weekday, month day, year'` | `'Yesterday'` | `'Today'` | `'Tomorrow'`\n */\nexport function getUserReadableDate(date: Date = d): 'Today' | 'Tomorrow' | 'Yesterday' | string {\n\tconst dateTime = date.getTime()\n\n\tconst today = new Date(),\n\t\tisToday = dateTime === today.getTime()\n\n\tif (isToday) return 'Today'\n\n\tconst yesterday = new Date(today.getDate() - 1),\n\t\tisYesterday = dateTime === yesterday.getTime()\n\n\tif (isYesterday) return 'Yesterday'\n\n\tconst tomorrow = new Date(today.getDate() + 1),\n\t\tisTomorrow = dateTime === tomorrow.getTime()\n\n\tif (isTomorrow) return 'Tomorrow'\n\n\tconst thisYear = today.getFullYear(),\n\t\tisSameYear = date.getFullYear() === thisYear\n\n\tconst fullDateString = toFullDateString(date, {\n\t\tweekday: 'code',\n\t\tyear: !isSameYear,\n\t})\n\n\treturn fullDateString\n}\n\n/**\n * ### Get Weekday Name\n * - Returns the weekday name of the specified day\n * @param {number | Date} weekday A Date object or number representing the day to get the weekday name from. (Preset to the current date)\n * @returns {WeekdayName} The name of the specified weekday\n */\nexport function getWeekdayName(weekday: number | Date = d): WeekdayName {\n\tif (typeof weekday === 'number') return weekdayNamesList[weekday]\n\t// Return the name of the day of the week\n\treturn weekdayNamesList[weekday.getDay()]\n}\n\n/**\n * ### Get Years in Range\n * - Returns an array of years in between the specified minimum and maximum years\n * @param {number} minYear The minimum year\n * @param {number} maxYear The maximum year\n * @returns {number[]} Array of years\n */\nexport function getYearsInRange(minYear: number = 0, maxYear: number = year): number[] {\n\tconst yearList = []\n\n\tfor (let selectedYear = minYear; selectedYear <= maxYear; selectedYear++) {\n\t\tyearList.push(selectedYear)\n\t}\n\n\treturn yearList\n}\n\n/** Change how to display the weekday, month name, day of the month, and year. */\ntype ToFullDateStringOptionsProps = Partial<{\n\t/** Inclusion of the day of the month. (default: `true`) */\n\tday: boolean\n\t/** Inclusion of the month name. (default: `true`/`'full'`) */\n\tmonth: boolean | 'full' | 'code'\n\t/** Inclusion of the day of the week. (default: `true`/`'full'`) */\n\tweekday: boolean | 'full' | 'code'\n\t/** Inclusion of the year. (default: `true`) */\n\tyear: boolean | 'full' | 'code'\n}>\n\n/**\n * ### To Full Date String\n * - Returns a formatted string to display the date\n * @param {Date} date (default: `new Date()`)\n * @param {ToFullDateStringOptionsProps} options Change how to display the weekday, month name, day of the month, and year.\n * @returns {string} '`weekday`, `month` `day`, `year`'\n */\nexport function toFullDateString(date: Date = d, options?: ToFullDateStringOptionsProps): string {\n\tlet weekdayName: string = getWeekdayName(date),\n\t\tmonthName: string = getMonthName(date),\n\t\tdayOfMonth: number | string = date.getDate(),\n\t\tyear = date.getFullYear().toString()\n\n\tif (options) {\n\t\tconst includesWeekday = options.weekday !== false,\n\t\t\tincludesDay = options.day !== false,\n\t\t\tincludesMonth = options.month !== false,\n\t\t\tincludesYear = options.year !== false\n\n\t\tif (includesWeekday) {\n\t\t\tif (options.weekday === 'code') weekdayName = weekdayName.slice(0, 3)\n\n\t\t\tif (includesMonth || includesDay || includesYear) weekdayName += ', '\n\t\t} else {\n\t\t\tweekdayName = ''\n\t\t}\n\n\t\tif (includesMonth) {\n\t\t\tif (options.month === 'code') monthName = monthName.slice(0, 3)\n\n\t\t\tif (includesDay) monthName += ' '\n\t\t} else {\n\t\t\tmonthName = ''\n\t\t}\n\n\t\tif (!includesDay) dayOfMonth = ''\n\n\t\tif (includesYear) {\n\t\t\tif (options.year === 'code') year = year.slice(-2)\n\n\t\t\tif (includesMonth || includesDay) year = ', ' + year\n\t\t} else {\n\t\t\tyear = ''\n\t\t}\n\t}\n\n\treturn weekdayName + monthName + dayOfMonth + year\n}\n\n/**\n * ### Get User Readable Date From Timestampz\n * - Returns a string of the current date in a user-friendly way\n * - Includes `'Yesterday'`, '`Today'`, and `'Tomorrow'`\n * @param string\n * @returns {'Today'|'Tomorrow'|'Yesterday'|string} `'weekday, month day, year'` | `'Yesterday'` | `'Today'` | `'Tomorrow'`\n */\nexport function getUserReadableDateFromTimestampz(timestampz: string): 'Today' | 'Tomorrow' | 'Yesterday' | string {\n\tconst [date, time] = timestampz.split('T') || []\n\n\tconst [year, month, day] = date?.split('-').map(string => Number(string)) || []\n\n\tconst timezoneIsAheadOfUTC = time?.includes('+')\n\n\tconst [hms, timezone] = timezoneIsAheadOfUTC ? time?.split('+') : time?.split('-') || []\n\n\tconst [hours, minutes, seconds] = hms?.split(':').map(string => Number(string)) || []\n\n\tconst [timezoneHours, timezoneMinutes] = timezone?.split(':').map(string => Number(string)) || []\n\n\tconst dateAndTime = new Date(year, month - 1, day, hours, minutes, seconds),\n\t\tuserReadableDateAndTime = getUserReadableDate(dateAndTime)\n\n\treturn userReadableDateAndTime\n}\n\nexport function getLocalTime(time: string | [number, number]) {\n\tconst date = new Date(),\n\t\t[hours, minutes] = typeof time === 'string' ? time.split(':') : time\n\n\tconst timezone = getTimezone()\n\n\tconsole.log(timezone)\n\n\tdate.setUTCHours(Number(hours))\n\tdate.setMinutes(Number(minutes))\n\n\treturn date.toLocaleTimeString([], {\n\t\thour: 'numeric',\n\t\tminute: '2-digit',\n\t\thour12: true,\n\t})\n}\n\nexport function getTimezone() {\n\tconst date = new Date()\n\n\tconst timezonePart = Intl.DateTimeFormat('en-US', { timeZoneName: 'short' })\n\t\t.formatToParts(date)\n\t\t.find(part => part.type === 'timeZoneName')\n\n\treturn timezonePart ? timezonePart.value : ''\n}\n","import { Children, ElementType, Fragment, isValidElement, ReactElement, ReactNode } from 'react'\n\nexport function findComponentByType<P extends { children?: ReactNode; [key: string]: any } = { children?: ReactNode }>(\n\tchildren: ReactNode,\n\tcomponentType: ElementType,\n): ReactElement<P> | null {\n\tconst childrenArray = Children.toArray(children)\n\n\tfor (const child of childrenArray) {\n\t\tif (isValidElement(child) && child.type === componentType) return child as ReactElement<P>\n\t}\n\n\tfor (const child of childrenArray) {\n\t\tif (isValidElement(child)) {\n\t\t\tif (child.type === Fragment && (child as ReactElement<P>).props.children) {\n\t\t\t\tconst found = findComponentByType<P>((child as ReactElement<P>).props.children, componentType)\n\n\t\t\t\tif (found) return found as ReactElement<P>\n\t\t\t} else if ((child as ReactElement<P>).props.children) {\n\t\t\t\tconst found = findComponentByType<P>((child as ReactElement<P>).props.children, componentType)\n\n\t\t\t\tif (found) return found as ReactElement<P>\n\t\t\t}\n\t\t}\n\t}\n\n\treturn null\n}\n","export function easeOutExpo(time: number, start: number, end: number, duration: number) {\n\treturn time == duration ? start + end : end * (-Math.pow(2, (-10 * time) / duration) + 1) + start\n}\n","export const emailRegex =\n\t/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n\n/**\n * # Is Email\n * Checks whether the specified string is in email format\n */\nexport function isEmail(email: string) {\n\treturn emailRegex.test(email)\n}\n\nexport const telRegex =\n\t/(?:\\+1\\s|1\\s|)?\\d{3}\\.\\d{3}\\.\\d{4}|(?:\\+1\\s|1\\s|)?\\d{3}-\\d{3}-\\d{4}|(?:\\+1\\s|1\\s|)?\\(\\d{3}\\) \\d{3}-\\d{4}|(?:\\+1\\s|1\\s|\\+1|1|)?\\d{10}/\n\n/**\n * # Is Phone Number\n * Checks whether the specified string is in phone number format\n */\nexport function isPhoneNumber(tel: string) {\n\treturn telRegex.test(tel)\n}\n","/**\n * # Format Phone Number\n * Converts any string containing at least 10 numbers to a formatted phone number\n * @param {string} phoneNumber\n * @param options\n * @property {string} `countryCode`\n * @property {'continuous' | 'dot' | 'hyphenated' | 'none' | 'space' | 'standard'} `format`\n *\n * Input: a555b555c5555d\n *\n * @example\n * format: 'continuous'\n * countryCode: '1'\n * returns: +1 5555555555\n *\n * @example\n * format: 'dot'\n * returns: 555.555.5555\n *\n * @example\n * format: 'hyphenated'\n * returns: 555-555-5555\n *\n * @example\n * format: 'none'\n * countryCode: '1'\n * returns: +1 a555b555c5555d\n *\n * @example\n * format: 'space'\n * returns: 555 555 5555\n *\n * @example\n * format: 'standard' (default)\n * returns: (555) 555-5555\n *\n * @returns {string} string formatted\n */\nexport function formatPhoneNumber(\n\tphoneNumber: string,\n\toptions?: Partial<{\n\t\tcountryCode: string\n\t\tformat: 'continuous' | 'dot' | 'hyphenated' | 'none' | 'space' | 'standard'\n\t}>,\n): string {\n\tconst format = options?.format || 'standard'\n\n\tif (format !== 'none') phoneNumber = phoneNumber.replace(/\\D/g, '').slice(-10)\n\n\tswitch (format) {\n\t\tcase 'dot':\n\t\t\tphoneNumber = phoneNumber\n\t\t\t\t.split('')\n\t\t\t\t.map((char, index) => {\n\t\t\t\t\tif (index === 2) return `${char}.`\n\t\t\t\t\tif (index === 5) return `${char}.`\n\t\t\t\t\treturn char\n\t\t\t\t})\n\t\t\t\t.join('')\n\t\t\tbreak\n\t\tcase 'hyphenated':\n\t\t\tphoneNumber = phoneNumber\n\t\t\t\t.split('')\n\t\t\t\t.map((char, index) => {\n\t\t\t\t\tif (index === 2) return `${char}-`\n\t\t\t\t\tif (index === 5) return `${char}-`\n\t\t\t\t\treturn char\n\t\t\t\t})\n\t\t\t\t.join('')\n\t\t\tbreak\n\t\tcase 'space':\n\t\t\tphoneNumber = phoneNumber\n\t\t\t\t.split('')\n\t\t\t\t.map((char, index) => {\n\t\t\t\t\tif (index === 2) return `${char} `\n\t\t\t\t\tif (index === 5) return `${char} `\n\t\t\t\t\treturn char\n\t\t\t\t})\n\t\t\t\t.join('')\n\t\t\tbreak\n\t\tcase 'standard':\n\t\t\tphoneNumber = phoneNumber\n\t\t\t\t.split('')\n\t\t\t\t.map((char, index) => {\n\t\t\t\t\tif (index === 0) return `(${char}`\n\t\t\t\t\tif (index === 2) return `${char}) `\n\t\t\t\t\tif (index === 5) return `${char}-`\n\t\t\t\t\treturn char\n\t\t\t\t})\n\t\t\t\t.join('')\n\t}\n\n\treturn `${options?.countryCode ? `+${options?.countryCode} ` : ''}` + phoneNumber\n}\n\n/**\n * # To Lower Case\n * Converts a string to lowercase, and offers easy string replacements for creating snake case, kebab case, or your own.\n * @param str - The string to convert to lowercase.\n * @param options - Configuration options.\n * @param options[0] - The delimiter to split the string. Defaults to space.\n * @param options[1] - The string to join the parts back together. Defaults to space.\n * @returns The lowercase version of the input string, with the replacements, if provided.\n */\nexport function toLowerCase(str: string, [delimiter, joiner]: [string | undefined, string | undefined]) {\n\treturn str.toLowerCase().replaceAll(delimiter || ' ', joiner || ' ')\n}\n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1
|
{
|
|
2
2
|
"name": "mado-ui",
|
|
3
3
|
"author": "Andrilla LLC",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"description": "A collection of opinionated React components built on Tailwind CSS",
|
|
6
6
|
"repository": "https://github.com/andrilla-llc/mado-ui",
|
|
7
7
|
"license": "GNU GPL",
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
54
54
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
55
55
|
"@tailwindcss/postcss": "^4.1.11",
|
|
56
|
-
"@types/node": "^24.0.
|
|
56
|
+
"@types/node": "^24.0.14",
|
|
57
57
|
"@types/react": "^19.1.8",
|
|
58
58
|
"@types/react-dom": "^19.1.6",
|
|
59
59
|
"postcss": "^8.5.6",
|
|
60
60
|
"postcss-cli": "^11.0.1",
|
|
61
61
|
"prettier": "^3.6.2",
|
|
62
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
63
|
-
"rollup": "^4.
|
|
62
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
63
|
+
"rollup": "^4.45.1",
|
|
64
64
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
65
65
|
"rollup-plugin-postcss": "^4.0.2",
|
|
66
66
|
"typescript": "^5.8.3"
|