@panneau/core 3.0.295 → 3.0.300

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 (2) hide show
  1. package/es/hooks.js +0 -26
  2. package/package.json +2 -2
package/es/hooks.js CHANGED
@@ -136,30 +136,6 @@ var useActions = function useActions() {
136
136
  theme: 'primary',
137
137
  onClick: onClickEdit
138
138
  }, getEditPropsFromItem !== null ? getEditPropsFromItem(item) : null);
139
- // case 'duplicate':
140
- // return {
141
- // id: 'duplicate',
142
- // component: 'duplicate',
143
- // label: iconsOnly ? null : duplicateLabel,
144
- // icon: iconsOnly ? 'copy' : null,
145
- // href:
146
- // urlGenerator !== null && !preferDuplicateModal
147
- // ? urlGenerator('duplicate', {
148
- // id,
149
- // }) || null
150
- // : null,
151
- // theme: 'warning',
152
- // onClick: onClickDuplicate,
153
- // endpoint:
154
- // urlGenerator !== null && preferDuplicateModal
155
- // ? urlGenerator('duplicate', {
156
- // id,
157
- // }) || null
158
- // : null,
159
- // ...(getDuplicatePropsFromItem !== null
160
- // ? getDuplicatePropsFromItem(item)
161
- // : null),
162
- // };
163
139
  case 'duplicate':
164
140
  return {
165
141
  id: 'duplicate',
@@ -903,7 +879,6 @@ var useMediaApi = function useMediaApi() {
903
879
  var paused = !playing;
904
880
 
905
881
  // Exposed methods
906
-
907
882
  var play = useCallback(function () {
908
883
  var media = ref.current;
909
884
  if (media !== null) {
@@ -959,7 +934,6 @@ var useMediaApi = function useMediaApi() {
959
934
  }, [muted]);
960
935
 
961
936
  // Media events callbacks
962
-
963
937
  var onCustomPlay = useCallback(function () {
964
938
  if (onPlay !== null) {
965
939
  onPlay({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/core",
3
- "version": "3.0.295",
3
+ "version": "3.0.300",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -110,5 +110,5 @@
110
110
  "publishConfig": {
111
111
  "access": "public"
112
112
  },
113
- "gitHead": "f24b1d1db695249b3d91abccf1c0d91b8c1cea8e"
113
+ "gitHead": "129cddc67f11d3d51bc309af4c161ed027ad425f"
114
114
  }