@andrilla/mado-ui 1.0.7 → 1.0.9
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/README.md +751 -12
- package/dist/client/components/index.js +951 -664
- package/dist/client/graphics/index.js +2 -11
- package/dist/client.js +947 -665
- package/dist/components/drop-down.d.ts +4 -4
- package/dist/components/fieldset.d.ts +7 -0
- package/dist/components/index.js +950 -663
- package/dist/components/link.d.ts +14 -10
- package/dist/components/modal.d.ts +9 -6
- package/dist/components/select.d.ts +2 -1
- package/dist/components/time.d.ts +3 -1
- package/dist/css/base.css +0 -28
- package/dist/css/index.css +0 -1
- package/dist/css/tailwindcss.css +2 -0
- package/dist/css/theme.css +10 -0
- package/dist/css/utilities.css +26 -0
- package/dist/graphics/index.js +1 -10
- package/dist/hooks/index.js +1 -5
- package/dist/index.js +946 -664
- package/dist/types.d.ts +5 -8
- package/dist/utils/get-theme-color.d.ts +3 -0
- package/dist/utils/index.js +1 -8
- package/package.json +28 -15
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
import { extendTailwindMerge } from "tailwind-merge";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
4
|
//#region src/utils/custom-tailwind-merge.ts
|
|
6
5
|
const isInteger = (classPart) => /^\d+$/.test(classPart);
|
|
7
6
|
const isFloat = (classPart) => /^\d+\.\d+$/.test(classPart);
|
|
@@ -96,7 +95,6 @@ const twMerge = extendTailwindMerge({ extend: { classGroups: {
|
|
|
96
95
|
"grid-rows": [{ "grid-rows": ["0fr", "1fr"] }],
|
|
97
96
|
transition: [{ transition: ["transition-cols", "transition-rows"] }]
|
|
98
97
|
} } });
|
|
99
|
-
|
|
100
98
|
//#endregion
|
|
101
99
|
//#region src/graphics/social-media/facebook-logo.tsx
|
|
102
100
|
/**
|
|
@@ -171,7 +169,6 @@ function FacebookLogo({ className, cutout = false, targets, variant = "circle",
|
|
|
171
169
|
]
|
|
172
170
|
});
|
|
173
171
|
}
|
|
174
|
-
|
|
175
172
|
//#endregion
|
|
176
173
|
//#region src/graphics/social-media/google-logo.tsx
|
|
177
174
|
/**
|
|
@@ -277,7 +274,6 @@ function GoogleLogo({ gradient = true, ...props }) {
|
|
|
277
274
|
] }) : /* @__PURE__ */ jsx("path", { d: "M992.945,417.01L511.964,417.01L511.964,613.859L788.338,613.859C783.897,641.717 773.921,669.122 759.31,694.112C742.575,722.744 721.881,744.542 700.67,761.138C637.14,810.865 563.07,821.031 511.628,821.031C381.685,821.031 270.653,735.251 227.672,618.689C225.937,614.461 224.786,610.09 223.383,605.772C213.887,576.108 208.697,544.687 208.697,512.032C208.697,478.046 214.317,445.514 224.561,414.789C264.982,293.606 378.511,203.097 511.721,203.097C538.518,203.097 564.319,206.353 588.786,212.851C644.708,227.698 684.261,256.943 708.499,280.075L854.747,133.794C765.786,50.482 649.815,0 511.478,0C400.888,-0.004 298.788,35.19 215.121,94.667C147.265,142.902 91.616,207.482 54.06,282.487C19.128,352.029 0,429.093 0,511.953C0,594.821 19.158,672.685 54.09,741.588L54.09,742.052C90.988,815.198 144.943,878.178 210.526,926.192C267.816,968.135 370.54,1024 511.478,1024C592.529,1024 664.363,1009.08 727.713,981.104C773.413,960.926 813.904,934.608 850.563,900.787C899,856.093 936.938,800.815 962.829,737.214C988.724,673.612 1002.57,601.692 1002.57,523.719C1002.57,487.404 999.002,450.524 992.945,417.01Z" })
|
|
278
275
|
});
|
|
279
276
|
}
|
|
280
|
-
|
|
281
277
|
//#endregion
|
|
282
278
|
//#region src/graphics/social-media/instagram-logo.tsx
|
|
283
279
|
/**
|
|
@@ -398,7 +394,6 @@ function InstagramLogo({ gradient = true, ...props }) {
|
|
|
398
394
|
] })
|
|
399
395
|
});
|
|
400
396
|
}
|
|
401
|
-
|
|
402
397
|
//#endregion
|
|
403
398
|
//#region src/graphics/social-media/linkedin-logo.tsx
|
|
404
399
|
/**
|
|
@@ -431,7 +426,6 @@ function LinkedInLogo({ className, cutout, targets, ...props }) {
|
|
|
431
426
|
})]
|
|
432
427
|
});
|
|
433
428
|
}
|
|
434
|
-
|
|
435
429
|
//#endregion
|
|
436
430
|
//#region src/graphics/social-media/tiktok-logo.tsx
|
|
437
431
|
/**
|
|
@@ -470,7 +464,6 @@ function TikTokLogo({ className, targets, variant = "multicolor", ...props }) {
|
|
|
470
464
|
] }), variant === "solid" && /* @__PURE__ */ jsx("path", { d: "M667.348,44.69C680.075,111.724 720.791,169.313 777.229,205.249L777.286,205.307C816.62,230.358 863.44,244.986 913.716,244.986L913.716,420.98C820.306,420.98 733.749,391.782 663.086,342.197L663.086,700.001C663.086,878.644 514.39,1024 331.543,1024C260.881,1024 195.401,1002.23 141.555,965.316L141.44,965.201C55.977,906.517 0,809.536 0,699.944C0,521.301 148.754,375.887 331.543,375.887C346.747,375.887 361.605,377.154 376.233,379.054L376.233,558.849C362.066,554.53 347.15,551.996 331.543,551.996C248.038,551.996 180.14,618.397 180.14,700.001C180.14,756.784 213.139,806.196 261.284,830.96C282.304,841.787 306.204,847.949 331.543,847.949C413.09,847.949 479.663,784.543 482.658,705.53L482.946,0L663.086,0C663.086,15.261 664.584,30.177 667.348,44.69Z" })]
|
|
471
465
|
});
|
|
472
466
|
}
|
|
473
|
-
|
|
474
467
|
//#endregion
|
|
475
468
|
//#region src/graphics/social-media/x-logo.tsx
|
|
476
469
|
/**
|
|
@@ -483,7 +476,6 @@ function XLogo(props) {
|
|
|
483
476
|
children: /* @__PURE__ */ jsx("path", { d: "M806.464,0L963.472,0L620.432,392.08L1024,925.6L708.016,925.6L460.528,602.016L177.328,925.6L20.224,925.6L387.136,506.24L0,0L324,0L547.712,295.76L806.464,0ZM751.344,831.616L838.352,831.616L276.736,89.04L183.36,89.04L751.344,831.616Z" })
|
|
484
477
|
});
|
|
485
478
|
}
|
|
486
|
-
|
|
487
479
|
//#endregion
|
|
488
480
|
//#region src/graphics/social-media/youtube-logo.tsx
|
|
489
481
|
/**
|
|
@@ -517,6 +509,5 @@ function YouTubeLogo({ className, cutout = false, targets, ...props }) {
|
|
|
517
509
|
})] })
|
|
518
510
|
});
|
|
519
511
|
}
|
|
520
|
-
|
|
521
512
|
//#endregion
|
|
522
|
-
export { FacebookLogo, GoogleLogo, InstagramLogo, LinkedInLogo, TikTokLogo, XLogo, YouTubeLogo };
|
|
513
|
+
export { FacebookLogo, GoogleLogo, InstagramLogo, LinkedInLogo, TikTokLogo, XLogo, YouTubeLogo };
|