gridstack 8.0.1 → 8.1.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 (193) hide show
  1. package/README.md +27 -38
  2. package/dist/dd-base-impl.d.ts +1 -1
  3. package/dist/dd-base-impl.js +1 -1
  4. package/dist/dd-base-impl.js.map +1 -1
  5. package/dist/dd-draggable.d.ts +3 -2
  6. package/dist/dd-draggable.js +9 -8
  7. package/dist/dd-draggable.js.map +1 -1
  8. package/dist/dd-droppable.d.ts +1 -1
  9. package/dist/dd-droppable.js +1 -1
  10. package/dist/dd-droppable.js.map +1 -1
  11. package/dist/dd-element.d.ts +1 -1
  12. package/dist/dd-element.js +1 -1
  13. package/dist/dd-element.js.map +1 -1
  14. package/dist/dd-gridstack.d.ts +1 -1
  15. package/dist/dd-gridstack.js +1 -1
  16. package/dist/dd-gridstack.js.map +1 -1
  17. package/dist/dd-manager.d.ts +1 -1
  18. package/dist/dd-manager.js +1 -1
  19. package/dist/dd-manager.js.map +1 -1
  20. package/dist/dd-resizable-handle.d.ts +1 -1
  21. package/dist/dd-resizable-handle.js +1 -1
  22. package/dist/dd-resizable-handle.js.map +1 -1
  23. package/dist/dd-resizable.d.ts +1 -1
  24. package/dist/dd-resizable.js +1 -1
  25. package/dist/dd-resizable.js.map +1 -1
  26. package/dist/dd-touch.d.ts +1 -1
  27. package/dist/dd-touch.js +1 -1
  28. package/dist/dd-touch.js.map +1 -1
  29. package/dist/es5/dd-base-impl.d.ts +1 -1
  30. package/dist/es5/dd-base-impl.js +1 -1
  31. package/dist/es5/dd-base-impl.js.map +1 -1
  32. package/dist/es5/dd-draggable.d.ts +3 -2
  33. package/dist/es5/dd-draggable.js +9 -8
  34. package/dist/es5/dd-draggable.js.map +1 -1
  35. package/dist/es5/dd-droppable.d.ts +1 -1
  36. package/dist/es5/dd-droppable.js +1 -1
  37. package/dist/es5/dd-droppable.js.map +1 -1
  38. package/dist/es5/dd-element.d.ts +1 -1
  39. package/dist/es5/dd-element.js +1 -1
  40. package/dist/es5/dd-element.js.map +1 -1
  41. package/dist/es5/dd-gridstack.d.ts +1 -1
  42. package/dist/es5/dd-gridstack.js +1 -1
  43. package/dist/es5/dd-gridstack.js.map +1 -1
  44. package/dist/es5/dd-manager.d.ts +1 -1
  45. package/dist/es5/dd-manager.js +1 -1
  46. package/dist/es5/dd-manager.js.map +1 -1
  47. package/dist/es5/dd-resizable-handle.d.ts +1 -1
  48. package/dist/es5/dd-resizable-handle.js +1 -1
  49. package/dist/es5/dd-resizable-handle.js.map +1 -1
  50. package/dist/es5/dd-resizable.d.ts +1 -1
  51. package/dist/es5/dd-resizable.js +1 -1
  52. package/dist/es5/dd-resizable.js.map +1 -1
  53. package/dist/es5/dd-touch.d.ts +1 -1
  54. package/dist/es5/dd-touch.js +1 -1
  55. package/dist/es5/dd-touch.js.map +1 -1
  56. package/dist/es5/gridstack-all.js +1 -1
  57. package/dist/es5/gridstack-all.js.LICENSE.txt +1 -1
  58. package/dist/es5/gridstack-all.js.map +1 -1
  59. package/dist/es5/gridstack-engine.d.ts +1 -1
  60. package/dist/es5/gridstack-engine.js +1 -1
  61. package/dist/es5/gridstack-engine.js.map +1 -1
  62. package/dist/es5/gridstack-poly.js +1 -1
  63. package/dist/es5/gridstack.d.ts +3 -3
  64. package/dist/es5/gridstack.js +10 -20
  65. package/dist/es5/gridstack.js.map +1 -1
  66. package/dist/es5/types.d.ts +5 -3
  67. package/dist/es5/types.js +1 -1
  68. package/dist/es5/types.js.map +1 -1
  69. package/dist/es5/utils.d.ts +3 -3
  70. package/dist/es5/utils.js +12 -10
  71. package/dist/es5/utils.js.map +1 -1
  72. package/dist/gridstack-all.js +1 -1
  73. package/dist/gridstack-all.js.LICENSE.txt +1 -1
  74. package/dist/gridstack-all.js.map +1 -1
  75. package/dist/gridstack-engine.d.ts +1 -1
  76. package/dist/gridstack-engine.js +1 -1
  77. package/dist/gridstack-engine.js.map +1 -1
  78. package/dist/gridstack-extra.css +180 -240
  79. package/dist/gridstack-extra.min.css +1 -1
  80. package/dist/gridstack.css +95 -120
  81. package/dist/gridstack.d.ts +3 -3
  82. package/dist/gridstack.js +10 -20
  83. package/dist/gridstack.js.map +1 -1
  84. package/dist/gridstack.min.css +1 -1
  85. package/dist/ng/gridstack-item.component.d.ts +1 -1
  86. package/dist/ng/gridstack-item.component.js +1 -1
  87. package/dist/ng/gridstack.component.d.ts +1 -1
  88. package/dist/ng/gridstack.component.js +1 -1
  89. package/dist/src/gridstack-extra.scss +9 -11
  90. package/dist/src/gridstack.scss +105 -97
  91. package/dist/types.d.ts +5 -3
  92. package/dist/types.js +1 -1
  93. package/dist/types.js.map +1 -1
  94. package/dist/utils.d.ts +3 -3
  95. package/dist/utils.js +12 -10
  96. package/dist/utils.js.map +1 -1
  97. package/doc/CHANGES.md +13 -1
  98. package/doc/README.md +5 -4
  99. package/package.json +1 -1
  100. package/dist_save/angular/README.md +0 -94
  101. package/dist_save/angular/gridstack-item.component.ts +0 -72
  102. package/dist_save/angular/gridstack.component.ts +0 -199
  103. package/dist_save/dd-base-impl.d.ts +0 -20
  104. package/dist_save/dd-base-impl.js +0 -36
  105. package/dist_save/dd-base-impl.js.map +0 -1
  106. package/dist_save/dd-draggable.d.ts +0 -28
  107. package/dist_save/dd-draggable.js +0 -343
  108. package/dist_save/dd-draggable.js.map +0 -1
  109. package/dist_save/dd-droppable.d.ts +0 -26
  110. package/dist_save/dd-droppable.js +0 -149
  111. package/dist_save/dd-droppable.js.map +0 -1
  112. package/dist_save/dd-element.d.ts +0 -27
  113. package/dist_save/dd-element.js +0 -95
  114. package/dist_save/dd-element.js.map +0 -1
  115. package/dist_save/dd-gridstack.d.ts +0 -34
  116. package/dist_save/dd-gridstack.js +0 -125
  117. package/dist_save/dd-gridstack.js.map +0 -1
  118. package/dist_save/dd-manager.d.ts +0 -22
  119. package/dist_save/dd-manager.js +0 -14
  120. package/dist_save/dd-manager.js.map +0 -1
  121. package/dist_save/dd-resizable-handle.d.ts +0 -14
  122. package/dist_save/dd-resizable-handle.js +0 -106
  123. package/dist_save/dd-resizable-handle.js.map +0 -1
  124. package/dist_save/dd-resizable.d.ts +0 -28
  125. package/dist_save/dd-resizable.js +0 -294
  126. package/dist_save/dd-resizable.js.map +0 -1
  127. package/dist_save/dd-touch.d.ts +0 -33
  128. package/dist_save/dd-touch.js +0 -183
  129. package/dist_save/dd-touch.js.map +0 -1
  130. package/dist_save/es5/dd-base-impl.d.ts +0 -20
  131. package/dist_save/es5/dd-base-impl.js +0 -41
  132. package/dist_save/es5/dd-base-impl.js.map +0 -1
  133. package/dist_save/es5/dd-draggable.d.ts +0 -28
  134. package/dist_save/es5/dd-draggable.js +0 -366
  135. package/dist_save/es5/dd-draggable.js.map +0 -1
  136. package/dist_save/es5/dd-droppable.d.ts +0 -26
  137. package/dist_save/es5/dd-droppable.js +0 -180
  138. package/dist_save/es5/dd-droppable.js.map +0 -1
  139. package/dist_save/es5/dd-element.d.ts +0 -27
  140. package/dist_save/es5/dd-element.js +0 -96
  141. package/dist_save/es5/dd-element.js.map +0 -1
  142. package/dist_save/es5/dd-gridstack.d.ts +0 -34
  143. package/dist_save/es5/dd-gridstack.js +0 -145
  144. package/dist_save/es5/dd-gridstack.js.map +0 -1
  145. package/dist_save/es5/dd-manager.d.ts +0 -22
  146. package/dist_save/es5/dd-manager.js +0 -17
  147. package/dist_save/es5/dd-manager.js.map +0 -1
  148. package/dist_save/es5/dd-resizable-handle.d.ts +0 -14
  149. package/dist_save/es5/dd-resizable-handle.js +0 -107
  150. package/dist_save/es5/dd-resizable-handle.js.map +0 -1
  151. package/dist_save/es5/dd-resizable.d.ts +0 -28
  152. package/dist_save/es5/dd-resizable.js +0 -316
  153. package/dist_save/es5/dd-resizable.js.map +0 -1
  154. package/dist_save/es5/dd-touch.d.ts +0 -33
  155. package/dist_save/es5/dd-touch.js +0 -186
  156. package/dist_save/es5/dd-touch.js.map +0 -1
  157. package/dist_save/es5/gridstack-all.js +0 -3
  158. package/dist_save/es5/gridstack-all.js.LICENSE.txt +0 -7
  159. package/dist_save/es5/gridstack-all.js.map +0 -1
  160. package/dist_save/es5/gridstack-engine.d.ts +0 -102
  161. package/dist_save/es5/gridstack-engine.js +0 -997
  162. package/dist_save/es5/gridstack-engine.js.map +0 -1
  163. package/dist_save/es5/gridstack-poly.js +0 -356
  164. package/dist_save/es5/gridstack.d.ts +0 -376
  165. package/dist_save/es5/gridstack.js +0 -2238
  166. package/dist_save/es5/gridstack.js.map +0 -1
  167. package/dist_save/es5/types.d.ts +0 -284
  168. package/dist_save/es5/types.js +0 -36
  169. package/dist_save/es5/types.js.map +0 -1
  170. package/dist_save/es5/utils.d.ts +0 -95
  171. package/dist_save/es5/utils.js +0 -590
  172. package/dist_save/es5/utils.js.map +0 -1
  173. package/dist_save/gridstack-all.js +0 -3
  174. package/dist_save/gridstack-all.js.LICENSE.txt +0 -7
  175. package/dist_save/gridstack-all.js.map +0 -1
  176. package/dist_save/gridstack-engine.d.ts +0 -102
  177. package/dist_save/gridstack-engine.js +0 -956
  178. package/dist_save/gridstack-engine.js.map +0 -1
  179. package/dist_save/gridstack-extra.css +0 -433
  180. package/dist_save/gridstack-extra.min.css +0 -1
  181. package/dist_save/gridstack.css +0 -226
  182. package/dist_save/gridstack.d.ts +0 -376
  183. package/dist_save/gridstack.js +0 -2162
  184. package/dist_save/gridstack.js.map +0 -1
  185. package/dist_save/gridstack.min.css +0 -1
  186. package/dist_save/src/gridstack-extra.scss +0 -27
  187. package/dist_save/src/gridstack.scss +0 -131
  188. package/dist_save/types.d.ts +0 -284
  189. package/dist_save/types.js +0 -36
  190. package/dist_save/types.js.map +0 -1
  191. package/dist_save/utils.d.ts +0 -95
  192. package/dist_save/utils.js +0 -548
  193. package/dist_save/utils.js.map +0 -1
@@ -1 +1 @@
1
- .grid-stack.grid-stack-2>.grid-stack-item{min-width:50%}.grid-stack.grid-stack-2>.grid-stack-item[gs-w="1"]{width:50%}.grid-stack.grid-stack-2>.grid-stack-item[gs-x="1"]{left:50%}.grid-stack.grid-stack-2>.grid-stack-item[gs-w="2"]{width:100%}.grid-stack.grid-stack-2>.grid-stack-item[gs-x="2"]{left:100%}.grid-stack.grid-stack-3>.grid-stack-item{min-width:33.3333333333%}.grid-stack.grid-stack-3>.grid-stack-item[gs-w="1"]{width:33.3333333333%}.grid-stack.grid-stack-3>.grid-stack-item[gs-x="1"]{left:33.3333333333%}.grid-stack.grid-stack-3>.grid-stack-item[gs-w="2"]{width:66.6666666667%}.grid-stack.grid-stack-3>.grid-stack-item[gs-x="2"]{left:66.6666666667%}.grid-stack.grid-stack-3>.grid-stack-item[gs-w="3"]{width:100%}.grid-stack.grid-stack-3>.grid-stack-item[gs-x="3"]{left:100%}.grid-stack.grid-stack-4>.grid-stack-item{min-width:25%}.grid-stack.grid-stack-4>.grid-stack-item[gs-w="1"]{width:25%}.grid-stack.grid-stack-4>.grid-stack-item[gs-x="1"]{left:25%}.grid-stack.grid-stack-4>.grid-stack-item[gs-w="2"]{width:50%}.grid-stack.grid-stack-4>.grid-stack-item[gs-x="2"]{left:50%}.grid-stack.grid-stack-4>.grid-stack-item[gs-w="3"]{width:75%}.grid-stack.grid-stack-4>.grid-stack-item[gs-x="3"]{left:75%}.grid-stack.grid-stack-4>.grid-stack-item[gs-w="4"]{width:100%}.grid-stack.grid-stack-4>.grid-stack-item[gs-x="4"]{left:100%}.grid-stack.grid-stack-5>.grid-stack-item{min-width:20%}.grid-stack.grid-stack-5>.grid-stack-item[gs-w="1"]{width:20%}.grid-stack.grid-stack-5>.grid-stack-item[gs-x="1"]{left:20%}.grid-stack.grid-stack-5>.grid-stack-item[gs-w="2"]{width:40%}.grid-stack.grid-stack-5>.grid-stack-item[gs-x="2"]{left:40%}.grid-stack.grid-stack-5>.grid-stack-item[gs-w="3"]{width:60%}.grid-stack.grid-stack-5>.grid-stack-item[gs-x="3"]{left:60%}.grid-stack.grid-stack-5>.grid-stack-item[gs-w="4"]{width:80%}.grid-stack.grid-stack-5>.grid-stack-item[gs-x="4"]{left:80%}.grid-stack.grid-stack-5>.grid-stack-item[gs-w="5"]{width:100%}.grid-stack.grid-stack-5>.grid-stack-item[gs-x="5"]{left:100%}.grid-stack.grid-stack-6>.grid-stack-item{min-width:16.6666666667%}.grid-stack.grid-stack-6>.grid-stack-item[gs-w="1"]{width:16.6666666667%}.grid-stack.grid-stack-6>.grid-stack-item[gs-x="1"]{left:16.6666666667%}.grid-stack.grid-stack-6>.grid-stack-item[gs-w="2"]{width:33.3333333333%}.grid-stack.grid-stack-6>.grid-stack-item[gs-x="2"]{left:33.3333333333%}.grid-stack.grid-stack-6>.grid-stack-item[gs-w="3"]{width:50%}.grid-stack.grid-stack-6>.grid-stack-item[gs-x="3"]{left:50%}.grid-stack.grid-stack-6>.grid-stack-item[gs-w="4"]{width:66.6666666667%}.grid-stack.grid-stack-6>.grid-stack-item[gs-x="4"]{left:66.6666666667%}.grid-stack.grid-stack-6>.grid-stack-item[gs-w="5"]{width:83.3333333333%}.grid-stack.grid-stack-6>.grid-stack-item[gs-x="5"]{left:83.3333333333%}.grid-stack.grid-stack-6>.grid-stack-item[gs-w="6"]{width:100%}.grid-stack.grid-stack-6>.grid-stack-item[gs-x="6"]{left:100%}.grid-stack.grid-stack-7>.grid-stack-item{min-width:14.2857142857%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="1"]{width:14.2857142857%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="1"]{left:14.2857142857%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="2"]{width:28.5714285714%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="2"]{left:28.5714285714%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="3"]{width:42.8571428571%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="3"]{left:42.8571428571%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="4"]{width:57.1428571429%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="4"]{left:57.1428571429%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="5"]{width:71.4285714286%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="5"]{left:71.4285714286%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="6"]{width:85.7142857143%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="6"]{left:85.7142857143%}.grid-stack.grid-stack-7>.grid-stack-item[gs-w="7"]{width:100%}.grid-stack.grid-stack-7>.grid-stack-item[gs-x="7"]{left:100%}.grid-stack.grid-stack-8>.grid-stack-item{min-width:12.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="1"]{width:12.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="1"]{left:12.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="2"]{width:25%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="2"]{left:25%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="3"]{width:37.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="3"]{left:37.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="4"]{width:50%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="4"]{left:50%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="5"]{width:62.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="5"]{left:62.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="6"]{width:75%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="6"]{left:75%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="7"]{width:87.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="7"]{left:87.5%}.grid-stack.grid-stack-8>.grid-stack-item[gs-w="8"]{width:100%}.grid-stack.grid-stack-8>.grid-stack-item[gs-x="8"]{left:100%}.grid-stack.grid-stack-9>.grid-stack-item{min-width:11.1111111111%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="1"]{width:11.1111111111%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="1"]{left:11.1111111111%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="2"]{width:22.2222222222%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="2"]{left:22.2222222222%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="3"]{width:33.3333333333%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="3"]{left:33.3333333333%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="4"]{width:44.4444444444%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="4"]{left:44.4444444444%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="5"]{width:55.5555555556%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="5"]{left:55.5555555556%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="6"]{width:66.6666666667%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="6"]{left:66.6666666667%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="7"]{width:77.7777777778%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="7"]{left:77.7777777778%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="8"]{width:88.8888888889%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="8"]{left:88.8888888889%}.grid-stack.grid-stack-9>.grid-stack-item[gs-w="9"]{width:100%}.grid-stack.grid-stack-9>.grid-stack-item[gs-x="9"]{left:100%}.grid-stack.grid-stack-10>.grid-stack-item{min-width:10%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="1"]{width:10%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="1"]{left:10%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="2"]{width:20%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="2"]{left:20%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="3"]{width:30%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="3"]{left:30%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="4"]{width:40%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="4"]{left:40%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="5"]{width:50%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="5"]{left:50%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="6"]{width:60%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="6"]{left:60%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="7"]{width:70%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="7"]{left:70%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="8"]{width:80%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="8"]{left:80%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="9"]{width:90%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="9"]{left:90%}.grid-stack.grid-stack-10>.grid-stack-item[gs-w="10"]{width:100%}.grid-stack.grid-stack-10>.grid-stack-item[gs-x="10"]{left:100%}.grid-stack.grid-stack-11>.grid-stack-item{min-width:9.0909090909%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="1"]{width:9.0909090909%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="1"]{left:9.0909090909%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="2"]{width:18.1818181818%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="2"]{left:18.1818181818%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="3"]{width:27.2727272727%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="3"]{left:27.2727272727%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="4"]{width:36.3636363636%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="4"]{left:36.3636363636%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="5"]{width:45.4545454545%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="5"]{left:45.4545454545%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="6"]{width:54.5454545455%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="6"]{left:54.5454545455%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="7"]{width:63.6363636364%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="7"]{left:63.6363636364%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="8"]{width:72.7272727273%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="8"]{left:72.7272727273%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="9"]{width:81.8181818182%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="9"]{left:81.8181818182%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="10"]{width:90.9090909091%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="10"]{left:90.9090909091%}.grid-stack.grid-stack-11>.grid-stack-item[gs-w="11"]{width:100%}.grid-stack.grid-stack-11>.grid-stack-item[gs-x="11"]{left:100%}
1
+ .gs-2>.grid-stack-item{width:50%}.gs-2>.grid-stack-item[gs-x="1"]{left:50%}.gs-2>.grid-stack-item[gs-w="2"]{width:100%}.gs-3>.grid-stack-item{width:33.333%}.gs-3>.grid-stack-item[gs-x="1"]{left:33.333%}.gs-3>.grid-stack-item[gs-w="2"]{width:66.667%}.gs-3>.grid-stack-item[gs-x="2"]{left:66.667%}.gs-3>.grid-stack-item[gs-w="3"]{width:100%}.gs-4>.grid-stack-item{width:25%}.gs-4>.grid-stack-item[gs-x="1"]{left:25%}.gs-4>.grid-stack-item[gs-w="2"]{width:50%}.gs-4>.grid-stack-item[gs-x="2"]{left:50%}.gs-4>.grid-stack-item[gs-w="3"]{width:75%}.gs-4>.grid-stack-item[gs-x="3"]{left:75%}.gs-4>.grid-stack-item[gs-w="4"]{width:100%}.gs-5>.grid-stack-item{width:20%}.gs-5>.grid-stack-item[gs-x="1"]{left:20%}.gs-5>.grid-stack-item[gs-w="2"]{width:40%}.gs-5>.grid-stack-item[gs-x="2"]{left:40%}.gs-5>.grid-stack-item[gs-w="3"]{width:60%}.gs-5>.grid-stack-item[gs-x="3"]{left:60%}.gs-5>.grid-stack-item[gs-w="4"]{width:80%}.gs-5>.grid-stack-item[gs-x="4"]{left:80%}.gs-5>.grid-stack-item[gs-w="5"]{width:100%}.gs-6>.grid-stack-item{width:16.667%}.gs-6>.grid-stack-item[gs-x="1"]{left:16.667%}.gs-6>.grid-stack-item[gs-w="2"]{width:33.333%}.gs-6>.grid-stack-item[gs-x="2"]{left:33.333%}.gs-6>.grid-stack-item[gs-w="3"]{width:50%}.gs-6>.grid-stack-item[gs-x="3"]{left:50%}.gs-6>.grid-stack-item[gs-w="4"]{width:66.667%}.gs-6>.grid-stack-item[gs-x="4"]{left:66.667%}.gs-6>.grid-stack-item[gs-w="5"]{width:83.333%}.gs-6>.grid-stack-item[gs-x="5"]{left:83.333%}.gs-6>.grid-stack-item[gs-w="6"]{width:100%}.gs-7>.grid-stack-item{width:14.286%}.gs-7>.grid-stack-item[gs-x="1"]{left:14.286%}.gs-7>.grid-stack-item[gs-w="2"]{width:28.571%}.gs-7>.grid-stack-item[gs-x="2"]{left:28.571%}.gs-7>.grid-stack-item[gs-w="3"]{width:42.857%}.gs-7>.grid-stack-item[gs-x="3"]{left:42.857%}.gs-7>.grid-stack-item[gs-w="4"]{width:57.143%}.gs-7>.grid-stack-item[gs-x="4"]{left:57.143%}.gs-7>.grid-stack-item[gs-w="5"]{width:71.429%}.gs-7>.grid-stack-item[gs-x="5"]{left:71.429%}.gs-7>.grid-stack-item[gs-w="6"]{width:85.714%}.gs-7>.grid-stack-item[gs-x="6"]{left:85.714%}.gs-7>.grid-stack-item[gs-w="7"]{width:100%}.gs-8>.grid-stack-item{width:12.5%}.gs-8>.grid-stack-item[gs-x="1"]{left:12.5%}.gs-8>.grid-stack-item[gs-w="2"]{width:25%}.gs-8>.grid-stack-item[gs-x="2"]{left:25%}.gs-8>.grid-stack-item[gs-w="3"]{width:37.5%}.gs-8>.grid-stack-item[gs-x="3"]{left:37.5%}.gs-8>.grid-stack-item[gs-w="4"]{width:50%}.gs-8>.grid-stack-item[gs-x="4"]{left:50%}.gs-8>.grid-stack-item[gs-w="5"]{width:62.5%}.gs-8>.grid-stack-item[gs-x="5"]{left:62.5%}.gs-8>.grid-stack-item[gs-w="6"]{width:75%}.gs-8>.grid-stack-item[gs-x="6"]{left:75%}.gs-8>.grid-stack-item[gs-w="7"]{width:87.5%}.gs-8>.grid-stack-item[gs-x="7"]{left:87.5%}.gs-8>.grid-stack-item[gs-w="8"]{width:100%}.gs-9>.grid-stack-item{width:11.111%}.gs-9>.grid-stack-item[gs-x="1"]{left:11.111%}.gs-9>.grid-stack-item[gs-w="2"]{width:22.222%}.gs-9>.grid-stack-item[gs-x="2"]{left:22.222%}.gs-9>.grid-stack-item[gs-w="3"]{width:33.333%}.gs-9>.grid-stack-item[gs-x="3"]{left:33.333%}.gs-9>.grid-stack-item[gs-w="4"]{width:44.444%}.gs-9>.grid-stack-item[gs-x="4"]{left:44.444%}.gs-9>.grid-stack-item[gs-w="5"]{width:55.556%}.gs-9>.grid-stack-item[gs-x="5"]{left:55.556%}.gs-9>.grid-stack-item[gs-w="6"]{width:66.667%}.gs-9>.grid-stack-item[gs-x="6"]{left:66.667%}.gs-9>.grid-stack-item[gs-w="7"]{width:77.778%}.gs-9>.grid-stack-item[gs-x="7"]{left:77.778%}.gs-9>.grid-stack-item[gs-w="8"]{width:88.889%}.gs-9>.grid-stack-item[gs-x="8"]{left:88.889%}.gs-9>.grid-stack-item[gs-w="9"]{width:100%}.gs-10>.grid-stack-item{width:10%}.gs-10>.grid-stack-item[gs-x="1"]{left:10%}.gs-10>.grid-stack-item[gs-w="2"]{width:20%}.gs-10>.grid-stack-item[gs-x="2"]{left:20%}.gs-10>.grid-stack-item[gs-w="3"]{width:30%}.gs-10>.grid-stack-item[gs-x="3"]{left:30%}.gs-10>.grid-stack-item[gs-w="4"]{width:40%}.gs-10>.grid-stack-item[gs-x="4"]{left:40%}.gs-10>.grid-stack-item[gs-w="5"]{width:50%}.gs-10>.grid-stack-item[gs-x="5"]{left:50%}.gs-10>.grid-stack-item[gs-w="6"]{width:60%}.gs-10>.grid-stack-item[gs-x="6"]{left:60%}.gs-10>.grid-stack-item[gs-w="7"]{width:70%}.gs-10>.grid-stack-item[gs-x="7"]{left:70%}.gs-10>.grid-stack-item[gs-w="8"]{width:80%}.gs-10>.grid-stack-item[gs-x="8"]{left:80%}.gs-10>.grid-stack-item[gs-w="9"]{width:90%}.gs-10>.grid-stack-item[gs-x="9"]{left:90%}.gs-10>.grid-stack-item[gs-w="10"]{width:100%}.gs-11>.grid-stack-item{width:9.091%}.gs-11>.grid-stack-item[gs-x="1"]{left:9.091%}.gs-11>.grid-stack-item[gs-w="2"]{width:18.182%}.gs-11>.grid-stack-item[gs-x="2"]{left:18.182%}.gs-11>.grid-stack-item[gs-w="3"]{width:27.273%}.gs-11>.grid-stack-item[gs-x="3"]{left:27.273%}.gs-11>.grid-stack-item[gs-w="4"]{width:36.364%}.gs-11>.grid-stack-item[gs-x="4"]{left:36.364%}.gs-11>.grid-stack-item[gs-w="5"]{width:45.455%}.gs-11>.grid-stack-item[gs-x="5"]{left:45.455%}.gs-11>.grid-stack-item[gs-w="6"]{width:54.545%}.gs-11>.grid-stack-item[gs-x="6"]{left:54.545%}.gs-11>.grid-stack-item[gs-w="7"]{width:63.636%}.gs-11>.grid-stack-item[gs-x="7"]{left:63.636%}.gs-11>.grid-stack-item[gs-w="8"]{width:72.727%}.gs-11>.grid-stack-item[gs-x="8"]{left:72.727%}.gs-11>.grid-stack-item[gs-w="9"]{width:81.818%}.gs-11>.grid-stack-item[gs-x="9"]{left:81.818%}.gs-11>.grid-stack-item[gs-w="10"]{width:90.909%}.gs-11>.grid-stack-item[gs-x="10"]{left:90.909%}.gs-11>.grid-stack-item[gs-w="11"]{width:100%}
@@ -1,31 +1,30 @@
1
1
  /**
2
- * gridstack SASS styles 8.0.1
2
+ * gridstack SASS styles 8.1.1
3
3
  * Copyright (c) 2021 Alain Dumesny - see GridStack root license
4
4
  */
5
- :root .grid-stack-item > .ui-resizable-handle {
6
- filter: none;
7
- }
8
-
9
5
  .grid-stack {
10
6
  position: relative;
11
7
  }
12
- .grid-stack.grid-stack-rtl {
8
+
9
+ .grid-stack-rtl {
13
10
  direction: ltr;
14
11
  }
15
- .grid-stack.grid-stack-rtl > .grid-stack-item {
12
+ .grid-stack-rtl > .grid-stack-item {
16
13
  direction: rtl;
17
14
  }
18
- .grid-stack .grid-stack-placeholder > .placeholder-content {
15
+
16
+ .grid-stack-placeholder > .placeholder-content {
19
17
  background-color: rgba(0, 0, 0, 0.1);
20
18
  margin: 0;
21
19
  position: absolute;
22
20
  width: auto;
23
21
  z-index: 0 !important;
24
- text-align: center;
25
22
  }
23
+
26
24
  .grid-stack > .grid-stack-item {
27
- min-width: 8.3333333333%;
28
25
  position: absolute;
26
+ top: 0px;
27
+ left: 0%;
29
28
  padding: 0;
30
29
  }
31
30
  .grid-stack > .grid-stack-item > .grid-stack-item-content {
@@ -35,208 +34,184 @@
35
34
  overflow-x: hidden;
36
35
  overflow-y: auto;
37
36
  }
38
- .grid-stack > .grid-stack-item > .ui-resizable-handle {
37
+
38
+ .grid-stack-item > .ui-resizable-handle {
39
39
  position: absolute;
40
40
  font-size: 0.1px;
41
41
  display: block;
42
42
  -ms-touch-action: none;
43
43
  touch-action: none;
44
44
  }
45
- .grid-stack > .grid-stack-item.ui-resizable-disabled > .ui-resizable-handle, .grid-stack > .grid-stack-item.ui-resizable-autohide > .ui-resizable-handle {
45
+ .grid-stack-item.ui-resizable-disabled > .ui-resizable-handle, .grid-stack-item.ui-resizable-autohide > .ui-resizable-handle {
46
46
  display: none;
47
47
  }
48
- .grid-stack > .grid-stack-item > .ui-resizable-ne,
49
- .grid-stack > .grid-stack-item > .ui-resizable-nw,
50
- .grid-stack > .grid-stack-item > .ui-resizable-se,
51
- .grid-stack > .grid-stack-item > .ui-resizable-sw {
48
+ .grid-stack-item > .ui-resizable-ne,
49
+ .grid-stack-item > .ui-resizable-nw,
50
+ .grid-stack-item > .ui-resizable-se,
51
+ .grid-stack-item > .ui-resizable-sw {
52
52
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDUxMS42MjYgNTExLjYyNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTExLjYyNiA1MTEuNjI3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTMyOC45MDYsNDAxLjk5NGgtMzYuNTUzVjEwOS42MzZoMzYuNTUzYzQuOTQ4LDAsOS4yMzYtMS44MDksMTIuODQ3LTUuNDI2YzMuNjEzLTMuNjE1LDUuNDIxLTcuODk4LDUuNDIxLTEyLjg0NSAgIGMwLTQuOTQ5LTEuODAxLTkuMjMxLTUuNDI4LTEyLjg1MWwtNzMuMDg3LTczLjA5QzI2NS4wNDQsMS44MDksMjYwLjc2LDAsMjU1LjgxMywwYy00Ljk0OCwwLTkuMjI5LDEuODA5LTEyLjg0Nyw1LjQyNCAgIGwtNzMuMDg4LDczLjA5Yy0zLjYxOCwzLjYxOS01LjQyNCw3LjkwMi01LjQyNCwxMi44NTFjMCw0Ljk0NiwxLjgwNyw5LjIyOSw1LjQyNCwxMi44NDVjMy42MTksMy42MTcsNy45MDEsNS40MjYsMTIuODUsNS40MjYgICBoMzYuNTQ1djI5Mi4zNThoLTM2LjU0MmMtNC45NTIsMC05LjIzNSwxLjgwOC0xMi44NSw1LjQyMWMtMy42MTcsMy42MjEtNS40MjQsNy45MDUtNS40MjQsMTIuODU0ICAgYzAsNC45NDUsMS44MDcsOS4yMjcsNS40MjQsMTIuODQ3bDczLjA4OSw3My4wODhjMy42MTcsMy42MTcsNy44OTgsNS40MjQsMTIuODQ3LDUuNDI0YzQuOTUsMCw5LjIzNC0xLjgwNywxMi44NDktNS40MjQgICBsNzMuMDg3LTczLjA4OGMzLjYxMy0zLjYyLDUuNDIxLTcuOTAxLDUuNDIxLTEyLjg0N2MwLTQuOTQ4LTEuODA4LTkuMjMyLTUuNDIxLTEyLjg1NCAgIEMzMzguMTQyLDQwMy44MDIsMzMzLjg1Nyw0MDEuOTk0LDMyOC45MDYsNDAxLjk5NHoiIGZpbGw9IiM2NjY2NjYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
53
53
  background-repeat: no-repeat;
54
54
  background-position: center;
55
55
  }
56
- .grid-stack > .grid-stack-item > .ui-resizable-ne {
57
- -webkit-transform: translate(0, 10px) rotate(45deg);
58
- -moz-transform: translate(0, 10px) rotate(45deg);
59
- -ms-transform: translate(0, 10px) rotate(45deg);
60
- -o-transform: translate(0, 10px) rotate(45deg);
56
+ .grid-stack-item > .ui-resizable-ne {
61
57
  transform: translate(0, 10px) rotate(45deg);
62
58
  }
63
- .grid-stack > .grid-stack-item > .ui-resizable-sw {
64
- -webkit-transform: rotate(45deg);
65
- -moz-transform: rotate(45deg);
66
- -ms-transform: rotate(45deg);
67
- -o-transform: rotate(45deg);
59
+ .grid-stack-item > .ui-resizable-sw {
68
60
  transform: rotate(45deg);
69
61
  }
70
- .grid-stack > .grid-stack-item > .ui-resizable-nw {
71
- -webkit-transform: translate(0, 10px) rotate(-45deg);
72
- -moz-transform: translate(0, 10px) rotate(-45deg);
73
- -ms-transform: translate(0, 10px) rotate(-45deg);
74
- -o-transform: translate(0, 10px) rotate(-45deg);
62
+ .grid-stack-item > .ui-resizable-nw {
75
63
  transform: translate(0, 10px) rotate(-45deg);
76
64
  }
77
- .grid-stack > .grid-stack-item > .ui-resizable-se {
78
- -webkit-transform: rotate(-45deg);
79
- -moz-transform: rotate(-45deg);
80
- -ms-transform: rotate(-45deg);
81
- -o-transform: rotate(-45deg);
65
+ .grid-stack-item > .ui-resizable-se {
82
66
  transform: rotate(-45deg);
83
67
  }
84
- .grid-stack > .grid-stack-item > .ui-resizable-nw {
68
+ .grid-stack-item > .ui-resizable-nw {
85
69
  cursor: nw-resize;
86
70
  width: 20px;
87
71
  height: 20px;
88
72
  top: 0;
89
73
  }
90
- .grid-stack > .grid-stack-item > .ui-resizable-n {
74
+ .grid-stack-item > .ui-resizable-n {
91
75
  cursor: n-resize;
92
76
  height: 10px;
93
77
  top: 0;
94
78
  left: 25px;
95
79
  right: 25px;
96
80
  }
97
- .grid-stack > .grid-stack-item > .ui-resizable-ne {
81
+ .grid-stack-item > .ui-resizable-ne {
98
82
  cursor: ne-resize;
99
83
  width: 20px;
100
84
  height: 20px;
101
85
  top: 0;
102
86
  }
103
- .grid-stack > .grid-stack-item > .ui-resizable-e {
87
+ .grid-stack-item > .ui-resizable-e {
104
88
  cursor: e-resize;
105
89
  width: 10px;
106
90
  top: 15px;
107
91
  bottom: 15px;
108
92
  }
109
- .grid-stack > .grid-stack-item > .ui-resizable-se {
93
+ .grid-stack-item > .ui-resizable-se {
110
94
  cursor: se-resize;
111
95
  width: 20px;
112
96
  height: 20px;
113
97
  }
114
- .grid-stack > .grid-stack-item > .ui-resizable-s {
98
+ .grid-stack-item > .ui-resizable-s {
115
99
  cursor: s-resize;
116
100
  height: 10px;
117
101
  left: 25px;
118
102
  bottom: 0;
119
103
  right: 25px;
120
104
  }
121
- .grid-stack > .grid-stack-item > .ui-resizable-sw {
105
+ .grid-stack-item > .ui-resizable-sw {
122
106
  cursor: sw-resize;
123
107
  width: 20px;
124
108
  height: 20px;
125
109
  }
126
- .grid-stack > .grid-stack-item > .ui-resizable-w {
110
+ .grid-stack-item > .ui-resizable-w {
127
111
  cursor: w-resize;
128
112
  width: 10px;
129
113
  top: 15px;
130
114
  bottom: 15px;
131
115
  }
132
- .grid-stack > .grid-stack-item.ui-draggable-dragging > .ui-resizable-handle {
116
+ .grid-stack-item.ui-draggable-dragging > .ui-resizable-handle {
133
117
  display: none !important;
134
118
  }
135
- .grid-stack > .grid-stack-item[gs-x="0"] {
136
- left: 0%;
119
+ .grid-stack-item.ui-draggable-dragging, .grid-stack-item.ui-resizable-resizing {
120
+ z-index: 100;
137
121
  }
138
- .grid-stack > .grid-stack-item[gs-w="1"] {
139
- width: 8.3333333333%;
122
+ .grid-stack-item.ui-draggable-dragging > .grid-stack-item-content, .grid-stack-item.ui-resizable-resizing > .grid-stack-item-content {
123
+ box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2);
124
+ opacity: 0.8;
140
125
  }
141
- .grid-stack > .grid-stack-item[gs-x="1"] {
142
- left: 8.3333333333%;
126
+ .grid-stack-item.ui-draggable-dragging {
127
+ will-change: left, top;
128
+ cursor: move;
129
+ }
130
+ .grid-stack-item.ui-resizable-resizing {
131
+ will-change: width, height;
132
+ }
133
+
134
+ .grid-stack-animate,
135
+ .grid-stack-animate .grid-stack-item {
136
+ transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
143
137
  }
144
- .grid-stack > .grid-stack-item[gs-w="2"] {
145
- width: 16.6666666667%;
138
+
139
+ .grid-stack-animate .grid-stack-item.ui-draggable-dragging,
140
+ .grid-stack-animate .grid-stack-item.ui-resizable-resizing,
141
+ .grid-stack-animate .grid-stack-item.grid-stack-placeholder {
142
+ transition: left 0s, top 0s, height 0s, width 0s;
146
143
  }
147
- .grid-stack > .grid-stack-item[gs-x="2"] {
148
- left: 16.6666666667%;
144
+
145
+ .gs-12 > .grid-stack-item {
146
+ width: 8.333%;
149
147
  }
150
- .grid-stack > .grid-stack-item[gs-w="3"] {
148
+ .gs-12 > .grid-stack-item[gs-x="1"] {
149
+ left: 8.333%;
150
+ }
151
+ .gs-12 > .grid-stack-item[gs-w="2"] {
152
+ width: 16.667%;
153
+ }
154
+ .gs-12 > .grid-stack-item[gs-x="2"] {
155
+ left: 16.667%;
156
+ }
157
+ .gs-12 > .grid-stack-item[gs-w="3"] {
151
158
  width: 25%;
152
159
  }
153
- .grid-stack > .grid-stack-item[gs-x="3"] {
160
+ .gs-12 > .grid-stack-item[gs-x="3"] {
154
161
  left: 25%;
155
162
  }
156
- .grid-stack > .grid-stack-item[gs-w="4"] {
157
- width: 33.3333333333%;
163
+ .gs-12 > .grid-stack-item[gs-w="4"] {
164
+ width: 33.333%;
158
165
  }
159
- .grid-stack > .grid-stack-item[gs-x="4"] {
160
- left: 33.3333333333%;
166
+ .gs-12 > .grid-stack-item[gs-x="4"] {
167
+ left: 33.333%;
161
168
  }
162
- .grid-stack > .grid-stack-item[gs-w="5"] {
163
- width: 41.6666666667%;
169
+ .gs-12 > .grid-stack-item[gs-w="5"] {
170
+ width: 41.667%;
164
171
  }
165
- .grid-stack > .grid-stack-item[gs-x="5"] {
166
- left: 41.6666666667%;
172
+ .gs-12 > .grid-stack-item[gs-x="5"] {
173
+ left: 41.667%;
167
174
  }
168
- .grid-stack > .grid-stack-item[gs-w="6"] {
175
+ .gs-12 > .grid-stack-item[gs-w="6"] {
169
176
  width: 50%;
170
177
  }
171
- .grid-stack > .grid-stack-item[gs-x="6"] {
178
+ .gs-12 > .grid-stack-item[gs-x="6"] {
172
179
  left: 50%;
173
180
  }
174
- .grid-stack > .grid-stack-item[gs-w="7"] {
175
- width: 58.3333333333%;
181
+ .gs-12 > .grid-stack-item[gs-w="7"] {
182
+ width: 58.333%;
176
183
  }
177
- .grid-stack > .grid-stack-item[gs-x="7"] {
178
- left: 58.3333333333%;
184
+ .gs-12 > .grid-stack-item[gs-x="7"] {
185
+ left: 58.333%;
179
186
  }
180
- .grid-stack > .grid-stack-item[gs-w="8"] {
181
- width: 66.6666666667%;
187
+ .gs-12 > .grid-stack-item[gs-w="8"] {
188
+ width: 66.667%;
182
189
  }
183
- .grid-stack > .grid-stack-item[gs-x="8"] {
184
- left: 66.6666666667%;
190
+ .gs-12 > .grid-stack-item[gs-x="8"] {
191
+ left: 66.667%;
185
192
  }
186
- .grid-stack > .grid-stack-item[gs-w="9"] {
193
+ .gs-12 > .grid-stack-item[gs-w="9"] {
187
194
  width: 75%;
188
195
  }
189
- .grid-stack > .grid-stack-item[gs-x="9"] {
196
+ .gs-12 > .grid-stack-item[gs-x="9"] {
190
197
  left: 75%;
191
198
  }
192
- .grid-stack > .grid-stack-item[gs-w="10"] {
193
- width: 83.3333333333%;
199
+ .gs-12 > .grid-stack-item[gs-w="10"] {
200
+ width: 83.333%;
194
201
  }
195
- .grid-stack > .grid-stack-item[gs-x="10"] {
196
- left: 83.3333333333%;
202
+ .gs-12 > .grid-stack-item[gs-x="10"] {
203
+ left: 83.333%;
197
204
  }
198
- .grid-stack > .grid-stack-item[gs-w="11"] {
199
- width: 91.6666666667%;
205
+ .gs-12 > .grid-stack-item[gs-w="11"] {
206
+ width: 91.667%;
200
207
  }
201
- .grid-stack > .grid-stack-item[gs-x="11"] {
202
- left: 91.6666666667%;
208
+ .gs-12 > .grid-stack-item[gs-x="11"] {
209
+ left: 91.667%;
203
210
  }
204
- .grid-stack > .grid-stack-item[gs-w="12"] {
211
+ .gs-12 > .grid-stack-item[gs-w="12"] {
205
212
  width: 100%;
206
213
  }
207
- .grid-stack.grid-stack-1 > .grid-stack-item {
208
- min-width: 100%;
209
- }
210
- .grid-stack.grid-stack-animate, .grid-stack.grid-stack-animate .grid-stack-item {
211
- -webkit-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
212
- -moz-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
213
- -ms-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
214
- -o-transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
215
- transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
216
- }
217
- .grid-stack.grid-stack-animate .grid-stack-item.ui-draggable-dragging, .grid-stack.grid-stack-animate .grid-stack-item.ui-resizable-resizing, .grid-stack.grid-stack-animate .grid-stack-item.grid-stack-placeholder {
218
- -webkit-transition: left 0s, top 0s, height 0s, width 0s;
219
- -moz-transition: left 0s, top 0s, height 0s, width 0s;
220
- -ms-transition: left 0s, top 0s, height 0s, width 0s;
221
- -o-transition: left 0s, top 0s, height 0s, width 0s;
222
- transition: left 0s, top 0s, height 0s, width 0s;
223
- }
224
-
225
- .ui-draggable-dragging,
226
- .ui-resizable-resizing {
227
- z-index: 100;
228
- }
229
- .ui-draggable-dragging > .grid-stack-item-content,
230
- .ui-resizable-resizing > .grid-stack-item-content {
231
- box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2);
232
- opacity: 0.8;
233
- }
234
-
235
- .ui-draggable-dragging {
236
- will-change: left, top;
237
- cursor: move;
238
- }
239
214
 
240
- .ui-resizable-resizing {
241
- will-change: width, height;
215
+ .gs-1 > .grid-stack-item {
216
+ width: 100%;
242
217
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * GridStack 8.0.1
2
+ * GridStack 8.1.1
3
3
  * https://gridstackjs.com/
4
4
  *
5
5
  * Copyright (c) 2021-2022 Alain Dumesny
@@ -341,9 +341,9 @@ export declare class GridStack {
341
341
  * is dynamically create and needs to be set later.
342
342
  * @param dragIn string selector (ex: '.sidebar .grid-stack-item') or list of dom elements
343
343
  * @param dragInOptions options - see DDDragInOpt. (default: {handle: '.grid-stack-item-content', appendTo: 'body'}
344
- * @param root optional root which defaults to document (for shadow dom)
344
+ * @param root optional root which defaults to document (for shadow dom pas the parent HTMLDocument)
345
345
  **/
346
- static setupDragIn(dragIn?: string | HTMLElement[], dragInOptions?: DDDragInOpt, root?: Document): void;
346
+ static setupDragIn(dragIn?: string | HTMLElement[], dragInOptions?: DDDragInOpt, root?: HTMLElement | Document): void;
347
347
  /**
348
348
  * Enables/Disables dragging by the user of specific grid element. If you want all items, and have it affect future items, use enableMove() instead. No-op for static grids.
349
349
  * IF you are looking to prevent an item from moving (due to being pushed around by another during collision) use locked property instead.
package/dist/gridstack.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * GridStack 8.0.1
2
+ * GridStack 8.1.1
3
3
  * https://gridstackjs.com/
4
4
  *
5
5
  * Copyright (c) 2021-2022 Alain Dumesny
@@ -171,13 +171,6 @@ class GridStack {
171
171
  if (opts.column === 'auto') {
172
172
  delete opts.column;
173
173
  }
174
- // 'minWidth' legacy support in 5.1
175
- /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
176
- let anyOpts = opts;
177
- if (anyOpts.minWidth !== undefined) {
178
- opts.oneColumnSize = opts.oneColumnSize || anyOpts.minWidth;
179
- delete anyOpts.minWidth;
180
- }
181
174
  // save original setting so we can restore on save
182
175
  if (opts.alwaysShowResizeHandle !== undefined) {
183
176
  opts._alwaysShowResizeHandle = opts.alwaysShowResizeHandle;
@@ -237,7 +230,7 @@ class GridStack {
237
230
  if (this.opts.alwaysShowResizeHandle === 'mobile') {
238
231
  this.opts.alwaysShowResizeHandle = isTouch;
239
232
  }
240
- this._styleSheetClass = 'grid-stack-instance-' + GridStackEngine._idSeq++;
233
+ this._styleSheetClass = 'gs-id-' + GridStackEngine._idSeq++;
241
234
  this.el.classList.add(this._styleSheetClass);
242
235
  this._setStaticClass();
243
236
  let engineClass = this.opts.engineClass || GridStack.engineClass || GridStackEngine;
@@ -278,9 +271,7 @@ class GridStack {
278
271
  }
279
272
  this.setAnimation(this.opts.animate);
280
273
  this._updateStyles();
281
- if (this.opts.column != 12) {
282
- this.el.classList.add('grid-stack-' + this.opts.column);
283
- }
274
+ this.el.classList.add('gs-' + this.opts.column);
284
275
  // dynamic grids require pausing during drag to detect over to nest vs push
285
276
  if (this.opts.subGridDynamic && !DDManager.pauseDrag)
286
277
  DDManager.pauseDrag = true;
@@ -722,8 +713,8 @@ class GridStack {
722
713
  else {
723
714
  delete this._prevColumn;
724
715
  }
725
- this.el.classList.remove('grid-stack-' + oldColumn);
726
- this.el.classList.add('grid-stack-' + column);
716
+ this.el.classList.remove('gs-' + oldColumn);
717
+ this.el.classList.add('gs-' + column);
727
718
  this.opts.column = this.engine.column = column;
728
719
  // update the items now - see if the dom order nodes should be passed instead (else default to current list)
729
720
  let domNodes;
@@ -1208,7 +1199,7 @@ class GridStack {
1208
1199
  return this;
1209
1200
  this._styles._max = 0;
1210
1201
  // these are done once only
1211
- Utils.addCSSRule(this._styles, prefix, `min-height: ${cellHeight}${cellHeightUnit}`);
1202
+ Utils.addCSSRule(this._styles, prefix, `height: ${cellHeight}${cellHeightUnit}`);
1212
1203
  // content margins
1213
1204
  let top = this.opts.marginTop + this.opts.marginUnit;
1214
1205
  let bottom = this.opts.marginBottom + this.opts.marginUnit;
@@ -1231,9 +1222,8 @@ class GridStack {
1231
1222
  if (maxH > this._styles._max) {
1232
1223
  let getHeight = (rows) => (cellHeight * rows) + cellHeightUnit;
1233
1224
  for (let i = this._styles._max + 1; i <= maxH; i++) { // start at 1
1234
- let h = getHeight(i);
1235
- Utils.addCSSRule(this._styles, `${prefix}[gs-y="${i - 1}"]`, `top: ${getHeight(i - 1)}`); // start at 0
1236
- Utils.addCSSRule(this._styles, `${prefix}[gs-h="${i}"]`, `height: ${h}`);
1225
+ Utils.addCSSRule(this._styles, `${prefix}[gs-y="${i}"]`, `top: ${getHeight(i)}`);
1226
+ Utils.addCSSRule(this._styles, `${prefix}[gs-h="${i + 1}"]`, `height: ${getHeight(i + 1)}`); // start at 2
1237
1227
  }
1238
1228
  this._styles._max = maxH;
1239
1229
  }
@@ -1517,7 +1507,7 @@ class GridStack {
1517
1507
  * is dynamically create and needs to be set later.
1518
1508
  * @param dragIn string selector (ex: '.sidebar .grid-stack-item') or list of dom elements
1519
1509
  * @param dragInOptions options - see DDDragInOpt. (default: {handle: '.grid-stack-item-content', appendTo: 'body'}
1520
- * @param root optional root which defaults to document (for shadow dom)
1510
+ * @param root optional root which defaults to document (for shadow dom pas the parent HTMLDocument)
1521
1511
  **/
1522
1512
  static setupDragIn(dragIn, dragInOptions, root = document) {
1523
1513
  if (dragInOptions?.pause !== undefined) {
@@ -2151,6 +2141,6 @@ class GridStack {
2151
2141
  GridStack.Utils = Utils;
2152
2142
  /** scoping so users can call new GridStack.Engine(12) for example */
2153
2143
  GridStack.Engine = GridStackEngine;
2154
- GridStack.GDRev = '8.0.1';
2144
+ GridStack.GDRev = '8.1.1';
2155
2145
  export { GridStack };
2156
2146
  //# sourceMappingURL=gridstack.js.map