@kwiz/fluentui 1.0.78 → 1.0.79

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 (87) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +53 -53
  3. package/dist/controls/svg.js +21 -21
  4. package/dist/controls/svg.js.map +1 -1
  5. package/package.json +85 -85
  6. package/.dependency-cruiser.js +0 -399
  7. package/.github/workflows/npm-publish.yml +0 -24
  8. package/dist/@types/forwardRef.d.ts +0 -0
  9. package/dist/@types/forwardRef.js +0 -1
  10. package/dist/@types/forwardRef.js.map +0 -1
  11. package/dist/controls/error-boundary copy.d.ts +0 -23
  12. package/dist/controls/error-boundary copy.js +0 -33
  13. package/dist/controls/error-boundary copy.js.map +0 -1
  14. package/dist/helpers/common.d.ts +0 -4
  15. package/dist/helpers/common.js +0 -2
  16. package/dist/helpers/common.js.map +0 -1
  17. package/dist/helpers/context.d.ts +0 -26
  18. package/dist/helpers/context.js +0 -15
  19. package/dist/helpers/context.js.map +0 -1
  20. package/dist/helpers/drag-drop/exports.d.ts +0 -12
  21. package/dist/helpers/drag-drop/exports.js +0 -3
  22. package/dist/helpers/drag-drop/exports.js.map +0 -1
  23. package/dist/helpers/exports.d.ts +0 -7
  24. package/dist/helpers/exports.js +0 -8
  25. package/dist/helpers/exports.js.map +0 -1
  26. package/src/_modules/config.ts +0 -9
  27. package/src/_modules/constants.ts +0 -3
  28. package/src/controls/ColorPickerDialog.tsx +0 -84
  29. package/src/controls/accordion.tsx +0 -62
  30. package/src/controls/button.tsx +0 -181
  31. package/src/controls/canvas/CustomEventTargetBase.ts +0 -33
  32. package/src/controls/canvas/DrawPad.tsx +0 -297
  33. package/src/controls/canvas/DrawPadManager.ts +0 -695
  34. package/src/controls/canvas/bezier.ts +0 -110
  35. package/src/controls/canvas/point.ts +0 -45
  36. package/src/controls/card-list.tsx +0 -32
  37. package/src/controls/card.tsx +0 -78
  38. package/src/controls/centered.tsx +0 -15
  39. package/src/controls/date.tsx +0 -88
  40. package/src/controls/diagram-picker.tsx +0 -97
  41. package/src/controls/divider.tsx +0 -16
  42. package/src/controls/dropdown.tsx +0 -67
  43. package/src/controls/error-boundary.tsx +0 -42
  44. package/src/controls/field-editor.tsx +0 -43
  45. package/src/controls/file-upload.tsx +0 -156
  46. package/src/controls/horizontal.tsx +0 -49
  47. package/src/controls/html-editor/editor.tsx +0 -182
  48. package/src/controls/index.ts +0 -33
  49. package/src/controls/input.tsx +0 -161
  50. package/src/controls/kwizoverflow.tsx +0 -107
  51. package/src/controls/list.tsx +0 -120
  52. package/src/controls/loading.tsx +0 -11
  53. package/src/controls/menu.tsx +0 -196
  54. package/src/controls/merge-text.tsx +0 -126
  55. package/src/controls/please-wait.tsx +0 -33
  56. package/src/controls/progress-bar.tsx +0 -110
  57. package/src/controls/prompt.tsx +0 -122
  58. package/src/controls/qrcode.tsx +0 -37
  59. package/src/controls/search.tsx +0 -72
  60. package/src/controls/section.tsx +0 -134
  61. package/src/controls/svg.tsx +0 -139
  62. package/src/controls/toolbar.tsx +0 -47
  63. package/src/controls/vertical-content.tsx +0 -50
  64. package/src/controls/vertical.tsx +0 -43
  65. package/src/helpers/block-nav.tsx +0 -89
  66. package/src/helpers/context-const.ts +0 -30
  67. package/src/helpers/context-export.tsx +0 -78
  68. package/src/helpers/context-internal.ts +0 -14
  69. package/src/helpers/drag-drop/drag-drop-container.tsx +0 -54
  70. package/src/helpers/drag-drop/drag-drop-context-internal.tsx +0 -10
  71. package/src/helpers/drag-drop/drag-drop-context.tsx +0 -62
  72. package/src/helpers/drag-drop/drag-drop.types.ts +0 -21
  73. package/src/helpers/drag-drop/index.ts +0 -12
  74. package/src/helpers/drag-drop/readme.md +0 -76
  75. package/src/helpers/drag-drop/use-draggable.ts +0 -48
  76. package/src/helpers/drag-drop/use-droppable.ts +0 -39
  77. package/src/helpers/forwardRef.ts +0 -7
  78. package/src/helpers/hooks-events.ts +0 -150
  79. package/src/helpers/hooks.tsx +0 -175
  80. package/src/helpers/index.ts +0 -8
  81. package/src/helpers/use-alerts.tsx +0 -75
  82. package/src/helpers/use-editable-control.tsx +0 -38
  83. package/src/helpers/use-toast.tsx +0 -30
  84. package/src/index.ts +0 -3
  85. package/src/styles/index.ts +0 -1
  86. package/src/styles/styles.ts +0 -105
  87. package/src/styles/theme.ts +0 -91
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 KWIZ Corp
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 KWIZ Corp
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,53 +1,53 @@
1
- # fluentui
2
-
3
- For local debugging, if you plan to use `npm link` - there is a known issue with react that will potentially break your application.
4
-
5
- To fix that, you must mark react and fluentui imports as external.
6
- The best way of doing it is using webpack to build your app, and adding this:
7
- ```json
8
- resolve: {
9
- ...
10
- modules: [path.resolve(__dirname, 'node_modules'), 'node_modules']//important! needed for @kwiz/fluentui to work correctly when linked
11
- }
12
- ```
13
-
14
- Otherwise during dev, you'll have to link the react package in this project to load the react from node_modules in your caller application. For example:
15
-
16
- ```
17
- npm link ..\\test-project\\node_modules\\react\\ ..\\..test-project\\node_modules\\@types\\react\\
18
- ```
19
-
20
- To successfully use these controls you should create a context, and wrapt it in a drag/drop provider.
21
-
22
- We recommend using the provider control:
23
-
24
- ```ts
25
- <KWIZFluentProvider ctx={{ buttonShape: "rounded" }}>
26
- <FluentProvider theme={webLightTheme}>
27
- {content}
28
- </FluentProvider>
29
- </KWIZFluentProvider>
30
-
31
- ```
32
-
33
- Or you can use the following code:
34
-
35
- ```ts
36
- // it is no longer needed to send in a root node const root = React.useRef<HTMLDivElement>(null);
37
- const { KWIZFluentContext, value: kwizFluentContext } =
38
- useKWIZFluentContextProvider({
39
- ctx: {
40
- buttonShape: "rounded",
41
- },
42
- //root,
43
- });
44
-
45
- //...
46
- <KWIZFluentContext.Provider value={kwizFluentContext}>
47
- <DragDropContextProvider>
48
- <FluentProvider theme={webLightTheme} /*ref={root}*/>
49
- {content}
50
- </FluentProvider>
51
- </DragDropContextProvider>
52
- </KWIZFluentContext.Provider>;
53
- ```
1
+ # fluentui
2
+
3
+ For local debugging, if you plan to use `npm link` - there is a known issue with react that will potentially break your application.
4
+
5
+ To fix that, you must mark react and fluentui imports as external.
6
+ The best way of doing it is using webpack to build your app, and adding this:
7
+ ```json
8
+ resolve: {
9
+ ...
10
+ modules: [path.resolve(__dirname, 'node_modules'), 'node_modules']//important! needed for @kwiz/fluentui to work correctly when linked
11
+ }
12
+ ```
13
+
14
+ Otherwise during dev, you'll have to link the react package in this project to load the react from node_modules in your caller application. For example:
15
+
16
+ ```
17
+ npm link ..\\test-project\\node_modules\\react\\ ..\\..test-project\\node_modules\\@types\\react\\
18
+ ```
19
+
20
+ To successfully use these controls you should create a context, and wrapt it in a drag/drop provider.
21
+
22
+ We recommend using the provider control:
23
+
24
+ ```ts
25
+ <KWIZFluentProvider ctx={{ buttonShape: "rounded" }}>
26
+ <FluentProvider theme={webLightTheme}>
27
+ {content}
28
+ </FluentProvider>
29
+ </KWIZFluentProvider>
30
+
31
+ ```
32
+
33
+ Or you can use the following code:
34
+
35
+ ```ts
36
+ // it is no longer needed to send in a root node const root = React.useRef<HTMLDivElement>(null);
37
+ const { KWIZFluentContext, value: kwizFluentContext } =
38
+ useKWIZFluentContextProvider({
39
+ ctx: {
40
+ buttonShape: "rounded",
41
+ },
42
+ //root,
43
+ });
44
+
45
+ //...
46
+ <KWIZFluentContext.Provider value={kwizFluentContext}>
47
+ <DragDropContextProvider>
48
+ <FluentProvider theme={webLightTheme} /*ref={root}*/>
49
+ {content}
50
+ </FluentProvider>
51
+ </DragDropContextProvider>
52
+ </KWIZFluentContext.Provider>;
53
+ ```
@@ -3,7 +3,7 @@ import { tokens } from '@fluentui/react-components';
3
3
  import { flushSync } from 'react-dom';
4
4
  import { createRoot } from 'react-dom/client';
5
5
  export const YouTubeIcon = (props) => {
6
- return (_jsx("svg", { height: `${props.size}px`, width: `${props.size}px`, version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 461.001 461.001", xmlSpace: "preserve", children: _jsx("g", { children: _jsx("path", { style: { fill: "#F61C0D" }, d: "M365.257,67.393H95.744C42.866,67.393,0,110.259,0,163.137v134.728\r\nc0,52.878,42.866,95.744,95.744,95.744h269.513c52.878,0,95.744-42.866,95.744-95.744V163.137\r\nC461.001,110.259,418.135,67.393,365.257,67.393z M300.506,237.056l-126.06,60.123c-3.359,1.602-7.239-0.847-7.239-4.568V168.607\r\nc0-3.774,3.982-6.22,7.348-4.514l126.06,63.881C304.363,229.873,304.298,235.248,300.506,237.056z" }) }) }));
6
+ return (_jsx("svg", { height: `${props.size}px`, width: `${props.size}px`, version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 461.001 461.001", xmlSpace: "preserve", children: _jsx("g", { children: _jsx("path", { style: { fill: "#F61C0D" }, d: "M365.257,67.393H95.744C42.866,67.393,0,110.259,0,163.137v134.728\nc0,52.878,42.866,95.744,95.744,95.744h269.513c52.878,0,95.744-42.866,95.744-95.744V163.137\nC461.001,110.259,418.135,67.393,365.257,67.393z M300.506,237.056l-126.06,60.123c-3.359,1.602-7.239-0.847-7.239-4.568V168.607\nc0-3.774,3.982-6.22,7.348-4.514l126.06,63.881C304.363,229.873,304.298,235.248,300.506,237.056z" }) }) }));
7
7
  };
8
8
  export const MermaidIcon = (props) => {
9
9
  return (_jsxs("svg", { height: `${props.size}px`, width: `${props.size}px`, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 490.16 490.16", children: [_jsx("defs", { children: _jsx("style", { children: `.mm-cls-1{fill:#ff3670;}.mm-cls-2{fill:#fff;}` }) }), _jsx("rect", { className: "mm-cls-1", width: "490.16", height: "490.16", rx: "84.61" }), _jsx("path", { className: "mm-cls-2", d: "M407.48,111.18A165.2,165.2,0,0,0,245.08,220,165.2,165.2,0,0,0,82.68,111.18a165.5,165.5,0,0,0,72.06,143.64,88.81,88.81,0,0,1,38.53,73.45v50.86H296.9V328.27a88.8,88.8,0,0,1,38.52-73.45,165.41,165.41,0,0,0,72.06-143.64Z" }), _jsx("path", { className: "mm-cls-2", d: "M160.63,328.27a56.09,56.09,0,0,0-24.27-46.49,198.74,198.74,0,0,1-28.54-23.66A196.87,196.87,0,0,1,82.53,227V379.13h78.1Z" }), _jsx("path", { className: "mm-cls-2", d: "M329.53,328.27a56.09,56.09,0,0,1,24.27-46.49,198.74,198.74,0,0,0,28.54-23.66A196.87,196.87,0,0,0,407.63,227V379.13h-78.1Z" })] }));
@@ -12,7 +12,7 @@ export const TeamsIcon = (props) => {
12
12
  return (_jsxs("svg", { height: `${props.size}px`, width: `${props.size}px`, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2228.833 2073.333", children: [_jsx("path", { fill: "#5059C9", d: "M1554.637,777.5h575.713c54.391,0,98.483,44.092,98.483,98.483c0,0,0,0,0,0v524.398 c0,199.901-162.051,361.952-361.952,361.952h0h-1.711c-199.901,0.028-361.975-162-362.004-361.901c0-0.017,0-0.034,0-0.052V828.971 C1503.167,800.544,1526.211,777.5,1554.637,777.5L1554.637,777.5z" }), _jsx("circle", { fill: "#5059C9", cx: "1943.75", cy: "440.583", r: "233.25" }), _jsx("circle", { fill: "#7B83EB", cx: "1218.083", cy: "336.917", r: "336.917" }), _jsx("path", { fill: "#7B83EB", d: "M1667.323,777.5H717.01c-53.743,1.33-96.257,45.931-95.01,99.676v598.105 c-7.505,322.519,247.657,590.16,570.167,598.053c322.51-7.893,577.671-275.534,570.167-598.053V877.176 C1763.579,823.431,1721.066,778.83,1667.323,777.5z" }), _jsx("path", { opacity: ".1", d: "M1244,777.5v838.145c-0.258,38.435-23.549,72.964-59.09,87.598 c-11.316,4.787-23.478,7.254-35.765,7.257H667.613c-6.738-17.105-12.958-34.21-18.142-51.833 c-18.144-59.477-27.402-121.307-27.472-183.49V877.02c-1.246-53.659,41.198-98.19,94.855-99.52H1244z" }), _jsx("path", { opacity: ".2", d: "M1192.167,777.5v889.978c-0.002,12.287-2.47,24.449-7.257,35.765 c-14.634,35.541-49.163,58.833-87.598,59.09H691.975c-8.812-17.105-17.105-34.21-24.362-51.833 c-7.257-17.623-12.958-34.21-18.142-51.833c-18.144-59.476-27.402-121.307-27.472-183.49V877.02 c-1.246-53.659,41.198-98.19,94.855-99.52H1192.167z" }), _jsx("path", { opacity: ".2", d: "M1192.167,777.5v786.312c-0.395,52.223-42.632,94.46-94.855,94.855h-447.84 c-18.144-59.476-27.402-121.307-27.472-183.49V877.02c-1.246-53.659,41.198-98.19,94.855-99.52H1192.167z" }), _jsx("path", { opacity: ".2", d: "M1140.333,777.5v786.312c-0.395,52.223-42.632,94.46-94.855,94.855H649.472 c-18.144-59.476-27.402-121.307-27.472-183.49V877.02c-1.246-53.659,41.198-98.19,94.855-99.52H1140.333z" }), _jsx("path", { opacity: ".1", d: "M1244,509.522v163.275c-8.812,0.518-17.105,1.037-25.917,1.037 c-8.812,0-17.105-0.518-25.917-1.037c-17.496-1.161-34.848-3.937-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003 c-7.153-16.715-12.706-34.071-16.587-51.833h258.648C1201.449,414.866,1243.801,457.217,1244,509.522z" }), _jsx("path", { opacity: ".2", d: "M1192.167,561.355v111.442c-17.496-1.161-34.848-3.937-51.833-8.293 c-104.963-24.857-191.679-98.469-233.25-198.003h190.228C1149.616,466.699,1191.968,509.051,1192.167,561.355z" }), _jsx("path", { opacity: ".2", d: "M1192.167,561.355v111.442c-17.496-1.161-34.848-3.937-51.833-8.293 c-104.963-24.857-191.679-98.469-233.25-198.003h190.228C1149.616,466.699,1191.968,509.051,1192.167,561.355z" }), _jsx("path", { opacity: ".2", d: "M1140.333,561.355v103.148c-104.963-24.857-191.679-98.469-233.25-198.003 h138.395C1097.783,466.699,1140.134,509.051,1140.333,561.355z" }), _jsxs("linearGradient", { id: "a", gradientUnits: "userSpaceOnUse", x1: "198.099", y1: "1683.0726", x2: "942.2344", y2: "394.2607", gradientTransform: "matrix(1 0 0 -1 0 2075.3333)", children: [_jsx("stop", { offset: "0", stopColor: "#5a62c3" }), _jsx("stop", { offset: ".5", stopColor: "#4d55bd" }), _jsx("stop", { offset: "1", stopColor: "#3940ab" })] }), _jsx("path", { fill: "url(#a)", d: "M95.01,466.5h950.312c52.473,0,95.01,42.538,95.01,95.01v950.312c0,52.473-42.538,95.01-95.01,95.01 H95.01c-52.473,0-95.01-42.538-95.01-95.01V561.51C0,509.038,42.538,466.5,95.01,466.5z" }), _jsx("path", { fill: "#FFF", d: "M820.211,828.193H630.241v517.297H509.211V828.193H320.123V727.844h500.088V828.193z" })] }));
13
13
  };
14
14
  export const SVGLinkIcon = (props) => {
15
- return (_jsx("svg", { fill: tokens.colorNeutralForeground1, height: `${props.size}px`, width: `${props.size}px`, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 490.16 490.16", children: _jsx("g", { children: _jsxs("g", { children: [_jsx("path", { d: "M409.657,32.474c-43.146-43.146-113.832-43.146-156.978,0l-84.763,84.762c29.07-8.262,60.589-6.12,88.129,6.732\r\n\t\t\tl44.063-44.064c17.136-17.136,44.982-17.136,62.118,0c17.136,17.136,17.136,44.982,0,62.118l-55.386,55.386l-36.414,36.414\r\n\t\t\tc-17.136,17.136-44.982,17.136-62.119,0l-47.43,47.43c11.016,11.017,23.868,19.278,37.332,24.48\r\n\t\t\tc36.415,14.382,78.643,8.874,110.467-16.219c3.06-2.447,6.426-5.201,9.18-8.262l57.222-57.222l34.578-34.578\r\n\t\t\tC453.109,146.306,453.109,75.926,409.657,32.474z" }), _jsx("path", { d: "M184.135,320.114l-42.228,42.228c-17.136,17.137-44.982,17.137-62.118,0c-17.136-17.136-17.136-44.981,0-62.118\r\n\t\t\tl91.8-91.799c17.136-17.136,44.982-17.136,62.119,0l47.43-47.43c-11.016-11.016-23.868-19.278-37.332-24.48\r\n\t\t\tc-38.25-15.3-83.232-8.262-115.362,20.502c-1.53,1.224-3.06,2.754-4.284,3.978l-91.8,91.799\r\n\t\t\tc-43.146,43.146-43.146,113.832,0,156.979c43.146,43.146,113.832,43.146,156.978,0l82.927-83.845\r\n\t\t\tC230.035,335.719,220.243,334.496,184.135,320.114z" })] }) }) }));
15
+ return (_jsx("svg", { fill: tokens.colorNeutralForeground1, height: `${props.size}px`, width: `${props.size}px`, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 490.16 490.16", children: _jsx("g", { children: _jsxs("g", { children: [_jsx("path", { d: "M409.657,32.474c-43.146-43.146-113.832-43.146-156.978,0l-84.763,84.762c29.07-8.262,60.589-6.12,88.129,6.732\n\t\t\tl44.063-44.064c17.136-17.136,44.982-17.136,62.118,0c17.136,17.136,17.136,44.982,0,62.118l-55.386,55.386l-36.414,36.414\n\t\t\tc-17.136,17.136-44.982,17.136-62.119,0l-47.43,47.43c11.016,11.017,23.868,19.278,37.332,24.48\n\t\t\tc36.415,14.382,78.643,8.874,110.467-16.219c3.06-2.447,6.426-5.201,9.18-8.262l57.222-57.222l34.578-34.578\n\t\t\tC453.109,146.306,453.109,75.926,409.657,32.474z" }), _jsx("path", { d: "M184.135,320.114l-42.228,42.228c-17.136,17.137-44.982,17.137-62.118,0c-17.136-17.136-17.136-44.981,0-62.118\n\t\t\tl91.8-91.799c17.136-17.136,44.982-17.136,62.119,0l47.43-47.43c-11.016-11.016-23.868-19.278-37.332-24.48\n\t\t\tc-38.25-15.3-83.232-8.262-115.362,20.502c-1.53,1.224-3.06,2.754-4.284,3.978l-91.8,91.799\n\t\t\tc-43.146,43.146-43.146,113.832,0,156.979c43.146,43.146,113.832,43.146,156.978,0l82.927-83.845\n\t\t\tC230.035,335.719,220.243,334.496,184.135,320.114z" })] }) }) }));
16
16
  };
17
17
  export const SVGSplitIcon = (props) => {
18
18
  return _jsx("svg", { fill: tokens.colorNeutralForeground1, height: `${props.size}px`, width: `${props.size}px`, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 17 17", children: _jsx("path", { d: "M10.646 13.146l0.707 0.707-2.853 2.854-2.854-2.854 0.707-0.707 1.647 1.647v-3.772h1v3.772l1.646-1.647zM8 2.207v3.772h1v-3.772l1.646 1.646 0.707-0.707-2.853-2.853-2.854 2.853 0.707 0.707 1.647-1.646zM0 8v1h17v-1h-17z" }) });
@@ -22,31 +22,31 @@ export const HubSpotIcon = (props) => {
22
22
  };
23
23
  //get icons as html
24
24
  export const GetSVGLinkIcon = (props) => {
25
- return (`<svg fill="${tokens.colorNeutralForeground1}" height="${props.size}px" width="${props.size}px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490.16 490.16">
26
- <g>
27
- <g>
28
- <path d="M409.657,32.474c-43.146-43.146-113.832-43.146-156.978,0l-84.763,84.762c29.07-8.262,60.589-6.12,88.129,6.732
29
- l44.063-44.064c17.136-17.136,44.982-17.136,62.118,0c17.136,17.136,17.136,44.982,0,62.118l-55.386,55.386l-36.414,36.414
30
- c-17.136,17.136-44.982,17.136-62.119,0l-47.43,47.43c11.016,11.017,23.868,19.278,37.332,24.48
31
- c36.415,14.382,78.643,8.874,110.467-16.219c3.06-2.447,6.426-5.201,9.18-8.262l57.222-57.222l34.578-34.578
32
- C453.109,146.306,453.109,75.926,409.657,32.474z"/>
33
- <path d="M184.135,320.114l-42.228,42.228c-17.136,17.137-44.982,17.137-62.118,0c-17.136-17.136-17.136-44.981,0-62.118
34
- l91.8-91.799c17.136-17.136,44.982-17.136,62.119,0l47.43-47.43c-11.016-11.016-23.868-19.278-37.332-24.48
35
- c-38.25-15.3-83.232-8.262-115.362,20.502c-1.53,1.224-3.06,2.754-4.284,3.978l-91.8,91.799
36
- c-43.146,43.146-43.146,113.832,0,156.979c43.146,43.146,113.832,43.146,156.978,0l82.927-83.845
37
- C230.035,335.719,220.243,334.496,184.135,320.114z"/>
38
- </g>
39
- </g>
25
+ return (`<svg fill="${tokens.colorNeutralForeground1}" height="${props.size}px" width="${props.size}px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490.16 490.16">
26
+ <g>
27
+ <g>
28
+ <path d="M409.657,32.474c-43.146-43.146-113.832-43.146-156.978,0l-84.763,84.762c29.07-8.262,60.589-6.12,88.129,6.732
29
+ l44.063-44.064c17.136-17.136,44.982-17.136,62.118,0c17.136,17.136,17.136,44.982,0,62.118l-55.386,55.386l-36.414,36.414
30
+ c-17.136,17.136-44.982,17.136-62.119,0l-47.43,47.43c11.016,11.017,23.868,19.278,37.332,24.48
31
+ c36.415,14.382,78.643,8.874,110.467-16.219c3.06-2.447,6.426-5.201,9.18-8.262l57.222-57.222l34.578-34.578
32
+ C453.109,146.306,453.109,75.926,409.657,32.474z"/>
33
+ <path d="M184.135,320.114l-42.228,42.228c-17.136,17.137-44.982,17.137-62.118,0c-17.136-17.136-17.136-44.981,0-62.118
34
+ l91.8-91.799c17.136-17.136,44.982-17.136,62.119,0l47.43-47.43c-11.016-11.016-23.868-19.278-37.332-24.48
35
+ c-38.25-15.3-83.232-8.262-115.362,20.502c-1.53,1.224-3.06,2.754-4.284,3.978l-91.8,91.799
36
+ c-43.146,43.146-43.146,113.832,0,156.979c43.146,43.146,113.832,43.146,156.978,0l82.927-83.845
37
+ C230.035,335.719,220.243,334.496,184.135,320.114z"/>
38
+ </g>
39
+ </g>
40
40
  </svg>`);
41
41
  };
42
42
  export const GetSVGSplitIcon = (props) => {
43
- return `<svg fill="${tokens.colorNeutralForeground1}" height="${props.size}px" width="${props.size}px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17">
44
- <path d="M10.646 13.146l0.707 0.707-2.853 2.854-2.854-2.854 0.707-0.707 1.647 1.647v-3.772h1v3.772l1.646-1.647zM8 2.207v3.772h1v-3.772l1.646 1.646 0.707-0.707-2.853-2.853-2.854 2.853 0.707 0.707 1.647-1.646zM0 8v1h17v-1h-17z" />
43
+ return `<svg fill="${tokens.colorNeutralForeground1}" height="${props.size}px" width="${props.size}px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17">
44
+ <path d="M10.646 13.146l0.707 0.707-2.853 2.854-2.854-2.854 0.707-0.707 1.647 1.647v-3.772h1v3.772l1.646-1.647zM8 2.207v3.772h1v-3.772l1.646 1.646 0.707-0.707-2.853-2.853-2.854 2.853 0.707 0.707 1.647-1.646zM0 8v1h17v-1h-17z" />
45
45
  </svg>`;
46
46
  };
47
47
  export function GetSVGCopyIcon(props) {
48
- return (`<svg fill="var(--colorNeutralForeground1)" width="${props.size}px" height="${props.size}px" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
49
- <path d="M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"></path>
48
+ return (`<svg fill="var(--colorNeutralForeground1)" width="${props.size}px" height="${props.size}px" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
49
+ <path d="M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"></path>
50
50
  </svg>`);
51
51
  }
52
52
  export function IconToSVG(icon) {
@@ -1 +1 @@
1
- {"version":3,"file":"svg.js","sourceRoot":"","sources":["../../src/contro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Aa,YAC3J,eAAM,CAAC,EAAC,kvBAAkvB,GAAG,GAC3vB,CAAC;AACX,CAAC,CAAA;AAGD,mBAAmB;AACnB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACtD,OAAO,CACH,cAAc,MAAM,CAAC,uBAAuB,aAAa,KAAK,CAAC,IAAI,cAAc,KAAK,CAAC,IAAI;;;;;;;;;;;;;;;eAepF,CACV,CAAC;AACN,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAuB,EAAE,EAAE;IACvD,OAAO,cAAc,MAAM,CAAC,uBAAuB,aAAa,KAAK,CAAC,IAAI,cAAc,KAAK,CAAC,IAAI;;OAE/F,CAAC;AACR,CAAC,CAAA;AAED,MAAM,UAAU,cAAc,CAAC,KAAuB;IAClD,OAAO,CACH,qDAAqD,KAAK,CAAC,IAAI,eAAe,KAAK,CAAC,IAAI;;eAEjF,CACV,CAAA;AACL,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,IAAiB;IACvC,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACjC,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;IACH,OAAO,OAAO,CAAC,SAAS,CAAC;AAC7B,CAAC"}
package/package.json CHANGED
@@ -1,85 +1,85 @@
1
- {
2
- "name": "@kwiz/fluentui",
3
- "version": "1.0.78",
4
- "description": "KWIZ common controls for FluentUI",
5
- "module": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "import": "./dist/index.js",
11
- "default": "./dist/index.js"
12
- },
13
- "./package.json": "./package.json"
14
- },
15
- "scripts": {
16
- "watch": "tsc -watch",
17
- "build": "npm run test && tsc",
18
- "build-explain": "tsc --explainFiles",
19
- "check-dependencies": "madge --circular ./src",
20
- "create-link": "npm link",
21
- "test": "depcruise src && node --import tsx --test src",
22
- "link-local-kwiz": "npm link @kwiz/common",
23
- "__update-kwiz-packages": "npm install @kwiz/common@latest",
24
- "npm-v-patch": "npm version patch && git push origin main:main && git push --tags",
25
- "npm-v-major": "npm version major && git push origin main:main && git push --tags",
26
- "npm-publish": "npm publish --access public",
27
- "reset-repo": "git fetch origin && git reset --hard origin/main",
28
- "clear-npm-cache": "npm cache clean --force"
29
- },
30
- "repository": {
31
- "type": "git",
32
- "url": "git+https://github.com/KWizCom/fluentui.git"
33
- },
34
- "keywords": [
35
- "KWIZ",
36
- "FluentUI"
37
- ],
38
- "author": "Shai Petel",
39
- "contributors": [
40
- "Shai Petel"
41
- ],
42
- "license": "MIT",
43
- "bugs": {
44
- "url": "https://github.com/KWizCom/fluentui/issues",
45
- "email": "support@kwizcom.com"
46
- },
47
- "homepage": "https://github.com/KWizCom/fluentui#readme",
48
- "private": false,
49
- "engines": {
50
- "node": ">=16"
51
- },
52
- "packageManager": "npm@9.5.1",
53
- "devDependencies": {
54
- "@types/qrcode": "^1.5.5",
55
- "dependency-cruiser": "^16.8.0",
56
- "fs-extra": "^11.2.0",
57
- "madge": "^6.1.0",
58
- "tsx": "^4.7.1",
59
- "typescript": "^5.3.3"
60
- },
61
- "dependencies": {
62
- "@fluentui/react-datepicker-compat": "^0.4.53",
63
- "@fluentui/react-timepicker-compat": "^0.2.42",
64
- "@kwiz/common": "^1.0.128",
65
- "@mismerge/core": "^1.2.1",
66
- "@mismerge/react": "^1.0.1",
67
- "esbuild": "^0.19.12",
68
- "get-tsconfig": "^4.7.2",
69
- "jodit": "^4.2.47",
70
- "jodit-react": "^4.1.2",
71
- "qrcode": "^1.5.4",
72
- "react-dnd": "^16.0.1",
73
- "react-dnd-html5-backend": "^16.0.1",
74
- "react-pick-color": "^2.0.0",
75
- "resolve-pkg-maps": "^1.0.0"
76
- },
77
- "peerDependencies": {
78
- "@fluentui/react-components": ">=9.54.17 <10.0.0",
79
- "@fluentui/react-icons": "^2.0.269",
80
- "@types/react": ">=16.14.0 <19.0.0",
81
- "@types/react-dom": ">=16.9.0 <19.0.0",
82
- "react": ">=16.14.0 <19.0.0",
83
- "react-dom": ">=16.14.0 <19.0.0"
84
- }
85
- }
1
+ {
2
+ "name": "@kwiz/fluentui",
3
+ "version": "1.0.79",
4
+ "description": "KWIZ common controls for FluentUI",
5
+ "module": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js",
11
+ "default": "./dist/index.js"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
15
+ "scripts": {
16
+ "watch": "tsc -watch",
17
+ "build": "npm run test && tsc",
18
+ "build-explain": "tsc --explainFiles",
19
+ "check-dependencies": "madge --circular ./src",
20
+ "create-link": "npm link",
21
+ "test": "depcruise src && node --import tsx --test src",
22
+ "link-local-kwiz": "npm link @kwiz/common",
23
+ "__update-kwiz-packages": "npm install @kwiz/common@latest",
24
+ "npm-v-patch": "npm version patch && git push origin main:main && git push --tags",
25
+ "npm-v-major": "npm version major && git push origin main:main && git push --tags",
26
+ "npm-publish": "npm publish --access public",
27
+ "reset-repo": "git fetch origin && git reset --hard origin/main",
28
+ "clear-npm-cache": "npm cache clean --force"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/KWizCom/fluentui.git"
33
+ },
34
+ "keywords": [
35
+ "KWIZ",
36
+ "FluentUI"
37
+ ],
38
+ "author": "Shai Petel",
39
+ "contributors": [
40
+ "Shai Petel"
41
+ ],
42
+ "license": "MIT",
43
+ "bugs": {
44
+ "url": "https://github.com/KWizCom/fluentui/issues",
45
+ "email": "support@kwizcom.com"
46
+ },
47
+ "homepage": "https://github.com/KWizCom/fluentui#readme",
48
+ "private": false,
49
+ "engines": {
50
+ "node": ">=16"
51
+ },
52
+ "packageManager": "npm@9.5.1",
53
+ "devDependencies": {
54
+ "@types/qrcode": "^1.5.5",
55
+ "dependency-cruiser": "^16.8.0",
56
+ "fs-extra": "^11.2.0",
57
+ "madge": "^6.1.0",
58
+ "tsx": "^4.7.1",
59
+ "typescript": "^5.3.3"
60
+ },
61
+ "dependencies": {
62
+ "@fluentui/react-datepicker-compat": "^0.4.53",
63
+ "@fluentui/react-timepicker-compat": "^0.2.42",
64
+ "@kwiz/common": "^1.0.133",
65
+ "@mismerge/core": "^1.2.1",
66
+ "@mismerge/react": "^1.0.1",
67
+ "esbuild": "^0.19.12",
68
+ "get-tsconfig": "^4.7.2",
69
+ "jodit": "^4.2.47",
70
+ "jodit-react": "^4.1.2",
71
+ "qrcode": "^1.5.4",
72
+ "react-dnd": "^16.0.1",
73
+ "react-dnd-html5-backend": "^16.0.1",
74
+ "react-pick-color": "^2.0.0",
75
+ "resolve-pkg-maps": "^1.0.0"
76
+ },
77
+ "peerDependencies": {
78
+ "@fluentui/react-components": ">=9.54.17 <10.0.0",
79
+ "@fluentui/react-icons": "^2.0.269",
80
+ "@types/react": ">=16.14.0 <19.0.0",
81
+ "@types/react-dom": ">=16.9.0 <19.0.0",
82
+ "react": ">=16.14.0 <19.0.0",
83
+ "react-dom": ">=16.14.0 <19.0.0"
84
+ }
85
+ }