mimir-ui-kit 1.10.1 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/assets/Button.css +1 -1
  2. package/dist/assets/ListPhotos.css +1 -0
  3. package/dist/assets/MergedButton.css +1 -1
  4. package/dist/assets/Uploader.css +1 -0
  5. package/dist/assets/UploaderPhotos.css +1 -0
  6. package/dist/assets/index.css +1 -1
  7. package/dist/components/Button/Button.js +23 -22
  8. package/dist/components/Button/constants.d.ts +2 -1
  9. package/dist/components/Button/constants.js +1 -0
  10. package/dist/components/ListPhotos/ListPhotos.d.ts +23 -0
  11. package/dist/components/ListPhotos/ListPhotos.js +33 -0
  12. package/dist/components/ListPhotos/constants.d.ts +3 -0
  13. package/dist/components/ListPhotos/constants.js +21 -0
  14. package/dist/components/ListPhotos/index.d.ts +2 -0
  15. package/dist/components/ListPhotos/index.js +4 -0
  16. package/dist/components/MergedButton/MergedButton.js +6 -6
  17. package/dist/components/Uploader/Uploader.d.ts +30 -0
  18. package/dist/components/Uploader/Uploader.js +91 -0
  19. package/dist/components/Uploader/constants.d.ts +5 -0
  20. package/dist/components/Uploader/constants.js +16 -0
  21. package/dist/components/Uploader/index.d.ts +2 -0
  22. package/dist/components/Uploader/index.js +4 -0
  23. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +29 -0
  24. package/dist/components/UploaderPhotos/UploaderPhotos.js +48 -0
  25. package/dist/components/UploaderPhotos/index.d.ts +2 -0
  26. package/dist/components/UploaderPhotos/index.js +4 -0
  27. package/dist/icons/Icon.js +1 -1
  28. package/dist/icons/components/12px/Close12px.d.ts +4 -0
  29. package/dist/icons/components/12px/Close12px.js +18 -0
  30. package/dist/icons/components/index.d.ts +1 -0
  31. package/dist/icons/components/index.js +560 -559
  32. package/dist/{index-_ACzPKPw.js → index-Cxiikb7g.js} +561 -558
  33. package/dist/utils/UUID4.d.ts +1 -0
  34. package/dist/utils/UUID4.js +9 -0
  35. package/dist/utils/formating/Date.d.ts +1 -1
  36. package/dist/utils/index.d.ts +2 -0
  37. package/dist/utils/index.js +3 -1
  38. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export default function UUIDv4(): string;
@@ -0,0 +1,9 @@
1
+ function UUIDv4() {
2
+ return (1e7 + -1e3 + -4e3 + -8e3 + -1e11).toString().replace(
3
+ /[018]/g,
4
+ (c) => (Number(c) ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> Number(c) / 4).toString(16)
5
+ );
6
+ }
7
+ export {
8
+ UUIDv4 as default
9
+ };
@@ -1 +1 @@
1
- export default function _Date(x: Date, y: string | Date): string;
1
+ export default function _Date(x: Date | string, y?: string | Date | undefined): string;
@@ -1,9 +1,11 @@
1
1
  import { default as Date } from './formating/Date';
2
2
  import { default as Month } from './formating/Month';
3
3
  import { default as Number } from './formating/Numbers';
4
+ import { default as UUIDv4 } from './UUID4';
4
5
 
5
6
  export declare const formating: {
6
7
  Number: typeof Number;
7
8
  Month: typeof Month;
8
9
  Date: typeof Date;
10
+ UUIDv4: typeof UUIDv4;
9
11
  };
@@ -1,10 +1,12 @@
1
1
  import _Date from "./formating/Date.js";
2
2
  import Month from "./formating/Month.js";
3
3
  import Numbers from "./formating/Numbers.js";
4
+ import UUIDv4 from "./UUID4.js";
4
5
  const formating = {
5
6
  Number: Numbers,
6
7
  Month,
7
- Date: _Date
8
+ Date: _Date,
9
+ UUIDv4
8
10
  };
9
11
  export {
10
12
  formating
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.10.1",
4
+ "version": "1.11.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {