@measured/puck 0.1.0 → 0.1.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 +8 -8
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/package.json +3 -2
package/dist/index.css
CHANGED
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
|
|
140
140
|
/* styles/global.css */
|
|
141
141
|
|
|
142
|
-
/* css-module:/
|
|
142
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/DraggableComponent/styles.module.css/#css-module-data */
|
|
143
143
|
._DraggableComponent_10y0g_1 {
|
|
144
144
|
position: relative;
|
|
145
145
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
/* css-module:/
|
|
205
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/ExternalInput/styles.module.css/#css-module-data */
|
|
206
206
|
._ExternalInput_v316c_1 {
|
|
207
207
|
font-family: var(--puck-font-stack);
|
|
208
208
|
}
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
padding-left: 20px;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
/* css-module:/
|
|
319
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/InputOrGroup/styles.module.css/#css-module-data */
|
|
320
320
|
._Input_1vwgb_1 {
|
|
321
321
|
display: block;
|
|
322
322
|
font-family: var(--puck-font-stack);
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
gap: 4px;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
/* css-module:/
|
|
428
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/ComponentList/styles.module.css/#css-module-data */
|
|
429
429
|
._ComponentList_91nmt_1 {
|
|
430
430
|
display: grid;
|
|
431
431
|
font-family: var(--puck-font-stack);
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
background-color: var(--puck-color-azure-9);
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
/* css-module:/
|
|
457
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/OutlineList/styles.module.css/#css-module-data */
|
|
458
458
|
._OutlineList_gor6f_1 {
|
|
459
459
|
color: var(--puck-color-grey-2);
|
|
460
460
|
font-family: var(--puck-font-stack);
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
margin: 8px;
|
|
495
495
|
}
|
|
496
496
|
|
|
497
|
-
/* css-module:/
|
|
497
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/Button/Button.module.css/#css-module-data */
|
|
498
498
|
._Button_1bqmn_1 {
|
|
499
499
|
appearance: none;
|
|
500
500
|
background: none;
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
width: 100%;
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
/* css-module:/
|
|
551
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/SidebarSection/styles.module.css/#css-module-data */
|
|
552
552
|
._SidebarSection_jsf8x_1:last-of-type ._SidebarSection-content_jsf8x_1 {
|
|
553
553
|
border-bottom: none;
|
|
554
554
|
height: 100%;
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
display: none;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
-
/* css-module:/
|
|
576
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/Heading/styles.module.css/#css-module-data */
|
|
577
577
|
._Heading_1y35v_1 {
|
|
578
578
|
display: block;
|
|
579
579
|
font-family: var(--puck-font-stack);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { ReactNode, ReactElement } from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
type Adaptor<AdaptorParams = {}> = {
|
|
5
5
|
name: string;
|
|
@@ -114,4 +114,4 @@ declare function Render({ config, data }: {
|
|
|
114
114
|
data: Data;
|
|
115
115
|
}): react_jsx_runtime.JSX.Element;
|
|
116
116
|
|
|
117
|
-
export { Puck, Render };
|
|
117
|
+
export { Adaptor, ComponentConfig, Config, Data, DefaultComponentProps, DefaultPageProps, Field, Fields, Puck, Render };
|
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ var DroppableStrictMode_default = DroppableStrictMode;
|
|
|
166
166
|
// DraggableComponent/index.tsx
|
|
167
167
|
var import_react_beautiful_dnd2 = require("react-beautiful-dnd");
|
|
168
168
|
|
|
169
|
-
// css-module:/
|
|
169
|
+
// css-module:/home/runner/work/puck/puck/packages/core/DraggableComponent/styles.module.css#css-module
|
|
170
170
|
var styles_module_default = { "DraggableComponent": "_DraggableComponent_10y0g_1", "DraggableComponent-contents": "_DraggableComponent-contents_10y0g_5", "DraggableComponent-overlay": "_DraggableComponent-overlay_10y0g_9", "DraggableComponent--isModifierHeld": "_DraggableComponent--isModifierHeld_10y0g_25", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_10y0g_29", "DraggableComponent-actions": "_DraggableComponent-actions_10y0g_34", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_10y0g_49", "DraggableComponent-action": "_DraggableComponent-action_10y0g_34" };
|
|
171
171
|
|
|
172
172
|
// lib/get-class-name-factory.ts
|
|
@@ -264,7 +264,7 @@ var DraggableComponent = ({
|
|
|
264
264
|
// ExternalInput/index.tsx
|
|
265
265
|
var import_react3 = require("react");
|
|
266
266
|
|
|
267
|
-
// css-module:/
|
|
267
|
+
// css-module:/home/runner/work/puck/puck/packages/core/ExternalInput/styles.module.css#css-module
|
|
268
268
|
var styles_module_default2 = { "ExternalInput": "_ExternalInput_v316c_1", "ExternalInput-actions": "_ExternalInput-actions_v316c_5", "ExternalInput-button": "_ExternalInput-button_v316c_9", "ExternalInput-detachButton": "_ExternalInput-detachButton_v316c_23", "ExternalInput--hasData": "_ExternalInput--hasData_v316c_30", "ExternalInput-modal": "_ExternalInput-modal_v316c_45", "ExternalInput--modalVisible": "_ExternalInput--modalVisible_v316c_59", "ExternalInput-modalInner": "_ExternalInput-modalInner_v316c_63", "ExternalInput-modalHeading": "_ExternalInput-modalHeading_v316c_74", "ExternalInput-modalTableWrapper": "_ExternalInput-modalTableWrapper_v316c_79" };
|
|
269
269
|
|
|
270
270
|
// ExternalInput/index.tsx
|
|
@@ -353,7 +353,7 @@ var ExternalInput = ({
|
|
|
353
353
|
);
|
|
354
354
|
};
|
|
355
355
|
|
|
356
|
-
// css-module:/
|
|
356
|
+
// css-module:/home/runner/work/puck/puck/packages/core/InputOrGroup/styles.module.css#css-module
|
|
357
357
|
var styles_module_default3 = { "Input": "_Input_1vwgb_1", "Input-label": "_Input-label_1vwgb_14", "Input-input": "_Input-input_1vwgb_20", "Input--readOnly": "_Input--readOnly_1vwgb_41", "Input-group": "_Input-group_1vwgb_50", "Input-action": "_Input-action_1vwgb_72", "Input-addButton": "_Input-addButton_1vwgb_93", "Input-item": "_Input-item_1vwgb_107", "Input-radioGroup": "_Input-radioGroup_1vwgb_114", "Input-radioGroupItems": "_Input-radioGroupItems_1vwgb_119", "Input-radio": "_Input-radio_1vwgb_114" };
|
|
358
358
|
|
|
359
359
|
// lib/filter.ts
|
|
@@ -547,7 +547,7 @@ var InputOrGroup = ({
|
|
|
547
547
|
// ComponentList/index.tsx
|
|
548
548
|
var import_react_beautiful_dnd3 = require("react-beautiful-dnd");
|
|
549
549
|
|
|
550
|
-
// css-module:/
|
|
550
|
+
// css-module:/home/runner/work/puck/puck/packages/core/ComponentList/styles.module.css#css-module
|
|
551
551
|
var styles_module_default4 = { "ComponentList": "_ComponentList_91nmt_1", "ComponentList-item": "_ComponentList-item_91nmt_9", "ComponentList-itemShadow": "_ComponentList-itemShadow_91nmt_10", "ComponentList-itemIcon": "_ComponentList-itemIcon_91nmt_24" };
|
|
552
552
|
|
|
553
553
|
// ComponentList/index.tsx
|
|
@@ -606,7 +606,7 @@ var ComponentList = ({ config }) => {
|
|
|
606
606
|
) });
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
-
// css-module:/
|
|
609
|
+
// css-module:/home/runner/work/puck/puck/packages/core/OutlineList/styles.module.css#css-module
|
|
610
610
|
var styles_module_default5 = { "OutlineList": "_OutlineList_gor6f_1", "OutlineList-clickableItem": "_OutlineList-clickableItem_gor6f_36" };
|
|
611
611
|
|
|
612
612
|
// OutlineList/index.tsx
|
|
@@ -633,7 +633,7 @@ OutlineList.Item = ({
|
|
|
633
633
|
// Button/Button.tsx
|
|
634
634
|
var import_react4 = require("react");
|
|
635
635
|
|
|
636
|
-
// css-module:/
|
|
636
|
+
// css-module:/home/runner/work/puck/puck/packages/core/Button/Button.module.css#css-module
|
|
637
637
|
var Button_module_default = { "Button": "_Button_1bqmn_1", "Button--primary": "_Button--primary_1bqmn_25", "Button--secondary": "_Button--secondary_1bqmn_34", "Button--flush": "_Button--flush_1bqmn_45", "Button--disabled": "_Button--disabled_1bqmn_49", "Button--fullWidth": "_Button--fullWidth_1bqmn_59" };
|
|
638
638
|
|
|
639
639
|
// Button/Button.tsx
|
|
@@ -728,10 +728,10 @@ var usePlaceholderStyle = () => {
|
|
|
728
728
|
return { onDragUpdate, placeholderStyle };
|
|
729
729
|
};
|
|
730
730
|
|
|
731
|
-
// css-module:/
|
|
731
|
+
// css-module:/home/runner/work/puck/puck/packages/core/SidebarSection/styles.module.css#css-module
|
|
732
732
|
var styles_module_default6 = { "SidebarSection": "_SidebarSection_jsf8x_1", "SidebarSection-content": "_SidebarSection-content_jsf8x_1", "SidebarSection-title": "_SidebarSection-title_jsf8x_6" };
|
|
733
733
|
|
|
734
|
-
// css-module:/
|
|
734
|
+
// css-module:/home/runner/work/puck/puck/packages/core/Heading/styles.module.css#css-module
|
|
735
735
|
var styles_module_default7 = { "Heading": "_Heading_1y35v_1", "Heading--xxxxl": "_Heading--xxxxl_1y35v_12", "Heading--xxxl": "_Heading--xxxl_1y35v_18", "Heading--xxl": "_Heading--xxl_1y35v_22", "Heading--xl": "_Heading--xl_1y35v_26", "Heading--l": "_Heading--l_1y35v_30", "Heading--m": "_Heading--m_1y35v_34", "Heading--s": "_Heading--s_1y35v_38", "Heading--xs": "_Heading--xs_1y35v_42" };
|
|
736
736
|
|
|
737
737
|
// Heading/index.tsx
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@measured/puck",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"lint": "eslint \"**/*.ts*\"",
|
|
10
|
-
"build": "rm -rf dist && tsup index.tsx"
|
|
10
|
+
"build": "rm -rf dist && tsup index.tsx",
|
|
11
|
+
"prepublish": "yarn build"
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
13
14
|
"dist"
|