@youversion/design-system-components 2.7.0 → 2.9.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/CHANGELOG.md +16 -0
- package/dist/index.es.js +5 -4
- package/dist/index.umd.js +2 -2
- package/dist/src/Button/Button.d.ts +1 -1
- package/dist/src/Button/Button.d.ts.map +1 -1
- package/dist/src/Dialog/Dialog.d.ts +2 -2
- package/dist/src/Dialog/Dialog.d.ts.map +1 -1
- package/dist/src/Tag/Tag.d.ts +1 -1
- package/dist/src/Tag/Tag.d.ts.map +1 -1
- package/dist/src/Tag/Tag.stories.d.ts +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @youversion/design-system-components
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 18f8f45: Updated the Button component to remove truncation.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- ecdd0ff: Extended variant choices for dialog action buttons
|
|
12
|
+
|
|
13
|
+
## 2.8.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 0729615: Added vibrant tag variant.
|
|
18
|
+
|
|
3
19
|
## 2.7.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.es.js
CHANGED
|
@@ -3977,7 +3977,7 @@ const dc = {
|
|
|
3977
3977
|
sm: 16,
|
|
3978
3978
|
xl: 36,
|
|
3979
3979
|
xs: 16
|
|
3980
|
-
}, fe = "relative
|
|
3980
|
+
}, fe = "relative items-center leading-default font-bold ease-in-out duration-100 focus:outline-2 focus:outline-info-light dark:focus:outline-info-dark hover:shadow-light-2 disabled:bg-gray-10 disabled:text-gray-50 dark:disabled:bg-gray-40 dark:disabled:text-white disabled:hover:shadow-none disabled:opacity-50 disabled:bg-gray-10 disabled:cursor-not-allowed flex w-full max-w-fit", K = {
|
|
3981
3981
|
// bgColor, outlineColor, disabled, fontColor, hover, pressed, disabled, textTransform
|
|
3982
3982
|
all_caps: "",
|
|
3983
3983
|
// Obsolete, superseded by 'borderless'
|
|
@@ -5082,7 +5082,7 @@ const ze = ({ autoFocus: l = !0, children: r, className: e }) => {
|
|
|
5082
5082
|
/* @__PURE__ */ n("div", { children: r }),
|
|
5083
5083
|
/* @__PURE__ */ n("div", { className: v("w-full flex justify-end items-center gap-0.5 pbs-2", c), children: i == null ? void 0 : i.map(({ label: x, ...z }, y) => (
|
|
5084
5084
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
5085
|
-
/* @__PURE__ */ n(z1, { "aria-label": x, size: "sm", variant: "
|
|
5085
|
+
/* @__PURE__ */ n(z1, { "aria-label": x, size: "sm", variant: "borderless", ...z, children: x }, `${x}${y}`)
|
|
5086
5086
|
)) })
|
|
5087
5087
|
]
|
|
5088
5088
|
}
|
|
@@ -5623,7 +5623,7 @@ const Ao = ({
|
|
|
5623
5623
|
className: v("flex-shrink-0", c === "xs" ? "mie-0.25" : "mie-0.5"),
|
|
5624
5624
|
size: M1[c]
|
|
5625
5625
|
}) : null,
|
|
5626
|
-
a1("span", { className: "
|
|
5626
|
+
a1("span", { className: "" }, r),
|
|
5627
5627
|
a === "end" && t !== void 0 ? a1(t, {
|
|
5628
5628
|
className: v("flex-shrink-0", c === "xs" ? "mis-0.25" : "mis-0.5"),
|
|
5629
5629
|
size: M1[c]
|
|
@@ -6502,7 +6502,8 @@ const F9 = {
|
|
|
6502
6502
|
error: "bg-orange-10 dark:bg-orange-50 text-orange-40 dark:text-orange-20",
|
|
6503
6503
|
info: "bg-blue-10 dark:bg-blue-50 text-blue-40 dark:text-blue-20",
|
|
6504
6504
|
secondary: "bg-gray-10 dark:bg-gray-35 text-light dark:text-dark",
|
|
6505
|
-
success: "bg-green-10 dark:bg-green-50 text-green-40 dark:text-green-20"
|
|
6505
|
+
success: "bg-green-10 dark:bg-green-50 text-green-40 dark:text-green-20",
|
|
6506
|
+
vibrantSuccess: "bg-success-light dark:bg-success-dark text-surface-secondary-light"
|
|
6506
6507
|
}, G9 = {
|
|
6507
6508
|
lg: "text-16 w-fit h-fit rounded-0.5 plb-0.5 pli-1",
|
|
6508
6509
|
sm: "text-11 w-fit h-fit rounded-0.5 plb-0.25 pli-0.5"
|