mimir-ui-kit 1.12.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/{DatePickerModal-DUUCHAWF.js → DatePickerModal-BM0BgzTb.js} +17 -17
  2. package/dist/assets/Button.css +1 -1
  3. package/dist/assets/DatePickerModal.css +1 -1
  4. package/dist/assets/ListPhotos.css +1 -0
  5. package/dist/assets/SelectSearch.css +1 -1
  6. package/dist/assets/Uploader.css +1 -0
  7. package/dist/assets/UploaderPhotos.css +1 -0
  8. package/dist/assets/index.css +1 -1
  9. package/dist/components/Button/Button.js +23 -22
  10. package/dist/components/Button/constants.d.ts +2 -1
  11. package/dist/components/Button/constants.js +1 -0
  12. package/dist/components/DatePicker/DatePicker.js +1 -1
  13. package/dist/components/DatePicker/DatePickerModal.js +1 -1
  14. package/dist/components/ListPhotos/ListPhotos.d.ts +23 -0
  15. package/dist/components/ListPhotos/ListPhotos.js +33 -0
  16. package/dist/components/ListPhotos/constants.d.ts +3 -0
  17. package/dist/components/ListPhotos/constants.js +21 -0
  18. package/dist/components/ListPhotos/index.d.ts +2 -0
  19. package/dist/components/ListPhotos/index.js +4 -0
  20. package/dist/components/SelectSearch/SelectSearch.js +23 -19
  21. package/dist/components/TabTrail/TabTrail.js +1 -1
  22. package/dist/components/Uploader/Uploader.d.ts +30 -0
  23. package/dist/components/Uploader/Uploader.js +90 -0
  24. package/dist/components/Uploader/constants.d.ts +5 -0
  25. package/dist/components/Uploader/constants.js +16 -0
  26. package/dist/components/Uploader/index.d.ts +2 -0
  27. package/dist/components/Uploader/index.js +4 -0
  28. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +29 -0
  29. package/dist/components/UploaderPhotos/UploaderPhotos.js +46 -0
  30. package/dist/components/UploaderPhotos/index.d.ts +2 -0
  31. package/dist/components/UploaderPhotos/index.js +4 -0
  32. package/dist/icons/Icon.js +1 -1
  33. package/dist/icons/components/12px/Close12px.d.ts +4 -0
  34. package/dist/icons/components/12px/Close12px.js +18 -0
  35. package/dist/icons/components/index.d.ts +1 -0
  36. package/dist/icons/components/index.js +560 -559
  37. package/dist/{index-_ACzPKPw.js → index-Cxiikb7g.js} +561 -558
  38. package/dist/utils/UUID4.d.ts +1 -0
  39. package/dist/utils/UUID4.js +9 -0
  40. package/dist/utils/formating/Date.d.ts +1 -1
  41. package/dist/utils/index.d.ts +2 -0
  42. package/dist/utils/index.js +3 -1
  43. 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.12.0",
4
+ "version": "1.13.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {