@youversion/design-system-components 3.10.3 → 3.10.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 +8 -0
- package/dist/index.es.js +2765 -3223
- package/dist/index.umd.js +3 -3
- package/dist/src/Button/Button.d.ts +1 -1
- package/dist/src/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/src/IconButton/IconButton.d.ts +1 -1
- package/dist/src/IconLinkButton/IconLinkButton.d.ts +1 -1
- package/dist/src/LinkButton/LinkButton.d.ts +1 -1
- package/dist/src/ListItem/ListItem.d.ts +3 -3
- package/dist/src/ListItemActions/ListItemActions.d.ts +6 -6
- package/dist/src/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/src/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/dist/src/TabBar/TabBar.d.ts +1 -1
- package/dist/src/TabBar/TabBar.d.ts.map +1 -1
- package/dist/src/utils/storybook-helpers.d.ts +1 -1
- package/dist/src/utils/storybook-helpers.d.ts.map +1 -1
- package/package.json +6 -5
|
@@ -73,7 +73,7 @@ export type ButtonProps = BaseVariants | AllCapsVariant;
|
|
|
73
73
|
* @example
|
|
74
74
|
* ```tsx
|
|
75
75
|
* import { Button } from '@youversion/design-system-components';
|
|
76
|
-
* import TriangleDownStroked from '@youversion/design-system-icons
|
|
76
|
+
* import { TriangleDownStroked } from '@youversion/design-system-icons';
|
|
77
77
|
*
|
|
78
78
|
* function MyComponent() {
|
|
79
79
|
* return (
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAOjD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;wBAuKzE,IAAI,CAAC,OAAO,S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;;;;;;;;;;;;;;sCA7NjB,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDAwHuD,CAAC;AAMzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;sCAnOf,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDA8HqD,CAAC;AASvD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;sCA5OX,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDAuIiD,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;sCA/OR,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDA0I8C,CAAC;AAShD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;sCAxPlB,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDAmJwD,CAAC;AAS1D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;sCAjQP,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDA4J6C,CAAC;AAG/C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;sCApQN,CAAC;;;;iBAiGU,CAAC;eAA2B,CAAC;YAC9C,CAAA;yBAGX,CAAD;;;;;;;;;;;;;;;;;;;oDA+JwD,CAAC"}
|
|
@@ -15,7 +15,7 @@ export interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
15
15
|
* @example
|
|
16
16
|
* ```tsx
|
|
17
17
|
* import { IconButton } from '@youversion/design-system-components';
|
|
18
|
-
* import AaStroked from '@youversion/design-system-icons
|
|
18
|
+
* import { AaStroked } from '@youversion/design-system-icons';
|
|
19
19
|
*
|
|
20
20
|
* function MyComponent() {
|
|
21
21
|
* return (
|
|
@@ -21,7 +21,7 @@ export type IconLinkButtonsProps = IconLinkButtonWithComponentProps | IconLinkBu
|
|
|
21
21
|
* @example
|
|
22
22
|
* ```tsx
|
|
23
23
|
* import { IconLinkButton } from '@youversion/design-system-components';
|
|
24
|
-
* import AaStroked from '@youversion/design-system-icons
|
|
24
|
+
* import { AaStroked } from '@youversion/design-system-icons';
|
|
25
25
|
*
|
|
26
26
|
* function MyComponent() {
|
|
27
27
|
* return (
|
|
@@ -26,7 +26,7 @@ export declare const LinkButtonComponent: ({ className, children, component, ico
|
|
|
26
26
|
* @example
|
|
27
27
|
* ```tsx
|
|
28
28
|
* import { LinkButton } from '@youversion/design-system-components';
|
|
29
|
-
* import TriangleDownStroked from '@youversion/design-system-icons
|
|
29
|
+
* import { TriangleDownStroked } from '@youversion/design-system-icons';
|
|
30
30
|
*
|
|
31
31
|
* function MyComponent() {
|
|
32
32
|
* return (
|
|
@@ -23,9 +23,9 @@ export interface ListItemProps<TComponent extends ElementType> extends LiHTMLAtt
|
|
|
23
23
|
* @example
|
|
24
24
|
* ```tsx
|
|
25
25
|
* import { IconButton, IconLinkButton, List, ListItem, ListItemActions, ListItemContent, ListItemText } from '@youversion/design-system-components';
|
|
26
|
-
* import CheckmarkIcon from '@youversion/design-system-icons
|
|
27
|
-
* import PencilIcon from '@youversion/design-system-icons
|
|
28
|
-
* import TrashCanIcon from '@youversion/design-system-icons
|
|
26
|
+
* import { CheckmarkStroked as CheckmarkIcon } from '@youversion/design-system-icons';
|
|
27
|
+
* import { PencilStroked as PencilIcon } from '@youversion/design-system-icons';
|
|
28
|
+
* import { TrashCan as TrashCanIcon } from '@youversion/design-system-icons';
|
|
29
29
|
*
|
|
30
30
|
* function MyComponent() {
|
|
31
31
|
* return (
|
|
@@ -12,7 +12,7 @@ type Props = {
|
|
|
12
12
|
* With a clickable `IconButton`.
|
|
13
13
|
* ```tsx
|
|
14
14
|
* import { IconButton, ListItem, ListItemActions } from '@youversion/design-system-components';
|
|
15
|
-
* import TrashCanIcon from '@youversion/design-system-icons
|
|
15
|
+
* import { TrashCan as TrashCanIcon } from '@youversion/design-system-icons';
|
|
16
16
|
*
|
|
17
17
|
* function MyComponent() {
|
|
18
18
|
* return (
|
|
@@ -30,7 +30,7 @@ type Props = {
|
|
|
30
30
|
* With a decorative icon.
|
|
31
31
|
* ```tsx
|
|
32
32
|
* import { IconButton, ListItem, ListItemActions } from '@youversion/design-system-components';
|
|
33
|
-
* import TrashCanIcon from '@youversion/design-system-icons
|
|
33
|
+
* import { TrashCan as TrashCanIcon } from '@youversion/design-system-icons';
|
|
34
34
|
*
|
|
35
35
|
* function MyComponent() {
|
|
36
36
|
* return (
|
|
@@ -46,8 +46,8 @@ type Props = {
|
|
|
46
46
|
* With a multiple icons.
|
|
47
47
|
* ```tsx
|
|
48
48
|
* import { IconButton, ListItem, ListItemActions } from '@youversion/design-system-components';
|
|
49
|
-
* import TrashCanIcon from '@youversion/design-system-icons
|
|
50
|
-
* import PencilIcon from '@youversion/design-system-icons
|
|
49
|
+
* import { TrashCan as TrashCanIcon } from '@youversion/design-system-icons';
|
|
50
|
+
* import { PencilStroked as PencilIcon } from '@youversion/design-system-icons';
|
|
51
51
|
*
|
|
52
52
|
* function MyComponent() {
|
|
53
53
|
* return (
|
|
@@ -64,8 +64,8 @@ type Props = {
|
|
|
64
64
|
* Before and after `ListItemContent`.
|
|
65
65
|
* ```tsx
|
|
66
66
|
* import { IconButton, ListItem, ListItemActions, ListItemContent, ListItemText } from '@youversion/design-system-components';
|
|
67
|
-
* import TrashCanIcon from '@youversion/design-system-icons
|
|
68
|
-
* import PencilIcon from '@youversion/design-system-icons
|
|
67
|
+
* import { TrashCan as TrashCanIcon } from '@youversion/design-system-icons';
|
|
68
|
+
* import { PencilStroked as PencilIcon } from '@youversion/design-system-icons';
|
|
69
69
|
*
|
|
70
70
|
* function MyComponent() {
|
|
71
71
|
* return (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import SpinnerIcon from '@youversion/design-system-icons
|
|
1
|
+
import { Spinner as SpinnerIcon } from '@youversion/design-system-icons';
|
|
2
2
|
interface LoadingSpinnerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/** Accessibility label. Default `Loading…`. */
|
|
4
4
|
'aria-label'?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/LoadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/LoadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAIzE,UAAU,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,OAAO,CAAC,CAAC;IACzG,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EAAE,SAAsB,EACpC,QAAc,EACd,QAAiB,EACjB,SAAS,EACT,KAAsB,EACtB,MAAiB,EACjB,KAAgB,EAChB,SAAc,EACd,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAWrB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Icons from '@youversion/design-system-icons
|
|
1
|
+
import * as Icons from '@youversion/design-system-icons';
|
|
2
2
|
import { AllHTMLAttributes } from 'react';
|
|
3
3
|
import { TypographyProps } from '../Typography/Typography';
|
|
4
4
|
type NativeAnchorProps = AllHTMLAttributes<HTMLAnchorElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/TabBar/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/TabBar/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAI3D,KAAK,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;AAC9D,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,KAAK,CAAC;AAE3C,MAAM,MAAM,GAAG,GAAG;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,UAAU,KAAM,SAAQ,iBAAiB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CAClB;AAED,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,GAAG,eAAe,2CAUtF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Icons from '@youversion/design-system-icons
|
|
1
|
+
import * as Icons from '@youversion/design-system-icons';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
export type IconName = keyof typeof Icons;
|
|
4
4
|
export declare const icons: Record<string, React.FC<React.SVGProps<SVGSVGElement>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storybook-helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/storybook-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"storybook-helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/storybook-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAE1C,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAEzE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,iBAAiB,cAAe,OAAO;;;;;;;;CAenD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,+CAA+C;IAC/C,QAAQ,EAAE,SAAS,CAAC;IACpB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,aAAa,uBAAwB,kBAAkB,sFAEnE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youversion/design-system-components",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.4",
|
|
4
4
|
"main": "./dist/index.umd.js",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@radix-ui/react-slot": "1.2.4",
|
|
25
25
|
"@youversion/design-system-core": "5.0.0",
|
|
26
|
-
"@youversion/design-system-icons": "2.3.
|
|
26
|
+
"@youversion/design-system-icons": "2.3.1",
|
|
27
27
|
"@youversion/design-system-tokens": "3.0.0",
|
|
28
28
|
"clsx": "1.2.1",
|
|
29
29
|
"tailwind-merge": "1.13.2"
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@mdx-js/react": "1.6.22",
|
|
33
33
|
"@storybook/react": "8.6.18",
|
|
34
|
-
"@testing-library/dom": "10.4.
|
|
35
|
-
"@testing-library/jest-dom": "6.
|
|
36
|
-
"@testing-library/react": "16.2
|
|
34
|
+
"@testing-library/dom": "10.4.1",
|
|
35
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
36
|
+
"@testing-library/react": "16.3.2",
|
|
37
37
|
"@testing-library/user-event": "14.6.1",
|
|
38
38
|
"@types/jest": "29.4.0",
|
|
39
39
|
"@types/node": "22.13.4",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"exports": {
|
|
69
69
|
".": {
|
|
70
|
+
"types": "./dist/index.d.ts",
|
|
70
71
|
"import": "./dist/index.es.js",
|
|
71
72
|
"require": "./dist/index.umd.js"
|
|
72
73
|
},
|