@microsoft/sp-component-base 1.16.0 → 1.17.0-beta.1

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 (56) hide show
  1. package/dist/467dc675-7cc5-4709-8aac-78e3b71bd2f6.manifest.json +72 -72
  2. package/dist/chunk.legacy-third-party-fabric-core-localfont_none_c240cee2b23dc4a14fc6.js +1 -0
  3. package/dist/index-internal-beta.d.ts +3 -0
  4. package/dist/index-internal-public.d.ts +3 -0
  5. package/dist/index-internal.d.ts +3 -0
  6. package/dist/{sp-component-base_en-us_d4446bf0123164fe451d.js → sp-component-base_default_6641f4d95d4250ba4161.js} +1 -1
  7. package/dist/sp-component-base_en-us_6641f4d95d4250ba4161.js +1 -0
  8. package/dist/sp-component-base_qps-ploc_6641f4d95d4250ba4161.js +1 -0
  9. package/dist/sp-component-base_qps-ploca_6641f4d95d4250ba4161.js +1 -0
  10. package/dist/tsdoc-metadata.json +1 -1
  11. package/lib-commonjs/BaseComponent.js +22 -0
  12. package/lib-commonjs/DynamicDataSourceManager.js +11 -7
  13. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFont.scss.css +9247 -0
  14. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFontKillSwitchActivated.scss.css +11267 -0
  15. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-shim.scss.css +2063 -0
  16. package/lib-commonjs/chunks/legacy-third-party-fabric-core/{fabric-core-shimKillSwitchActivated.scss → fabric-core-shimKillSwitchActivated.scss.css} +222 -534
  17. package/lib-commonjs/chunks/legacy-third-party-fabric-core/iconDefinitions.css +2 -7
  18. package/lib-commonjs/common/KillSwitches.js +6 -10
  19. package/lib-commonjs/styles/{shimmer.module.scss → shimmer.module.scss.css} +2 -4
  20. package/package.json +16 -13
  21. package/dist/chunk.legacy-third-party-fabric-core-localfont_none_85ad8a843c3d40a967bd.js +0 -1
  22. package/dist/sp-component-base_default_d4446bf0123164fe451d.js +0 -1
  23. package/dist/sp-component-base_qps-ploc_d4446bf0123164fe451d.js +0 -1
  24. package/dist/sp-component-base_qps-ploca_d4446bf0123164fe451d.js +0 -1
  25. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFont.scss +0 -29
  26. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFontKillSwitchActivated.scss +0 -21
  27. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Animation.scss +0 -173
  28. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_BrandIcon.scss +0 -19
  29. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Color.scss +0 -483
  30. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Font.scss +0 -397
  31. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Grid.scss +0 -24
  32. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Icon.Definitions.scss +0 -32
  33. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Icon.scss +0 -36
  34. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_References.scss +0 -27
  35. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Responsive.scss +0 -1009
  36. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Utility.scss +0 -56
  37. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Wrapper.scss +0 -42
  38. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Animation.Mixins.scss +0 -549
  39. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_BrandIcon.Mixins.scss +0 -36
  40. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Color.Mixins.scss +0 -407
  41. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Directionality.Mixins.scss +0 -334
  42. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Font.Mixins.scss +0 -403
  43. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_General.Mixins.scss +0 -228
  44. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Grid.Mixins.scss +0 -39
  45. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Icon.Mixins.scss +0 -4116
  46. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Responsive.Mixins.scss +0 -1487
  47. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_ScopedStyles.Mixins.scss +0 -21
  48. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Animation.Variables.scss +0 -11
  49. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_BrandIcon.Variables.scss +0 -14
  50. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Color.Variables.scss +0 -73
  51. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Font.Variables.scss +0 -45
  52. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_General.Variables.scss +0 -6
  53. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Icon.Variables.scss +0 -2672
  54. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Responsive.Variables.scss +0 -16
  55. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_ZIndex.Variables.scss +0 -14
  56. package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-shim.scss +0 -2478
@@ -1,21 +0,0 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- //
4
- // Office UI Fabric
5
-
6
- $ms-fabric-version-major: nth($ms-fabric-version, 1);
7
- $ms-fabric-version-minor: nth($ms-fabric-version, 2);
8
- $ms-fabric-version-patch: nth($ms-fabric-version, 3);
9
-
10
- // The CSS class for scoping styles to the current version of Fabric.
11
- $ms-fabric-version-suffix: '--v' + $ms-fabric-version-major + '-' + $ms-fabric-version-minor + '-' +
12
- $ms-fabric-version-patch;
13
- $ms-fabric-scope-class: '.ms-Fabric' + $ms-fabric-version-suffix;
14
-
15
- // A mixin to scope styles to the current version of Fabric.
16
- // Produces styles of the form .ms-Fabric-{version #} @content.
17
- @mixin scope-fabric {
18
- #{$ms-fabric-scope-class} {
19
- @content;
20
- }
21
- }
@@ -1,11 +0,0 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- // Easings
4
- $ms-animation-ease-1: cubic-bezier(0.1, 0.9, 0.2, 1) !default;
5
- $ms-animation-ease-2: cubic-bezier(0.1, 0.25, 0.75, 0.9) !default;
6
-
7
- // Durations
8
- $ms-animation-duration-1: 0.167s !default;
9
- $ms-animation-duration-2: 0.267s !default;
10
- $ms-animation-duration-3: 0.367s !default;
11
- $ms-animation-duration-4: 0.467s !default;
@@ -1,14 +0,0 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- // Image paths
4
- $ms-brand-icon-product-images-path: 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20220825.001/assets/brand-icons/product/png';
5
- $ms-brand-icon-document-images-path: 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20220825.001/assets/brand-icons/document/png';
6
-
7
- // Names
8
- $ms-brand-icon-product-icons: access excel infopath office onedrive onenote outlook powerpoint project
9
- sharepoint visio word;
10
- $ms-brand-icon-document-icons: accdb csv docx dotx mpp mpt odp ods odt one onepkg onetoc potx ppsx pptx pub
11
- vsdx vssx vstx xls xlsx xltx xsn;
12
-
13
- // Sizes
14
- $ms-brand-icon-sizes: 16 48 96;
@@ -1,73 +0,0 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- // Theme
4
- $ms-color-themeDarker: #004578 !default;
5
- $ms-color-themeDark: #005a9e !default;
6
- $ms-color-themeDarkAlt: #106ebe !default;
7
- $ms-color-themePrimary: #0078d4 !default;
8
- $ms-color-themeSecondary: #2b88d8 !default;
9
- $ms-color-themeTertiary: #71afe5 !default;
10
- $ms-color-themeLight: #c7e0f4 !default;
11
- $ms-color-themeLighter: #deecf9 !default;
12
- $ms-color-themeLighterAlt: #eff6fc !default;
13
-
14
- // Neutral
15
- $ms-color-black: #000000 !default;
16
- $ms-color-neutralDark: #212121 !default;
17
- $ms-color-neutralPrimary: #333333 !default;
18
- $ms-color-neutralPrimaryAlt: #3c3c3c !default;
19
- $ms-color-neutralSecondary: #666666 !default;
20
- $ms-color-neutralSecondaryAlt: #767676 !default;
21
- $ms-color-neutralTertiary: #a6a6a6 !default;
22
- $ms-color-neutralTertiaryAlt: #c8c8c8 !default;
23
- $ms-color-neutralQuaternary: #d0d0d0 !default;
24
- $ms-color-neutralQuaternaryAlt: #dadada !default;
25
- $ms-color-neutralLight: #eaeaea !default;
26
- $ms-color-neutralLighter: #f4f4f4 !default;
27
- $ms-color-neutralLighterAlt: #f8f8f8 !default;
28
- $ms-color-white: #ffffff !default;
29
-
30
- // Accent
31
- $ms-color-yellow: #ffb900 !default;
32
- $ms-color-yellowLight: #fff100 !default;
33
- $ms-color-orange: #d83b01 !default;
34
- $ms-color-orangeLight: #ea4300 !default;
35
- $ms-color-orangeLighter: #ff8c00 !default;
36
- $ms-color-redDark: #a80000 !default;
37
- $ms-color-red: #e81123 !default;
38
- $ms-color-magentaDark: #5c005c !default;
39
- $ms-color-magenta: #b4009e !default;
40
- $ms-color-magentaLight: #e3008c !default;
41
- $ms-color-purpleDark: #32145a !default;
42
- $ms-color-purple: #5c2d91 !default;
43
- $ms-color-purpleLight: #b4a0ff !default;
44
- $ms-color-blueDark: #002050 !default;
45
- $ms-color-blueMid: #00188f !default;
46
- $ms-color-blue: #0078d4 !default;
47
- $ms-color-blueLight: #00bcf2 !default;
48
- $ms-color-tealDark: #004b50 !default;
49
- $ms-color-teal: #008272 !default;
50
- $ms-color-tealLight: #00b294 !default;
51
- $ms-color-greenDark: #004b1c !default;
52
- $ms-color-green: #107c10 !default;
53
- $ms-color-greenLight: #bad80a !default;
54
-
55
- // Message
56
- $ms-color-info: $ms-color-neutralSecondaryAlt !default;
57
- $ms-color-infoBackground: $ms-color-neutralLighter !default;
58
- $ms-color-success: $ms-color-green !default;
59
- $ms-color-successBackground: #dff6dd !default;
60
- $ms-color-severeWarning: $ms-color-orange !default;
61
- $ms-color-severeWarningBackground: #fed9cc !default;
62
- $ms-color-alert: $ms-color-severeWarning !default; // Deprecated: Use $ms-color-severeWarning
63
- $ms-color-alertBackground: $ms-color-severeWarningBackground !default; // Deprecated: Use $ms-color-severeWarningBackground
64
- $ms-color-warning: $ms-color-neutralSecondaryAlt !default;
65
- $ms-color-warningBackground: #fff4ce !default;
66
- $ms-color-error: $ms-color-redDark !default;
67
- $ms-color-errorBackground: #fde7e9 !default;
68
-
69
- // High contrast colors
70
- $ms-color-contrastBlackDisabled: #00ff00 !default;
71
- $ms-color-contrastWhiteDisabled: #600000 !default;
72
- $ms-color-contrastBlackSelected: #1aebff !default;
73
- $ms-color-contrastWhiteSelected: #37006e !default;
@@ -1,45 +0,0 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- // Font directory and paths
4
- $ms-font-cdn-path: 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20220825.001/assets/fonts' !default;
5
-
6
- // Fallback fonts, if specified system or web fonts are unavailable.
7
- $ms-font-family-fallbacks: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue',
8
- sans-serif !default;
9
-
10
- // Language-specific font stacks.
11
- $ms-font-family-arabic: 'Segoe UI Web (Arabic)', $ms-font-family-fallbacks !default;
12
- $ms-font-family-chinese-simplified: 'Microsoft Yahei', Verdana, Simsun, $ms-font-family-fallbacks !default;
13
- $ms-font-family-chinese-traditional: 'Microsoft Jhenghei', Pmingliu, $ms-font-family-fallbacks !default;
14
- $ms-font-family-cyrillic: 'Segoe UI Web (Cyrillic)', $ms-font-family-fallbacks !default;
15
- $ms-font-family-east-european: 'Segoe UI Web (East European)', $ms-font-family-fallbacks !default;
16
- $ms-font-family-greek: 'Segoe UI Web (Greek)', $ms-font-family-fallbacks !default;
17
- $ms-font-family-hebrew: 'Segoe UI Web (Hebrew)', $ms-font-family-fallbacks !default;
18
- $ms-font-family-hindi: 'Nirmala UI', $ms-font-family-fallbacks !default;
19
- $ms-font-family-japanese: 'Yu Gothic', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka, $ms-font-family-fallbacks !default;
20
- $ms-font-family-korean: 'Malgun Gothic', Gulim, $ms-font-family-fallbacks !default;
21
- $ms-font-family-lao: 'Leelawadee UI Web', 'Lao UI', DokChampa, $ms-font-family-fallbacks !default;
22
- $ms-font-family-selawik: 'Selawik Web', $ms-font-family-fallbacks !default;
23
- $ms-font-family-thai: 'Leelawadee UI Web', 'Kmer UI', $ms-font-family-fallbacks !default;
24
- $ms-font-family-vietnamese: 'Segoe UI Web (Vietnamese)', $ms-font-family-fallbacks !default;
25
- $ms-font-family-west-european: 'Segoe UI Web (West European)', $ms-font-family-fallbacks !default;
26
-
27
- // Weights
28
- $ms-font-weight-light: 100 !default;
29
- $ms-font-weight-semilight: 300 !default;
30
- $ms-font-weight-regular: 400 !default;
31
- $ms-font-weight-semibold: 600 !default;
32
- $ms-font-weight-bold: 700 !default;
33
-
34
- // Sizes
35
- $ms-font-size-su: 42px !default;
36
- $ms-font-size-xxl: 28px !default;
37
- $ms-font-size-xl-plus: 24px !default;
38
- $ms-font-size-xl: 21px !default;
39
- $ms-font-size-l: 17px !default;
40
- $ms-font-size-m-plus: 15px !default;
41
- $ms-font-size-m: 14px !default;
42
- $ms-font-size-s-plus: 13px !default;
43
- $ms-font-size-s: 12px !default;
44
- $ms-font-size-xs: 11px !default;
45
- $ms-font-size-mi: 10px !default;
@@ -1,6 +0,0 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- // Default focus border style.
4
- $ms-focus-border-width: 1px;
5
- $ms-focus-border-color: $ms-color-neutralSecondary;
6
- $ms-focus-border-style: solid;