@operato/context 2.0.0-alpha.11 → 2.0.0-alpha.110

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 (62) hide show
  1. package/CHANGELOG.md +576 -0
  2. package/demo/index.html +13 -2
  3. package/dist/src/layouts/ox-context-page-toolbar.d.ts +9 -4
  4. package/dist/src/layouts/ox-context-page-toolbar.js +30 -10
  5. package/dist/src/layouts/ox-context-page-toolbar.js.map +1 -1
  6. package/dist/src/layouts/ox-context-toolbar.d.ts +5 -3
  7. package/dist/src/layouts/ox-context-toolbar.js +142 -73
  8. package/dist/src/layouts/ox-context-toolbar.js.map +1 -1
  9. package/dist/src/styles/ox-context-toolbar-overlay-style.js +2 -2
  10. package/dist/src/styles/ox-context-toolbar-overlay-style.js.map +1 -1
  11. package/dist/src/tools/ox-page-action-context-bar.d.ts +12 -5
  12. package/dist/src/tools/ox-page-action-context-bar.js +43 -48
  13. package/dist/src/tools/ox-page-action-context-bar.js.map +1 -1
  14. package/dist/src/tools/ox-page-action-overlay-template.d.ts +2 -2
  15. package/dist/src/tools/ox-page-action-overlay-template.js +22 -31
  16. package/dist/src/tools/ox-page-action-overlay-template.js.map +1 -1
  17. package/dist/src/tools/ox-page-title-bar.d.ts +2 -2
  18. package/dist/src/tools/ox-page-title-bar.js +6 -8
  19. package/dist/src/tools/ox-page-title-bar.js.map +1 -1
  20. package/dist/src/tools/ox-title-bar.d.ts +2 -2
  21. package/dist/src/tools/ox-title-bar.js +6 -8
  22. package/dist/src/tools/ox-title-bar.js.map +1 -1
  23. package/dist/stories/ox-context-page-toolbar-select-buttons.stories.d.ts +25 -0
  24. package/dist/stories/ox-context-page-toolbar-select-buttons.stories.js +127 -0
  25. package/dist/stories/ox-context-page-toolbar-select-buttons.stories.js.map +1 -0
  26. package/dist/stories/ox-context-page-toolbar-select.stories.d.ts +24 -0
  27. package/dist/stories/ox-context-page-toolbar-select.stories.js +85 -0
  28. package/dist/stories/ox-context-page-toolbar-select.stories.js.map +1 -0
  29. package/dist/stories/ox-context-page-toolbar.stories.d.ts +24 -0
  30. package/dist/stories/ox-context-page-toolbar.stories.js +93 -0
  31. package/dist/stories/ox-context-page-toolbar.stories.js.map +1 -0
  32. package/dist/stories/ox-context-toolbar-complex.stories.d.ts +19 -0
  33. package/dist/stories/ox-context-toolbar-complex.stories.js +150 -0
  34. package/dist/stories/ox-context-toolbar-complex.stories.js.map +1 -0
  35. package/dist/stories/ox-context-toolbar-empty.stories.d.ts +19 -0
  36. package/dist/stories/ox-context-toolbar-empty.stories.js +88 -0
  37. package/dist/stories/ox-context-toolbar-empty.stories.js.map +1 -0
  38. package/dist/stories/ox-context-toolbar-overflow.stories.d.ts +19 -0
  39. package/dist/stories/ox-context-toolbar-overflow.stories.js +131 -0
  40. package/dist/stories/ox-context-toolbar-overflow.stories.js.map +1 -0
  41. package/dist/stories/ox-context-toolbar.stories.d.ts +19 -0
  42. package/dist/stories/ox-context-toolbar.stories.js +188 -0
  43. package/dist/stories/ox-context-toolbar.stories.js.map +1 -0
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +20 -20
  46. package/src/layouts/ox-context-page-toolbar.ts +33 -10
  47. package/src/layouts/ox-context-toolbar.ts +143 -70
  48. package/src/styles/ox-context-toolbar-overlay-style.ts +2 -2
  49. package/src/tools/ox-page-action-context-bar.ts +71 -67
  50. package/src/tools/ox-page-action-overlay-template.ts +42 -51
  51. package/src/tools/ox-page-title-bar.ts +6 -8
  52. package/src/tools/ox-title-bar.ts +6 -8
  53. package/stories/ox-context-page-toolbar-select-buttons.stories.ts +141 -0
  54. package/stories/ox-context-page-toolbar-select.stories.ts +99 -0
  55. package/stories/ox-context-page-toolbar.stories.ts +107 -0
  56. package/stories/ox-context-toolbar-complex.stories.ts +162 -0
  57. package/stories/ox-context-toolbar-empty.stories.ts +100 -0
  58. package/stories/ox-context-toolbar-overflow.stories.ts +143 -0
  59. package/stories/ox-context-toolbar.stories.ts +200 -0
  60. package/themes/app-theme.css +161 -0
  61. package/themes/context-theme.css +74 -0
  62. package/themes/material-theme.css +88 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,582 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.0-alpha.110](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.109...v2.0.0-alpha.110) (2024-05-02)
7
+
8
+ **Note:** Version bump only for package @operato/context
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.0-alpha.109](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.108...v2.0.0-alpha.109) (2024-05-02)
15
+
16
+ **Note:** Version bump only for package @operato/context
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.0-alpha.108](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.107...v2.0.0-alpha.108) (2024-05-02)
23
+
24
+ **Note:** Version bump only for package @operato/context
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.0-alpha.107](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.106...v2.0.0-alpha.107) (2024-05-01)
31
+
32
+ **Note:** Version bump only for package @operato/context
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.0-alpha.106](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.105...v2.0.0-alpha.106) (2024-04-26)
39
+
40
+ **Note:** Version bump only for package @operato/context
41
+
42
+
43
+
44
+
45
+
46
+ ## [2.0.0-alpha.105](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.104...v2.0.0-alpha.105) (2024-04-26)
47
+
48
+ **Note:** Version bump only for package @operato/context
49
+
50
+
51
+
52
+
53
+
54
+ ## [2.0.0-alpha.104](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.103...v2.0.0-alpha.104) (2024-04-26)
55
+
56
+ **Note:** Version bump only for package @operato/context
57
+
58
+
59
+
60
+
61
+
62
+ ## [2.0.0-alpha.103](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.102...v2.0.0-alpha.103) (2024-04-26)
63
+
64
+ **Note:** Version bump only for package @operato/context
65
+
66
+
67
+
68
+
69
+
70
+ ## [2.0.0-alpha.102](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.101...v2.0.0-alpha.102) (2024-04-22)
71
+
72
+ **Note:** Version bump only for package @operato/context
73
+
74
+
75
+
76
+
77
+
78
+ ## [2.0.0-alpha.100](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.99...v2.0.0-alpha.100) (2024-04-21)
79
+
80
+ **Note:** Version bump only for package @operato/context
81
+
82
+
83
+
84
+
85
+
86
+ ## [2.0.0-alpha.99](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.98...v2.0.0-alpha.99) (2024-04-21)
87
+
88
+ **Note:** Version bump only for package @operato/context
89
+
90
+
91
+
92
+
93
+
94
+ ## [2.0.0-alpha.98](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.97...v2.0.0-alpha.98) (2024-04-21)
95
+
96
+
97
+ ### :bug: Bug Fix
98
+
99
+ * header style ([933f150](https://github.com/hatiolab/operato/commit/933f1506e8ec41de3f0c598d977ac1238c3fc3df))
100
+
101
+
102
+
103
+ ## [2.0.0-alpha.95](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.94...v2.0.0-alpha.95) (2024-04-21)
104
+
105
+ **Note:** Version bump only for package @operato/context
106
+
107
+
108
+
109
+
110
+
111
+ ## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
112
+
113
+
114
+ ### :sparkles: Styling
115
+
116
+ * material-theme tokens ([e12ad16](https://github.com/hatiolab/operato/commit/e12ad16f89c2e11ee7044883e1c4391cdd9d4372))
117
+
118
+
119
+
120
+ ## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
121
+
122
+ **Note:** Version bump only for package @operato/context
123
+
124
+
125
+
126
+
127
+
128
+ ## [2.0.0-alpha.92](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.91...v2.0.0-alpha.92) (2024-04-19)
129
+
130
+ **Note:** Version bump only for package @operato/context
131
+
132
+
133
+
134
+
135
+
136
+ ## [2.0.0-alpha.90](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.89...v2.0.0-alpha.90) (2024-04-18)
137
+
138
+ **Note:** Version bump only for package @operato/context
139
+
140
+
141
+
142
+
143
+
144
+ ## [2.0.0-alpha.89](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.88...v2.0.0-alpha.89) (2024-04-18)
145
+
146
+ **Note:** Version bump only for package @operato/context
147
+
148
+
149
+
150
+
151
+
152
+ ## [2.0.0-alpha.88](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.87...v2.0.0-alpha.88) (2024-04-18)
153
+
154
+ **Note:** Version bump only for package @operato/context
155
+
156
+
157
+
158
+
159
+
160
+ ## [2.0.0-alpha.87](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.86...v2.0.0-alpha.87) (2024-04-17)
161
+
162
+ **Note:** Version bump only for package @operato/context
163
+
164
+
165
+
166
+
167
+
168
+ ## [2.0.0-alpha.86](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.85...v2.0.0-alpha.86) (2024-04-16)
169
+
170
+ **Note:** Version bump only for package @operato/context
171
+
172
+
173
+
174
+
175
+
176
+ ## [2.0.0-alpha.85](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.84...v2.0.0-alpha.85) (2024-04-16)
177
+
178
+
179
+ ### :bug: Bug Fix
180
+
181
+ * tweak filters-form style ([6fb293d](https://github.com/hatiolab/operato/commit/6fb293d7d34ea7b01b3011264f554158beb62621))
182
+
183
+
184
+
185
+ ## [2.0.0-alpha.84](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.83...v2.0.0-alpha.84) (2024-04-16)
186
+
187
+
188
+ ### :bug: Bug Fix
189
+
190
+ * tweak ox-context-toolbar styles ([d6daab9](https://github.com/hatiolab/operato/commit/d6daab9f3a22a7cd9fb724834ceefc425bf90169))
191
+
192
+
193
+
194
+ ## [2.0.0-alpha.83](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.82...v2.0.0-alpha.83) (2024-04-16)
195
+
196
+
197
+ ### :bug: Bug Fix
198
+
199
+ * 보여줄 컨텐츠가 없다면 ox-context-toolbar 가 여백을 차지하지 않도록 함 ([5541ecb](https://github.com/hatiolab/operato/commit/5541ecb24c05da2c69aaad359e399eac53132b50))
200
+
201
+
202
+
203
+ ## [2.0.0-alpha.82](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.81...v2.0.0-alpha.82) (2024-04-15)
204
+
205
+
206
+ ### :bug: Bug Fix
207
+
208
+ * context styles ([10af436](https://github.com/hatiolab/operato/commit/10af4368cc63c2145662abcda1f31d3fa911d8fb))
209
+
210
+
211
+
212
+ ## [2.0.0-alpha.81](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.80...v2.0.0-alpha.81) (2024-04-15)
213
+
214
+
215
+ ### :bug: Bug Fix
216
+
217
+ * use button-container styles ([bd91be3](https://github.com/hatiolab/operato/commit/bd91be3eaf5337a0ffe8cfc3b37191b6427ce5f6))
218
+
219
+
220
+
221
+ ## [2.0.0-alpha.80](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.79...v2.0.0-alpha.80) (2024-04-15)
222
+
223
+
224
+ ### :bug: Bug Fix
225
+
226
+ * context btn style & app theme ([80d9f5a](https://github.com/hatiolab/operato/commit/80d9f5acc9a363e5fee22aa8bc618a6234d55745))
227
+ * material theme ([7f9acfb](https://github.com/hatiolab/operato/commit/7f9acfbd97e933812bee45eaf4ab4bf90dc2e5dc))
228
+ * stories for styling ([f81021d](https://github.com/hatiolab/operato/commit/f81021d6ba12aa100bf29a0ea311cb46a6e99e45))
229
+
230
+
231
+
232
+ ## [2.0.0-alpha.77](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.76...v2.0.0-alpha.77) (2024-04-14)
233
+
234
+ **Note:** Version bump only for package @operato/context
235
+
236
+
237
+
238
+
239
+
240
+ ## [2.0.0-alpha.71](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.70...v2.0.0-alpha.71) (2024-04-13)
241
+
242
+ **Note:** Version bump only for package @operato/context
243
+
244
+
245
+
246
+
247
+
248
+ ## [2.0.0-alpha.69](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.68...v2.0.0-alpha.69) (2024-04-13)
249
+
250
+
251
+ ### :bug: Bug Fix
252
+
253
+ * mwc=>md for context ([972f5fd](https://github.com/hatiolab/operato/commit/972f5fd8da02820b6d6238cf1dd099591f97d8df))
254
+
255
+
256
+
257
+ ## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
258
+
259
+
260
+ ### :bug: Bug Fix
261
+
262
+ * mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
263
+
264
+
265
+
266
+ ## [2.0.0-alpha.67](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.66...v2.0.0-alpha.67) (2024-04-13)
267
+
268
+
269
+ ### :bug: Bug Fix
270
+
271
+ * mwc=>md for context ([eacd9a5](https://github.com/hatiolab/operato/commit/eacd9a5b698969156f430f3d26233fdf7edccdf3))
272
+
273
+
274
+
275
+ ## [2.0.0-alpha.66](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.65...v2.0.0-alpha.66) (2024-04-13)
276
+
277
+
278
+ ### :bug: Bug Fix
279
+
280
+ * mwc=>md for context ([3d4217a](https://github.com/hatiolab/operato/commit/3d4217ae178ce568823697af2bdfbb244fda93c3))
281
+
282
+
283
+
284
+ ## [2.0.0-alpha.65](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.64...v2.0.0-alpha.65) (2024-04-13)
285
+
286
+
287
+ ### :bug: Bug Fix
288
+
289
+ * mwc=>md for context ([2b1a13b](https://github.com/hatiolab/operato/commit/2b1a13b9a214836ac7135717afd2dda536f1f487))
290
+
291
+
292
+
293
+ ## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
294
+
295
+
296
+ ### :bug: Bug Fix
297
+
298
+ * context button style ([8b169de](https://github.com/hatiolab/operato/commit/8b169de8c18919c36e9e8a69059046046fb5293a))
299
+ * icon size ([b2e93e0](https://github.com/hatiolab/operato/commit/b2e93e04200145b2547edd11208ed6c895c156bc))
300
+ * mwc=>md for context ([269d5fe](https://github.com/hatiolab/operato/commit/269d5fedca38096ce41850afe88a17ed1fd656dd))
301
+
302
+
303
+
304
+ ## [2.0.0-alpha.63](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.62...v2.0.0-alpha.63) (2024-04-12)
305
+
306
+ **Note:** Version bump only for package @operato/context
307
+
308
+
309
+
310
+
311
+
312
+ ## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
313
+
314
+
315
+ ### :bug: Bug Fix
316
+
317
+ * mwc=>md for context ([2a469f4](https://github.com/hatiolab/operato/commit/2a469f429544bd0cf9947a2efc381efafe8b0336))
318
+
319
+
320
+
321
+ ## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
322
+
323
+ **Note:** Version bump only for package @operato/context
324
+
325
+
326
+
327
+
328
+
329
+ ## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
330
+
331
+ **Note:** Version bump only for package @operato/context
332
+
333
+
334
+
335
+
336
+
337
+ ## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
338
+
339
+ **Note:** Version bump only for package @operato/context
340
+
341
+
342
+
343
+
344
+
345
+ ## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
346
+
347
+ **Note:** Version bump only for package @operato/context
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+ **Note:** Version bump only for package @operato/context
356
+
357
+
358
+
359
+
360
+
361
+ ## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
362
+
363
+ **Note:** Version bump only for package @operato/context
364
+
365
+
366
+
367
+
368
+
369
+ ## [2.0.0-alpha.53](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.52...v2.0.0-alpha.53) (2024-04-01)
370
+
371
+
372
+ ### :bug: Bug Fix
373
+
374
+ * storybook for ox-context-page-toolbar ([fa5b32d](https://github.com/hatiolab/operato/commit/fa5b32dfffd36db262e51c2706a5fbd719eed8ba))
375
+
376
+
377
+
378
+ ## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
379
+
380
+ **Note:** Version bump only for package @operato/context
381
+
382
+
383
+
384
+
385
+
386
+ ## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
387
+
388
+
389
+ ### :bug: Bug Fix
390
+
391
+ * upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
392
+
393
+
394
+
395
+ ## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
396
+
397
+ **Note:** Version bump only for package @operato/context
398
+
399
+
400
+
401
+
402
+
403
+ ## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
404
+
405
+
406
+ ### :bug: Bug Fix
407
+
408
+ * context module stories ([052ac6a](https://github.com/hatiolab/operato/commit/052ac6adc0c7cae6ddaff2babc3b344302e2aca8))
409
+
410
+
411
+
412
+ ## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
413
+
414
+
415
+ ### :bug: Bug Fix
416
+
417
+ * storybook 실행 환경 ([6a2940f](https://github.com/hatiolab/operato/commit/6a2940fb89dc26566acdce7cf1781a71cbad61c5))
418
+
419
+
420
+
421
+ ## [2.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.45...v2.0.0-alpha.46) (2024-03-26)
422
+
423
+ **Note:** Version bump only for package @operato/context
424
+
425
+
426
+
427
+
428
+
429
+ ## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
430
+
431
+ **Note:** Version bump only for package @operato/context
432
+
433
+
434
+
435
+
436
+
437
+ ## [2.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.42...v2.0.0-alpha.43) (2024-03-24)
438
+
439
+ **Note:** Version bump only for package @operato/context
440
+
441
+
442
+
443
+
444
+
445
+ ## [2.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.36...v2.0.0-alpha.37) (2024-03-18)
446
+
447
+ **Note:** Version bump only for package @operato/context
448
+
449
+
450
+
451
+
452
+
453
+ ## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
454
+
455
+ **Note:** Version bump only for package @operato/context
456
+
457
+
458
+
459
+
460
+
461
+ ## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
462
+
463
+ **Note:** Version bump only for package @operato/context
464
+
465
+
466
+
467
+
468
+
469
+ ## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
470
+
471
+ **Note:** Version bump only for package @operato/context
472
+
473
+
474
+
475
+
476
+
477
+ ## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
478
+
479
+ **Note:** Version bump only for package @operato/context
480
+
481
+
482
+
483
+
484
+
485
+ ## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
486
+
487
+ **Note:** Version bump only for package @operato/context
488
+
489
+
490
+
491
+
492
+
493
+ ## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
494
+
495
+
496
+ ### :bug: Bug Fix
497
+
498
+ * upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
499
+
500
+
501
+
502
+ ## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
503
+
504
+ **Note:** Version bump only for package @operato/context
505
+
506
+
507
+
508
+
509
+
510
+ ## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
511
+
512
+ **Note:** Version bump only for package @operato/context
513
+
514
+
515
+
516
+
517
+
518
+ ## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
519
+
520
+ **Note:** Version bump only for package @operato/context
521
+
522
+
523
+
524
+
525
+
526
+ ## [2.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-02-09)
527
+
528
+ **Note:** Version bump only for package @operato/context
529
+
530
+
531
+
532
+
533
+
534
+ ## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
535
+
536
+ **Note:** Version bump only for package @operato/context
537
+
538
+
539
+
540
+
541
+
542
+ ## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
543
+
544
+ **Note:** Version bump only for package @operato/context
545
+
546
+
547
+
548
+
549
+
550
+ ## [2.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-02-04)
551
+
552
+ **Note:** Version bump only for package @operato/context
553
+
554
+
555
+
556
+
557
+
558
+ ## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
559
+
560
+ **Note:** Version bump only for package @operato/context
561
+
562
+
563
+
564
+
565
+
566
+ ## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
567
+
568
+ **Note:** Version bump only for package @operato/context
569
+
570
+
571
+
572
+
573
+
574
+ ## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
575
+
576
+ **Note:** Version bump only for package @operato/context
577
+
578
+
579
+
580
+
581
+
6
582
  ## [2.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-01-24)
7
583
 
8
584
  **Note:** Version bump only for package @operato/context
package/demo/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -16,7 +16,18 @@
16
16
  }
17
17
  </style>
18
18
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
19
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
19
+ <link
20
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
21
+ rel="stylesheet"
22
+ />
23
+ <link
24
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
25
+ rel="stylesheet"
26
+ />
27
+ <link
28
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
29
+ rel="stylesheet"
30
+ />
20
31
  </head>
21
32
  <body>
22
33
  <div id="demo"></div>
@@ -1,5 +1,6 @@
1
- import '@material/mwc-icon';
2
- import { LitElement } from 'lit';
1
+ import '@material/web/icon/icon.js';
2
+ import { LitElement, TemplateResult } from 'lit';
3
+ import { TOOL_POSITION } from '@operato/layout';
3
4
  declare const ContextPageToolbar_base: (new (...args: any[]) => {
4
5
  _storeUnsubscribe: import("redux").Unsubscribe;
5
6
  connectedCallback(): void;
@@ -10,8 +11,12 @@ declare const ContextPageToolbar_base: (new (...args: any[]) => {
10
11
  export declare class ContextPageToolbar extends ContextPageToolbar_base {
11
12
  static get styles(): import("lit").CSSResult[];
12
13
  context: any;
13
- private tools?;
14
- render(): import("lit").TemplateResult<1>;
14
+ tools?: {
15
+ position: TOOL_POSITION;
16
+ template: TemplateResult;
17
+ context?: string;
18
+ }[];
19
+ render(): TemplateResult<1>;
15
20
  stateChanged(state: any): void;
16
21
  }
17
22
  export {};
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
- import '@material/mwc-icon';
2
+ import '@material/web/icon/icon.js';
3
3
  import { css, html, LitElement, nothing } from 'lit';
4
- import { customElement, property, state } from 'lit/decorators.js';
4
+ import { customElement, property } from 'lit/decorators.js';
5
5
  import { connect } from 'pwa-helpers/connect-mixin.js';
6
6
  import { TOOL_POSITION } from '@operato/layout';
7
7
  import { store } from '@operato/shell';
@@ -20,9 +20,7 @@ let ContextPageToolbar = class ContextPageToolbar extends connect(store)(LitElem
20
20
  --context-action-bar-button-margin: 0px;
21
21
  --context-action-bar-more-button-border-radius: 2px;
22
22
 
23
- --mdc-icon-size: 20px;
24
- --mdc-button-height: 20px;
25
- --mdc-button-horizontal-padding: 2px;
23
+ --md-icon-size: 20px;
26
24
  }
27
25
 
28
26
  :host > div {
@@ -30,17 +28,36 @@ let ContextPageToolbar = class ContextPageToolbar extends connect(store)(LitElem
30
28
  flex-direction: row;
31
29
 
32
30
  align-items: center;
31
+ gap: var(--padding-narrow);
33
32
  }
34
33
 
35
34
  * {
36
35
  cursor: pointer;
37
36
  }
38
37
 
39
- mwc-icon {
40
- background-color: var(--theme-white-color);
38
+ md-icon {
39
+ background-color: var(--button-background-color, #fafbfc);
41
40
  border: 1px solid rgba(var(--primary-color-rgb), 0.5);
42
- padding: 1px 2px;
41
+ border-radius: var(--button-border-radius);
42
+ padding: var(--iconbtn-padding, 4px);
43
+
43
44
  color: var(--primary-color);
45
+
46
+ &:hover {
47
+ background-color: var(--primary-color);
48
+
49
+ color: var(--theme-white-color);
50
+ }
51
+ }
52
+
53
+ @media screen and (max-width: 460px) {
54
+ :host > div {
55
+ gap: 0;
56
+ }
57
+
58
+ md-icon {
59
+ border-radius: 0;
60
+ }
44
61
  }
45
62
  `
46
63
  ];
@@ -74,14 +91,17 @@ let ContextPageToolbar = class ContextPageToolbar extends connect(store)(LitElem
74
91
  `;
75
92
  }
76
93
  stateChanged(state) {
77
- this.tools = state.context.tools;
94
+ var _a;
95
+ if (state.context) {
96
+ this.tools = (_a = state.context) === null || _a === void 0 ? void 0 : _a.tools;
97
+ }
78
98
  }
79
99
  };
80
100
  __decorate([
81
101
  property({ type: Object })
82
102
  ], ContextPageToolbar.prototype, "context", void 0);
83
103
  __decorate([
84
- state()
104
+ property({ type: Array })
85
105
  ], ContextPageToolbar.prototype, "tools", void 0);
86
106
  ContextPageToolbar = __decorate([
87
107
  customElement('ox-context-page-toolbar')