@puckeditor/core 0.21.3 → 0.22.0-canary.0c2f7ab8

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.
Files changed (52) hide show
  1. package/README.md +1 -4
  2. package/dist/{Editor-MCVDFQH6.mjs → Editor-FJJNKTC3.mjs} +10 -11
  3. package/dist/Editor-ZZW3KF2T.css +385 -0
  4. package/dist/{Render-MJ563JES.mjs → Render-DQXAYUBI.mjs} +1 -1
  5. package/dist/Render-EKEWMTMI.css +117 -0
  6. package/dist/{actions-C3e2nJ9v.d.mts → actions-Csn3gOP8.d.mts} +3 -1
  7. package/dist/{actions-C3e2nJ9v.d.ts → actions-Csn3gOP8.d.ts} +3 -1
  8. package/dist/{chunk-ZMTK7SMX.mjs → chunk-3RQGAM3Z.mjs} +1 -1
  9. package/dist/{chunk-HGJWUFLT.mjs → chunk-4US666EQ.mjs} +91 -248
  10. package/dist/{chunk-4HOGLOEA.mjs → chunk-6MO3E35Y.mjs} +5 -3
  11. package/dist/{chunk-6XCJ3Y7O.mjs → chunk-DVZWVU66.mjs} +55 -2
  12. package/dist/{chunk-TDQEUXB2.mjs → chunk-GKUX6MNS.mjs} +4 -4
  13. package/dist/{chunk-AOEDIUVK.mjs → chunk-H635BA2V.mjs} +1 -1
  14. package/dist/{chunk-DPDJ67KA.mjs → chunk-M5GPDW62.mjs} +1 -1
  15. package/dist/{chunk-YXFTA2VL.mjs → chunk-SLDNFU3H.mjs} +3378 -432
  16. package/dist/{chunk-X2ZFWNCU.mjs → chunk-SSXLOL3N.mjs} +18 -15
  17. package/dist/{chunk-LODTL5KW.mjs → chunk-XIGSFEU7.mjs} +1 -1
  18. package/dist/{chunk-O7FT3KAM.mjs → chunk-XQHCQEAF.mjs} +233 -54
  19. package/dist/{full-5QCBHXRC.mjs → full-6ZILLKCS.mjs} +7 -7
  20. package/dist/full-S3QQ2IBQ.css +267 -0
  21. package/dist/{index-Cx46WIFC.d.ts → index-B1b1cFug.d.ts} +1 -1
  22. package/dist/{index-zHrchQGY.d.mts → index-ClzBCbx_.d.mts} +1 -1
  23. package/dist/index.css +1293 -1162
  24. package/dist/index.d.mts +13 -13
  25. package/dist/index.d.ts +13 -13
  26. package/dist/index.js +3788 -752
  27. package/dist/index.mjs +13 -12
  28. package/dist/internal.d.mts +2 -2
  29. package/dist/internal.d.ts +2 -2
  30. package/dist/internal.js +48 -2
  31. package/dist/internal.mjs +1 -1
  32. package/dist/loaded-FVWRAJR3.css +215 -0
  33. package/dist/{loaded-OMRIYZIQ.mjs → loaded-LAKI4KDY.mjs} +4 -4
  34. package/dist/{loaded-Y4ZWZC55.mjs → loaded-PILFUJGA.mjs} +4 -4
  35. package/dist/{loaded-54625GTL.mjs → loaded-QH5RKCGC.mjs} +4 -4
  36. package/dist/no-external.css +1293 -1162
  37. package/dist/no-external.d.mts +3 -3
  38. package/dist/no-external.d.ts +3 -3
  39. package/dist/no-external.js +3788 -752
  40. package/dist/no-external.mjs +13 -12
  41. package/dist/rsc.css +61 -46
  42. package/dist/rsc.d.mts +2 -2
  43. package/dist/rsc.d.ts +2 -2
  44. package/dist/rsc.js +22 -17
  45. package/dist/rsc.mjs +3 -3
  46. package/dist/{walk-tree-BJoNgZ0l.d.mts → walk-tree-BrW9VQ_t.d.mts} +1 -1
  47. package/dist/{walk-tree-f8Yzs5o3.d.ts → walk-tree-CWrsBHHe.d.ts} +1 -1
  48. package/package.json +13 -5
  49. package/dist/Editor-SWYBDXGU.css +0 -395
  50. package/dist/Render-3OV4N4MT.css +0 -102
  51. package/dist/full-FFFM5OTN.css +0 -292
  52. package/dist/loaded-RVWBFK7L.css +0 -87
@@ -1,292 +0,0 @@
1
- /* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/styles.module.css/#css-module-data */
2
- ._RichTextMenu_k97eh_1 {
3
- display: flex;
4
- flex-direction: row;
5
- flex-wrap: nowrap;
6
- }
7
- ._RichTextMenu--form_k97eh_7 {
8
- border-top-left-radius: 4px;
9
- border-top-right-radius: 4px;
10
- padding: 6px 6px;
11
- background-color: var(--puck-color-grey-12);
12
- position: relative;
13
- scrollbar-width: none;
14
- overflow-x: auto;
15
- }
16
- ._RichTextMenu-group_k97eh_17 {
17
- display: flex;
18
- align-items: space-between;
19
- flex-direction: row;
20
- flex-wrap: nowrap;
21
- padding-inline: 6px;
22
- gap: 2px;
23
- position: relative;
24
- }
25
- ._RichTextMenu-group_k97eh_17:first-of-type {
26
- padding-left: 0;
27
- }
28
- ._RichTextMenu-group_k97eh_17:last-of-type {
29
- padding-right: 0;
30
- }
31
- ._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 {
32
- color: var(--puck-color-grey-08);
33
- gap: 0px;
34
- flex-wrap: nowrap;
35
- }
36
- ._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
37
- border-left: 1px solid var(--puck-color-grey-10);
38
- }
39
- ._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
40
- border-left: 0.5px solid var(--puck-color-grey-05);
41
- }
42
-
43
- /* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
44
- ._IconButton_1c68y_1 {
45
- align-items: center;
46
- background: transparent;
47
- border: none;
48
- border-radius: 4px;
49
- color: currentColor;
50
- display: flex;
51
- font-family: var(--puck-font-family);
52
- justify-content: center;
53
- padding: 4px;
54
- transition: background-color 50ms ease-in, color 50ms ease-in;
55
- }
56
- ._IconButton--active_1c68y_14 {
57
- color: var(--puck-color-azure-04);
58
- }
59
- ._IconButton_1c68y_1:focus-visible {
60
- outline: 2px solid var(--puck-color-azure-05);
61
- outline-offset: -2px;
62
- }
63
- @media (hover: hover) and (pointer: fine) {
64
- ._IconButton_1c68y_1:hover:not(._IconButton--disabled_1c68y_24) {
65
- background: var(--puck-color-grey-10);
66
- color: var(--puck-color-azure-04);
67
- cursor: pointer;
68
- transition: none;
69
- }
70
- }
71
- ._IconButton_1c68y_1:active {
72
- background: var(--puck-color-azure-11);
73
- transition: none;
74
- }
75
- ._IconButton--disabled_1c68y_24 {
76
- color: var(--puck-color-grey-07);
77
- }
78
-
79
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Loader/styles.module.css/#css-module-data */
80
- @keyframes _loader-animation_nacdm_1 {
81
- 0% {
82
- transform: rotate(0deg) scale(1);
83
- }
84
- 50% {
85
- transform: rotate(180deg) scale(0.8);
86
- }
87
- 100% {
88
- transform: rotate(360deg) scale(1);
89
- }
90
- }
91
- ._Loader_nacdm_13 {
92
- background: transparent;
93
- border-radius: 100%;
94
- border: 2px solid currentColor;
95
- border-bottom-color: transparent;
96
- display: inline-block;
97
- animation: _loader-animation_nacdm_1 1s 0s infinite linear;
98
- animation-fill-mode: both;
99
- }
100
-
101
- /* css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css/#css-module-data */
102
- ._ActionBar_1nmyk_1 {
103
- align-items: center;
104
- cursor: default;
105
- display: flex;
106
- width: auto;
107
- padding: 4px;
108
- padding-inline-start: 0;
109
- padding-inline-end: 0;
110
- border-top-left-radius: 8px;
111
- border-top-right-radius: 8px;
112
- border-radius: 8px;
113
- background: var(--puck-color-grey-01);
114
- color: var(--puck-color-white);
115
- font-family: var(--puck-font-family);
116
- min-height: 26px;
117
- }
118
- ._ActionBar-label_1nmyk_18 {
119
- color: var(--puck-color-grey-08);
120
- font-size: var(--puck-font-size-xxxs);
121
- font-weight: 500;
122
- padding-inline-start: 8px;
123
- padding-inline-end: 8px;
124
- margin-inline-start: 4px;
125
- margin-inline-end: 4px;
126
- text-overflow: ellipsis;
127
- white-space: nowrap;
128
- }
129
- ._ActionBarAction_1nmyk_30 + ._ActionBar-label_1nmyk_18 {
130
- padding-inline-start: 0;
131
- }
132
- ._ActionBar-label_1nmyk_18 + ._ActionBarAction_1nmyk_30 {
133
- margin-inline-start: -4px;
134
- }
135
- ._ActionBar-group_1nmyk_38 {
136
- align-items: center;
137
- border-inline-start: 0.5px solid var(--puck-color-grey-05);
138
- display: flex;
139
- height: 100%;
140
- padding-inline-start: 4px;
141
- padding-inline-end: 4px;
142
- }
143
- ._ActionBar-group_1nmyk_38:first-of-type {
144
- border-inline-start: 0;
145
- }
146
- ._ActionBar-group_1nmyk_38:empty {
147
- display: none;
148
- }
149
- ._ActionBarAction_1nmyk_30 {
150
- background: transparent;
151
- border: none;
152
- color: var(--puck-color-grey-08);
153
- cursor: pointer;
154
- padding: 6px;
155
- margin-inline-start: 4px;
156
- margin-inline-end: 4px;
157
- border-radius: 4px;
158
- overflow: hidden;
159
- display: flex;
160
- align-items: center;
161
- justify-content: center;
162
- transition: color 50ms ease-in;
163
- }
164
- ._ActionBarAction--disabled_1nmyk_71 {
165
- cursor: auto;
166
- color: var(--puck-color-grey-06);
167
- }
168
- ._ActionBarAction_1nmyk_30 svg {
169
- max-width: none !important;
170
- }
171
- ._ActionBarAction_1nmyk_30:focus-visible {
172
- outline: 2px solid var(--puck-color-azure-05);
173
- outline-offset: -2px;
174
- }
175
- @media (hover: hover) and (pointer: fine) {
176
- ._ActionBarAction_1nmyk_30:hover:not(._ActionBarAction--disabled_1nmyk_71) {
177
- color: var(--puck-color-azure-06);
178
- transition: none;
179
- }
180
- }
181
- ._ActionBarAction_1nmyk_30:active:not(._ActionBarAction--disabled_1nmyk_71),
182
- ._ActionBarAction--active_1nmyk_93 {
183
- color: var(--puck-color-azure-07);
184
- transition: none;
185
- }
186
- ._ActionBar-group_1nmyk_38 * {
187
- margin: 0;
188
- }
189
- ._ActionBar-separator_1nmyk_102 {
190
- background: var(--puck-color-grey-05);
191
- margin-inline: 4px;
192
- width: 0.5px;
193
- height: 100%;
194
- }
195
-
196
- /* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
197
- ._Control_1aveu_1 .lucide {
198
- height: 18px;
199
- width: 18px;
200
- }
201
- ._Control--inline_1aveu_6 .lucide {
202
- height: 16px;
203
- width: 16px;
204
- }
205
-
206
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Select/styles.module.css/#css-module-data */
207
- ._Select_xjbef_1 {
208
- position: relative;
209
- z-index: 1;
210
- }
211
- ._Select-button_xjbef_6 {
212
- align-items: center;
213
- background: transparent;
214
- border: none;
215
- border-radius: 4px;
216
- display: flex;
217
- justify-content: center;
218
- gap: 0px;
219
- height: 100%;
220
- padding: 4px;
221
- padding-right: 2px;
222
- }
223
- ._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6 {
224
- color: currentColor;
225
- }
226
- ._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6 {
227
- cursor: pointer;
228
- }
229
- ._Select-buttonIcon_xjbef_27 {
230
- align-items: center;
231
- display: flex;
232
- justify-content: center;
233
- }
234
- ._Select--standalone_xjbef_33 ._Select-buttonIcon_xjbef_27 .lucide {
235
- height: 18px;
236
- width: 18px;
237
- }
238
- ._Select--actionBar_xjbef_38 ._Select-buttonIcon_xjbef_27 .lucide {
239
- height: 16px;
240
- width: 16px;
241
- }
242
- ._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6:hover,
243
- ._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
244
- background: var(--puck-color-grey-10);
245
- color: var(--puck-color-azure-04);
246
- }
247
- ._Select--disabled_xjbef_23 ._Select-button_xjbef_6 {
248
- color: var(--puck-color-grey-07);
249
- }
250
- ._Select--actionBar_xjbef_38 {
251
- &._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6:hover,
252
- &._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
253
- background: none;
254
- color: var(--puck-color-azure-07);
255
- }
256
- }
257
- ._Select-items_xjbef_61 {
258
- background: white;
259
- border: 1px solid var(--puck-color-grey-09);
260
- border-radius: 8px;
261
- margin: 10px 8px;
262
- margin-left: 0;
263
- padding: 4px;
264
- z-index: 2;
265
- list-style: none;
266
- }
267
- ._SelectItem_xjbef_72 {
268
- background: transparent;
269
- border-radius: 4px;
270
- border: none;
271
- color: var(--puck-color-grey-04);
272
- cursor: pointer;
273
- display: flex;
274
- gap: 8px;
275
- align-items: center;
276
- font-size: var(--puck-font-size-xxs);
277
- margin: 0;
278
- padding: 8px 12px;
279
- width: 100%;
280
- }
281
- ._SelectItem--isSelected_xjbef_87 {
282
- background: var(--puck-color-azure-11);
283
- color: var(--puck-color-azure-04);
284
- font-weight: 500;
285
- }
286
- ._SelectItem--isSelected_xjbef_87 ._SelectItem-icon_xjbef_93 {
287
- color: var(--puck-color-azure-04);
288
- }
289
- ._SelectItem_xjbef_72:hover {
290
- background: var(--puck-color-azure-11);
291
- color: var(--puck-color-azure-04);
292
- }
@@ -1,87 +0,0 @@
1
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Select/styles.module.css/#css-module-data */
2
- ._Select_xjbef_1 {
3
- position: relative;
4
- z-index: 1;
5
- }
6
- ._Select-button_xjbef_6 {
7
- align-items: center;
8
- background: transparent;
9
- border: none;
10
- border-radius: 4px;
11
- display: flex;
12
- justify-content: center;
13
- gap: 0px;
14
- height: 100%;
15
- padding: 4px;
16
- padding-right: 2px;
17
- }
18
- ._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6 {
19
- color: currentColor;
20
- }
21
- ._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6 {
22
- cursor: pointer;
23
- }
24
- ._Select-buttonIcon_xjbef_27 {
25
- align-items: center;
26
- display: flex;
27
- justify-content: center;
28
- }
29
- ._Select--standalone_xjbef_33 ._Select-buttonIcon_xjbef_27 .lucide {
30
- height: 18px;
31
- width: 18px;
32
- }
33
- ._Select--actionBar_xjbef_38 ._Select-buttonIcon_xjbef_27 .lucide {
34
- height: 16px;
35
- width: 16px;
36
- }
37
- ._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6:hover,
38
- ._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
39
- background: var(--puck-color-grey-10);
40
- color: var(--puck-color-azure-04);
41
- }
42
- ._Select--disabled_xjbef_23 ._Select-button_xjbef_6 {
43
- color: var(--puck-color-grey-07);
44
- }
45
- ._Select--actionBar_xjbef_38 {
46
- &._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6:hover,
47
- &._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
48
- background: none;
49
- color: var(--puck-color-azure-07);
50
- }
51
- }
52
- ._Select-items_xjbef_61 {
53
- background: white;
54
- border: 1px solid var(--puck-color-grey-09);
55
- border-radius: 8px;
56
- margin: 10px 8px;
57
- margin-left: 0;
58
- padding: 4px;
59
- z-index: 2;
60
- list-style: none;
61
- }
62
- ._SelectItem_xjbef_72 {
63
- background: transparent;
64
- border-radius: 4px;
65
- border: none;
66
- color: var(--puck-color-grey-04);
67
- cursor: pointer;
68
- display: flex;
69
- gap: 8px;
70
- align-items: center;
71
- font-size: var(--puck-font-size-xxs);
72
- margin: 0;
73
- padding: 8px 12px;
74
- width: 100%;
75
- }
76
- ._SelectItem--isSelected_xjbef_87 {
77
- background: var(--puck-color-azure-11);
78
- color: var(--puck-color-azure-04);
79
- font-weight: 500;
80
- }
81
- ._SelectItem--isSelected_xjbef_87 ._SelectItem-icon_xjbef_93 {
82
- color: var(--puck-color-azure-04);
83
- }
84
- ._SelectItem_xjbef_72:hover {
85
- background: var(--puck-color-azure-11);
86
- color: var(--puck-color-azure-04);
87
- }