@fluentui-react-native/experimental-shimmer 0.14.1 → 0.14.4

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 (97) hide show
  1. package/.cache/tsconfig.tsbuildinfo +1 -0
  2. package/CHANGELOG.md +42 -0
  3. package/jest.config.cjs +1 -0
  4. package/lib/Shimmer.d.ts.map +1 -1
  5. package/lib/Shimmer.js +4 -22
  6. package/lib/Shimmer.js.map +1 -1
  7. package/lib/Shimmer.test.js.map +1 -1
  8. package/lib/Shimmer.types.shared.d.ts +1 -1
  9. package/lib/Shimmer.types.shared.d.ts.map +1 -1
  10. package/lib/Shimmer.win32.js +3 -11
  11. package/lib/Shimmer.win32.js.map +1 -1
  12. package/lib/SvgShapeToPath.js.map +1 -1
  13. package/lib/Win32ShimmerNativeComponent.d.ts.map +1 -1
  14. package/package.json +24 -29
  15. package/src/Shimmer.test.tsx +1 -1
  16. package/src/Shimmer.tsx +3 -13
  17. package/src/Shimmer.types.shared.ts +1 -1
  18. package/tsconfig.json +26 -3
  19. package/babel.config.js +0 -1
  20. package/eslint.config.js +0 -3
  21. package/jest.config.js +0 -2
  22. package/lib-commonjs/Shimmer.d.ts +0 -3
  23. package/lib-commonjs/Shimmer.d.ts.map +0 -1
  24. package/lib-commonjs/Shimmer.js +0 -104
  25. package/lib-commonjs/Shimmer.js.map +0 -1
  26. package/lib-commonjs/Shimmer.styling.d.ts +0 -4
  27. package/lib-commonjs/Shimmer.styling.d.ts.map +0 -1
  28. package/lib-commonjs/Shimmer.styling.js +0 -34
  29. package/lib-commonjs/Shimmer.styling.js.map +0 -1
  30. package/lib-commonjs/Shimmer.styling.win32.d.ts +0 -8
  31. package/lib-commonjs/Shimmer.styling.win32.d.ts.map +0 -1
  32. package/lib-commonjs/Shimmer.styling.win32.js +0 -35
  33. package/lib-commonjs/Shimmer.styling.win32.js.map +0 -1
  34. package/lib-commonjs/Shimmer.test.d.ts +0 -2
  35. package/lib-commonjs/Shimmer.test.d.ts.map +0 -1
  36. package/lib-commonjs/Shimmer.test.js +0 -92
  37. package/lib-commonjs/Shimmer.test.js.map +0 -1
  38. package/lib-commonjs/Shimmer.types.d.ts +0 -3
  39. package/lib-commonjs/Shimmer.types.d.ts.map +0 -1
  40. package/lib-commonjs/Shimmer.types.js +0 -6
  41. package/lib-commonjs/Shimmer.types.js.map +0 -1
  42. package/lib-commonjs/Shimmer.types.shared.d.ts +0 -145
  43. package/lib-commonjs/Shimmer.types.shared.d.ts.map +0 -1
  44. package/lib-commonjs/Shimmer.types.shared.js +0 -5
  45. package/lib-commonjs/Shimmer.types.shared.js.map +0 -1
  46. package/lib-commonjs/Shimmer.types.win32.d.ts +0 -39
  47. package/lib-commonjs/Shimmer.types.win32.d.ts.map +0 -1
  48. package/lib-commonjs/Shimmer.types.win32.js +0 -6
  49. package/lib-commonjs/Shimmer.types.win32.js.map +0 -1
  50. package/lib-commonjs/Shimmer.win32.d.ts +0 -9
  51. package/lib-commonjs/Shimmer.win32.d.ts.map +0 -1
  52. package/lib-commonjs/Shimmer.win32.js +0 -135
  53. package/lib-commonjs/Shimmer.win32.js.map +0 -1
  54. package/lib-commonjs/ShimmerTokens.android.d.ts +0 -5
  55. package/lib-commonjs/ShimmerTokens.android.d.ts.map +0 -1
  56. package/lib-commonjs/ShimmerTokens.android.js +0 -15
  57. package/lib-commonjs/ShimmerTokens.android.js.map +0 -1
  58. package/lib-commonjs/ShimmerTokens.d.ts +0 -5
  59. package/lib-commonjs/ShimmerTokens.d.ts.map +0 -1
  60. package/lib-commonjs/ShimmerTokens.ios.d.ts +0 -5
  61. package/lib-commonjs/ShimmerTokens.ios.d.ts.map +0 -1
  62. package/lib-commonjs/ShimmerTokens.ios.js +0 -15
  63. package/lib-commonjs/ShimmerTokens.ios.js.map +0 -1
  64. package/lib-commonjs/ShimmerTokens.js +0 -17
  65. package/lib-commonjs/ShimmerTokens.js.map +0 -1
  66. package/lib-commonjs/ShimmerTokens.win32.d.ts +0 -5
  67. package/lib-commonjs/ShimmerTokens.win32.d.ts.map +0 -1
  68. package/lib-commonjs/ShimmerTokens.win32.js +0 -17
  69. package/lib-commonjs/ShimmerTokens.win32.js.map +0 -1
  70. package/lib-commonjs/SvgShapeToPath.d.ts +0 -18
  71. package/lib-commonjs/SvgShapeToPath.d.ts.map +0 -1
  72. package/lib-commonjs/SvgShapeToPath.js +0 -148
  73. package/lib-commonjs/SvgShapeToPath.js.map +0 -1
  74. package/lib-commonjs/Win32ShimmerNativeComponent.d.ts +0 -14
  75. package/lib-commonjs/Win32ShimmerNativeComponent.d.ts.map +0 -1
  76. package/lib-commonjs/Win32ShimmerNativeComponent.js +0 -10
  77. package/lib-commonjs/Win32ShimmerNativeComponent.js.map +0 -1
  78. package/lib-commonjs/consts.android.d.ts +0 -4
  79. package/lib-commonjs/consts.android.d.ts.map +0 -1
  80. package/lib-commonjs/consts.android.js +0 -7
  81. package/lib-commonjs/consts.android.js.map +0 -1
  82. package/lib-commonjs/consts.d.ts +0 -4
  83. package/lib-commonjs/consts.d.ts.map +0 -1
  84. package/lib-commonjs/consts.ios.d.ts +0 -4
  85. package/lib-commonjs/consts.ios.d.ts.map +0 -1
  86. package/lib-commonjs/consts.ios.js +0 -7
  87. package/lib-commonjs/consts.ios.js.map +0 -1
  88. package/lib-commonjs/consts.js +0 -7
  89. package/lib-commonjs/consts.js.map +0 -1
  90. package/lib-commonjs/consts.win32.d.ts +0 -4
  91. package/lib-commonjs/consts.win32.d.ts.map +0 -1
  92. package/lib-commonjs/consts.win32.js +0 -7
  93. package/lib-commonjs/consts.win32.js.map +0 -1
  94. package/lib-commonjs/index.d.ts +0 -5
  95. package/lib-commonjs/index.d.ts.map +0 -1
  96. package/lib-commonjs/index.js +0 -12
  97. package/lib-commonjs/index.js.map +0 -1
@@ -1,148 +0,0 @@
1
- "use strict";
2
- /**
3
- * These functions are necessary to deal with the win32 platform issue of d2d1 not supporting SVG <Mask> elements.
4
- * We can support them indirectly by inverting a <ClipPath> element, with the troublesome issue of there being
5
- * no direct way to do so -- which makes sense in general, one would just use <Mask> instead.
6
- *
7
- * The most desirable interface would be a ClipPath.invert property or function and/or a toString; masking
8
- * is generally an inversion of clipping, but we do not have such properties or functions. This void can
9
- * be filled by implementing directly (a worthwhile PR to react-native-svg) or by implementing toString functions
10
- * for shapes individually. The shapes individually can be composed into a single clip path string, along with
11
- * a shape that covers the entire SVG canvas. Using the evenodd clip rule, this effectively becomes a mask.
12
- *
13
- * This solution is far from ideal and may have incompatibilities with <ClipPath> features; for Shimmer, it's sufficient,
14
- * as we only support rounded rects and circles, with a circle being a rounded rect of borderRadius=length/2=width/2.
15
- */
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.convertRectToSvgPath = convertRectToSvgPath;
18
- exports.convertCircleToSvgPath = convertCircleToSvgPath;
19
- // Note for explicit clarity: length and width represent the full length and width of the rect, and not
20
- // the straight edge segments (i.e. length - 2*borderRadius).
21
- // borderRadius[X|Y] cannot be larger than [length/2 or width]/2; it would not be able to connect to the edge
22
- // segments of the rect if so, and will be reduced to the maximum values accordingly.
23
- function convertRoundedRectToSvgPath(x, y, borderRadiusX, borderRadiusY, width, height) {
24
- // Reduce borderRadii to maximum usable size.
25
- if (borderRadiusX * 2 > width) {
26
- borderRadiusX = width / 2;
27
- }
28
- if (borderRadiusY * 2 > height) {
29
- borderRadiusY = height / 2;
30
- }
31
- const horizontalEdgeLength = width - borderRadiusX * 2;
32
- const verticalEdgeLength = height - borderRadiusY * 2;
33
- const xAxisRotation = 0;
34
- const largeArcFlag = 0;
35
- const sweepArcFlag = 1;
36
- /**
37
- * The general manner in which we will draw our rounded rect is in the following
38
- * order of points.
39
- *
40
- * - Forward (/) and back (\) slashes represent borderRadiusY and borderRadiusX, respectively.
41
- * - The un-rounded rect points are represented by center dots (and steal 1 unit from the borderRadii).
42
- * - x and y parameters are left out as path arguments use relative coordinates (vs absolute coordinates).
43
- * - Coordinate axis aids are present to avoid counting for any necessary clarification.
44
- *
45
- * x: arbitrary
46
- * y: arbitrary
47
- * width: 24
48
- * height: 12
49
- * borderRadiusX: 5
50
- * borderRadiusY: 3
51
- *
52
- * 0123456789012345678901234
53
- *
54
- * (1+9) (2)
55
- * ⬇ ⬇
56
- * 0 •\\\\--------------\\\\•
57
- * 1 / /
58
- * 2 / /
59
- * 3 (8) ➡ | | ⬅ (3)
60
- * 4 | |
61
- * 5 | |
62
- * 6 | |
63
- * 7 | |
64
- * 8 | |
65
- * 9 (7) ➡ | | ⬅ (4)
66
- * 0 / /
67
- * 1 / /
68
- * 2 •\\\\--------------\\\\•
69
- * ⬆ ⬆
70
- * (6) (5)
71
- *
72
- * Which would generate the following path:
73
- * const path = 'M {x+5} ${y+3} ' +
74
- * 'h 14 ' +
75
- * 'a 5 3 0 0 1 5 3' +
76
- * 'v 6 ' +
77
- * 'a 5 3 0 0 1 -5 3' +
78
- * 'h -14 ' +
79
- * 'a 5 3 0 0 1 -5 -3' +
80
- * 'v -6 ' +
81
- * 'a 5 3 0 0 1 5 -3 Z';
82
- */
83
- // We start at the left-most point of the top edge.
84
- // M: lift and move the pen to [x] [y] coordinates -- does not draw.
85
- let path = ['M', x + borderRadiusX, y];
86
- // draw to the right-most point of the top edge.
87
- // h: horizontally draw a line [n] units relative to the current pen position.
88
- path = path.concat(['h', horizontalEdgeLength]);
89
- /**
90
- * draw the arc for the top-right corner. If the rect is not rounded, the arc will be 0 length.
91
- * a: draw an arc relative to the current pen position with the following parameters:
92
- * rx: X-axis ellipse radius
93
- * ry: Y-axis ellipse radius
94
- * x-axis-rotation: rotation of the ellipse relative to the current coordinate system
95
- * large-arc-flag: See https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands
96
- * sweep-arc-flag: See https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands
97
- * (dx, dy): relative end coordinate
98
- *
99
- * 'a rx ry x-axis-rotation large-arc-flag sweep-arc-flag dx dy'
100
- *
101
- * We will use x-axis-rotation = 0, large-arc-flag = 0, and sweep-arc-flag = 1 for our path generation.
102
- * */
103
- path = path.concat(['a', borderRadiusX, borderRadiusY, xAxisRotation, largeArcFlag, sweepArcFlag, borderRadiusX, borderRadiusY]);
104
- /**
105
- * Draw to the bottom-most point of the right edge.
106
- * v: vertically draw a line [n] units relative to the current pen position.
107
- */
108
- path = path.concat(['v', verticalEdgeLength]);
109
- /**
110
- * Draw the arc for the bottom-right corner.
111
- */
112
- path = path.concat(['a', borderRadiusX, borderRadiusY, xAxisRotation, largeArcFlag, sweepArcFlag, -borderRadiusX, borderRadiusY]);
113
- /**
114
- * Draw to the left-most point of the bottom edge.
115
- */
116
- path = path.concat(['h', -horizontalEdgeLength]);
117
- /**
118
- * Draw the bottom-left corner.
119
- */
120
- path = path.concat(['a', borderRadiusX, borderRadiusY, xAxisRotation, largeArcFlag, sweepArcFlag, -borderRadiusX, -borderRadiusY]);
121
- /**
122
- * Draw to the top-most point of the left edge.
123
- */
124
- path = path.concat(['v', -verticalEdgeLength]);
125
- /**
126
- * Draw the top-left corner.
127
- */
128
- path = path.concat(['a', borderRadiusX, borderRadiusY, xAxisRotation, largeArcFlag, sweepArcFlag, borderRadiusX, -borderRadiusY]);
129
- /**
130
- * Finally, close the shape. While we have manually returned to the same coordinate we started with, closing and not-closing the shape
131
- * can have different behavior depending on other properties.
132
- * z or Z: close the shape.
133
- */
134
- path = path.concat('z');
135
- /**
136
- * Join all arguments with spaces and return the completed path.
137
- */
138
- return path.join(' ');
139
- }
140
- function convertRectToSvgPath(rectShape) {
141
- // Extract necessary args and generate the corresponding path for the shape.
142
- return convertRoundedRectToSvgPath(rectShape.x ? rectShape.x : 0, rectShape.y ? rectShape.y : 0, rectShape.borderRadiusX ? rectShape.borderRadiusX : 0, rectShape.borderRadiusX ? rectShape.borderRadiusY : 0, rectShape.width ? rectShape.width : 100, rectShape.height ? rectShape.height : 16);
143
- }
144
- function convertCircleToSvgPath(circleShape) {
145
- const radius = circleShape.radius ? circleShape.radius : 12;
146
- return convertRoundedRectToSvgPath(circleShape.cx ? circleShape.cx - circleShape.radius : 12, circleShape.cy ? circleShape.cy - circleShape.radius : 12, radius, radius, radius * 2, radius * 2);
147
- }
148
- //# sourceMappingURL=SvgShapeToPath.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SvgShapeToPath.js","sourceRoot":"","sources":["../src/SvgShapeToPath.ts"],"names":[],"mappings":"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"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- * @format
5
- */
6
- import type { ViewProps } from 'react-native';
7
- import type { Double } from 'react-native/Libraries/Types/CodegenTypes';
8
- export interface NativeProps extends ViewProps {
9
- delay?: Double;
10
- duration?: Double;
11
- }
12
- declare const _default: import("react-native").HostComponent<NativeProps>;
13
- export default _default;
14
- //# sourceMappingURL=Win32ShimmerNativeComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Win32ShimmerNativeComponent.d.ts","sourceRoot":"","sources":["../src/Win32ShimmerNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAGxE,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;AAED,wBAA+E"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- * @format
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- const react_native_1 = require("react-native");
9
- exports.default = (0, react_native_1.requireNativeComponent)('RCTNativeAnimatedShimmer');
10
- //# sourceMappingURL=Win32ShimmerNativeComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Win32ShimmerNativeComponent.js","sourceRoot":"","sources":["../src/Win32ShimmerNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAKH,+CAAsD;kBAOvC,IAAA,qCAAsB,EAAc,0BAA0B,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const shimmerDefaultAngle = 45;
2
- export declare const shimmerDefaultDelay = 0;
3
- export declare const shimmerDefaultDuration = 1000;
4
- //# sourceMappingURL=consts.android.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.android.d.ts","sourceRoot":"","sources":["../src/consts.android.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,sBAAsB,OAAO,CAAC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shimmerDefaultDuration = exports.shimmerDefaultDelay = exports.shimmerDefaultAngle = void 0;
4
- exports.shimmerDefaultAngle = 45;
5
- exports.shimmerDefaultDelay = 0;
6
- exports.shimmerDefaultDuration = 1000;
7
- //# sourceMappingURL=consts.android.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.android.js","sourceRoot":"","sources":["../src/consts.android.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,EAAE,CAAC;AACzB,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,sBAAsB,GAAG,IAAI,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const shimmerDefaultAngle = 0;
2
- export declare const shimmerDefaultDelay = 0;
3
- export declare const shimmerDefaultDuration = 7000;
4
- //# sourceMappingURL=consts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,sBAAsB,OAAO,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const shimmerDefaultAngle = 0;
2
- export declare const shimmerDefaultDelay = 0;
3
- export declare const shimmerDefaultDuration = 1000;
4
- //# sourceMappingURL=consts.ios.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.ios.d.ts","sourceRoot":"","sources":["../src/consts.ios.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,sBAAsB,OAAO,CAAC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shimmerDefaultDuration = exports.shimmerDefaultDelay = exports.shimmerDefaultAngle = void 0;
4
- exports.shimmerDefaultAngle = 0;
5
- exports.shimmerDefaultDelay = 0;
6
- exports.shimmerDefaultDuration = 1000;
7
- //# sourceMappingURL=consts.ios.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.ios.js","sourceRoot":"","sources":["../src/consts.ios.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,sBAAsB,GAAG,IAAI,CAAC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shimmerDefaultDuration = exports.shimmerDefaultDelay = exports.shimmerDefaultAngle = void 0;
4
- exports.shimmerDefaultAngle = 0;
5
- exports.shimmerDefaultDelay = 0;
6
- exports.shimmerDefaultDuration = 7000;
7
- //# sourceMappingURL=consts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,sBAAsB,GAAG,IAAI,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const shimmerDefaultAngle = 0;
2
- export declare const shimmerDefaultDelay = 500;
3
- export declare const shimmerDefaultDuration = 2000;
4
- //# sourceMappingURL=consts.win32.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.win32.d.ts","sourceRoot":"","sources":["../src/consts.win32.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,sBAAsB,OAAO,CAAC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shimmerDefaultDuration = exports.shimmerDefaultDelay = exports.shimmerDefaultAngle = void 0;
4
- exports.shimmerDefaultAngle = 0;
5
- exports.shimmerDefaultDelay = 500;
6
- exports.shimmerDefaultDuration = 2000;
7
- //# sourceMappingURL=consts.win32.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.win32.js","sourceRoot":"","sources":["../src/consts.win32.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAC1B,QAAA,sBAAsB,GAAG,IAAI,CAAC"}
@@ -1,5 +0,0 @@
1
- export { Shimmer } from './Shimmer';
2
- export { shimmerName } from './Shimmer.types';
3
- export type { ShimmerCircleElement, ShimmerElementTypes, ShimmerProps, ShimmerRectElement, ShimmerSlotProps, ShimmerTokens, ShimmerType, } from './Shimmer.types';
4
- export { shimmerDefaultAngle, shimmerDefaultDelay, shimmerDefaultDuration } from './consts';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shimmerDefaultDuration = exports.shimmerDefaultDelay = exports.shimmerDefaultAngle = exports.shimmerName = exports.Shimmer = void 0;
4
- const Shimmer_1 = require("./Shimmer");
5
- Object.defineProperty(exports, "Shimmer", { enumerable: true, get: function () { return Shimmer_1.Shimmer; } });
6
- const Shimmer_types_1 = require("./Shimmer.types");
7
- Object.defineProperty(exports, "shimmerName", { enumerable: true, get: function () { return Shimmer_types_1.shimmerName; } });
8
- const consts_1 = require("./consts");
9
- Object.defineProperty(exports, "shimmerDefaultAngle", { enumerable: true, get: function () { return consts_1.shimmerDefaultAngle; } });
10
- Object.defineProperty(exports, "shimmerDefaultDelay", { enumerable: true, get: function () { return consts_1.shimmerDefaultDelay; } });
11
- Object.defineProperty(exports, "shimmerDefaultDuration", { enumerable: true, get: function () { return consts_1.shimmerDefaultDuration; } });
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,mDAA8C;AAArC,4GAAA,WAAW,OAAA;AAUpB,qCAA4F;AAAnF,6GAAA,mBAAmB,OAAA;AAAE,6GAAA,mBAAmB,OAAA;AAAE,gHAAA,sBAAsB,OAAA"}