@measured/puck 0.2.1 → 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 +16 -13
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -140,15 +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
|
-
.
|
|
143
|
+
._DraggableComponent_b4hy4_1 {
|
|
144
144
|
position: relative;
|
|
145
145
|
}
|
|
146
|
-
._DraggableComponent-
|
|
147
|
-
margin-top: -1px;
|
|
148
|
-
padding-top: 1px;
|
|
146
|
+
._DraggableComponent-contents_b4hy4_5 {
|
|
149
147
|
position: relative;
|
|
150
148
|
}
|
|
151
|
-
._DraggableComponent-
|
|
149
|
+
._DraggableComponent-contents_b4hy4_5::before,
|
|
150
|
+
._DraggableComponent-contents_b4hy4_5::after {
|
|
151
|
+
content: " ";
|
|
152
|
+
display: table;
|
|
153
|
+
}
|
|
154
|
+
._DraggableComponent-overlay_b4hy4_16 {
|
|
152
155
|
display: none;
|
|
153
156
|
height: 100%;
|
|
154
157
|
width: 100%;
|
|
@@ -157,22 +160,22 @@
|
|
|
157
160
|
z-index: 1;
|
|
158
161
|
font-family: var(--puck-font-stack);
|
|
159
162
|
}
|
|
160
|
-
.
|
|
163
|
+
._DraggableComponent_b4hy4_1:hover ._DraggableComponent-overlay_b4hy4_16 {
|
|
161
164
|
display: block;
|
|
162
165
|
background-color: #cdcdcd50;
|
|
163
166
|
box-shadow: inset 0 0 0 4px var(--puck-color-azure-6);
|
|
164
167
|
}
|
|
165
|
-
._DraggableComponent--
|
|
168
|
+
._DraggableComponent--isModifierHeld_b4hy4_32:hover ._DraggableComponent-overlay_b4hy4_16 {
|
|
166
169
|
display: none;
|
|
167
170
|
}
|
|
168
|
-
._DraggableComponent--
|
|
171
|
+
._DraggableComponent--isSelected_b4hy4_36 ._DraggableComponent-overlay_b4hy4_16 {
|
|
169
172
|
box-shadow: inset 0 0 0 4px var(--puck-color-azure-6);
|
|
170
173
|
display: block;
|
|
171
174
|
}
|
|
172
|
-
._DraggableComponent-
|
|
175
|
+
._DraggableComponent-actions_b4hy4_41 {
|
|
173
176
|
display: none;
|
|
174
177
|
}
|
|
175
|
-
.
|
|
178
|
+
._DraggableComponent_b4hy4_1:hover ._DraggableComponent-actions_b4hy4_41 {
|
|
176
179
|
position: absolute;
|
|
177
180
|
right: 0;
|
|
178
181
|
padding: 8px;
|
|
@@ -182,7 +185,7 @@
|
|
|
182
185
|
gap: 4px;
|
|
183
186
|
border: 1px solid var(--puck-color-grey-8);
|
|
184
187
|
}
|
|
185
|
-
._DraggableComponent-
|
|
188
|
+
._DraggableComponent-actionsLabel_b4hy4_56 {
|
|
186
189
|
display: flex;
|
|
187
190
|
justify-content: center;
|
|
188
191
|
align-items: center;
|
|
@@ -191,14 +194,14 @@
|
|
|
191
194
|
margin-right: 8px;
|
|
192
195
|
border-right: 1px solid var(--puck-color-grey-8);
|
|
193
196
|
}
|
|
194
|
-
._DraggableComponent-
|
|
197
|
+
._DraggableComponent-action_b4hy4_41 {
|
|
195
198
|
background: transparent;
|
|
196
199
|
border: none;
|
|
197
200
|
color: var(--puck-color-grey-2);
|
|
198
201
|
padding: 8px;
|
|
199
202
|
border-radius: 4px;
|
|
200
203
|
}
|
|
201
|
-
._DraggableComponent-
|
|
204
|
+
._DraggableComponent-action_b4hy4_41:hover {
|
|
202
205
|
background: var(--puck-color-grey-9);
|
|
203
206
|
color: var(--puck-color-blue);
|
|
204
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": "
|
|
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();
|