@rebilly/revel 6.35.2 → 6.35.4
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/CHANGELOG.md +6 -1
- package/dist/components/r-grid/r-grid-cell.vue.d.ts +4 -4
- package/dist/revel.mjs +16 -16
- package/dist/revel.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [6.35.
|
|
1
|
+
## [6.35.4](https://github.com/Rebilly/rebilly/compare/revel-v6.35.3...revel-v6.35.4) (2024-10-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **revel:** Update Flex component docs ([#7957](https://github.com/Rebilly/rebilly/issues/7957)) ([ecf1cc3](https://github.com/Rebilly/rebilly/commit/ecf1cc3c5726f9dce7895d9bcf6737173af5f006))
|
|
@@ -3,7 +3,7 @@ interface Props {
|
|
|
3
3
|
/**
|
|
4
4
|
* Number of columns the cell will fill (1 to 12)
|
|
5
5
|
*/
|
|
6
|
-
span?: GridSize
|
|
6
|
+
span?: Nullable<GridSize>;
|
|
7
7
|
/**
|
|
8
8
|
* Justify items in the cell
|
|
9
9
|
*/
|
|
@@ -23,19 +23,19 @@ interface Props {
|
|
|
23
23
|
}
|
|
24
24
|
type Offset = `${GridSize}, ${GridSize}`;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
26
|
-
span:
|
|
26
|
+
span: null;
|
|
27
27
|
justifySelf: null;
|
|
28
28
|
alignSelf: null;
|
|
29
29
|
wrap: boolean;
|
|
30
30
|
offset: null;
|
|
31
31
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
32
|
-
span:
|
|
32
|
+
span: null;
|
|
33
33
|
justifySelf: null;
|
|
34
34
|
alignSelf: null;
|
|
35
35
|
wrap: boolean;
|
|
36
36
|
offset: null;
|
|
37
37
|
}>>>, {
|
|
38
|
-
span: GridSize
|
|
38
|
+
span: Nullable<GridSize>;
|
|
39
39
|
offset: Nullable<"1, 1" | "1, 2" | "1, 3" | "1, 4" | "1, 5" | "1, 6" | "1, 7" | "1, 8" | "1, 9" | "1, 10" | "1, 11" | "1, 12" | "2, 1" | "2, 2" | "2, 3" | "2, 4" | "2, 5" | "2, 6" | "2, 7" | "2, 8" | "2, 9" | "2, 10" | "2, 11" | "2, 12" | "3, 1" | "3, 2" | "3, 3" | "3, 4" | "3, 5" | "3, 6" | "3, 7" | "3, 8" | "3, 9" | "3, 10" | "3, 11" | "3, 12" | "4, 1" | "4, 2" | "4, 3" | "4, 4" | "4, 5" | "4, 6" | "4, 7" | "4, 8" | "4, 9" | "4, 10" | "4, 11" | "4, 12" | "5, 1" | "5, 2" | "5, 3" | "5, 4" | "5, 5" | "5, 6" | "5, 7" | "5, 8" | "5, 9" | "5, 10" | "5, 11" | "5, 12" | "6, 1" | "6, 2" | "6, 3" | "6, 4" | "6, 5" | "6, 6" | "6, 7" | "6, 8" | "6, 9" | "6, 10" | "6, 11" | "6, 12" | "7, 1" | "7, 2" | "7, 3" | "7, 4" | "7, 5" | "7, 6" | "7, 7" | "7, 8" | "7, 9" | "7, 10" | "7, 11" | "7, 12" | "8, 1" | "8, 2" | "8, 3" | "8, 4" | "8, 5" | "8, 6" | "8, 7" | "8, 8" | "8, 9" | "8, 10" | "8, 11" | "8, 12" | "9, 1" | "9, 2" | "9, 3" | "9, 4" | "9, 5" | "9, 6" | "9, 7" | "9, 8" | "9, 9" | "9, 10" | "9, 11" | "9, 12" | "10, 1" | "10, 2" | "10, 3" | "10, 4" | "10, 5" | "10, 6" | "10, 7" | "10, 8" | "10, 9" | "10, 10" | "10, 11" | "10, 12" | "11, 1" | "11, 2" | "11, 3" | "11, 4" | "11, 5" | "11, 6" | "11, 7" | "11, 8" | "11, 9" | "11, 10" | "11, 11" | "11, 12" | "12, 1" | "12, 2" | "12, 3" | "12, 4" | "12, 5" | "12, 6" | "12, 7" | "12, 8" | "12, 9" | "12, 10" | "12, 11" | "12, 12">;
|
|
40
40
|
wrap: boolean;
|
|
41
41
|
alignSelf: Nullable<Distribution>;
|
package/dist/revel.mjs
CHANGED
|
@@ -9931,7 +9931,7 @@ const AN = ["aria-checked"], aN = ["for"], nN = ["id", "disabled", "value", "che
|
|
|
9931
9931
|
}), CN = /* @__PURE__ */ J({
|
|
9932
9932
|
__name: "r-flex-item",
|
|
9933
9933
|
props: {
|
|
9934
|
-
span: { default: "
|
|
9934
|
+
span: { default: "auto" },
|
|
9935
9935
|
wrap: { default: null },
|
|
9936
9936
|
offset: { default: null },
|
|
9937
9937
|
alignSelf: { default: null },
|
|
@@ -9989,26 +9989,26 @@ const AN = ["aria-checked"], aN = ["for"], nN = ["id", "disabled", "value", "che
|
|
|
9989
9989
|
}), SN = /* @__PURE__ */ J({
|
|
9990
9990
|
__name: "r-grid-cell",
|
|
9991
9991
|
props: {
|
|
9992
|
-
span: { default:
|
|
9992
|
+
span: { default: null },
|
|
9993
9993
|
justifySelf: { default: null },
|
|
9994
9994
|
alignSelf: { default: null },
|
|
9995
9995
|
wrap: { type: Boolean, default: !1 },
|
|
9996
9996
|
offset: { default: null }
|
|
9997
9997
|
},
|
|
9998
9998
|
setup(M) {
|
|
9999
|
-
const b = M, z = l(() => ({
|
|
10000
|
-
[`r-grid-layout-cell-span-${b.span}`]: !0,
|
|
9999
|
+
const b = M, z = k0("gridLayoutProps"), p = l(() => ({
|
|
10000
|
+
[`r-grid-layout-cell-span-${b.span ?? W(z?.columns)}`]: !0,
|
|
10001
10001
|
[`r-grid-layout-cell-justify-self-${b.justifySelf}`]: !!b.justifySelf,
|
|
10002
10002
|
[`r-grid-layout-cell-align-self-${b.alignSelf}`]: !!b.alignSelf
|
|
10003
|
-
})),
|
|
10003
|
+
})), o = l(() => {
|
|
10004
10004
|
if (!b.offset) return null;
|
|
10005
|
-
const [
|
|
10005
|
+
const [e, c] = b.offset.split(",").map(Number);
|
|
10006
10006
|
return {
|
|
10007
|
-
[`r-grid-layout-cell-offset-start-${
|
|
10008
|
-
[`r-grid-layout-cell-offset-end-${
|
|
10007
|
+
[`r-grid-layout-cell-offset-start-${e}`]: !0,
|
|
10008
|
+
[`r-grid-layout-cell-offset-end-${c}`]: !0,
|
|
10009
10009
|
"r-grid-layout-cell-offset": !0
|
|
10010
10010
|
};
|
|
10011
|
-
}),
|
|
10011
|
+
}), O = l(() => b.wrap ? {
|
|
10012
10012
|
[`r-grid-layout-cell-wrap-start-${b.span}`]: !0,
|
|
10013
10013
|
"r-grid-layout-cell-wrap": !0
|
|
10014
10014
|
} : null);
|
|
@@ -10016,19 +10016,19 @@ const AN = ["aria-checked"], aN = ["for"], nN = ["id", "disabled", "value", "che
|
|
|
10016
10016
|
`Revel[RGridCell]: 'span' prop only covers 12 columns. Received: ${b.span}`
|
|
10017
10017
|
), b?.wrap && b?.offset?.split(",").length && console.warn(
|
|
10018
10018
|
"Revel[RGridCell]: Avoid using 'wrap' and 'offset' props together"
|
|
10019
|
-
), (
|
|
10020
|
-
W(
|
|
10019
|
+
), (e, c) => (d(), v(q0, null, [
|
|
10020
|
+
W(o) ? (d(), v("div", {
|
|
10021
10021
|
key: 0,
|
|
10022
|
-
class: I(["r-grid-layout-cell is-offset", W(
|
|
10022
|
+
class: I(["r-grid-layout-cell is-offset", W(o)])
|
|
10023
10023
|
}, null, 2)) : k("", !0),
|
|
10024
10024
|
w("div", {
|
|
10025
|
-
class: I(["r-grid-layout-cell", W(
|
|
10025
|
+
class: I(["r-grid-layout-cell", W(p)])
|
|
10026
10026
|
}, [
|
|
10027
|
-
F(
|
|
10027
|
+
F(e.$slots, "default")
|
|
10028
10028
|
], 2),
|
|
10029
|
-
W(
|
|
10029
|
+
W(O) ? (d(), v("div", {
|
|
10030
10030
|
key: 1,
|
|
10031
|
-
class: I(["r-grid-layout-cell is-wrap", W(
|
|
10031
|
+
class: I(["r-grid-layout-cell is-wrap", W(O)])
|
|
10032
10032
|
}, null, 2)) : k("", !0)
|
|
10033
10033
|
], 64));
|
|
10034
10034
|
}
|