@breadstone/mosaik-elements-svelte 0.1.6 → 0.1.7

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 (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/index.mjs +55 -20
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.1.7 (2026-06-10)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **flowboard, scheduler:** add appearance property and show tools functionality ([5e34f86cc0](https://github.com/RueDeRennes/mosaik/commit/5e34f86cc0))
6
+ - **caveman:** add caveman prompt with intensity levels and usage examples ([18f6881aad](https://github.com/RueDeRennes/mosaik/commit/18f6881aad))
7
+
1
8
  ## 0.1.6 (2026-06-01)
2
9
 
3
10
  ### 🚀 Features
package/index.mjs CHANGED
@@ -114686,6 +114686,7 @@ var WG = class {
114686
114686
  dayFormat: "d",
114687
114687
  timeFormat: "HH:mm",
114688
114688
  monthDayFormat: "MMM d",
114689
+ showTools: !1,
114689
114690
  appearance: lS.DEFAULTS.appearance,
114690
114691
  variant: ob.DEFAULTS.variant,
114691
114692
  locale: mL.DEFAULTS.locale,
@@ -114795,11 +114796,12 @@ function QG(e) {
114795
114796
  function $G(e) {
114796
114797
  return V`
114797
114798
  <div part="container">
114798
- <mosaik-toolbar part="toolbar"
114799
- .dir="${e.dir}"
114800
- .lang="${e.lang}"
114801
- .appearance="${"plain"}">
114802
- <mosaik-button-group slot="start"
114799
+ ${U(e.showTools, () => V`
114800
+ <mosaik-toolbar part="toolbar"
114801
+ .dir="${e.dir}"
114802
+ .lang="${e.lang}"
114803
+ .appearance="${"plain"}">
114804
+ <mosaik-button-group slot="start"
114803
114805
  .dir="${e.dir}"
114804
114806
  .lang="${e.lang}"
114805
114807
  .appearance="${e.appearance}"
@@ -114820,6 +114822,7 @@ function $G(e) {
114820
114822
  </mosaik-button-group>
114821
114823
  <slot name="toolbar"></slot>
114822
114824
  </mosaik-toolbar>
114825
+ `)}
114823
114826
  ${e.view === "timeGrid" ? XG(e) : null}
114824
114827
  ${e.view === "month" ? ZG(e) : null}
114825
114828
  ${e.view === "agenda" ? QG(e) : null}
@@ -122033,6 +122036,7 @@ var _q = function(e, t, n, r) {
122033
122036
  _dayFormat;
122034
122037
  _timeFormat;
122035
122038
  _monthDayFormat;
122039
+ _showTools;
122036
122040
  constructor() {
122037
122041
  super(), this._intl = EI(this, { factory: () => new qG(this.locale) }), XS(this, {
122038
122042
  context: mK,
@@ -122059,7 +122063,7 @@ var _q = function(e, t, n, r) {
122059
122063
  }), XS(this, {
122060
122064
  context: oK,
122061
122065
  values: () => ({ view: this.view })
122062
- }), YS(this), this._view = JG.DEFAULTS.view, this._startDate = JG.DEFAULTS.startDate, this._days = JG.DEFAULTS.days, this._hourStart = JG.DEFAULTS.hourStart, this._hourEnd = JG.DEFAULTS.hourEnd, this._stepMinutes = JG.DEFAULTS.stepMinutes, this._timezone = JG.DEFAULTS.timezone, this._blackoutDates = JG.DEFAULTS.blackoutDates, this._specialDates = JG.DEFAULTS.specialDates, this._firstDayOfWeek = JG.DEFAULTS.firstDayOfWeek, this._isTodayHighlighted = JG.DEFAULTS.isTodayHighlighted, this._isWeekendHighlighted = JG.DEFAULTS.isWeekendHighlighted, this._showWeekNumbers = JG.DEFAULTS.showWeekNumbers, this._showAdjacent = JG.DEFAULTS.showAdjacent, this._daysAhead = JG.DEFAULTS.daysAhead, this._allDayVisibility = JG.DEFAULTS.allDayVisibility, this._visibleDates = [], this._collectedEvents = [], this._eventsByDay = /* @__PURE__ */ new Map(), this._allDayEventsByDay = /* @__PURE__ */ new Map(), this._schedulerBeforeEventActivate = new E(this, "schedulerBeforeEventActivate"), this._schedulerEventActivate = new E(this, "schedulerEventActivate"), this._schedulerBeforeSelectRange = new E(this, "schedulerBeforeSelectRange"), this._schedulerSelectRange = new E(this, "schedulerSelectRange"), this._schedulerRangeChange = new E(this, "schedulerRangeChange"), this._mutationObserver = null, this._nowIndicatorIntervalId = null, this._weekdayFormat = JG.DEFAULTS.weekdayFormat, this._dayFormat = JG.DEFAULTS.dayFormat, this._timeFormat = JG.DEFAULTS.timeFormat, this._monthDayFormat = JG.DEFAULTS.monthDayFormat;
122066
+ }), YS(this), this._view = JG.DEFAULTS.view, this._startDate = JG.DEFAULTS.startDate, this._days = JG.DEFAULTS.days, this._hourStart = JG.DEFAULTS.hourStart, this._hourEnd = JG.DEFAULTS.hourEnd, this._stepMinutes = JG.DEFAULTS.stepMinutes, this._timezone = JG.DEFAULTS.timezone, this._blackoutDates = JG.DEFAULTS.blackoutDates, this._specialDates = JG.DEFAULTS.specialDates, this._firstDayOfWeek = JG.DEFAULTS.firstDayOfWeek, this._isTodayHighlighted = JG.DEFAULTS.isTodayHighlighted, this._isWeekendHighlighted = JG.DEFAULTS.isWeekendHighlighted, this._showWeekNumbers = JG.DEFAULTS.showWeekNumbers, this._showAdjacent = JG.DEFAULTS.showAdjacent, this._daysAhead = JG.DEFAULTS.daysAhead, this._allDayVisibility = JG.DEFAULTS.allDayVisibility, this._visibleDates = [], this._collectedEvents = [], this._eventsByDay = /* @__PURE__ */ new Map(), this._allDayEventsByDay = /* @__PURE__ */ new Map(), this._schedulerBeforeEventActivate = new E(this, "schedulerBeforeEventActivate"), this._schedulerEventActivate = new E(this, "schedulerEventActivate"), this._schedulerBeforeSelectRange = new E(this, "schedulerBeforeSelectRange"), this._schedulerSelectRange = new E(this, "schedulerSelectRange"), this._schedulerRangeChange = new E(this, "schedulerRangeChange"), this._mutationObserver = null, this._nowIndicatorIntervalId = null, this._showTools = JG.DEFAULTS.showTools, this._weekdayFormat = JG.DEFAULTS.weekdayFormat, this._dayFormat = JG.DEFAULTS.dayFormat, this._timeFormat = JG.DEFAULTS.timeFormat, this._monthDayFormat = JG.DEFAULTS.monthDayFormat;
122063
122067
  }
122064
122068
  static get is() {
122065
122069
  return "mosaik-scheduler";
@@ -122187,6 +122191,18 @@ var _q = function(e, t, n, r) {
122187
122191
  set monthDayFormat(e) {
122188
122192
  this._monthDayFormat !== e && (this._monthDayFormat = e, this.requestUpdate("monthDayFormat"));
122189
122193
  }
122194
+ get intl() {
122195
+ return this._intl.intl;
122196
+ }
122197
+ set intl(e) {
122198
+ this._intl.provide(e);
122199
+ }
122200
+ get showTools() {
122201
+ return this._showTools;
122202
+ }
122203
+ set showTools(e) {
122204
+ this._showTools !== e && (this._showTools = e, this.requestUpdate("showTools"));
122205
+ }
122190
122206
  get visibleDates() {
122191
122207
  return this._visibleDates;
122192
122208
  }
@@ -122199,12 +122215,6 @@ var _q = function(e, t, n, r) {
122199
122215
  get timeSlots() {
122200
122216
  return mI(this._hourStart, this._hourEnd, this._stepMinutes, this.locale, (e, t) => WG.format(e, this.timeFormat, t));
122201
122217
  }
122202
- get intl() {
122203
- return this._intl.intl;
122204
- }
122205
- set intl(e) {
122206
- this._intl.provide(e);
122207
- }
122208
122218
  get schedulerBeforeEventActivate() {
122209
122219
  return this._schedulerBeforeEventActivate;
122210
122220
  }
@@ -122587,6 +122597,10 @@ _q([
122587
122597
  vq("design:type", qG),
122588
122598
  vq("design:paramtypes", [qG])
122589
122599
  ], yq.prototype, "intl", null), _q([
122600
+ P({ type: Boolean }),
122601
+ vq("design:type", Boolean),
122602
+ vq("design:paramtypes", [Boolean])
122603
+ ], yq.prototype, "showTools", null), _q([
122590
122604
  k({ eventName: "schedulerBeforeEventActivate" }),
122591
122605
  vq("design:type", Object),
122592
122606
  vq("design:paramtypes", [])
@@ -134832,7 +134846,8 @@ var VX = Lx(Symbol.for("mosaik:flow-board:inheritance")), HX;
134832
134846
  e.DEFAULTS = {
134833
134847
  columnKey: "",
134834
134848
  reorderable: !1,
134835
- pinned: !1
134849
+ pinned: !1,
134850
+ appearance: lS.DEFAULTS.appearance
134836
134851
  };
134837
134852
  })(HX ||= {});
134838
134853
  //#endregion
@@ -135161,6 +135176,28 @@ function WX() {
135161
135176
  outline: 2px dashed;
135162
135177
  }
135163
135178
 
135179
+ :host([appearance="outline"]) {
135180
+ --flow-board-column-shadow: none;
135181
+ --flow-board-column-border-width: var(--joy-layout-thickness);
135182
+ --flow-board-column-background-color: var(--joy-scheme-highlight);
135183
+ }
135184
+
135185
+ :host([appearance="plain"]) {
135186
+ --flow-board-column-shadow: none;
135187
+ --flow-board-column-border-width: 0px;
135188
+ }
135189
+
135190
+ :host([appearance="soft"]) {
135191
+ --flow-board-column-shadow: none;
135192
+ --flow-board-column-border-width: 0px;
135193
+ --flow-board-column-background-color: var(--joy-scheme-highlight);
135194
+ }
135195
+
135196
+ :host([appearance="solid"]) {
135197
+ --flow-board-column-shadow: none;
135198
+ --flow-board-column-border-width: 0px;
135199
+ }
135200
+
135164
135201
  `;
135165
135202
  }
135166
135203
  //#endregion
@@ -135336,20 +135373,19 @@ var KX = function(e, t, n, r) {
135336
135373
  return i > 3 && a && Object.defineProperty(t, n, a), a;
135337
135374
  }, qX = function(e, t) {
135338
135375
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
135339
- }, JX, YX = JX = class extends F(Y(j)) {
135376
+ }, JX, YX = JX = class extends F(Y(J(j))) {
135340
135377
  _columnKey;
135341
135378
  _reorderable;
135342
135379
  _pinned;
135343
135380
  _hasItems;
135344
135381
  _flowBoardBeforeColumnPinChange;
135345
135382
  _flowBoardColumnPinChange;
135346
- _slotController;
135347
135383
  _inheritance;
135348
135384
  _provider;
135349
135385
  _dragCtrl;
135350
135386
  _itemDropList;
135351
135387
  constructor() {
135352
- super(), this._columnKey = HX.DEFAULTS.columnKey, this._reorderable = HX.DEFAULTS.reorderable, this._pinned = HX.DEFAULTS.pinned, this._hasItems = !1, this._flowBoardBeforeColumnPinChange = new E(this, "flowBoardBeforeColumnPinChange"), this._flowBoardColumnPinChange = new E(this, "flowBoardColumnPinChange"), this._slotController = YS(this, { callback: () => this.updateHasItems() }), this._inheritance = zx(this, { context: VX }), this._provider = XS(this, {
135388
+ super(), this._columnKey = HX.DEFAULTS.columnKey, this._reorderable = HX.DEFAULTS.reorderable, this._pinned = HX.DEFAULTS.pinned, this._hasItems = !1, this._flowBoardBeforeColumnPinChange = new E(this, "flowBoardBeforeColumnPinChange"), this._flowBoardColumnPinChange = new E(this, "flowBoardColumnPinChange"), this._inheritance = zx(this, { context: VX }), this._provider = XS(this, {
135353
135389
  context: wX,
135354
135390
  values: () => ({ columnKey: this._columnKey })
135355
135391
  }), this._dragCtrl = new vX(this, { disabled: !0 }), this._itemDropList = new yX(this, {
@@ -135865,7 +135901,6 @@ var nZ = function(e, t, n, r) {
135865
135901
  _flowBoardItemMove;
135866
135902
  _flowBoardDragStart;
135867
135903
  _provider;
135868
- _slotController;
135869
135904
  _inlineStyleController;
135870
135905
  _columnDropList;
135871
135906
  constructor() {
@@ -135876,7 +135911,7 @@ var nZ = function(e, t, n, r) {
135876
135911
  displayMode: this.displayMode,
135877
135912
  scrollMode: this.scrollMode
135878
135913
  })
135879
- }), this._slotController = YS(this), this._inlineStyleController = new eS(this), this._columnDropList = new yX(this, {
135914
+ }), this._inlineStyleController = new eS(this), this._columnDropList = new yX(this, {
135880
135915
  orientation: "horizontal",
135881
135916
  disabled: !this._dragdrop
135882
135917
  });
@@ -208701,7 +208736,7 @@ var FCe = function(e, t, n, r) {
208701
208736
  e.DEFAULTS = { textOverflow: WA.Truncate };
208702
208737
  })(Z8 ||= {});
208703
208738
  //#endregion
208704
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Table/abstracts/TableCellBaseElement.js
208739
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Table/Abstracts2/TableCellBaseElement.js
208705
208740
  var Q8 = function(e, t, n, r) {
208706
208741
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
208707
208742
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
@@ -209602,7 +209637,7 @@ n5([
209602
209637
  imports: [W]
209603
209638
  }), r5("design:paramtypes", [])], i5);
209604
209639
  //#endregion
209605
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Table/abstracts/TableRowBaseElement.js
209640
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Table/Abstracts2/TableRowBaseElement.js
209606
209641
  var a5 = class extends R(j) {
209607
209642
  _columnsChangedSubscription;
209608
209643
  _hasTableColumns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Mosaik elements for Svelte.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -11,8 +11,8 @@
11
11
  "url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
12
12
  },
13
13
  "dependencies": {
14
- "@breadstone/mosaik-elements": "0.1.6",
15
- "@breadstone/mosaik-elements-foundation": "0.1.6",
14
+ "@breadstone/mosaik-elements": "0.1.7",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.7",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {