@measured/puck 0.2.0 → 0.2.2

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/dist/index.css CHANGED
@@ -140,14 +140,18 @@
140
140
  /* styles/global.css */
141
141
 
142
142
  /* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
143
- ._DraggableComponent_1sbv6_1 {
143
+ ._DraggableComponent_b4hy4_1 {
144
144
  position: relative;
145
145
  }
146
- ._DraggableComponent-contents_1sbv6_5 {
147
- border: 1px inset transparent;
146
+ ._DraggableComponent-contents_b4hy4_5 {
148
147
  position: relative;
149
148
  }
150
- ._DraggableComponent-overlay_1sbv6_10 {
149
+ ._DraggableComponent-contents_b4hy4_5::before,
150
+ ._DraggableComponent-contents_b4hy4_5::after {
151
+ content: " ";
152
+ display: table;
153
+ }
154
+ ._DraggableComponent-overlay_b4hy4_16 {
151
155
  display: none;
152
156
  height: 100%;
153
157
  width: 100%;
@@ -156,22 +160,22 @@
156
160
  z-index: 1;
157
161
  font-family: var(--puck-font-stack);
158
162
  }
159
- ._DraggableComponent_1sbv6_1:hover ._DraggableComponent-overlay_1sbv6_10 {
163
+ ._DraggableComponent_b4hy4_1:hover ._DraggableComponent-overlay_b4hy4_16 {
160
164
  display: block;
161
165
  background-color: #cdcdcd50;
162
166
  box-shadow: inset 0 0 0 4px var(--puck-color-azure-6);
163
167
  }
164
- ._DraggableComponent--isModifierHeld_1sbv6_26:hover ._DraggableComponent-overlay_1sbv6_10 {
168
+ ._DraggableComponent--isModifierHeld_b4hy4_32:hover ._DraggableComponent-overlay_b4hy4_16 {
165
169
  display: none;
166
170
  }
167
- ._DraggableComponent--isSelected_1sbv6_30 ._DraggableComponent-overlay_1sbv6_10 {
171
+ ._DraggableComponent--isSelected_b4hy4_36 ._DraggableComponent-overlay_b4hy4_16 {
168
172
  box-shadow: inset 0 0 0 4px var(--puck-color-azure-6);
169
173
  display: block;
170
174
  }
171
- ._DraggableComponent-actions_1sbv6_35 {
175
+ ._DraggableComponent-actions_b4hy4_41 {
172
176
  display: none;
173
177
  }
174
- ._DraggableComponent_1sbv6_1:hover ._DraggableComponent-actions_1sbv6_35 {
178
+ ._DraggableComponent_b4hy4_1:hover ._DraggableComponent-actions_b4hy4_41 {
175
179
  position: absolute;
176
180
  right: 0;
177
181
  padding: 8px;
@@ -181,7 +185,7 @@
181
185
  gap: 4px;
182
186
  border: 1px solid var(--puck-color-grey-8);
183
187
  }
184
- ._DraggableComponent-actionsLabel_1sbv6_50 {
188
+ ._DraggableComponent-actionsLabel_b4hy4_56 {
185
189
  display: flex;
186
190
  justify-content: center;
187
191
  align-items: center;
@@ -190,14 +194,14 @@
190
194
  margin-right: 8px;
191
195
  border-right: 1px solid var(--puck-color-grey-8);
192
196
  }
193
- ._DraggableComponent-action_1sbv6_35 {
197
+ ._DraggableComponent-action_b4hy4_41 {
194
198
  background: transparent;
195
199
  border: none;
196
200
  color: var(--puck-color-grey-2);
197
201
  padding: 8px;
198
202
  border-radius: 4px;
199
203
  }
200
- ._DraggableComponent-action_1sbv6_35:hover {
204
+ ._DraggableComponent-action_b4hy4_41:hover {
201
205
  background: var(--puck-color-grey-9);
202
206
  color: var(--puck-color-blue);
203
207
  cursor: pointer;
package/dist/index.js CHANGED
@@ -188,7 +188,7 @@ var import_react_beautiful_dnd2 = require("react-beautiful-dnd");
188
188
 
189
189
  // css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css#css-module
190
190
  init_react_import();
191
- var styles_module_default = { "DraggableComponent": "_DraggableComponent_1sbv6_1", "DraggableComponent-contents": "_DraggableComponent-contents_1sbv6_5", "DraggableComponent-overlay": "_DraggableComponent-overlay_1sbv6_10", "DraggableComponent--isModifierHeld": "_DraggableComponent--isModifierHeld_1sbv6_26", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_1sbv6_30", "DraggableComponent-actions": "_DraggableComponent-actions_1sbv6_35", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_1sbv6_50", "DraggableComponent-action": "_DraggableComponent-action_1sbv6_35" };
191
+ var styles_module_default = { "DraggableComponent": "_DraggableComponent_b4hy4_1", "DraggableComponent-contents": "_DraggableComponent-contents_b4hy4_5", "DraggableComponent-overlay": "_DraggableComponent-overlay_b4hy4_16", "DraggableComponent--isModifierHeld": "_DraggableComponent--isModifierHeld_b4hy4_32", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_b4hy4_36", "DraggableComponent-actions": "_DraggableComponent-actions_b4hy4_41", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_b4hy4_56", "DraggableComponent-action": "_DraggableComponent-action_b4hy4_41" };
192
192
 
193
193
  // lib/get-class-name-factory.ts
194
194
  init_react_import();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",