@measured/puck 0.2.0 → 0.2.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.
- package/dist/index.css +13 -12
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -140,14 +140,15 @@
|
|
|
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_1ywkv_1 {
|
|
144
144
|
position: relative;
|
|
145
145
|
}
|
|
146
|
-
._DraggableComponent-
|
|
147
|
-
|
|
146
|
+
._DraggableComponent-contents_1ywkv_5 {
|
|
147
|
+
margin-top: -1px;
|
|
148
|
+
padding-top: 1px;
|
|
148
149
|
position: relative;
|
|
149
150
|
}
|
|
150
|
-
._DraggableComponent-
|
|
151
|
+
._DraggableComponent-overlay_1ywkv_11 {
|
|
151
152
|
display: none;
|
|
152
153
|
height: 100%;
|
|
153
154
|
width: 100%;
|
|
@@ -156,22 +157,22 @@
|
|
|
156
157
|
z-index: 1;
|
|
157
158
|
font-family: var(--puck-font-stack);
|
|
158
159
|
}
|
|
159
|
-
.
|
|
160
|
+
._DraggableComponent_1ywkv_1:hover ._DraggableComponent-overlay_1ywkv_11 {
|
|
160
161
|
display: block;
|
|
161
162
|
background-color: #cdcdcd50;
|
|
162
163
|
box-shadow: inset 0 0 0 4px var(--puck-color-azure-6);
|
|
163
164
|
}
|
|
164
|
-
._DraggableComponent--
|
|
165
|
+
._DraggableComponent--isModifierHeld_1ywkv_27:hover ._DraggableComponent-overlay_1ywkv_11 {
|
|
165
166
|
display: none;
|
|
166
167
|
}
|
|
167
|
-
._DraggableComponent--
|
|
168
|
+
._DraggableComponent--isSelected_1ywkv_31 ._DraggableComponent-overlay_1ywkv_11 {
|
|
168
169
|
box-shadow: inset 0 0 0 4px var(--puck-color-azure-6);
|
|
169
170
|
display: block;
|
|
170
171
|
}
|
|
171
|
-
._DraggableComponent-
|
|
172
|
+
._DraggableComponent-actions_1ywkv_36 {
|
|
172
173
|
display: none;
|
|
173
174
|
}
|
|
174
|
-
.
|
|
175
|
+
._DraggableComponent_1ywkv_1:hover ._DraggableComponent-actions_1ywkv_36 {
|
|
175
176
|
position: absolute;
|
|
176
177
|
right: 0;
|
|
177
178
|
padding: 8px;
|
|
@@ -181,7 +182,7 @@
|
|
|
181
182
|
gap: 4px;
|
|
182
183
|
border: 1px solid var(--puck-color-grey-8);
|
|
183
184
|
}
|
|
184
|
-
._DraggableComponent-
|
|
185
|
+
._DraggableComponent-actionsLabel_1ywkv_51 {
|
|
185
186
|
display: flex;
|
|
186
187
|
justify-content: center;
|
|
187
188
|
align-items: center;
|
|
@@ -190,14 +191,14 @@
|
|
|
190
191
|
margin-right: 8px;
|
|
191
192
|
border-right: 1px solid var(--puck-color-grey-8);
|
|
192
193
|
}
|
|
193
|
-
._DraggableComponent-
|
|
194
|
+
._DraggableComponent-action_1ywkv_36 {
|
|
194
195
|
background: transparent;
|
|
195
196
|
border: none;
|
|
196
197
|
color: var(--puck-color-grey-2);
|
|
197
198
|
padding: 8px;
|
|
198
199
|
border-radius: 4px;
|
|
199
200
|
}
|
|
200
|
-
._DraggableComponent-
|
|
201
|
+
._DraggableComponent-action_1ywkv_36:hover {
|
|
201
202
|
background: var(--puck-color-grey-9);
|
|
202
203
|
color: var(--puck-color-blue);
|
|
203
204
|
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_1ywkv_1", "DraggableComponent-contents": "_DraggableComponent-contents_1ywkv_5", "DraggableComponent-overlay": "_DraggableComponent-overlay_1ywkv_11", "DraggableComponent--isModifierHeld": "_DraggableComponent--isModifierHeld_1ywkv_27", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_1ywkv_31", "DraggableComponent-actions": "_DraggableComponent-actions_1ywkv_36", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_1ywkv_51", "DraggableComponent-action": "_DraggableComponent-action_1ywkv_36" };
|
|
192
192
|
|
|
193
193
|
// lib/get-class-name-factory.ts
|
|
194
194
|
init_react_import();
|