@flux-ui/application 3.2.0-beta.6 → 3.2.0-beta.9

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 CHANGED
@@ -131,10 +131,14 @@ html[data-application-resizing] .application-menu-backdrop {
131
131
  padding-left: 21px;
132
132
  padding-right: 21px;
133
133
  }
134
- .application-content-full > .table .table-cell:first-child .table-cell-content {
134
+ .application-content-full > .table .table-cell:not(.table-bar):not(.table-group):not(.is-raw):first-child {
135
135
  padding-left: 21px;
136
136
  }
137
- .application-content-full > .table .table-cell:last-child .table-cell-content {
137
+ .application-content-full > .table .table-cell:not(.table-bar):not(.table-group):not(.is-raw):last-child {
138
+ padding-right: 21px;
139
+ }
140
+ .application-content-full > .table :is(.table-bar-content, .table-group-content) {
141
+ padding-left: 21px;
138
142
  padding-right: 21px;
139
143
  }
140
144
 
@@ -159,10 +163,14 @@ html[data-application-resizing] .application-menu-backdrop {
159
163
  padding-left: 12px;
160
164
  padding-right: 12px;
161
165
  }
162
- .application-content-full > .table .table-cell:first-child .table-cell-content {
166
+ .application-content-full > .table .table-cell:not(.table-bar):not(.table-group):not(.is-raw):first-child {
163
167
  padding-left: 12px;
164
168
  }
165
- .application-content-full > .table .table-cell:last-child .table-cell-content {
169
+ .application-content-full > .table .table-cell:not(.table-bar):not(.table-group):not(.is-raw):last-child {
170
+ padding-right: 12px;
171
+ }
172
+ .application-content-full > .table :is(.table-bar-content, .table-group-content) {
173
+ padding-left: 12px;
166
174
  padding-right: 12px;
167
175
  }
168
176
  }.application-hero {
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ function K(e, t, n) {
33
33
  `[contenteditable]:not([contenteditable=false])`,
34
34
  `[tabindex]:not([disabled]):not([tabindex="-1"])`
35
35
  ].join(`,`);
36
- function v(e) {
36
+ function y(e) {
37
37
  let r = unref(e);
38
38
  return R(r) ? r : r?.$el;
39
39
  }
@@ -70,7 +70,7 @@ new class {
70
70
  e.setEnabled(t), e.isEnabled = t;
71
71
  }
72
72
  }();
73
- var C = !globalThis.document;
73
+ var w = !globalThis.document;
74
74
  //#endregion
75
75
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/rgb/parseNumber.js
76
76
  var parseNumber = (color, len) => {
@@ -3660,15 +3660,15 @@ var HttpAdapter = _HttpAdapter = class HttpAdapter {
3660
3660
  HttpAdapter = _HttpAdapter = __decorate([adapter_default], HttpAdapter);
3661
3661
  RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
3662
3662
  //#endregion
3663
- //#region ../internals/dist/composable-6jMsSnBV.js
3663
+ //#region ../internals/dist/composable-Cr4VA1Rs.js
3664
3664
  function O(t, n, r, i = { passive: !0 }) {
3665
3665
  watch(t, (a, o, s) => {
3666
- let c = v(t) ?? (a instanceof EventTarget ? a : null);
3666
+ let c = y(t) ?? (a instanceof EventTarget ? a : null);
3667
3667
  c && (c.addEventListener(n, r, i), s(() => c.removeEventListener(n, r, i)));
3668
3668
  }, { immediate: !0 });
3669
3669
  }
3670
3670
  function A(e, t) {
3671
- if (C) return ref(t);
3671
+ if (w) return ref(t);
3672
3672
  let n = `flux/${e}`, r = ref(i() ?? t);
3673
3673
  function i() {
3674
3674
  let e = localStorage.getItem(n);
@@ -3693,7 +3693,7 @@ function A(e, t) {
3693
3693
  }
3694
3694
  function j(e) {
3695
3695
  let t = ref(0), n = ref(0);
3696
- if (C) return {
3696
+ if (w) return {
3697
3697
  x: t,
3698
3698
  y: n
3699
3699
  };
@@ -3707,7 +3707,7 @@ function j(e) {
3707
3707
  };
3708
3708
  }
3709
3709
  //#endregion
3710
- //#region ../internals/dist/directive-wk7DX8wQ.js
3710
+ //#region ../internals/dist/directive-B9jeVN1O.js
3711
3711
  var i = class {
3712
3712
  #e;
3713
3713
  #t;
@@ -4024,7 +4024,11 @@ var ApplicationContent_module_default = {
4024
4024
  table: `table`,
4025
4025
  calendarActions: `calendar-actions`,
4026
4026
  tableCell: `table-cell`,
4027
- tableCellContent: `table-cell-content`
4027
+ tableBar: `table-bar`,
4028
+ tableGroup: `table-group`,
4029
+ isRaw: `is-raw`,
4030
+ tableBarContent: `table-bar-content`,
4031
+ tableGroupContent: `table-group-content`
4028
4032
  };
4029
4033
  //#endregion
4030
4034
  //#region src/component/FluxApplicationContent.vue
@@ -4279,7 +4283,7 @@ var FluxApplicationMenuContextStack_default = /* @__PURE__ */ defineComponent({
4279
4283
  }
4280
4284
  },
4281
4285
  setup(props) {
4282
- provide(viewDepthKey, ref(props.depth));
4286
+ provide(viewDepthKey, computed(() => props.depth));
4283
4287
  return () => h(RouterView, { name: props.viewName });
4284
4288
  }
4285
4289
  });
@@ -4370,6 +4374,8 @@ var FluxApplicationMenuToggle_default = /* @__PURE__ */ defineComponent({
4370
4374
  return (_ctx, _cache) => {
4371
4375
  return openBlock(), createBlock(unref(FluxMenuItem), {
4372
4376
  class: normalizeClass(unref(ApplicationMenu_module_default).applicationMenuToggle),
4377
+ "aria-label": "Toggle menu",
4378
+ "aria-expanded": !unref(isMenuCollapsed),
4373
4379
  onClick: _cache[0] || (_cache[0] = ($event) => isMenuCollapsed.value = !unref(isMenuCollapsed))
4374
4380
  }, {
4375
4381
  before: withCtx(() => [(openBlock(), createElementBlock("svg", {
@@ -4383,7 +4389,7 @@ var FluxApplicationMenuToggle_default = /* @__PURE__ */ defineComponent({
4383
4389
  "clip-rule": "evenodd"
4384
4390
  }, null, -1), createElementVNode("path", { d: "M16 15V3a1 1 0 0 0-1-1h-5a1 1 0 0 1 0-2h5c1.63.04 3 1.33 3 3v12a3.07 3.07 0 0 1-3 3h-5a1 1 0 1 1 0-2h5a1 1 0 0 0 1-1" }, null, -1)])], 2))]),
4385
4391
  _: 1
4386
- }, 8, ["class"]);
4392
+ }, 8, ["class", "aria-expanded"]);
4387
4393
  };
4388
4394
  }
4389
4395
  });