@octans/ui 1.4.0 → 1.5.0

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/ui.js CHANGED
@@ -4950,7 +4950,11 @@ var cs = {
4950
4950
  width: i,
4951
4951
  height: i,
4952
4952
  ...o,
4953
- class: [t.icon, a]
4953
+ class: [
4954
+ t.icon,
4955
+ !e.size && t.themeSized,
4956
+ a
4957
+ ]
4954
4958
  });
4955
4959
  };
4956
4960
  return () => {
@@ -4971,12 +4975,13 @@ var cs = {
4971
4975
  };
4972
4976
  }
4973
4977
  }), fs = {
4974
- icon: "_icon_a8pc0_1",
4975
- wrapper: "_wrapper_a8pc0_5",
4976
- overlay: "_overlay_a8pc0_10",
4977
- faded: "_faded_a8pc0_16",
4978
- contained: "_contained_a8pc0_20",
4979
- badge: "_badge_a8pc0_33"
4978
+ icon: "_icon_1wljv_2",
4979
+ themeSized: "_themeSized_1wljv_15",
4980
+ wrapper: "_wrapper_1wljv_20",
4981
+ overlay: "_overlay_1wljv_25",
4982
+ faded: "_faded_1wljv_31",
4983
+ contained: "_contained_1wljv_35",
4984
+ badge: "_badge_1wljv_48"
4980
4985
  }, J = (e, t) => {
4981
4986
  let n = e.__vccOpts || e;
4982
4987
  for (let [e, r] of t) n[e] = r;
@@ -9636,18 +9641,19 @@ var bm = ["aria-label", "data-ui-tooltip"], xm = /*#__PURE__*/ J(/* @__PURE__ */
9636
9641
  this.$emit("close");
9637
9642
  } }
9638
9643
  }), Tm = {
9639
- Banner: "_Banner_1615y_2",
9640
- Icon: "_Icon_1615y_9",
9641
- content: "_content_1615y_14",
9642
- title: "_title_1615y_23",
9643
- close: "_close_1615y_28",
9644
- "status-default": "_status-default_1615y_48",
9645
- "status-info": "_status-info_1615y_54",
9646
- "status-success": "_status-success_1615y_60",
9647
- "status-warning": "_status-warning_1615y_66",
9648
- "status-attention": "_status-attention_1615y_67",
9649
- "status-error": "_status-error_1615y_73",
9650
- "status-new": "_status-new_1615y_79"
9644
+ Banner: "_Banner_r0ruf_2",
9645
+ Icon: "_Icon_r0ruf_9",
9646
+ content: "_content_r0ruf_14",
9647
+ info: "_info_r0ruf_33",
9648
+ title: "_title_r0ruf_37",
9649
+ close: "_close_r0ruf_42",
9650
+ "status-default": "_status-default_r0ruf_62",
9651
+ "status-info": "_status-info_r0ruf_68",
9652
+ "status-success": "_status-success_r0ruf_74",
9653
+ "status-warning": "_status-warning_r0ruf_80",
9654
+ "status-attention": "_status-attention_r0ruf_81",
9655
+ "status-error": "_status-error_r0ruf_87",
9656
+ "status-new": "_status-new_r0ruf_93"
9651
9657
  };
9652
9658
  //#endregion
9653
9659
  //#region src/components/Banner/Banner.vue
@@ -10396,13 +10402,13 @@ var Um = /*#__PURE__*/ J(y({
10396
10402
  subdued: { type: Boolean }
10397
10403
  }
10398
10404
  }), [["__cssModules", { $style: {
10399
- Card: "_Card_pe7r3_1",
10400
- header: "_header_pe7r3_7",
10401
- actions: "_actions_pe7r3_13",
10402
- action: "_action_pe7r3_13",
10403
- title: "_title_pe7r3_21",
10404
- title__custom: "_title__custom_pe7r3_28",
10405
- subdued: "_subdued_pe7r3_34"
10405
+ Card: "_Card_25mga_2",
10406
+ header: "_header_25mga_24",
10407
+ actions: "_actions_25mga_30",
10408
+ action: "_action_25mga_30",
10409
+ title: "_title_25mga_38",
10410
+ title__custom: "_title__custom_25mga_45",
10411
+ subdued: "_subdued_25mga_51"
10406
10412
  } }]]), Wm = /*#__PURE__*/ J(y({
10407
10413
  name: "CardSection",
10408
10414
  setup(e, { slots: t }) {
@@ -10415,7 +10421,8 @@ var Um = /*#__PURE__*/ J(y({
10415
10421
  n.CardSection,
10416
10422
  e.subdued && n.subdued,
10417
10423
  r && n.CardSection__header,
10418
- !e.padded && n.CardSection__noPadding
10424
+ e.flush && n.CardSection__flush,
10425
+ !e.padded && !e.flush && n.CardSection__noPadding
10419
10426
  ],
10420
10427
  "data-card-section": !0
10421
10428
  }, [r, t.default && t.default()]);
@@ -10429,18 +10436,20 @@ var Um = /*#__PURE__*/ J(y({
10429
10436
  padded: {
10430
10437
  type: Boolean,
10431
10438
  default: !0
10432
- }
10439
+ },
10440
+ flush: { type: Boolean }
10433
10441
  }
10434
10442
  }), [["__cssModules", { $style: {
10435
- CardSection: "_CardSection_7r0tf_1",
10436
- header: "_header_7r0tf_9",
10437
- actions: "_actions_7r0tf_15",
10438
- action: "_action_7r0tf_15",
10439
- title: "_title_7r0tf_23",
10440
- title__custom: "_title__custom_7r0tf_31",
10441
- subdued: "_subdued_7r0tf_37",
10442
- CardSection__noPadding: "_CardSection__noPadding_7r0tf_41",
10443
- CardSection__header: "_CardSection__header_7r0tf_51"
10443
+ CardSection: "_CardSection_1wq3s_12",
10444
+ header: "_header_1wq3s_22",
10445
+ actions: "_actions_1wq3s_28",
10446
+ action: "_action_1wq3s_28",
10447
+ title: "_title_1wq3s_36",
10448
+ title__custom: "_title__custom_1wq3s_44",
10449
+ subdued: "_subdued_1wq3s_50",
10450
+ CardSection__noPadding: "_CardSection__noPadding_1wq3s_54",
10451
+ CardSection__header: "_CardSection__header_1wq3s_64",
10452
+ CardSection__flush: "_CardSection__flush_1wq3s_68"
10444
10453
  } }]]), Gm = /*#__PURE__*/ J(y({
10445
10454
  name: "Choice",
10446
10455
  setup(e, t) {
@@ -13300,39 +13309,38 @@ var Rg = /*#__PURE__*/ J(Fg, [["render", Lg], ["__cssModules", { $style: Ig }]])
13300
13309
  return (e, t) => (L(), d(ae(N())));
13301
13310
  }
13302
13311
  }), [["__cssModules", { $style: {
13303
- DataTable: "_DataTable_dvx0u_1",
13304
- hasClickableRows: "_hasClickableRows_dvx0u_24",
13305
- isCompact: "_isCompact_dvx0u_28",
13306
- RowCell: "_RowCell_dvx0u_28",
13307
- Table: "_Table_dvx0u_32",
13308
- Row: "_Row_dvx0u_28",
13309
- Cell: "_Cell_dvx0u_52",
13310
- Row_isSelected: "_Row_isSelected_dvx0u_60",
13311
- Cell_sortable: "_Cell_sortable_dvx0u_67",
13312
- SortIcon: "_SortIcon_dvx0u_74",
13313
- Cell_isSorted: "_Cell_isSorted_dvx0u_78",
13314
- Cell_wrap: "_Cell_wrap_dvx0u_82",
13315
- CellWrapContent: "_CellWrapContent_dvx0u_88",
13316
- Cell_fixed: "_Cell_fixed_dvx0u_115",
13317
- hasBulkActions: "_hasBulkActions_dvx0u_124",
13318
- Cell_bulkActions: "_Cell_bulkActions_dvx0u_128 _Cell_fixed_dvx0u_115",
13319
- hasScrollLeft: "_hasScrollLeft_dvx0u_141",
13320
- ScrollContainerOuter: "_ScrollContainerOuter_dvx0u_141",
13321
- Cell_fixedLast: "_Cell_fixedLast_dvx0u_141",
13322
- NoFixedLeft: "_NoFixedLeft_dvx0u_145",
13323
- Cell_numeric: "_Cell_numeric_dvx0u_156",
13324
- Cell_total: "_Cell_total_dvx0u_160",
13325
- Cell_actions: "_Cell_actions_dvx0u_164",
13326
- hasScrollRight: "_hasScrollRight_dvx0u_176",
13327
- NoFixedRight: "_NoFixedRight_dvx0u_180",
13328
- ActionButton: "_ActionButton_dvx0u_191",
13329
- ScrollContainerInner: "_ScrollContainerInner_dvx0u_195",
13330
- sDisableBounce: "_sDisableBounce_dvx0u_199",
13331
- RowCheckbox: "_RowCheckbox_dvx0u_207",
13332
- hasSelection: "_hasSelection_dvx0u_212",
13333
- HeaderContent: "_HeaderContent_dvx0u_212",
13334
- Loader: "_Loader_dvx0u_228",
13335
- EmptyText: "_EmptyText_dvx0u_242"
13312
+ DataTable: "_DataTable_1fukg_1",
13313
+ hasClickableRows: "_hasClickableRows_1fukg_18",
13314
+ isCompact: "_isCompact_1fukg_22",
13315
+ RowCell: "_RowCell_1fukg_22",
13316
+ Table: "_Table_1fukg_26",
13317
+ Cell: "_Cell_1fukg_39",
13318
+ Row_isSelected: "_Row_isSelected_1fukg_47",
13319
+ Cell_sortable: "_Cell_sortable_1fukg_54",
13320
+ SortIcon: "_SortIcon_1fukg_61",
13321
+ Cell_isSorted: "_Cell_isSorted_1fukg_65",
13322
+ Cell_wrap: "_Cell_wrap_1fukg_69",
13323
+ CellWrapContent: "_CellWrapContent_1fukg_75",
13324
+ Cell_fixed: "_Cell_fixed_1fukg_102",
13325
+ hasBulkActions: "_hasBulkActions_1fukg_111",
13326
+ Cell_bulkActions: "_Cell_bulkActions_1fukg_115 _Cell_fixed_1fukg_102",
13327
+ hasScrollLeft: "_hasScrollLeft_1fukg_128",
13328
+ ScrollContainerOuter: "_ScrollContainerOuter_1fukg_128",
13329
+ Cell_fixedLast: "_Cell_fixedLast_1fukg_128",
13330
+ NoFixedLeft: "_NoFixedLeft_1fukg_132",
13331
+ Cell_numeric: "_Cell_numeric_1fukg_143",
13332
+ Cell_total: "_Cell_total_1fukg_147",
13333
+ Cell_actions: "_Cell_actions_1fukg_151",
13334
+ hasScrollRight: "_hasScrollRight_1fukg_163",
13335
+ NoFixedRight: "_NoFixedRight_1fukg_167",
13336
+ ActionButton: "_ActionButton_1fukg_178",
13337
+ ScrollContainerInner: "_ScrollContainerInner_1fukg_182",
13338
+ sDisableBounce: "_sDisableBounce_1fukg_186",
13339
+ RowCheckbox: "_RowCheckbox_1fukg_194",
13340
+ hasSelection: "_hasSelection_1fukg_199",
13341
+ HeaderContent: "_HeaderContent_1fukg_199",
13342
+ Loader: "_Loader_1fukg_215",
13343
+ EmptyText: "_EmptyText_1fukg_229"
13336
13344
  } }]]), Jg = ["onClick"], Yg = [
13337
13345
  "value",
13338
13346
  "placeholder",
@@ -14056,15 +14064,16 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14056
14064
  default: !1
14057
14065
  },
14058
14066
  edge: { default: "right" },
14059
- size: { default: 700 },
14067
+ size: {},
14060
14068
  peek: { default: 100 },
14061
14069
  padded: { type: Boolean },
14062
- animateInDuration: { default: 700 },
14063
- animateOutDuration: { default: 700 },
14070
+ animateInDuration: {},
14071
+ animateOutDuration: {},
14064
14072
  minIndex: { default: 1e3 },
14065
14073
  color: {},
14066
14074
  containerClass: {},
14067
14075
  contentClass: {},
14076
+ footerClass: {},
14068
14077
  loading: {
14069
14078
  type: Boolean,
14070
14079
  default: !1
@@ -14081,48 +14090,73 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14081
14090
  "close"
14082
14091
  ],
14083
14092
  setup(e, { emit: t }) {
14084
- let i = j_(), o = e, s = t, c = W(), u = l(() => o.edge === "left" || o.edge === "right"), h = l(() => o.edge === "right" || o.edge === "bottom" ? 1 : -1), v = R(0), y = R(!1), b = R(!0), x = R(window.innerWidth), S = R(window.innerHeight), C = l(() => u.value ? x.value : S.value), w = R(0), T = new A_({
14085
- index: v,
14093
+ let i = j_(), o = e, s = t, c = W(), u = {
14094
+ size: 700,
14095
+ inDuration: 700,
14096
+ outDuration: 700
14097
+ };
14098
+ function h(e) {
14099
+ return typeof window > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(e).trim();
14100
+ }
14101
+ function v(e, t) {
14102
+ let n = parseFloat(h(e));
14103
+ return Number.isFinite(n) ? n : t;
14104
+ }
14105
+ function y(e, t) {
14106
+ let n = h(e), r = parseFloat(n);
14107
+ return Number.isFinite(r) ? /s\s*$/.test(n) && !/ms\s*$/.test(n) ? r * 1e3 : r : t;
14108
+ }
14109
+ let b = R({ ...u });
14110
+ function x() {
14111
+ b.value = {
14112
+ size: v("--octans-sheet-size", u.size),
14113
+ inDuration: y("--octans-sheet-in-duration", u.inDuration),
14114
+ outDuration: y("--octans-sheet-out-duration", u.outDuration)
14115
+ };
14116
+ }
14117
+ x();
14118
+ let S = l(() => o.size ?? b.value.size), C = l(() => o.animateInDuration ?? b.value.inDuration), w = l(() => o.animateOutDuration ?? b.value.outDuration), T = l(() => o.edge === "left" || o.edge === "right"), E = l(() => o.edge === "right" || o.edge === "bottom" ? 1 : -1), D = R(0), O = R(!1), k = R(!0), A = R(window.innerWidth), M = R(window.innerHeight), F = l(() => T.value ? A.value : M.value), ee = R(0), I = new A_({
14119
+ index: D,
14086
14120
  peek: o.peek,
14087
- isActive: y,
14088
- offset: w
14089
- }), E = l(() => h.value > 0 ? Math.max(0, C.value - A.value) : 0), D = l(() => h.value > 0 ? C.value : -A.value);
14090
- function O(e) {
14091
- return u.value ? `translate(${e}px, 0)` : `translate(0, ${e}px)`;
14092
- }
14093
- let k = l(() => {
14094
- let e = u.value ? { width: A.value + "px" } : { height: A.value + "px" };
14095
- if (!y.value && w.value) {
14096
- let t = E.value - h.value * w.value, n = Math.max(0, C.value - A.value);
14097
- e.transform = O(Math.min(Math.max(t, 0), n));
14098
- } else y.value && (e.transform = O(E.value));
14121
+ isActive: O,
14122
+ offset: ee
14123
+ }), te = l(() => E.value > 0 ? Math.max(0, F.value - V.value) : 0), ne = l(() => E.value > 0 ? F.value : -V.value);
14124
+ function re(e) {
14125
+ return T.value ? `translate(${e}px, 0)` : `translate(0, ${e}px)`;
14126
+ }
14127
+ let ie = l(() => {
14128
+ let e = T.value ? { width: V.value + "px" } : { height: V.value + "px" };
14129
+ if (!O.value && ee.value) {
14130
+ let t = te.value - E.value * ee.value, n = Math.max(0, F.value - V.value);
14131
+ e.transform = re(Math.min(Math.max(t, 0), n));
14132
+ } else O.value && (e.transform = re(te.value));
14099
14133
  return e;
14100
- }), A = l(() => y.value ? Math.min(o.size, C.value) : o.size), M = l(() => {
14134
+ }), V = l(() => O.value ? Math.min(S.value, F.value) : S.value), ae = l(() => {
14101
14135
  let e = [];
14102
14136
  return o.secondaryActions && e.push(...o.secondaryActions), o.primaryAction && e.push({
14103
14137
  type: "primary",
14104
14138
  ...o.primaryAction
14105
14139
  }), e;
14106
14140
  });
14107
- function F(e) {
14108
- v.value = Math.max(o.minIndex, i.getNextZIndex()), b.value = !0, i.add(T), e instanceof HTMLElement && (e.style.transitionDuration = `${o.animateInDuration}ms`, e.style.transform = O(D.value)), s("before-open");
14141
+ function oe(e) {
14142
+ x(), D.value = Math.max(o.minIndex, i.getNextZIndex()), k.value = !0, i.add(I), e instanceof HTMLElement && (e.style.transitionDuration = `${C.value}ms`, e.style.transform = re(ne.value)), s("before-open");
14109
14143
  }
14110
- function ee(e, t) {
14111
- e instanceof HTMLElement && (e.style.transform = O(E.value)), y.value = !0, setTimeout(t, o.animateInDuration);
14144
+ function se(e, t) {
14145
+ e instanceof HTMLElement && (e.style.transform = re(te.value)), O.value = !0, setTimeout(t, C.value);
14112
14146
  }
14113
- function I() {
14114
- b.value = !1, s("after-open");
14147
+ function ce() {
14148
+ k.value = !1, s("after-open");
14115
14149
  }
14116
- function te(e) {
14117
- e instanceof HTMLElement && (e.style.transitionDuration = `${o.animateOutDuration}ms`, e.style.transform = O(D.value)), i.beforeRemove(T), s("before-close");
14150
+ function le(e) {
14151
+ e instanceof HTMLElement && (e.style.transitionDuration = `${w.value}ms`, e.style.transform = re(ne.value)), i.beforeRemove(I), s("before-close");
14118
14152
  }
14119
- function ne(e, t) {
14120
- setTimeout(t, o.animateOutDuration);
14153
+ function ue(e, t) {
14154
+ setTimeout(t, w.value);
14121
14155
  }
14122
- function re() {
14123
- i.remove(T), b.value = !0, s("after-close");
14156
+ function de() {
14157
+ i.remove(I), k.value = !0, s("after-close");
14124
14158
  }
14125
- function ie() {
14159
+ function fe() {
14126
14160
  o.loading || (s("update", !1), s("close"));
14127
14161
  }
14128
14162
  if (!document.getElementById("sheetManager")) {
@@ -14130,22 +14164,22 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14130
14164
  e.id = "sheetManager", document.body.appendChild(e);
14131
14165
  }
14132
14166
  i.setOverflowClass(c.preventScroll);
14133
- let V = pm(() => {
14134
- x.value = window.innerWidth, S.value = window.innerHeight;
14167
+ let pe = pm(() => {
14168
+ A.value = window.innerWidth, M.value = window.innerHeight;
14135
14169
  }, 250, { leading: !0 });
14136
- return window.addEventListener("resize", V), P(() => {
14137
- V && window.removeEventListener("resize", V), i.remove(T);
14170
+ return window.addEventListener("resize", pe), P(() => {
14171
+ pe && window.removeEventListener("resize", pe), i.remove(I);
14138
14172
  }), (t, i) => (L(), d(r, { to: "#sheetManager" }, [m("div", {
14139
14173
  class: j([
14140
14174
  "UIElement",
14141
14175
  t.$style.sheet,
14142
- v.value === 0 && t.$style.foreground,
14143
- v.value > 0 && t.$style.background
14176
+ D.value === 0 && t.$style.foreground,
14177
+ D.value > 0 && t.$style.background
14144
14178
  ]),
14145
14179
  style: N({
14146
- zIndex: v.value,
14147
- "--sheet-in-duration": `${e.animateInDuration}ms`,
14148
- "--sheet-out-duration": `${e.animateOutDuration}ms`
14180
+ zIndex: D.value,
14181
+ "--sheet-in-duration": `${C.value}ms`,
14182
+ "--sheet-out-duration": `${w.value}ms`
14149
14183
  })
14150
14184
  }, [
14151
14185
  B(t.$slots, "external"),
@@ -14159,7 +14193,7 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14159
14193
  default: K(() => [e.visible ? (L(), p("div", {
14160
14194
  key: 0,
14161
14195
  class: j(t.$style.backdrop),
14162
- onClick: ie
14196
+ onClick: fe
14163
14197
  }, null, 2)) : f("", !0)]),
14164
14198
  _: 1
14165
14199
  }, 8, [
@@ -14170,12 +14204,12 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14170
14204
  ]),
14171
14205
  _(a, {
14172
14206
  name: "Sheet-container",
14173
- onBeforeEnter: F,
14174
- onEnter: ee,
14175
- onAfterEnter: I,
14176
- onBeforeLeave: te,
14177
- onLeave: ne,
14178
- onAfterLeave: re
14207
+ onBeforeEnter: oe,
14208
+ onEnter: se,
14209
+ onAfterEnter: ce,
14210
+ onBeforeLeave: le,
14211
+ onLeave: ue,
14212
+ onAfterLeave: de
14179
14213
  }, {
14180
14214
  default: K(() => [e.visible ? (L(), p("div", {
14181
14215
  key: 0,
@@ -14184,7 +14218,7 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14184
14218
  t.$style[`container__${e.edge}`],
14185
14219
  e.containerClass
14186
14220
  ]),
14187
- style: N(k.value)
14221
+ style: N(ie.value)
14188
14222
  }, [
14189
14223
  e.loading ? (L(), p("div", {
14190
14224
  key: 0,
@@ -14199,14 +14233,14 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14199
14233
  }, [
14200
14234
  m("div", {
14201
14235
  class: j(t.$style.close),
14202
- onClick: ie
14236
+ onClick: fe
14203
14237
  }, [_(U(Y), { icon: "mdi:close" })], 2),
14204
14238
  m("div", { class: j(t.$style.title) }, H(e.title), 3),
14205
- m("div", { class: j(t.$style.actions) }, [B(t.$slots, "actions"), M.value.length ? (L(), d(U(Bf), {
14239
+ m("div", { class: j(t.$style.actions) }, [B(t.$slots, "actions"), ae.value.length ? (L(), d(U(Bf), {
14206
14240
  key: 0,
14207
14241
  style: N([t.$slots.actions && "margin-left: 8px"])
14208
14242
  }, {
14209
- default: K(() => [(L(!0), p(n, null, z(M.value, (e, t) => (L(), d(U(Z), {
14243
+ default: K(() => [(L(!0), p(n, null, z(ae.value, (e, t) => (L(), d(U(Z), {
14210
14244
  key: t,
14211
14245
  type: e.type,
14212
14246
  disabled: e.disabled,
@@ -14232,46 +14266,47 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14232
14266
  ], 6),
14233
14267
  _(U(hm), {
14234
14268
  class: j(t.$style.contentWrapper),
14235
- disabled: b.value,
14236
- padding: e.padded ? "30px" : "0",
14269
+ disabled: k.value,
14270
+ padding: e.padded ? "var(--octans-sheet-padding, 30px)" : "0",
14237
14271
  contain: ""
14238
14272
  }, {
14239
- default: K(() => [m("div", { class: j([
14240
- t.$style.content,
14241
- e.padded && t.$style.contentPadded,
14242
- e.contentClass
14243
- ]) }, [B(t.$slots, "default")], 2)]),
14273
+ default: K(() => [m("div", { class: j([t.$style.content, e.contentClass]) }, [B(t.$slots, "default")], 2)]),
14244
14274
  _: 3
14245
14275
  }, 8, [
14246
14276
  "class",
14247
14277
  "disabled",
14248
14278
  "padding"
14249
- ])
14279
+ ]),
14280
+ t.$slots.footer ? (L(), p("div", {
14281
+ key: 1,
14282
+ class: j(t.$style.footer)
14283
+ }, [m("div", { class: j([t.$style.footerContent, e.footerClass]) }, [B(t.$slots, "footer")], 2)], 2)) : f("", !0)
14250
14284
  ], 6)) : f("", !0)]),
14251
14285
  _: 3
14252
14286
  })
14253
14287
  ], 6)]));
14254
14288
  }
14255
14289
  }), [["__cssModules", { $style: {
14256
- preventScroll: "_preventScroll_75lsk_1",
14257
- sheet: "_sheet_75lsk_5",
14258
- backdrop: "_backdrop_75lsk_10",
14259
- container: "_container_75lsk_21",
14260
- container__right: "_container__right_75lsk_34",
14261
- container__left: "_container__left_75lsk_35",
14262
- container__top: "_container__top_75lsk_39",
14263
- container__bottom: "_container__bottom_75lsk_40",
14264
- loader: "_loader_75lsk_44",
14265
- header: "_header_75lsk_57",
14266
- close: "_close_75lsk_68",
14267
- title: "_title_75lsk_78",
14268
- actions: "_actions_75lsk_83",
14269
- contentWrapper: "_contentWrapper_75lsk_88",
14270
- contentPadded: "_contentPadded_75lsk_93",
14271
- backdropEnterActive: "_backdropEnterActive_75lsk_98",
14272
- backdropLeaveActive: "_backdropLeaveActive_75lsk_102",
14273
- backdropEnter: "_backdropEnter_75lsk_98",
14274
- backdropLeaveTo: "_backdropLeaveTo_75lsk_107"
14290
+ preventScroll: "_preventScroll_lbhfg_2",
14291
+ sheet: "_sheet_lbhfg_6",
14292
+ backdrop: "_backdrop_lbhfg_11",
14293
+ container: "_container_lbhfg_22",
14294
+ container__right: "_container__right_lbhfg_35",
14295
+ container__left: "_container__left_lbhfg_36",
14296
+ container__top: "_container__top_lbhfg_40",
14297
+ container__bottom: "_container__bottom_lbhfg_41",
14298
+ loader: "_loader_lbhfg_45",
14299
+ header: "_header_lbhfg_58",
14300
+ close: "_close_lbhfg_69",
14301
+ title: "_title_lbhfg_79",
14302
+ actions: "_actions_lbhfg_84",
14303
+ contentWrapper: "_contentWrapper_lbhfg_89",
14304
+ footer: "_footer_lbhfg_94",
14305
+ footerContent: "_footerContent_lbhfg_111",
14306
+ backdropEnterActive: "_backdropEnterActive_lbhfg_118",
14307
+ backdropLeaveActive: "_backdropLeaveActive_lbhfg_122",
14308
+ backdropEnter: "_backdropEnter_lbhfg_118",
14309
+ backdropLeaveTo: "_backdropLeaveTo_lbhfg_127"
14275
14310
  } }]]), N_ = ["data-ui-tooltip", "data-ui-tooltip-position"], P_ = ["disabled"], F_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
14276
14311
  __name: "Tag",
14277
14312
  props: {
@@ -16943,28 +16978,28 @@ var Wv = /*#__PURE__*/ J(Bv, [["render", Uv], ["__cssModules", { $style: Vv }]])
16943
16978
  ], 2)], 2));
16944
16979
  }
16945
16980
  }), [["__cssModules", { $style: {
16946
- Page: "_Page_10byo_2",
16947
- Page__narrow: "_Page__narrow_10byo_10",
16948
- Page__wide: "_Page__wide_10byo_14",
16949
- Page__fullWidth: "_Page__fullWidth_10byo_18",
16950
- Page_container: "_Page_container_10byo_22",
16951
- Page_loader: "_Page_loader_10byo_26",
16952
- Page_header: "_Page_header_10byo_43",
16953
- Page_headerMain: "_Page_headerMain_10byo_49",
16954
- Page_breadcrumbs: "_Page_breadcrumbs_10byo_53",
16955
- Page_titleWrapper: "_Page_titleWrapper_10byo_57",
16956
- Page_title: "_Page_title_10byo_57",
16957
- Page_subtitle: "_Page_subtitle_10byo_68",
16958
- Page_helpIcon: "_Page_helpIcon_10byo_73",
16959
- Page_badge: "_Page_badge_10byo_84",
16960
- PageActions: "_PageActions_10byo_88",
16961
- PageAction: "_PageAction_10byo_88",
16962
- PageAction_button: "_PageAction_button_10byo_96",
16963
- Breadcrumb: "_Breadcrumb_10byo_103",
16964
- Breadcrumb_button: "_Breadcrumb_button_10byo_108",
16965
- PageActions_collapsed: "_PageActions_collapsed_10byo_116",
16966
- Page_content: "_Page_content_10byo_120",
16967
- Page_headerPrimaryActionWrapper: "_Page_headerPrimaryActionWrapper_10byo_125"
16981
+ Page: "_Page_1m4q3_2",
16982
+ Page__narrow: "_Page__narrow_1m4q3_10",
16983
+ Page__wide: "_Page__wide_1m4q3_14",
16984
+ Page__fullWidth: "_Page__fullWidth_1m4q3_18",
16985
+ Page_container: "_Page_container_1m4q3_22",
16986
+ Page_loader: "_Page_loader_1m4q3_26",
16987
+ Page_header: "_Page_header_1m4q3_43",
16988
+ Page_headerMain: "_Page_headerMain_1m4q3_49",
16989
+ Page_breadcrumbs: "_Page_breadcrumbs_1m4q3_53",
16990
+ Page_titleWrapper: "_Page_titleWrapper_1m4q3_57",
16991
+ Page_title: "_Page_title_1m4q3_57",
16992
+ Page_subtitle: "_Page_subtitle_1m4q3_68",
16993
+ Page_helpIcon: "_Page_helpIcon_1m4q3_73",
16994
+ Page_badge: "_Page_badge_1m4q3_84",
16995
+ PageActions: "_PageActions_1m4q3_88",
16996
+ PageAction: "_PageAction_1m4q3_88",
16997
+ PageAction_button: "_PageAction_button_1m4q3_96",
16998
+ Breadcrumb: "_Breadcrumb_1m4q3_103",
16999
+ Breadcrumb_button: "_Breadcrumb_button_1m4q3_108",
17000
+ PageActions_collapsed: "_PageActions_collapsed_1m4q3_116",
17001
+ Page_content: "_Page_content_1m4q3_120",
17002
+ Page_headerPrimaryActionWrapper: "_Page_headerPrimaryActionWrapper_1m4q3_133"
16968
17003
  } }]]), ay = /*#__PURE__*/ J(/* @__PURE__ */ y({
16969
17004
  __name: "PageActions",
16970
17005
  props: {
@@ -19483,11 +19518,11 @@ var _b = [
19483
19518
  }, 1032, ["class", "style"]))), 128))], 2));
19484
19519
  }
19485
19520
  }), [["__cssModules", { $style: {
19486
- ResourceList_header: "_ResourceList_header_vme8d_1",
19487
- ResourceList_headerCell: "_ResourceList_headerCell_vme8d_6",
19488
- ResourceList_row: "_ResourceList_row_vme8d_10",
19489
- ResourceList_cell: "_ResourceList_cell_vme8d_14",
19490
- ResourceList_cell__numeric: "_ResourceList_cell__numeric_vme8d_18"
19521
+ ResourceList_header: "_ResourceList_header_1e833_1",
19522
+ ResourceList_headerCell: "_ResourceList_headerCell_1e833_6",
19523
+ ResourceList_row: "_ResourceList_row_1e833_10",
19524
+ ResourceList_cell: "_ResourceList_cell_1e833_14",
19525
+ ResourceList_cell__numeric: "_ResourceList_cell__numeric_1e833_18"
19491
19526
  } }]]), Pb = /* @__PURE__ */ Ne({
19492
19527
  ActionList: () => vs,
19493
19528
  AppFrame: () => xm,
@@ -20078,6 +20113,7 @@ var Kx = [
20078
20113
  tokens: [
20079
20114
  $("border", "Default dividers and outlines"),
20080
20115
  $("border-strong", "Heavier dividers — decorative"),
20116
+ $("table-header-border", "Rule under a DataTable or ResourceList header. Defaults to the row-rule weight; set to border-strong for a heavier bar"),
20081
20117
  $("border-input", "Control outlines — deliberately soft; set to neutral-500 for strict WCAG 1.4.11"),
20082
20118
  $("border-error"),
20083
20119
  $("border-focus", "Focus outline colour")
@@ -20112,7 +20148,11 @@ var Kx = [
20112
20148
  ...Zx("info"),
20113
20149
  ...Zx("success"),
20114
20150
  ...Zx("warning"),
20115
- ...Zx("error", { states: !0 })
20151
+ ...Zx("error", { states: !0 }),
20152
+ $("tint-info", "What a status tint (Badge, Banner) mixes from. Follows the fill"),
20153
+ $("tint-success", "Follows the success fill"),
20154
+ $("tint-warning", "The true amber, NOT the warning fill — that is the deep 700 step, chosen to carry white text, and dilutes to beige"),
20155
+ $("tint-error", "Follows the error fill")
20116
20156
  ]
20117
20157
  },
20118
20158
  {
@@ -20272,6 +20312,57 @@ var Kx = [
20272
20312
  }
20273
20313
  ]
20274
20314
  },
20315
+ {
20316
+ title: "Sheet",
20317
+ tier: "semantic",
20318
+ description: "How big a Sheet is and how fast it moves. In the theme rather than the global stylesheet for the same reason as the Tabs indicator: how wide a product’s sheets are, and whether they glide or snap, is a decision worth carrying rather than repeating at every call site. The size and the two durations are read by Sheet from the computed style — it slides by a transform it computes itself, so the numbers have to reach it as numbers — and are re-read each time a sheet opens.",
20319
+ tokens: [
20320
+ {
20321
+ name: "sheet-size",
20322
+ kind: "length",
20323
+ description: "Default width of a left/right sheet, height of a top/bottom one"
20324
+ },
20325
+ {
20326
+ name: "sheet-padding",
20327
+ kind: "length",
20328
+ description: "Gutter that `<Sheet padded>` puts around its content"
20329
+ },
20330
+ {
20331
+ name: "sheet-in-duration",
20332
+ kind: "duration",
20333
+ description: "Default open animation; 0ms opens instantly"
20334
+ },
20335
+ {
20336
+ name: "sheet-out-duration",
20337
+ kind: "duration",
20338
+ description: "Default close animation; 0ms closes instantly"
20339
+ },
20340
+ {
20341
+ name: "sheet-footer-align",
20342
+ kind: "keyword",
20343
+ description: "How the footer slot lays its row out — any justify-content value"
20344
+ },
20345
+ {
20346
+ name: "sheet-footer-gap",
20347
+ kind: "length",
20348
+ description: "Space between items in a sheet footer"
20349
+ }
20350
+ ]
20351
+ },
20352
+ {
20353
+ title: "Icons",
20354
+ tier: "semantic",
20355
+ description: "Two knobs an app sets once instead of passing props at every call site. Both defaults are what the library has always drawn, so setting either is opt-in and cannot silently move existing icons.",
20356
+ tokens: [{
20357
+ name: "icon-size",
20358
+ kind: "length",
20359
+ description: "Size of an Icon with no `size` prop. 1em follows the surrounding font"
20360
+ }, {
20361
+ name: "icon-valign",
20362
+ kind: "length",
20363
+ description: "Vertical alignment of every Icon; -0.125em suits icons inline with text"
20364
+ }]
20365
+ },
20275
20366
  {
20276
20367
  title: "Typography",
20277
20368
  tier: "semantic",