@fluentui/react-swatch-picker 9.1.4 → 9.1.5
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.
- package/CHANGELOG.md +16 -2
- package/lib/ColorSwatch.js.map +1 -1
- package/lib/EmptySwatch.js.map +1 -1
- package/lib/ImageSwatch.js.map +1 -1
- package/lib/SwatchPicker.js.map +1 -1
- package/lib/SwatchPickerRow.js.map +1 -1
- package/lib/components/ColorSwatch/ColorSwatch.js.map +1 -1
- package/lib/components/ColorSwatch/ColorSwatch.types.js +3 -1
- package/lib/components/ColorSwatch/ColorSwatch.types.js.map +1 -1
- package/lib/components/ColorSwatch/index.js.map +1 -1
- package/lib/components/ColorSwatch/renderColorSwatch.js.map +1 -1
- package/lib/components/ColorSwatch/useColorSwatch.js.map +1 -1
- package/lib/components/EmptySwatch/EmptySwatch.js.map +1 -1
- package/lib/components/EmptySwatch/EmptySwatch.types.js +3 -1
- package/lib/components/EmptySwatch/EmptySwatch.types.js.map +1 -1
- package/lib/components/EmptySwatch/index.js.map +1 -1
- package/lib/components/EmptySwatch/renderEmptySwatch.js.map +1 -1
- package/lib/components/EmptySwatch/useEmptySwatch.js.map +1 -1
- package/lib/components/ImageSwatch/ImageSwatch.js.map +1 -1
- package/lib/components/ImageSwatch/ImageSwatch.types.js +3 -1
- package/lib/components/ImageSwatch/ImageSwatch.types.js.map +1 -1
- package/lib/components/ImageSwatch/index.js.map +1 -1
- package/lib/components/ImageSwatch/renderImageSwatch.js.map +1 -1
- package/lib/components/ImageSwatch/useImageSwatch.js.map +1 -1
- package/lib/components/SwatchPicker/SwatchPicker.js.map +1 -1
- package/lib/components/SwatchPicker/SwatchPicker.types.js.map +1 -1
- package/lib/components/SwatchPicker/index.js.map +1 -1
- package/lib/components/SwatchPicker/renderSwatchPicker.js.map +1 -1
- package/lib/components/SwatchPicker/useSwatchPicker.js.map +1 -1
- package/lib/components/SwatchPickerRow/SwatchPickerRow.js.map +1 -1
- package/lib/components/SwatchPickerRow/SwatchPickerRow.types.js +3 -1
- package/lib/components/SwatchPickerRow/SwatchPickerRow.types.js.map +1 -1
- package/lib/components/SwatchPickerRow/index.js.map +1 -1
- package/lib/components/SwatchPickerRow/renderSwatchPickerRow.js.map +1 -1
- package/lib/components/SwatchPickerRow/useSwatchPickerRow.js.map +1 -1
- package/lib/contexts/index.js.map +1 -1
- package/lib/contexts/swatchPicker.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/renderUtils.js.map +1 -1
- package/lib-commonjs/ColorSwatch.js.map +1 -1
- package/lib-commonjs/EmptySwatch.js.map +1 -1
- package/lib-commonjs/ImageSwatch.js.map +1 -1
- package/lib-commonjs/SwatchPicker.js.map +1 -1
- package/lib-commonjs/SwatchPickerRow.js.map +1 -1
- package/lib-commonjs/components/ColorSwatch/ColorSwatch.js.map +1 -1
- package/lib-commonjs/components/ColorSwatch/ColorSwatch.types.js +3 -1
- package/lib-commonjs/components/ColorSwatch/ColorSwatch.types.js.map +1 -1
- package/lib-commonjs/components/ColorSwatch/index.js.map +1 -1
- package/lib-commonjs/components/ColorSwatch/renderColorSwatch.js.map +1 -1
- package/lib-commonjs/components/ColorSwatch/useColorSwatch.js.map +1 -1
- package/lib-commonjs/components/ColorSwatch/useColorSwatchStyles.styles.js.map +1 -1
- package/lib-commonjs/components/EmptySwatch/EmptySwatch.js.map +1 -1
- package/lib-commonjs/components/EmptySwatch/EmptySwatch.types.js +3 -1
- package/lib-commonjs/components/EmptySwatch/EmptySwatch.types.js.map +1 -1
- package/lib-commonjs/components/EmptySwatch/index.js.map +1 -1
- package/lib-commonjs/components/EmptySwatch/renderEmptySwatch.js.map +1 -1
- package/lib-commonjs/components/EmptySwatch/useEmptySwatch.js.map +1 -1
- package/lib-commonjs/components/EmptySwatch/useEmptySwatchStyles.styles.js.map +1 -1
- package/lib-commonjs/components/ImageSwatch/ImageSwatch.js.map +1 -1
- package/lib-commonjs/components/ImageSwatch/ImageSwatch.types.js +3 -1
- package/lib-commonjs/components/ImageSwatch/ImageSwatch.types.js.map +1 -1
- package/lib-commonjs/components/ImageSwatch/index.js.map +1 -1
- package/lib-commonjs/components/ImageSwatch/renderImageSwatch.js.map +1 -1
- package/lib-commonjs/components/ImageSwatch/useImageSwatch.js.map +1 -1
- package/lib-commonjs/components/ImageSwatch/useImageSwatchStyles.styles.js.map +1 -1
- package/lib-commonjs/components/SwatchPicker/SwatchPicker.js.map +1 -1
- package/lib-commonjs/components/SwatchPicker/SwatchPicker.types.js.map +1 -1
- package/lib-commonjs/components/SwatchPicker/index.js.map +1 -1
- package/lib-commonjs/components/SwatchPicker/renderSwatchPicker.js.map +1 -1
- package/lib-commonjs/components/SwatchPicker/useSwatchPicker.js.map +1 -1
- package/lib-commonjs/components/SwatchPicker/useSwatchPickerStyles.styles.js.map +1 -1
- package/lib-commonjs/components/SwatchPickerRow/SwatchPickerRow.js.map +1 -1
- package/lib-commonjs/components/SwatchPickerRow/SwatchPickerRow.types.js +3 -1
- package/lib-commonjs/components/SwatchPickerRow/SwatchPickerRow.types.js.map +1 -1
- package/lib-commonjs/components/SwatchPickerRow/index.js.map +1 -1
- package/lib-commonjs/components/SwatchPickerRow/renderSwatchPickerRow.js.map +1 -1
- package/lib-commonjs/components/SwatchPickerRow/useSwatchPickerRow.js.map +1 -1
- package/lib-commonjs/components/SwatchPickerRow/useSwatchPickerRowStyles.styles.js.map +1 -1
- package/lib-commonjs/contexts/index.js.map +1 -1
- package/lib-commonjs/contexts/swatchPicker.js +5 -5
- package/lib-commonjs/contexts/swatchPicker.js.map +1 -1
- package/lib-commonjs/index.js +55 -55
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/utils/renderUtils.js.map +1 -1
- package/package.json +7 -7
package/lib-commonjs/index.js
CHANGED
|
@@ -9,56 +9,74 @@ function _export(target, all) {
|
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
|
|
13
|
-
return
|
|
14
|
-
},
|
|
15
|
-
renderSwatchPicker_unstable: function() {
|
|
16
|
-
return _SwatchPicker.renderSwatchPicker_unstable;
|
|
12
|
+
ColorSwatch: function() {
|
|
13
|
+
return _ColorSwatch.ColorSwatch;
|
|
17
14
|
},
|
|
18
|
-
|
|
19
|
-
return
|
|
15
|
+
EmptySwatch: function() {
|
|
16
|
+
return _EmptySwatch.EmptySwatch;
|
|
20
17
|
},
|
|
21
|
-
|
|
22
|
-
return
|
|
18
|
+
ImageSwatch: function() {
|
|
19
|
+
return _ImageSwatch.ImageSwatch;
|
|
23
20
|
},
|
|
24
|
-
|
|
25
|
-
return _SwatchPicker.
|
|
21
|
+
SwatchPicker: function() {
|
|
22
|
+
return _SwatchPicker.SwatchPicker;
|
|
26
23
|
},
|
|
27
24
|
SwatchPickerProvider: function() {
|
|
28
25
|
return _contexts.SwatchPickerProvider;
|
|
29
26
|
},
|
|
30
|
-
|
|
31
|
-
return
|
|
27
|
+
SwatchPickerRow: function() {
|
|
28
|
+
return _SwatchPickerRow.SwatchPickerRow;
|
|
32
29
|
},
|
|
33
|
-
|
|
34
|
-
return
|
|
30
|
+
colorSwatchClassNames: function() {
|
|
31
|
+
return _ColorSwatch.colorSwatchClassNames;
|
|
35
32
|
},
|
|
36
|
-
|
|
37
|
-
return
|
|
33
|
+
emptySwatchClassNames: function() {
|
|
34
|
+
return _EmptySwatch.emptySwatchClassNames;
|
|
38
35
|
},
|
|
39
|
-
|
|
40
|
-
return
|
|
36
|
+
imageSwatchClassNames: function() {
|
|
37
|
+
return _ImageSwatch.imageSwatchClassNames;
|
|
41
38
|
},
|
|
42
39
|
renderColorSwatch_unstable: function() {
|
|
43
40
|
return _ColorSwatch.renderColorSwatch_unstable;
|
|
44
41
|
},
|
|
45
|
-
|
|
46
|
-
return
|
|
42
|
+
renderEmptySwatch_unstable: function() {
|
|
43
|
+
return _EmptySwatch.renderEmptySwatch_unstable;
|
|
47
44
|
},
|
|
48
|
-
|
|
49
|
-
return
|
|
45
|
+
renderImageSwatch_unstable: function() {
|
|
46
|
+
return _ImageSwatch.renderImageSwatch_unstable;
|
|
50
47
|
},
|
|
51
|
-
|
|
52
|
-
return
|
|
48
|
+
renderSwatchPickerGrid: function() {
|
|
49
|
+
return _renderUtils.renderSwatchPickerGrid;
|
|
50
|
+
},
|
|
51
|
+
renderSwatchPickerRow_unstable: function() {
|
|
52
|
+
return _SwatchPickerRow.renderSwatchPickerRow_unstable;
|
|
53
|
+
},
|
|
54
|
+
renderSwatchPicker_unstable: function() {
|
|
55
|
+
return _SwatchPicker.renderSwatchPicker_unstable;
|
|
53
56
|
},
|
|
54
57
|
swatchCSSVars: function() {
|
|
55
58
|
return _ColorSwatch.swatchCSSVars;
|
|
56
59
|
},
|
|
57
|
-
|
|
58
|
-
return
|
|
60
|
+
swatchPickerClassNames: function() {
|
|
61
|
+
return _SwatchPicker.swatchPickerClassNames;
|
|
59
62
|
},
|
|
60
|
-
|
|
61
|
-
return
|
|
63
|
+
swatchPickerContextDefaultValue: function() {
|
|
64
|
+
return _contexts.swatchPickerContextDefaultValue;
|
|
65
|
+
},
|
|
66
|
+
swatchPickerRowClassNames: function() {
|
|
67
|
+
return _SwatchPickerRow.swatchPickerRowClassNames;
|
|
68
|
+
},
|
|
69
|
+
useColorSwatchStyles_unstable: function() {
|
|
70
|
+
return _ColorSwatch.useColorSwatchStyles_unstable;
|
|
71
|
+
},
|
|
72
|
+
useColorSwatch_unstable: function() {
|
|
73
|
+
return _ColorSwatch.useColorSwatch_unstable;
|
|
74
|
+
},
|
|
75
|
+
useEmptySwatchStyles_unstable: function() {
|
|
76
|
+
return _EmptySwatch.useEmptySwatchStyles_unstable;
|
|
77
|
+
},
|
|
78
|
+
useEmptySwatch_unstable: function() {
|
|
79
|
+
return _EmptySwatch.useEmptySwatch_unstable;
|
|
62
80
|
},
|
|
63
81
|
useImageSwatchStyles_unstable: function() {
|
|
64
82
|
return _ImageSwatch.useImageSwatchStyles_unstable;
|
|
@@ -66,14 +84,11 @@ _export(exports, {
|
|
|
66
84
|
useImageSwatch_unstable: function() {
|
|
67
85
|
return _ImageSwatch.useImageSwatch_unstable;
|
|
68
86
|
},
|
|
69
|
-
|
|
70
|
-
return
|
|
71
|
-
},
|
|
72
|
-
SwatchPickerRow: function() {
|
|
73
|
-
return _SwatchPickerRow.SwatchPickerRow;
|
|
87
|
+
useSwatchPickerContextValue_unstable: function() {
|
|
88
|
+
return _contexts.useSwatchPickerContextValue_unstable;
|
|
74
89
|
},
|
|
75
|
-
|
|
76
|
-
return
|
|
90
|
+
useSwatchPickerContextValues: function() {
|
|
91
|
+
return _contexts.useSwatchPickerContextValues;
|
|
77
92
|
},
|
|
78
93
|
useSwatchPickerRowStyles_unstable: function() {
|
|
79
94
|
return _SwatchPickerRow.useSwatchPickerRowStyles_unstable;
|
|
@@ -81,26 +96,11 @@ _export(exports, {
|
|
|
81
96
|
useSwatchPickerRow_unstable: function() {
|
|
82
97
|
return _SwatchPickerRow.useSwatchPickerRow_unstable;
|
|
83
98
|
},
|
|
84
|
-
|
|
85
|
-
return
|
|
86
|
-
},
|
|
87
|
-
renderSwatchPickerGrid: function() {
|
|
88
|
-
return _renderUtils.renderSwatchPickerGrid;
|
|
89
|
-
},
|
|
90
|
-
EmptySwatch: function() {
|
|
91
|
-
return _EmptySwatch.EmptySwatch;
|
|
92
|
-
},
|
|
93
|
-
renderEmptySwatch_unstable: function() {
|
|
94
|
-
return _EmptySwatch.renderEmptySwatch_unstable;
|
|
95
|
-
},
|
|
96
|
-
useEmptySwatchStyles_unstable: function() {
|
|
97
|
-
return _EmptySwatch.useEmptySwatchStyles_unstable;
|
|
98
|
-
},
|
|
99
|
-
useEmptySwatch_unstable: function() {
|
|
100
|
-
return _EmptySwatch.useEmptySwatch_unstable;
|
|
99
|
+
useSwatchPickerStyles_unstable: function() {
|
|
100
|
+
return _SwatchPicker.useSwatchPickerStyles_unstable;
|
|
101
101
|
},
|
|
102
|
-
|
|
103
|
-
return
|
|
102
|
+
useSwatchPicker_unstable: function() {
|
|
103
|
+
return _SwatchPicker.useSwatchPicker_unstable;
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
const _SwatchPicker = require("./SwatchPicker");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export {\n SwatchPicker,\n renderSwatchPicker_unstable,\n useSwatchPickerStyles_unstable,\n useSwatchPicker_unstable,\n swatchPickerClassNames,\n} from './SwatchPicker';\nexport {\n SwatchPickerProvider,\n swatchPickerContextDefaultValue,\n useSwatchPickerContextValue_unstable,\n useSwatchPickerContextValues,\n} from './contexts';\nexport type { SwatchPickerContextValue, SwatchPickerContextValues } from './contexts';\nexport type {\n SwatchPickerProps,\n SwatchPickerSlots,\n SwatchPickerState,\n SwatchPickerOnSelectionChangeData,\n SwatchPickerOnSelectEventHandler,\n} from './SwatchPicker';\nexport {\n ColorSwatch,\n renderColorSwatch_unstable,\n useColorSwatchStyles_unstable,\n useColorSwatch_unstable,\n colorSwatchClassNames,\n swatchCSSVars,\n} from './ColorSwatch';\nexport type { ColorSwatchProps, ColorSwatchSlots, ColorSwatchState } from './ColorSwatch';\nexport {\n ImageSwatch,\n renderImageSwatch_unstable,\n useImageSwatchStyles_unstable,\n useImageSwatch_unstable,\n imageSwatchClassNames,\n} from './ImageSwatch';\nexport type { ImageSwatchProps, ImageSwatchSlots, ImageSwatchState } from './ImageSwatch';\nexport type { SwatchPickerRowProps, SwatchPickerRowSlots, SwatchPickerRowState } from './SwatchPickerRow';\nexport {\n SwatchPickerRow,\n renderSwatchPickerRow_unstable,\n useSwatchPickerRowStyles_unstable,\n useSwatchPickerRow_unstable,\n swatchPickerRowClassNames,\n} from './SwatchPickerRow';\nexport { renderSwatchPickerGrid } from './utils/renderUtils';\nexport type { SwatchProps, SwatchPickerGridProps } from './utils/renderUtils';\nexport {\n EmptySwatch,\n renderEmptySwatch_unstable,\n useEmptySwatchStyles_unstable,\n useEmptySwatch_unstable,\n emptySwatchClassNames,\n} from './EmptySwatch';\nexport type { EmptySwatchProps, EmptySwatchSlots, EmptySwatchState } from './EmptySwatch';\n"],"names":["ColorSwatch","EmptySwatch","ImageSwatch","SwatchPicker","SwatchPickerProvider","SwatchPickerRow","colorSwatchClassNames","emptySwatchClassNames","imageSwatchClassNames","renderColorSwatch_unstable","renderEmptySwatch_unstable","renderImageSwatch_unstable","renderSwatchPickerGrid","renderSwatchPickerRow_unstable","renderSwatchPicker_unstable","swatchCSSVars","swatchPickerClassNames","swatchPickerContextDefaultValue","swatchPickerRowClassNames","useColorSwatchStyles_unstable","useColorSwatch_unstable","useEmptySwatchStyles_unstable","useEmptySwatch_unstable","useImageSwatchStyles_unstable","useImageSwatch_unstable","useSwatchPickerContextValue_unstable","useSwatchPickerContextValues","useSwatchPickerRowStyles_unstable","useSwatchPickerRow_unstable","useSwatchPickerStyles_unstable","useSwatchPicker_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAsBEA,WAAW;eAAXA,wBAAW;;IA2BXC,WAAW;eAAXA,wBAAW;;IAlBXC,WAAW;eAAXA,wBAAW;;IA9BXC,YAAY;eAAZA,0BAAY;;IAOZC,oBAAoB;eAApBA,8BAAoB;;IAgCpBC,eAAe;eAAfA,gCAAe;;IAdfC,qBAAqB;eAArBA,kCAAqB;;IA2BrBC,qBAAqB;eAArBA,kCAAqB;;IAlBrBC,qBAAqB;eAArBA,kCAAqB;;IAZrBC,0BAA0B;eAA1BA,uCAA0B;;IA2B1BC,0BAA0B;eAA1BA,uCAA0B;;IAlB1BC,0BAA0B;eAA1BA,uCAA0B;;IAcnBC,sBAAsB;eAAtBA,mCAAsB;;IAL7BC,8BAA8B;eAA9BA,+CAA8B;;IAvC9BC,2BAA2B;eAA3BA,yCAA2B;;IAyB3BC,aAAa;eAAbA,0BAAa;;IAtBbC,sBAAsB;eAAtBA,oCAAsB;;IAItBC,+BAA+B;eAA/BA,yCAA+B;;IAmC/BC,yBAAyB;eAAzBA,0CAAyB;;IApBzBC,6BAA6B;eAA7BA,0CAA6B;;IAC7BC,uBAAuB;eAAvBA,oCAAuB;;IA0BvBC,6BAA6B;eAA7BA,0CAA6B;;IAC7BC,uBAAuB;eAAvBA,oCAAuB;;IAnBvBC,6BAA6B;eAA7BA,0CAA6B;;IAC7BC,uBAAuB;eAAvBA,oCAAuB;;IAxBvBC,oCAAoC;eAApCA,8CAAoC;;IACpCC,4BAA4B;eAA5BA,sCAA4B;;IA+B5BC,iCAAiC;eAAjCA,kDAAiC;;IACjCC,2BAA2B;eAA3BA,4CAA2B;;IAxC3BC,8BAA8B;eAA9BA,4CAA8B;;IAC9BC,wBAAwB;eAAxBA,sCAAwB;;;8BAEnB;0BAMA;6BAgBA;6BAQA;iCASA;6BACgC;6BAQhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["renderUtils.
|
|
1
|
+
{"version":3,"sources":["renderUtils.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ColorSwatch, SwatchPickerRow, ImageSwatch } from '../';\nimport type { ColorSwatchProps, ImageSwatchProps } from '../';\n\nexport type SwatchProps = ImageSwatchProps | ColorSwatchProps;\n\nexport type SwatchPickerGridProps = {\n items: SwatchProps[];\n columnCount: number;\n renderRow?: (props: { children: JSX.Element[]; rowId: string | number }) => JSX.Element;\n renderSwatch?: (item: SwatchProps) => JSX.Element;\n};\n\nexport const renderSwatchPickerGrid = (props: SwatchPickerGridProps) => {\n const { items, columnCount, renderRow, renderSwatch } = props;\n const _renderRow = renderRow || (({ children, rowId }) => <SwatchPickerRow key={rowId}>{children}</SwatchPickerRow>);\n const _renderSwatch =\n renderSwatch ||\n ((item: SwatchProps) =>\n (item as ImageSwatchProps).src ? (\n <ImageSwatch key={item.value} src={(item as ImageSwatchProps).src ?? ''} {...item} />\n ) : (\n <ColorSwatch key={item.value} color={item.color || ''} {...item} />\n ));\n\n const rowCount = Math.ceil(items.length / columnCount);\n const rows = Array.from({ length: rowCount }, (_, i) => {\n const start = i * columnCount;\n const end = start + columnCount;\n return items.slice(start, end);\n });\n\n return rows.map((row, index) => _renderRow({ children: row.map(_renderSwatch), rowId: index }));\n};\n"],"names":["renderSwatchPickerGrid","props","items","columnCount","renderRow","renderSwatch","_renderRow","children","rowId","React","createElement","SwatchPickerRow","key","_renderSwatch","item","_item_src","src","ImageSwatch","value","ColorSwatch","color","rowCount","Math","ceil","length","rows","Array","from","_","i","start","end","slice","map","row","index"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAaaA;;;eAAAA;;;;iEAbU;kBACmC;AAYnD,MAAMA,yBAAyB,CAACC;IACrC,MAAM,EAAEC,KAAK,EAAEC,WAAW,EAAEC,SAAS,EAAEC,YAAY,EAAE,GAAGJ;IACxD,MAAMK,aAAaF,aAAc,CAAA,CAAC,EAAEG,QAAQ,EAAEC,KAAK,EAAE,GAAA,WAAA,GAAKC,OAAAC,aAAA,CAACC,iBAAAA,EAAAA;YAAgBC,KAAKJ;WAAQD,SAAAA;IACxF,MAAMM,gBACJR,gBACC,CAAA,CAACS;YAEqCC;eADrCD,KAA2BE,GAAG,GAAA,WAAA,GAC5BP,OAAAC,aAAA,CAACO,aAAAA,EAAAA;YAAYL,KAAKE,KAAKI,KAAK;YAAEF,KAAK,AAAAD,CAAAA,YAAAD,KAA2BE,GAAG,AAAHA,MAAG,QAA9BD,cAAA,KAAA,IAAAA,YAAkC;YAAK,GAAGD,IAAI;2BAEjFL,OAAAC,aAAA,CAACS,aAAAA,EAAAA;YAAYP,KAAKE,KAAKI,KAAK;YAAEE,OAAON,KAAKM,KAAK,IAAI;YAAK,GAAGN,IAAI;;IACjE,CAAA;IAEJ,MAAMO,WAAWC,KAAKC,IAAI,CAACrB,MAAMsB,MAAM,GAAGrB;IAC1C,MAAMsB,OAAOC,MAAMC,IAAI,CAAC;QAAEH,QAAQH;IAAS,GAAG,CAACO,GAAGC;QAChD,MAAMC,QAAQD,IAAI1B;QAClB,MAAM4B,MAAMD,QAAQ3B;QACpB,OAAOD,MAAM8B,KAAK,CAACF,OAAOC;IAC5B;IAEA,OAAON,KAAKQ,GAAG,CAAC,CAACC,KAAKC,QAAU7B,WAAW;YAAEC,UAAU2B,IAAID,GAAG,CAACpB;YAAgBL,OAAO2B;QAAM;AAC9F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-swatch-picker",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.5",
|
|
4
4
|
"description": "New fluentui react package",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"@fluentui/scripts-tasks": "*"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@fluentui/react-context-selector": "^9.1.
|
|
37
|
+
"@fluentui/react-context-selector": "^9.1.64",
|
|
38
38
|
"@fluentui/react-icons": "^2.0.245",
|
|
39
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
|
40
|
-
"@fluentui/react-shared-contexts": "^9.19.
|
|
41
|
-
"@fluentui/react-tabster": "^9.22.
|
|
39
|
+
"@fluentui/react-jsx-runtime": "^9.0.41",
|
|
40
|
+
"@fluentui/react-shared-contexts": "^9.19.1",
|
|
41
|
+
"@fluentui/react-tabster": "^9.22.2",
|
|
42
42
|
"@fluentui/react-theme": "^9.1.19",
|
|
43
|
-
"@fluentui/react-utilities": "^9.18.
|
|
43
|
+
"@fluentui/react-utilities": "^9.18.12",
|
|
44
44
|
"@griffel/react": "^1.5.22",
|
|
45
45
|
"@swc/helpers": "^0.5.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@types/react": ">=16.8.0 <19.0.0",
|
|
49
49
|
"@types/react-dom": ">=16.8.0 <19.0.0",
|
|
50
|
-
"react": ">=16.
|
|
50
|
+
"react": ">=16.14.0 <19.0.0",
|
|
51
51
|
"react-dom": ">=16.8.0 <19.0.0"
|
|
52
52
|
},
|
|
53
53
|
"exports": {
|