@fluentui-react-native/experimental-activity-indicator 0.10.18 → 0.11.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/lib/ActivityIndicator.android.d.ts +1 -1
  3. package/lib/ActivityIndicator.android.js +1 -1
  4. package/lib/ActivityIndicator.d.ts +1 -1
  5. package/lib/ActivityIndicator.ios.d.ts +1 -1
  6. package/lib/ActivityIndicator.ios.js +1 -1
  7. package/lib/ActivityIndicator.js +1 -1
  8. package/lib/ActivityIndicator.mobile.d.ts +7 -2
  9. package/lib/ActivityIndicator.mobile.d.ts.map +1 -1
  10. package/lib/ActivityIndicator.mobile.js +91 -89
  11. package/lib/ActivityIndicator.mobile.js.map +1 -1
  12. package/lib/ActivityIndicator.styling.d.ts +15 -5
  13. package/lib/ActivityIndicator.styling.js +76 -67
  14. package/lib/ActivityIndicator.styling.js.map +1 -1
  15. package/lib/ActivityIndicator.types.d.ts +36 -36
  16. package/lib/ActivityIndicator.types.js +1 -1
  17. package/lib/CoreActivityIndicator.d.ts +8 -4
  18. package/lib/CoreActivityIndicator.d.ts.map +1 -1
  19. package/lib/CoreActivityIndicator.js +13 -13
  20. package/lib/CoreActivityIndicator.js.map +1 -1
  21. package/lib/index.d.ts +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib-commonjs/ActivityIndicator.android.d.ts +1 -1
  24. package/lib-commonjs/ActivityIndicator.android.js +11 -6
  25. package/lib-commonjs/ActivityIndicator.android.js.map +1 -1
  26. package/lib-commonjs/ActivityIndicator.d.ts +1 -1
  27. package/lib-commonjs/ActivityIndicator.ios.d.ts +1 -1
  28. package/lib-commonjs/ActivityIndicator.ios.js +11 -6
  29. package/lib-commonjs/ActivityIndicator.ios.js.map +1 -1
  30. package/lib-commonjs/ActivityIndicator.js +11 -6
  31. package/lib-commonjs/ActivityIndicator.js.map +1 -1
  32. package/lib-commonjs/ActivityIndicator.mobile.d.ts +7 -2
  33. package/lib-commonjs/ActivityIndicator.mobile.d.ts.map +1 -1
  34. package/lib-commonjs/ActivityIndicator.mobile.js +107 -96
  35. package/lib-commonjs/ActivityIndicator.mobile.js.map +1 -1
  36. package/lib-commonjs/ActivityIndicator.styling.d.ts +15 -5
  37. package/lib-commonjs/ActivityIndicator.styling.js +89 -78
  38. package/lib-commonjs/ActivityIndicator.styling.js.map +1 -1
  39. package/lib-commonjs/ActivityIndicator.types.d.ts +36 -36
  40. package/lib-commonjs/ActivityIndicator.types.js +3 -3
  41. package/lib-commonjs/CoreActivityIndicator.d.ts +8 -4
  42. package/lib-commonjs/CoreActivityIndicator.d.ts.map +1 -1
  43. package/lib-commonjs/CoreActivityIndicator.js +18 -18
  44. package/lib-commonjs/CoreActivityIndicator.js.map +1 -1
  45. package/lib-commonjs/index.d.ts +1 -1
  46. package/lib-commonjs/index.js +10 -5
  47. package/lib-commonjs/index.js.map +1 -1
  48. package/package.json +56 -57
  49. package/src/ActivityIndicator.mobile.tsx +2 -3
  50. package/src/CoreActivityIndicator.tsx +2 -3
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityIndicator.styling.js","sourceRoot":"","sources":["../src/ActivityIndicator.styling.tsx"],"names":[],"mappings":";;;;;;AACA,+CAA0C;AAG1C,gEAA8D;AAC9D,gEAAuC;AASvC,uEAAkE;AAErD,QAAA,eAAe,GAA8B;IACxD,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACX,CAAC;AACW,QAAA,oBAAoB,GAA8B;IAC7D,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEF,0FAA0F;AAC1F,SAAgB,sBAAsB,CAAC,UAAiC;IACtE,IAAI,OAAO,UAAU,KAAK,WAAW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AAE,CAAC,CAAC;YACpC,KAAK,EAAE,uBAAe,CAAC,MAAM,CAAC,IAAI,CAAC;YACnC,MAAM,EAAE,uBAAe,CAAC,MAAM,CAAC,IAAI,CAAC;SACrC,CAAC,EACF,CAAC,MAAM,CAAC,CACT;KACF;CACF,CAAC;AAEF,6DAA6D;AAChD,QAAA,mBAAmB,GAAuG;IACrI,MAAM,EAAE;QACN,GAAG,EAAE,CAAC,CAAC;YACL,IAAI,EAAE,OAAO;SACd,CAAC;QACF,+CAAqB;KACtB;IACD,sBAAsB,EAAE,KAAK;IAC7B,SAAS,EAAE;QACT,IAAI,EAAE,IAAA,sBAAU,EACd,CAAC,MAA+B,EAAE,EAAE,CAAC,CAAC;YACpC,KAAK,EAAE,MAAM,CAAC,sBAAsB;YACpC,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,mCAAmC;SACvG,CAAC,EACF,CAAC,wBAAwB,EAAE,MAAM,CAAC,CACnC;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"ActivityIndicator.styling.js","sourceRoot":"","sources":["../src/ActivityIndicator.styling.tsx"],"names":[],"mappings":";;;;;;;AACA,+CAA0C;AAG1C,gEAA8D;AAC9D,gEAAuC;AASvC,uEAAkE;AAErD,QAAA,eAAe,GAA8B;IACxD,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACX,CAAC;AACW,QAAA,oBAAoB,GAA8B;IAC7D,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAC;AAEF,0FAA0F;AAC1F,gCAAuC,UAAiC,EAAsC;IAC5G,IAAI,OAAO,UAAU,KAAK,WAAW,EAAE,CAAC;Q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E,EAAE,CAAC,CAAC;YACpC,KAAK,EAAE,QAAA,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC;YACnC,MAAM,EAAE,QAAA,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC;SACrC,CAAC,EACF,CAAC,MAAM,CAAC,CACT;KACF;CACF,CAAC;AAEF,6DAA6D;AAChD,QAAA,mBAAmB,GAAuG;IACrI,MAAM,EAAE;QACN,GAAG,EAAE,CAAC,CAAC;YACL,IAAI,EAAE,OAAO;SACd,CAAC;QACF,+CAAqB;KACtB;IACD,sBAAsB,EAAE,KAAK;IAC7B,SAAS,EAAE;QACT,IAAI,EAAE,IAAA,sBAAU,EACd,CAAC,MAA+B,EAAE,EAAE,CAAC,CAAC;YACpC,KAAK,EAAE,MAAM,CAAC,sBAAsB;YACpC,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,mCAAmC;SACvG,CAAC,EACF,CAAC,wBAAwB,EAAE,MAAM,CAAC,CACnC;KACF;CACF,CAAC"}
@@ -1,54 +1,54 @@
1
1
  import type { Animated, ActivityIndicatorProps as CoreActivityIndicatorProps } from 'react-native';
2
2
  import type { SvgProps } from 'react-native-svg';
3
- export declare const activityIndicatorName = "ActivityIndicator";
3
+ export declare const activityIndicatorName = 'ActivityIndicator';
4
4
  /**
5
5
  * Specifies the possible sizes of the ActivityIndicator.
6
6
  */
7
7
  export type ActivityIndicatorSize = 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge';
8
8
  export interface ActivityIndicatorTokens {
9
- /**
10
- * ActivityIndicator element color
11
- * @defaultValue 'BDBDBD' for light mode, '666666' for dark mode
12
- */
13
- activityIndicatorColor?: string;
14
- /**
15
- * Line thickness of the ActivityIndicator
16
- * @defaultValue 'medium' or what size is set to
17
- */
18
- lineThickness?: ActivityIndicatorSize;
19
- /**
20
- * Size of the ActivityIndicator view
21
- * @defaultValue 'medium'
22
- */
23
- size?: ActivityIndicatorSize;
9
+ /**
10
+ * ActivityIndicator element color
11
+ * @defaultValue 'BDBDBD' for light mode, '666666' for dark mode
12
+ */
13
+ activityIndicatorColor?: string;
14
+ /**
15
+ * Line thickness of the ActivityIndicator
16
+ * @defaultValue 'medium' or what size is set to
17
+ */
18
+ lineThickness?: ActivityIndicatorSize;
19
+ /**
20
+ * Size of the ActivityIndicator view
21
+ * @defaultValue 'medium'
22
+ */
23
+ size?: ActivityIndicatorSize;
24
24
  }
25
25
  export interface ActivityIndicatorProps extends ActivityIndicatorTokens, Omit<CoreActivityIndicatorProps, 'size'> {
26
- /**
27
- * ActivityIndicator animating or not
28
- * @defaultValue 'true'
29
- */
30
- animating?: boolean;
31
- /**
32
- * ActivityIndicator hidden when not animating or not hidden
33
- * @defaultValue 'true'
34
- */
35
- hidesWhenStopped?: boolean;
26
+ /**
27
+ * ActivityIndicator animating or not
28
+ * @defaultValue 'true'
29
+ */
30
+ animating?: boolean;
31
+ /**
32
+ * ActivityIndicator hidden when not animating or not hidden
33
+ * @defaultValue 'true'
34
+ */
35
+ hidesWhenStopped?: boolean;
36
36
  }
37
37
  export interface FluentActivityIndicatorSlotProps {
38
- root: ActivityIndicatorProps;
39
- svg: Animated.AnimatedProps<SvgProps>;
38
+ root: ActivityIndicatorProps;
39
+ svg: Animated.AnimatedProps<SvgProps>;
40
40
  }
41
41
  export interface FluentActivityIndicatorType {
42
- props: ActivityIndicatorProps;
43
- slotProps: FluentActivityIndicatorSlotProps;
44
- tokens: ActivityIndicatorTokens;
42
+ props: ActivityIndicatorProps;
43
+ slotProps: FluentActivityIndicatorSlotProps;
44
+ tokens: ActivityIndicatorTokens;
45
45
  }
46
46
  export interface CoreActivityIndicatorSlotProps {
47
- root: CoreActivityIndicatorProps;
47
+ root: CoreActivityIndicatorProps;
48
48
  }
49
49
  export interface CoreActivityIndicatorType {
50
- props: ActivityIndicatorProps;
51
- slotProps: CoreActivityIndicatorSlotProps;
52
- tokens: ActivityIndicatorTokens;
50
+ props: ActivityIndicatorProps;
51
+ slotProps: CoreActivityIndicatorSlotProps;
52
+ tokens: ActivityIndicatorTokens;
53
53
  }
54
- //# sourceMappingURL=ActivityIndicator.types.d.ts.map
54
+ //# sourceMappingURL=ActivityIndicator.types.d.ts.map
@@ -1,5 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.activityIndicatorName = void 0;
4
4
  exports.activityIndicatorName = 'ActivityIndicator';
5
- //# sourceMappingURL=ActivityIndicator.types.js.map
5
+ //# sourceMappingURL=ActivityIndicator.types.js.map
@@ -1,9 +1,13 @@
1
- /** @jsxRuntime classic */
2
- /** @jsx withSlots */
1
+ /** @jsxImportSource @fluentui-react-native/framework-base */
3
2
  import type { ActivityIndicatorProps } from './ActivityIndicator.types';
4
3
  /**
5
4
  * Wrapper around React Native Core's ActivityIndicator for platforms we do not
6
5
  * have a custom FluentUI React Native ActivityIndicator defined.
7
6
  */
8
- export declare const ActivityIndicator: import("@fluentui-react-native/framework").ComposableComponent<ActivityIndicatorProps, import("./ActivityIndicator.types").CoreActivityIndicatorSlotProps, import("./ActivityIndicator.types").ActivityIndicatorTokens, import("@fluentui-react-native/framework").ObjectBase>;
9
- //# sourceMappingURL=CoreActivityIndicator.d.ts.map
7
+ export declare const ActivityIndicator: import('@fluentui-react-native/framework').ComposableComponent<
8
+ ActivityIndicatorProps,
9
+ import('./ActivityIndicator.types').CoreActivityIndicatorSlotProps,
10
+ import('./ActivityIndicator.types').ActivityIndicatorTokens,
11
+ import('@fluentui-react-native/framework').ObjectBase
12
+ >;
13
+ //# sourceMappingURL=CoreActivityIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CoreActivityIndicator.d.ts","sourceRoot":"","sources":["../src/CoreActivityIndicator.tsx"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B,qBAAqB;AAQrB,OAAO,KAAK,EAA6B,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAGnG;;;GAGG;AACH,eAAO,MAAM,iBAAiB,gRAU5B,CAAC"}
1
+ {"version":3,"file":"CoreActivityIndicator.d.ts","sourceRoot":"","sources":["../src/CoreActivityIndicator.tsx"],"names":[],"mappings":"AAAA,6DAA6D;AAQ7D,OAAO,KAAK,EAA6B,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAGnG;;;GAGG;AACH,eAAO,MAAM,iBAAiB,gRAU5B,CAAC"}
@@ -1,25 +1,25 @@
1
- "use strict";
2
- /** @jsxRuntime classic */
3
- /** @jsx withSlots */
4
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
5
3
  exports.ActivityIndicator = void 0;
6
- const react_native_1 = require("react-native");
7
- const framework_1 = require("@fluentui-react-native/framework");
8
- const ActivityIndicator_styling_1 = require("./ActivityIndicator.styling");
9
- const ActivityIndicator_types_1 = require("./ActivityIndicator.types");
4
+ const jsx_runtime_1 = require('@fluentui-react-native/framework-base/jsx-runtime');
5
+ /** @jsxImportSource @fluentui-react-native/framework-base */
6
+ const react_native_1 = require('react-native');
7
+ const framework_1 = require('@fluentui-react-native/framework');
8
+ const ActivityIndicator_styling_1 = require('./ActivityIndicator.styling');
9
+ const ActivityIndicator_types_1 = require('./ActivityIndicator.types');
10
10
  /**
11
11
  * Wrapper around React Native Core's ActivityIndicator for platforms we do not
12
12
  * have a custom FluentUI React Native ActivityIndicator defined.
13
13
  */
14
14
  exports.ActivityIndicator = (0, framework_1.compose)({
15
- displayName: ActivityIndicator_types_1.activityIndicatorName,
16
- ...ActivityIndicator_styling_1.coreStylingSettings,
17
- slots: {
18
- root: react_native_1.ActivityIndicator,
19
- },
20
- useRender: (props, useSlots) => {
21
- const Slots = useSlots(props);
22
- return () => (0, framework_1.withSlots)(Slots.root, null);
23
- },
15
+ displayName: ActivityIndicator_types_1.activityIndicatorName,
16
+ ...ActivityIndicator_styling_1.coreStylingSettings,
17
+ slots: {
18
+ root: react_native_1.ActivityIndicator,
19
+ },
20
+ useRender: (props, useSlots) => {
21
+ const Slots = useSlots(props);
22
+ return () => jsx_runtime_1.jsx(Slots.root, {});
23
+ },
24
24
  });
25
- //# sourceMappingURL=CoreActivityIndicator.js.map
25
+ //# sourceMappingURL=CoreActivityIndicator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CoreActivityIndicator.js","sourceRoot":"","sources":["../src/CoreActivityIndicator.tsx"],"names":[],"mappings":";AAAA,0BAA0B;AAC1B,qBAAqB;;;AAErB,+CAA0E;AAG1E,gEAAsE;AAEtE,2EAAkE;AAElE,uEAAkE;AAElE;;;GAGG;AACU,QAAA,iBAAiB,GAAG,IAAA,mBAAO,EAA4B;IAClE,WAAW,EAAE,+CAAqB;IAClC,GAAG,+CAAmB;IACtB,KAAK,EAAE;QACL,IAAI,EAAE,gCAAqB;KAC5B;IACD,SAAS,EAAE,CAAC,KAA6B,EAAE,QAA6C,EAAE,EAAE;QAC1F,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC9B,OAAO,GAAG,EAAE,CAAC,2BAAC,KAAK,CAAC,IAAI,OAAG,CAAC;IAC9B,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"CoreActivityIndicator.js","sourceRoot":"","sources":["../src/CoreActivityIndicator.tsx"],"names":[],"mappings":";;;;AAAA,6DAA6D;AAE7D,+CAA0E;AAG1E,gEAA2D;AAE3D,2EAAkE;AAElE,uEAAkE;AAElE;;;GAGG;AACU,QAAA,iBAAiB,GAAG,IAAA,mBAAO,EAA4B;IAClE,WAAW,EAAE,+CAAqB;IAClC,GAAG,+CAAmB;IACtB,KAAK,EAAE;QACL,IAAI,EAAE,gCAAqB;KAC5B;IACD,SAAS,EAAE,CAAC,KAA6B,EAAE,QAA6C,EAAE,EAAE,CAAC;QAC3F,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC9B,OAAO,GAAG,EAAE,CAAC,kBAAC,KAAK,CAAC,IAAI,KAAG,CAAC;IAAA,CAC7B;CACF,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  export { ActivityIndicator } from './ActivityIndicator';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.ActivityIndicator = void 0;
4
- var ActivityIndicator_1 = require("./ActivityIndicator");
5
- Object.defineProperty(exports, "ActivityIndicator", { enumerable: true, get: function () { return ActivityIndicator_1.ActivityIndicator; } });
6
- //# sourceMappingURL=index.js.map
4
+ const ActivityIndicator_1 = require('./ActivityIndicator');
5
+ Object.defineProperty(exports, 'ActivityIndicator', {
6
+ enumerable: true,
7
+ get: function () {
8
+ return ActivityIndicator_1.ActivityIndicator;
9
+ },
10
+ });
11
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAA/C,sHAAA,iBAAiB,OAAA"}
package/package.json CHANGED
@@ -1,96 +1,95 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/experimental-activity-indicator",
3
- "version": "0.10.18",
3
+ "version": "0.11.0",
4
4
  "description": "A cross-platform Fluent Activity Indicator component",
5
- "main": "lib-commonjs/index.js",
6
- "module": "lib/index.js",
7
- "react-native": "src/index.ts",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/microsoft/fluentui-react-native.git",
8
+ "directory": "packages/experimental/ActivityIndicator"
9
+ },
10
+ "license": "MIT",
11
+ "author": "",
8
12
  "exports": {
9
13
  ".": {
14
+ "types": "./lib/index.d.ts",
10
15
  "import": "./lib/index.js",
11
- "require": "./lib-commonjs/index.js",
12
- "types": "./lib/index.d.ts"
16
+ "require": "./lib-commonjs/index.js"
13
17
  }
14
18
  },
15
- "typings": "lib/index.d.ts",
19
+ "main": "lib-commonjs/index.js",
20
+ "module": "lib/index.js",
21
+ "types": "lib/index.d.ts",
16
22
  "scripts": {
17
23
  "build": "fluentui-scripts build",
24
+ "build-cjs": "tsgo --outDir lib-commonjs",
25
+ "build-esm": "tsgo --outDir lib --module esnext --moduleResolution bundler",
18
26
  "clean": "fluentui-scripts clean",
19
27
  "depcheck": "fluentui-scripts depcheck",
20
- "just": "fluentui-scripts",
21
28
  "lint": "fluentui-scripts eslint",
22
- "test": "fluentui-scripts jest",
23
- "update-snapshots": "fluentui-scripts jest -u",
29
+ "lint-package": "fluentui-scripts lint-package",
24
30
  "prettier": "fluentui-scripts prettier",
25
- "prettier-fix": "fluentui-scripts prettier --fix true"
26
- },
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/microsoft/fluentui-react-native.git",
30
- "directory": "packages/experimental/ActivityIndicator"
31
+ "test": "fluentui-scripts jest",
32
+ "update-snapshots": "fluentui-scripts jest -u"
31
33
  },
32
34
  "dependencies": {
33
- "@fluentui-react-native/framework": "0.14.17",
35
+ "@fluentui-react-native/framework": "0.15.0",
34
36
  "assert-never": "^1.2.1"
35
37
  },
36
38
  "devDependencies": {
37
39
  "@babel/core": "^7.20.0",
38
40
  "@fluentui-react-native/eslint-config-rules": "0.1.1",
39
- "@fluentui-react-native/scripts": "0.1.1",
41
+ "@fluentui-react-native/framework-base": "0.3.0",
42
+ "@fluentui-react-native/kit-config": "0.1.2",
43
+ "@fluentui-react-native/scripts": "0.1.2",
44
+ "@react-native-community/cli": "^20.0.0",
45
+ "@react-native-community/cli-platform-android": "^20.0.0",
46
+ "@react-native-community/cli-platform-ios": "^20.0.0",
40
47
  "@react-native/babel-preset": "^0.74.0",
41
- "@react-native/metro-config": "^0.74.0",
42
- "@types/react": "~18.2.0",
43
- "react": "18.2.0",
44
- "react-native": "^0.74.0",
45
- "react-native-macos": "^0.74.0",
46
- "react-native-svg": "^15.4.0",
47
- "react-native-windows": "^0.74.0"
48
+ "@react-native/metro-config": "^0.81.0",
49
+ "@types/react": "~19.1.0",
50
+ "react": "19.1.0",
51
+ "react-native": "^0.81.0",
52
+ "react-native-macos": "^0.81.0",
53
+ "react-native-svg": "^15.12.1",
54
+ "react-native-windows": "^0.81.0"
48
55
  },
49
56
  "peerDependencies": {
50
57
  "@office-iss/react-native-win32": "^0.74.0",
51
- "react": "18.2.0",
52
- "react-native": "^0.73.0 || ^0.74.0",
53
- "react-native-macos": "^0.73.0 || ^0.74.0",
54
- "react-native-svg": "^15.0.0 || ^15.4.0",
55
- "react-native-windows": "^0.73.0 || ^0.74.0"
58
+ "@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0",
59
+ "react": "18.2.0 || 19.0.0 || 19.1.0",
60
+ "react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
61
+ "react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
62
+ "react-native-svg": ">=15.0.0 <15.13.0 || >=15.4.0 <15.13.0 || ^15.11.2 || ^15.12.1",
63
+ "react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
64
+ },
65
+ "peerDependenciesMeta": {
66
+ "@office-iss/react-native-win32": {
67
+ "optional": true
68
+ },
69
+ "@types/react": {
70
+ "optional": true
71
+ },
72
+ "react-native-macos": {
73
+ "optional": true
74
+ },
75
+ "react-native-windows": {
76
+ "optional": true
77
+ }
56
78
  },
57
- "author": "",
58
- "license": "MIT",
59
79
  "rnx-kit": {
60
80
  "kitType": "library",
61
81
  "alignDeps": {
62
- "presets": [
63
- "microsoft/react-native"
64
- ],
65
- "requirements": {
66
- "development": [
67
- "react-native@0.74"
68
- ],
69
- "production": [
70
- "react-native@0.73 || 0.74"
71
- ]
72
- },
73
82
  "capabilities": [
74
- "babel-preset-react-native",
75
83
  "core",
76
84
  "core-android",
77
85
  "core-ios",
78
86
  "core-macos",
79
87
  "core-windows",
80
88
  "react",
81
- "svg"
89
+ "svg",
90
+ "tools-core"
82
91
  ]
83
- }
84
- },
85
- "peerDependenciesMeta": {
86
- "@office-iss/react-native-win32": {
87
- "optional": true
88
92
  },
89
- "react-native-macos": {
90
- "optional": true
91
- },
92
- "react-native-windows": {
93
- "optional": true
94
- }
93
+ "extends": "@fluentui-react-native/kit-config"
95
94
  }
96
- }
95
+ }
@@ -1,10 +1,9 @@
1
- /** @jsxRuntime classic */
2
- /** @jsx withSlots */
1
+ /** @jsxImportSource @fluentui-react-native/framework-base */
3
2
  import { useRef, useEffect, useCallback } from 'react';
4
3
  import { Animated, Easing, View } from 'react-native';
5
4
 
6
5
  import type { UseSlots } from '@fluentui-react-native/framework';
7
- import { compose, mergeProps, withSlots, buildUseStyling } from '@fluentui-react-native/framework';
6
+ import { compose, mergeProps, buildUseStyling } from '@fluentui-react-native/framework';
8
7
  import { Svg, Path } from 'react-native-svg';
9
8
  import type { SvgProps } from 'react-native-svg';
10
9
 
@@ -1,10 +1,9 @@
1
- /** @jsxRuntime classic */
2
- /** @jsx withSlots */
1
+ /** @jsxImportSource @fluentui-react-native/framework-base */
3
2
 
4
3
  import { ActivityIndicator as CoreActivityIndicator } from 'react-native';
5
4
 
6
5
  import type { UseSlots } from '@fluentui-react-native/framework';
7
- import { compose, withSlots } from '@fluentui-react-native/framework';
6
+ import { compose } from '@fluentui-react-native/framework';
8
7
 
9
8
  import { coreStylingSettings } from './ActivityIndicator.styling';
10
9
  import type { CoreActivityIndicatorType, ActivityIndicatorProps } from './ActivityIndicator.types';