@netlisian/softconfig 0.0.1 → 0.0.3

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.
@@ -1,19 +1,20 @@
1
- /* src/puck/components/error-boundary/styles.module.css */
2
- .ErrorBoundary {
1
+ /* css-module:D:osamuProjects
2
+ etlisianpackagessoft-configsrcpuckcomponentserror-boundarystyles.module.css\#css-module-data */
3
+ ._ErrorBoundary_1xl05_5 {
3
4
  padding: 20px;
4
5
  border: 1px solid #ff5858;
5
6
  border-radius: 4px;
6
7
  background-color: #fff0f0;
7
8
  margin: 10px 0;
8
9
  }
9
- .ErrorBoundary-title {
10
+ ._ErrorBoundary-title_1xl05_21 {
10
11
  color: #d32f2f;
11
12
  margin: 0 0 10px 0;
12
13
  }
13
- .ErrorBoundary-details {
14
+ ._ErrorBoundary-details_1xl05_31 {
14
15
  white-space: pre-wrap;
15
16
  }
16
- .ErrorBoundary-button {
17
+ ._ErrorBoundary-button_1xl05_39 {
17
18
  margin-top: 10px;
18
19
  padding: 5px 10px;
19
20
  background-color: #d32f2f;
@@ -22,12 +23,13 @@
22
23
  border-radius: 4px;
23
24
  cursor: pointer;
24
25
  }
25
- .ErrorBoundary-button:hover {
26
+ ._ErrorBoundary-button_1xl05_39:hover {
26
27
  background-color: #b71c1c;
27
28
  }
28
29
 
29
- /* src/puck/overrides/Header.module.css */
30
- .Header {
30
+ /* css-module:D:osamuProjects
31
+ etlisianpackagessoft-configsrcpuckoverridesHeader.module.css\#css-module-data */
32
+ ._Header_19oj9_1 {
31
33
  display: flex;
32
34
  justify-content: space-between;
33
35
  align-items: center;
@@ -35,8 +37,9 @@
35
37
  flex-wrap: wrap;
36
38
  }
37
39
 
38
- /* src/puck/overrides/ActionBar.module.css */
39
- .ActionBar {
40
+ /* css-module:D:osamuProjects
41
+ etlisianpackagessoft-configsrcpuckoverridesActionBar.module.css\#css-module-data */
42
+ ._ActionBar_pvuie_5 {
40
43
  align-items: center;
41
44
  cursor: default;
42
45
  display: flex;
@@ -52,7 +55,7 @@
52
55
  font-family: var(--puck-font-family);
53
56
  min-height: 26px;
54
57
  }
55
- .ActionBar-label {
58
+ ._ActionBar-label_pvuie_39 {
56
59
  color: var(--puck-color-grey-08);
57
60
  font-size: var(--puck-font-size-xxxs);
58
61
  font-weight: 500;
@@ -63,13 +66,13 @@
63
66
  text-overflow: ellipsis;
64
67
  white-space: nowrap;
65
68
  }
66
- .ActionBar-action + .ActionBar-label {
69
+ ._ActionBar-action_pvuie_63 + ._ActionBar-label_pvuie_39 {
67
70
  padding-inline-start: 0;
68
71
  }
69
- .ActionBar-label + .ActionBar-action {
72
+ ._ActionBar-label_pvuie_39 + ._ActionBar-action_pvuie_63 {
70
73
  margin-inline-start: -4px;
71
74
  }
72
- .ActionBar-group {
75
+ ._ActionBar-group_pvuie_79 {
73
76
  align-items: center;
74
77
  border-inline-start: 0.5px solid var(--puck-color-grey-05);
75
78
  display: flex;
@@ -77,13 +80,13 @@
77
80
  padding-inline-start: 4px;
78
81
  padding-inline-end: 4px;
79
82
  }
80
- .ActionBar-group:first-of-type {
83
+ ._ActionBar-group_pvuie_79:first-of-type {
81
84
  border-inline-start: 0;
82
85
  }
83
- .ActionBar-group:empty {
86
+ ._ActionBar-group_pvuie_79:empty {
84
87
  display: none;
85
88
  }
86
- .ActionBar-action {
89
+ ._ActionBar-action_pvuie_63 {
87
90
  background: transparent;
88
91
  border: none;
89
92
  color: var(--puck-color-grey-08);
@@ -98,29 +101,30 @@
98
101
  justify-content: center;
99
102
  transition: color 50ms ease-in;
100
103
  }
101
- .ActionBar-action svg {
104
+ ._ActionBar-action_pvuie_63 svg {
102
105
  max-width: none !important;
103
106
  }
104
- .ActionBar-action:focus-visible {
107
+ ._ActionBar-action_pvuie_63:focus-visible {
105
108
  outline: 2px solid var(--puck-color-azure-05);
106
109
  outline-offset: -2px;
107
110
  }
108
111
  @media (hover: hover) and (pointer: fine) {
109
- .ActionBar-action:hover {
112
+ ._ActionBar-action_pvuie_63:hover {
110
113
  color: var(--puck-color-azure-06);
111
114
  transition: none;
112
115
  }
113
116
  }
114
- .ActionBar-action:active {
117
+ ._ActionBar-action_pvuie_63:active {
115
118
  color: var(--puck-color-azure-07);
116
119
  transition: none;
117
120
  }
118
- .ActionBar-group * {
121
+ ._ActionBar-group_pvuie_79 * {
119
122
  margin: 0;
120
123
  }
121
124
 
122
- /* src/puck/overrides/ComponentItem.module.css */
123
- .ComponentItem {
125
+ /* css-module:D:osamuProjects
126
+ etlisianpackagessoft-configsrcpuckoverridesComponentItem.module.css\#css-module-data */
127
+ ._ComponentItem_lp9eh_1 {
124
128
  background: var(--puck-color-white);
125
129
  cursor: grab;
126
130
  border: 1px solid var(--puck-color-grey-09);
@@ -132,7 +136,7 @@
132
136
  transition: background-color 50ms ease-in, color 50ms ease-in;
133
137
  display: flex;
134
138
  }
135
- .ComponentItem-content {
139
+ ._ComponentItem-content_lp9eh_14 {
136
140
  flex: 1;
137
141
  display: flex;
138
142
  flex-direction: column;
@@ -141,53 +145,53 @@
141
145
  white-space: nowrap;
142
146
  overflow-x: hidden;
143
147
  }
144
- .ComponentItem-name {
148
+ ._ComponentItem-name_lp9eh_24 {
145
149
  font-weight: 500;
146
150
  }
147
- .ComponentItem-version {
151
+ ._ComponentItem-version_lp9eh_28 {
148
152
  font-size: 10px;
149
153
  color: var(--puck-color-grey-05);
150
154
  }
151
- .ComponentItem-actions {
155
+ ._ComponentItem-actions_lp9eh_33 {
152
156
  display: flex;
153
157
  align-items: center;
154
158
  gap: 8px;
155
159
  }
156
- .ComponentItem-settingsButton {
160
+ ._ComponentItem-settingsButton_lp9eh_39 {
157
161
  opacity: 0;
158
162
  transition: opacity 120ms ease;
159
163
  color: var(--puck-color-grey-05);
160
164
  }
161
- .ComponentItem:hover .ComponentItem-settingsButton {
165
+ ._ComponentItem_lp9eh_1:hover ._ComponentItem-settingsButton_lp9eh_39 {
162
166
  opacity: 1;
163
167
  }
164
- .ComponentItem-grip {
168
+ ._ComponentItem-grip_lp9eh_49 {
165
169
  color: var(--puck-color-grey-05);
166
170
  display: flex;
167
171
  align-items: center;
168
172
  }
169
- .ComponentItem-modal {
173
+ ._ComponentItem-modal_lp9eh_56 {
170
174
  background: var(--puck-color-white);
171
175
  display: flex;
172
176
  flex-direction: column;
173
177
  height: 100%;
174
178
  }
175
- .ComponentItem-modalHeader {
179
+ ._ComponentItem-modalHeader_lp9eh_63 {
176
180
  padding: 24px 32px;
177
181
  border-bottom: 1px solid var(--puck-color-grey-09);
178
182
  }
179
- .ComponentItem-modalTitle {
183
+ ._ComponentItem-modalTitle_lp9eh_68 {
180
184
  margin: 0 0 4px 0;
181
185
  font-size: 24px;
182
186
  font-weight: 600;
183
187
  color: var(--puck-color-black);
184
188
  }
185
- .ComponentItem-modalSubtitle {
189
+ ._ComponentItem-modalSubtitle_lp9eh_75 {
186
190
  margin: 0;
187
191
  font-size: 14px;
188
192
  color: var(--puck-color-grey-04);
189
193
  }
190
- .ComponentItem-modalBody {
194
+ ._ComponentItem-modalBody_lp9eh_81 {
191
195
  flex: 1;
192
196
  padding: 32px;
193
197
  overflow-y: auto;
@@ -195,28 +199,28 @@
195
199
  flex-direction: column;
196
200
  gap: 32px;
197
201
  }
198
- .ComponentItem-section {
202
+ ._ComponentItem-section_lp9eh_90 {
199
203
  display: flex;
200
204
  flex-direction: column;
201
205
  gap: 16px;
202
206
  }
203
- .ComponentItem-sectionTitle {
207
+ ._ComponentItem-sectionTitle_lp9eh_96 {
204
208
  margin: 0;
205
209
  font-size: 16px;
206
210
  font-weight: 600;
207
211
  color: var(--puck-color-black);
208
212
  }
209
- .ComponentItem-sectionDescription {
213
+ ._ComponentItem-sectionDescription_lp9eh_103 {
210
214
  margin: 0;
211
215
  font-size: 14px;
212
216
  color: var(--puck-color-grey-04);
213
217
  }
214
- .ComponentItem-versionList {
218
+ ._ComponentItem-versionList_lp9eh_109 {
215
219
  display: flex;
216
220
  flex-direction: column;
217
221
  gap: 8px;
218
222
  }
219
- .ComponentItem-versionRow {
223
+ ._ComponentItem-versionRow_lp9eh_115 {
220
224
  display: flex;
221
225
  justify-content: space-between;
222
226
  align-items: center;
@@ -226,26 +230,26 @@
226
230
  background: var(--puck-color-white);
227
231
  transition: all 150ms ease;
228
232
  }
229
- .ComponentItem-versionRow--isDefault {
233
+ ._ComponentItem-versionRow--isDefault_lp9eh_126 {
230
234
  border-color: var(--puck-color-azure-07);
231
235
  background: var(--puck-color-azure-10);
232
236
  }
233
- .ComponentItem-versionRow--isMarkedForDeletion {
237
+ ._ComponentItem-versionRow--isMarkedForDeletion_lp9eh_131 {
234
238
  opacity: 0.6;
235
239
  background: var(--puck-color-grey-11);
236
240
  }
237
- .ComponentItem-versionInfo {
241
+ ._ComponentItem-versionInfo_lp9eh_136 {
238
242
  display: flex;
239
243
  align-items: center;
240
244
  gap: 12px;
241
245
  flex: 1;
242
246
  }
243
- .ComponentItem-versionNumber {
247
+ ._ComponentItem-versionNumber_lp9eh_143 {
244
248
  font-size: 14px;
245
249
  font-weight: 500;
246
250
  color: var(--puck-color-black);
247
251
  }
248
- .ComponentItem-defaultBadge {
252
+ ._ComponentItem-defaultBadge_lp9eh_149 {
249
253
  font-size: 11px;
250
254
  padding: 3px 8px;
251
255
  border-radius: 4px;
@@ -255,7 +259,7 @@
255
259
  text-transform: uppercase;
256
260
  letter-spacing: 0.5px;
257
261
  }
258
- .ComponentItem-deleteBadge {
262
+ ._ComponentItem-deleteBadge_lp9eh_160 {
259
263
  font-size: 11px;
260
264
  padding: 3px 8px;
261
265
  border-radius: 4px;
@@ -265,15 +269,15 @@
265
269
  text-transform: uppercase;
266
270
  letter-spacing: 0.5px;
267
271
  }
268
- .ComponentItem-versionActions {
272
+ ._ComponentItem-versionActions_lp9eh_171 {
269
273
  display: flex;
270
274
  gap: 8px;
271
275
  align-items: center;
272
276
  }
273
- .ComponentItem-migrationOptions {
277
+ ._ComponentItem-migrationOptions_lp9eh_177 {
274
278
  width: 100%;
275
279
  }
276
- .ComponentItem-select {
280
+ ._ComponentItem-select_lp9eh_181 {
277
281
  width: 100%;
278
282
  padding: 10px 12px;
279
283
  border: 1px solid var(--puck-color-grey-09);
@@ -284,14 +288,14 @@
284
288
  cursor: pointer;
285
289
  transition: border-color 150ms ease;
286
290
  }
287
- .ComponentItem-select:hover {
291
+ ._ComponentItem-select_lp9eh_181:hover {
288
292
  border-color: var(--puck-color-grey-07);
289
293
  }
290
- .ComponentItem-select:focus {
294
+ ._ComponentItem-select_lp9eh_181:focus {
291
295
  outline: none;
292
296
  border-color: var(--puck-color-azure-07);
293
297
  }
294
- .ComponentItem-modalFooter {
298
+ ._ComponentItem-modalFooter_lp9eh_202 {
295
299
  padding: 20px 32px;
296
300
  border-top: 1px solid var(--puck-color-grey-09);
297
301
  display: flex;
@@ -299,17 +303,18 @@
299
303
  align-items: center;
300
304
  background: var(--puck-color-grey-11);
301
305
  }
302
- .ComponentItem-footerLeft {
306
+ ._ComponentItem-footerLeft_lp9eh_211 {
303
307
  display: flex;
304
308
  gap: 12px;
305
309
  }
306
- .ComponentItem-footerRight {
310
+ ._ComponentItem-footerRight_lp9eh_216 {
307
311
  display: flex;
308
312
  gap: 12px;
309
313
  }
310
314
 
311
- /* src/puck/components/modal/styles.module.css */
312
- .Modal {
315
+ /* css-module:D:osamuProjects
316
+ etlisianpackagessoft-configsrcpuckcomponentsmodalstyles.module.css\#css-module-data */
317
+ ._Modal_pvj02_1 {
313
318
  background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
314
319
  display: none;
315
320
  justify-content: center;
@@ -322,10 +327,10 @@
322
327
  z-index: 1;
323
328
  padding: 32px;
324
329
  }
325
- .Modal--isOpen {
330
+ ._Modal--isOpen_pvj02_29 {
326
331
  display: flex;
327
332
  }
328
- .Modal-inner {
333
+ ._Modal-inner_pvj02_37 {
329
334
  width: 100%;
330
335
  max-width: 1024px;
331
336
  border-radius: 8px;
@@ -594,12 +594,12 @@ var getClassNameFactory = (rootClass, styles, config = { baseClass: "" }) => (op
594
594
  };
595
595
  var get_class_name_factory_default = getClassNameFactory;
596
596
 
597
- // src/puck/components/error-boundary/styles.module.css
598
- var styles_default = {};
597
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\components\error-boundary\styles.module.css#css-module
598
+ var styles_module_default = { "ErrorBoundary": "_ErrorBoundary_1xl05_5", "ErrorBoundary-title": "_ErrorBoundary-title_1xl05_21", "ErrorBoundary-details": "_ErrorBoundary-details_1xl05_31", "ErrorBoundary-button": "_ErrorBoundary-button_1xl05_39" };
599
599
 
600
600
  // src/puck/components/error-boundary/index.tsx
601
601
  var import_jsx_runtime3 = require("react/jsx-runtime");
602
- var getClassName = get_class_name_factory_default("ErrorBoundary", styles_default);
602
+ var getClassName = get_class_name_factory_default("ErrorBoundary", styles_module_default);
603
603
  var ErrorBoundary = class extends import_react3.Component {
604
604
  constructor(props) {
605
605
  super(props);
@@ -1905,10 +1905,6 @@ var SoftConfigProvider = ({
1905
1905
  hardConfig,
1906
1906
  softComponents,
1907
1907
  overrides,
1908
- // optional externally created store instance. When provided, use that
1909
- // instead of creating one internally. This enables:
1910
- // const store = useMemo(() => createSoftConfigStore(), []);
1911
- // <SoftConfigProvider value={store}>{children}</SoftConfigProvider>
1912
1908
  value
1913
1909
  }) => {
1914
1910
  const store = value != null ? value : (0, import_react5.useMemo)(
@@ -2236,8 +2232,8 @@ var useSetDefaultVersion = () => {
2236
2232
  // src/puck/overrides/Header.tsx
2237
2233
  var import_puck12 = require("@measured/puck");
2238
2234
 
2239
- // src/puck/overrides/Header.module.css
2240
- var Header_default = {};
2235
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\overrides\Header.module.css#css-module
2236
+ var Header_module_default = { "Header": "_Header_19oj9_1" };
2241
2237
 
2242
2238
  // src/puck/actions/usePublish.tsx
2243
2239
  var import_puck11 = require("@measured/puck");
@@ -2263,7 +2259,7 @@ var usePublish = () => {
2263
2259
 
2264
2260
  // src/puck/overrides/Header.tsx
2265
2261
  var import_jsx_runtime8 = require("react/jsx-runtime");
2266
- var getClassName2 = get_class_name_factory_default("Header", Header_default);
2262
+ var getClassName2 = get_class_name_factory_default("Header", Header_module_default);
2267
2263
  var Header = ({
2268
2264
  onPublish,
2269
2265
  children
@@ -2305,12 +2301,12 @@ var Header = ({
2305
2301
  var import_puck13 = require("@measured/puck");
2306
2302
  var import_lucide_react = require("lucide-react");
2307
2303
 
2308
- // src/puck/overrides/ActionBar.module.css
2309
- var ActionBar_default = {};
2304
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\overrides\ActionBar.module.css#css-module
2305
+ var ActionBar_module_default = { "ActionBar": "_ActionBar_pvuie_5", "ActionBar-label": "_ActionBar-label_pvuie_39", "ActionBar-action": "_ActionBar-action_pvuie_63", "ActionBar-group": "_ActionBar-group_pvuie_79" };
2310
2306
 
2311
2307
  // src/puck/overrides/ActionBar.tsx
2312
2308
  var import_jsx_runtime9 = require("react/jsx-runtime");
2313
- var getClassName3 = get_class_name_factory_default("ActionBar", ActionBar_default);
2309
+ var getClassName3 = get_class_name_factory_default("ActionBar", ActionBar_module_default);
2314
2310
  var ActionBarOverride = (props) => {
2315
2311
  const { handleBuild, canBuild } = useBuild();
2316
2312
  const { handleRemodel, canRemodel } = useRemodel();
@@ -2369,19 +2365,19 @@ var confirm = (message) => __async(null, null, function* () {
2369
2365
  }
2370
2366
  });
2371
2367
 
2372
- // src/puck/overrides/ComponentItem.module.css
2373
- var ComponentItem_default = {};
2368
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\overrides\ComponentItem.module.css#css-module
2369
+ var ComponentItem_module_default = { "ComponentItem": "_ComponentItem_lp9eh_1", "ComponentItem-content": "_ComponentItem-content_lp9eh_14", "ComponentItem-name": "_ComponentItem-name_lp9eh_24", "ComponentItem-version": "_ComponentItem-version_lp9eh_28", "ComponentItem-actions": "_ComponentItem-actions_lp9eh_33", "ComponentItem-settingsButton": "_ComponentItem-settingsButton_lp9eh_39", "ComponentItem-grip": "_ComponentItem-grip_lp9eh_49", "ComponentItem-modal": "_ComponentItem-modal_lp9eh_56", "ComponentItem-modalHeader": "_ComponentItem-modalHeader_lp9eh_63", "ComponentItem-modalTitle": "_ComponentItem-modalTitle_lp9eh_68", "ComponentItem-modalSubtitle": "_ComponentItem-modalSubtitle_lp9eh_75", "ComponentItem-modalBody": "_ComponentItem-modalBody_lp9eh_81", "ComponentItem-section": "_ComponentItem-section_lp9eh_90", "ComponentItem-sectionTitle": "_ComponentItem-sectionTitle_lp9eh_96", "ComponentItem-sectionDescription": "_ComponentItem-sectionDescription_lp9eh_103", "ComponentItem-versionList": "_ComponentItem-versionList_lp9eh_109", "ComponentItem-versionRow": "_ComponentItem-versionRow_lp9eh_115", "ComponentItem-versionRow--isDefault": "_ComponentItem-versionRow--isDefault_lp9eh_126", "ComponentItem-versionRow--isMarkedForDeletion": "_ComponentItem-versionRow--isMarkedForDeletion_lp9eh_131", "ComponentItem-versionInfo": "_ComponentItem-versionInfo_lp9eh_136", "ComponentItem-versionNumber": "_ComponentItem-versionNumber_lp9eh_143", "ComponentItem-defaultBadge": "_ComponentItem-defaultBadge_lp9eh_149", "ComponentItem-deleteBadge": "_ComponentItem-deleteBadge_lp9eh_160", "ComponentItem-versionActions": "_ComponentItem-versionActions_lp9eh_171", "ComponentItem-migrationOptions": "_ComponentItem-migrationOptions_lp9eh_177", "ComponentItem-select": "_ComponentItem-select_lp9eh_181", "ComponentItem-modalFooter": "_ComponentItem-modalFooter_lp9eh_202", "ComponentItem-footerLeft": "_ComponentItem-footerLeft_lp9eh_211", "ComponentItem-footerRight": "_ComponentItem-footerRight_lp9eh_216" };
2374
2370
 
2375
2371
  // src/puck/components/modal/index.tsx
2376
2372
  var import_react8 = require("react");
2377
2373
  var import_react_dom = require("react-dom");
2378
2374
 
2379
- // src/puck/components/modal/styles.module.css
2380
- var styles_default2 = {};
2375
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\components\modal\styles.module.css#css-module
2376
+ var styles_module_default2 = { "Modal": "_Modal_pvj02_1", "Modal--isOpen": "_Modal--isOpen_pvj02_29", "Modal-inner": "_Modal-inner_pvj02_37" };
2381
2377
 
2382
2378
  // src/puck/components/modal/index.tsx
2383
2379
  var import_jsx_runtime10 = require("react/jsx-runtime");
2384
- var getClassName4 = get_class_name_factory_default("Modal", styles_default2);
2380
+ var getClassName4 = get_class_name_factory_default("Modal", styles_module_default2);
2385
2381
  var Modal = ({
2386
2382
  children,
2387
2383
  onClose,
@@ -2409,7 +2405,7 @@ var Modal = ({
2409
2405
 
2410
2406
  // src/puck/overrides/ComponentItem.tsx
2411
2407
  var import_jsx_runtime11 = require("react/jsx-runtime");
2412
- var getClassName5 = get_class_name_factory_default("ComponentItem", ComponentItem_default);
2408
+ var getClassName5 = get_class_name_factory_default("ComponentItem", ComponentItem_module_default);
2413
2409
  var ComponentItem = (props) => {
2414
2410
  const softComponents = new Set(
2415
2411
  Object.keys(useSoftConfig((s) => s.softComponents))
@@ -545,12 +545,12 @@ var getClassNameFactory = (rootClass, styles, config = { baseClass: "" }) => (op
545
545
  };
546
546
  var get_class_name_factory_default = getClassNameFactory;
547
547
 
548
- // src/puck/components/error-boundary/styles.module.css
549
- var styles_default = {};
548
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\components\error-boundary\styles.module.css#css-module
549
+ var styles_module_default = { "ErrorBoundary": "_ErrorBoundary_1xl05_5", "ErrorBoundary-title": "_ErrorBoundary-title_1xl05_21", "ErrorBoundary-details": "_ErrorBoundary-details_1xl05_31", "ErrorBoundary-button": "_ErrorBoundary-button_1xl05_39" };
550
550
 
551
551
  // src/puck/components/error-boundary/index.tsx
552
552
  import { jsx as jsx3, jsxs } from "react/jsx-runtime";
553
- var getClassName = get_class_name_factory_default("ErrorBoundary", styles_default);
553
+ var getClassName = get_class_name_factory_default("ErrorBoundary", styles_module_default);
554
554
  var ErrorBoundary = class extends Component {
555
555
  constructor(props) {
556
556
  super(props);
@@ -1856,10 +1856,6 @@ var SoftConfigProvider = ({
1856
1856
  hardConfig,
1857
1857
  softComponents,
1858
1858
  overrides,
1859
- // optional externally created store instance. When provided, use that
1860
- // instead of creating one internally. This enables:
1861
- // const store = useMemo(() => createSoftConfigStore(), []);
1862
- // <SoftConfigProvider value={store}>{children}</SoftConfigProvider>
1863
1859
  value
1864
1860
  }) => {
1865
1861
  const store = value != null ? value : useMemo2(
@@ -2187,8 +2183,8 @@ var useSetDefaultVersion = () => {
2187
2183
  // src/puck/overrides/Header.tsx
2188
2184
  import { Button } from "@measured/puck";
2189
2185
 
2190
- // src/puck/overrides/Header.module.css
2191
- var Header_default = {};
2186
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\overrides\Header.module.css#css-module
2187
+ var Header_module_default = { "Header": "_Header_19oj9_1" };
2192
2188
 
2193
2189
  // src/puck/actions/usePublish.tsx
2194
2190
  import { createUsePuck as createUsePuck9 } from "@measured/puck";
@@ -2214,7 +2210,7 @@ var usePublish = () => {
2214
2210
 
2215
2211
  // src/puck/overrides/Header.tsx
2216
2212
  import { Fragment as Fragment3, jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
2217
- var getClassName2 = get_class_name_factory_default("Header", Header_default);
2213
+ var getClassName2 = get_class_name_factory_default("Header", Header_module_default);
2218
2214
  var Header = ({
2219
2215
  onPublish,
2220
2216
  children
@@ -2256,12 +2252,12 @@ var Header = ({
2256
2252
  import { ActionBar } from "@measured/puck";
2257
2253
  import { Combine, ComponentIcon, EditIcon } from "lucide-react";
2258
2254
 
2259
- // src/puck/overrides/ActionBar.module.css
2260
- var ActionBar_default = {};
2255
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\overrides\ActionBar.module.css#css-module
2256
+ var ActionBar_module_default = { "ActionBar": "_ActionBar_pvuie_5", "ActionBar-label": "_ActionBar-label_pvuie_39", "ActionBar-action": "_ActionBar-action_pvuie_63", "ActionBar-group": "_ActionBar-group_pvuie_79" };
2261
2257
 
2262
2258
  // src/puck/overrides/ActionBar.tsx
2263
2259
  import { Fragment as Fragment4, jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
2264
- var getClassName3 = get_class_name_factory_default("ActionBar", ActionBar_default);
2260
+ var getClassName3 = get_class_name_factory_default("ActionBar", ActionBar_module_default);
2265
2261
  var ActionBarOverride = (props) => {
2266
2262
  const { handleBuild, canBuild } = useBuild();
2267
2263
  const { handleRemodel, canRemodel } = useRemodel();
@@ -2320,19 +2316,19 @@ var confirm = (message) => __async(null, null, function* () {
2320
2316
  }
2321
2317
  });
2322
2318
 
2323
- // src/puck/overrides/ComponentItem.module.css
2324
- var ComponentItem_default = {};
2319
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\overrides\ComponentItem.module.css#css-module
2320
+ var ComponentItem_module_default = { "ComponentItem": "_ComponentItem_lp9eh_1", "ComponentItem-content": "_ComponentItem-content_lp9eh_14", "ComponentItem-name": "_ComponentItem-name_lp9eh_24", "ComponentItem-version": "_ComponentItem-version_lp9eh_28", "ComponentItem-actions": "_ComponentItem-actions_lp9eh_33", "ComponentItem-settingsButton": "_ComponentItem-settingsButton_lp9eh_39", "ComponentItem-grip": "_ComponentItem-grip_lp9eh_49", "ComponentItem-modal": "_ComponentItem-modal_lp9eh_56", "ComponentItem-modalHeader": "_ComponentItem-modalHeader_lp9eh_63", "ComponentItem-modalTitle": "_ComponentItem-modalTitle_lp9eh_68", "ComponentItem-modalSubtitle": "_ComponentItem-modalSubtitle_lp9eh_75", "ComponentItem-modalBody": "_ComponentItem-modalBody_lp9eh_81", "ComponentItem-section": "_ComponentItem-section_lp9eh_90", "ComponentItem-sectionTitle": "_ComponentItem-sectionTitle_lp9eh_96", "ComponentItem-sectionDescription": "_ComponentItem-sectionDescription_lp9eh_103", "ComponentItem-versionList": "_ComponentItem-versionList_lp9eh_109", "ComponentItem-versionRow": "_ComponentItem-versionRow_lp9eh_115", "ComponentItem-versionRow--isDefault": "_ComponentItem-versionRow--isDefault_lp9eh_126", "ComponentItem-versionRow--isMarkedForDeletion": "_ComponentItem-versionRow--isMarkedForDeletion_lp9eh_131", "ComponentItem-versionInfo": "_ComponentItem-versionInfo_lp9eh_136", "ComponentItem-versionNumber": "_ComponentItem-versionNumber_lp9eh_143", "ComponentItem-defaultBadge": "_ComponentItem-defaultBadge_lp9eh_149", "ComponentItem-deleteBadge": "_ComponentItem-deleteBadge_lp9eh_160", "ComponentItem-versionActions": "_ComponentItem-versionActions_lp9eh_171", "ComponentItem-migrationOptions": "_ComponentItem-migrationOptions_lp9eh_177", "ComponentItem-select": "_ComponentItem-select_lp9eh_181", "ComponentItem-modalFooter": "_ComponentItem-modalFooter_lp9eh_202", "ComponentItem-footerLeft": "_ComponentItem-footerLeft_lp9eh_211", "ComponentItem-footerRight": "_ComponentItem-footerRight_lp9eh_216" };
2325
2321
 
2326
2322
  // src/puck/components/modal/index.tsx
2327
2323
  import { useEffect as useEffect4, useState as useState4 } from "react";
2328
2324
  import { createPortal } from "react-dom";
2329
2325
 
2330
- // src/puck/components/modal/styles.module.css
2331
- var styles_default2 = {};
2326
+ // css-module:D:\osamuProjects\netlisian\packages\soft-config\src\puck\components\modal\styles.module.css#css-module
2327
+ var styles_module_default2 = { "Modal": "_Modal_pvj02_1", "Modal--isOpen": "_Modal--isOpen_pvj02_29", "Modal-inner": "_Modal-inner_pvj02_37" };
2332
2328
 
2333
2329
  // src/puck/components/modal/index.tsx
2334
2330
  import { jsx as jsx10 } from "react/jsx-runtime";
2335
- var getClassName4 = get_class_name_factory_default("Modal", styles_default2);
2331
+ var getClassName4 = get_class_name_factory_default("Modal", styles_module_default2);
2336
2332
  var Modal = ({
2337
2333
  children,
2338
2334
  onClose,
@@ -2360,7 +2356,7 @@ var Modal = ({
2360
2356
 
2361
2357
  // src/puck/overrides/ComponentItem.tsx
2362
2358
  import { Fragment as Fragment5, jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
2363
- var getClassName5 = get_class_name_factory_default("ComponentItem", ComponentItem_default);
2359
+ var getClassName5 = get_class_name_factory_default("ComponentItem", ComponentItem_module_default);
2364
2360
  var ComponentItem = (props) => {
2365
2361
  const softComponents = new Set(
2366
2362
  Object.keys(useSoftConfig((s) => s.softComponents))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlisian/softconfig",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -19,7 +19,8 @@
19
19
  "require": "./dist/puck/index.js"
20
20
  },
21
21
  "./styles.css": "./dist/index.css",
22
- "./dist/index.css": "./dist/index.css"
22
+ "./dist/index.css": "./dist/index.css",
23
+ "./puck/index.css": "./dist/puck/index.css"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@size-limit/esbuild": "^11.1.6",
@@ -29,6 +30,8 @@
29
30
  "@types/react": "^18.0.0 || ^19.0.0",
30
31
  "@types/react-dom": "^18.0.0 || ^19.0.0",
31
32
  "eslint": "^9.36.0",
33
+ "postcss": "^8.5.6",
34
+ "postcss-modules": "^6.0.1",
32
35
  "size-limit": "^11.1.6",
33
36
  "tsup": "^8.0.2",
34
37
  "typescript": "5.9.3",
@@ -36,16 +39,16 @@
36
39
  "@netlisian/eslint-config": "0.0.0",
37
40
  "@netlisian/tsconfig": "0.0.0"
38
41
  },
39
- "peerDependencies": {
40
- "@measured/puck": "0.20.x",
41
- "react": ">=18.0.0 <20.3.0"
42
- },
43
42
  "dependencies": {
44
43
  "classnames": "^2.5.1",
45
44
  "lucide-react": "^0.475.0",
46
45
  "uuid": "^11.0.0",
47
46
  "zustand": "^5.0.3"
48
47
  },
48
+ "peerDependencies": {
49
+ "@measured/puck": "0.20.x",
50
+ "react": ">=18.0.0 <20.3.0"
51
+ },
49
52
  "publishConfig": {
50
53
  "access": "public"
51
54
  },