@pallasoft/ps-core-components 2.26.0 → 2.27.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/components/ps-divider.d.ts +7 -0
- package/dist/components/ps-divider.js +12 -0
- package/dist/components/ps-store-badge.js +3 -8
- package/dist/constants/ps-store-badge-config.d.ts +13 -17
- package/dist/constants/ps-store-badge-config.js +15 -31
- package/dist/esm/components/ps-divider.js +8 -0
- package/dist/esm/components/ps-store-badge.js +3 -8
- package/dist/esm/constants/ps-store-badge-config.js +15 -31
- package/dist/esm/index.js +2 -0
- package/dist/esm/models/ps-divider-orientation.js +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/ps-divider-orientation.d.ts +1 -0
- package/dist/models/ps-divider-orientation.js +2 -0
- package/dist/models/ps-store-badge-logo-path.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PsDividerOrientation } from '../models/ps-divider-orientation';
|
|
2
|
+
export interface PsDividerProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
orientation?: PsDividerOrientation;
|
|
6
|
+
}
|
|
7
|
+
export declare const PsDivider: ({ className, label, orientation, }: PsDividerProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PsDivider = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const PsDivider = ({ className = '', label, orientation = 'horizontal', }) => {
|
|
6
|
+
if (orientation === 'vertical')
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("div", { "aria-orientation": 'vertical', className: `w-px shrink-0 self-stretch bg-line ${className}`, role: 'separator' }));
|
|
8
|
+
if (!label)
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("div", { "aria-orientation": 'horizontal', className: `h-px w-full shrink-0 bg-line ${className}`, role: 'separator' }));
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("div", { "aria-label": label, "aria-orientation": 'horizontal', className: `flex w-full items-center gap-3 ${className}`, role: 'separator', children: [(0, jsx_runtime_1.jsx)("span", { "aria-hidden": 'true', className: 'h-px flex-1 bg-line' }), (0, jsx_runtime_1.jsx)("span", { "aria-hidden": 'true', className: 'text-xs text-ink/55', children: label }), (0, jsx_runtime_1.jsx)("span", { "aria-hidden": 'true', className: 'h-px flex-1 bg-line' })] }));
|
|
11
|
+
};
|
|
12
|
+
exports.PsDivider = PsDivider;
|
|
@@ -9,15 +9,10 @@ const PsStoreBadge = ({ className, href, labels, onPress, platform, size = 'defa
|
|
|
9
9
|
const shownLabels = labels === undefined ? platformData.labels : labels;
|
|
10
10
|
const sizeClasses = ps_store_badge_config_1.PsStoreBadgeClasses.sizes[size];
|
|
11
11
|
const badgeClassName = ps_design_system_1.PallasoftClassNameService.merge(ps_store_badge_config_1.PsStoreBadgeClasses.base, sizeClasses.badge, className);
|
|
12
|
-
const badgeStyle = {
|
|
13
|
-
backgroundColor: ps_store_badge_config_1.PsStoreBadgeConfig.colors.background,
|
|
14
|
-
borderColor: ps_store_badge_config_1.PsStoreBadgeConfig.colors.border,
|
|
15
|
-
color: ps_store_badge_config_1.PsStoreBadgeConfig.colors.text,
|
|
16
|
-
};
|
|
17
12
|
const ariaLabel = `${shownLabels.caption} ${shownLabels.name}`;
|
|
18
|
-
const content = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("
|
|
13
|
+
const content = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("span", { "aria-hidden": 'true', className: ps_design_system_1.PallasoftClassNameService.merge(ps_store_badge_config_1.PsStoreBadgeClasses.tile, sizeClasses.tile), children: (0, jsx_runtime_1.jsx)("svg", { className: sizeClasses.logo, fill: 'currentColor', viewBox: ps_store_badge_config_1.PsStoreBadgeConfig.logoViewBox, xmlns: 'http://www.w3.org/2000/svg', children: platformData.logoPaths.map((path) => ((0, jsx_runtime_1.jsx)("path", { d: path.d }, path.d))) }) }), (0, jsx_runtime_1.jsxs)("span", { "aria-hidden": 'true', className: 'flex min-w-0 flex-col items-start', children: [(0, jsx_runtime_1.jsx)("span", { className: ps_design_system_1.PallasoftClassNameService.merge('truncate max-w-full', sizeClasses.caption), children: shownLabels.caption }), (0, jsx_runtime_1.jsx)("span", { className: ps_design_system_1.PallasoftClassNameService.merge('truncate max-w-full', sizeClasses.name), children: shownLabels.name })] })] }));
|
|
19
14
|
if (href === undefined)
|
|
20
|
-
return ((0, jsx_runtime_1.jsx)("button", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, onClick: onPress,
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)("a", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, href: href, rel: 'noopener noreferrer',
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)("button", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, onClick: onPress, type: 'button', children: content }));
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)("a", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, href: href, rel: 'noopener noreferrer', target: '_blank', children: content }));
|
|
22
17
|
};
|
|
23
18
|
exports.PsStoreBadge = PsStoreBadge;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export declare const PsStoreBadgeConfig: {
|
|
2
|
-
readonly colors: {
|
|
3
|
-
readonly background: "#000000";
|
|
4
|
-
readonly border: "#A6A6A6";
|
|
5
|
-
readonly text: "#FFFFFF";
|
|
6
|
-
};
|
|
7
2
|
readonly logoViewBox: "0 0 24 24";
|
|
8
3
|
readonly platforms: {
|
|
9
4
|
"app-store": {
|
|
@@ -13,7 +8,6 @@ export declare const PsStoreBadgeConfig: {
|
|
|
13
8
|
};
|
|
14
9
|
logoPaths: {
|
|
15
10
|
d: string;
|
|
16
|
-
fill: string;
|
|
17
11
|
}[];
|
|
18
12
|
};
|
|
19
13
|
"google-play": {
|
|
@@ -23,28 +17,30 @@ export declare const PsStoreBadgeConfig: {
|
|
|
23
17
|
};
|
|
24
18
|
logoPaths: {
|
|
25
19
|
d: string;
|
|
26
|
-
fill: string;
|
|
27
20
|
}[];
|
|
28
21
|
};
|
|
29
22
|
};
|
|
30
23
|
};
|
|
31
24
|
export declare const PsStoreBadgeClasses: {
|
|
32
|
-
readonly base: "ps-focus-ring inline-flex
|
|
33
|
-
readonly group: "
|
|
25
|
+
readonly base: "ps-focus-ring ps-liquid ps-liquid-control ps-pressable group/store inline-flex w-full min-w-0 items-center bg-white/72 font-sans text-left text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12 motion-reduce:transition-none motion-reduce:hover:transform-none";
|
|
26
|
+
readonly group: "grid w-full grid-cols-1 sm:grid-cols-2";
|
|
34
27
|
readonly sizes: {
|
|
35
28
|
readonly default: {
|
|
36
|
-
readonly badge: "
|
|
37
|
-
readonly caption: "text-
|
|
29
|
+
readonly badge: "min-h-12 gap-3 px-2.5 py-1.5";
|
|
30
|
+
readonly caption: "text-xs leading-4";
|
|
38
31
|
readonly gap: "gap-3";
|
|
39
|
-
readonly logo: "size-
|
|
40
|
-
readonly name: "text-
|
|
32
|
+
readonly logo: "size-5";
|
|
33
|
+
readonly name: "text-sm font-semibold leading-5";
|
|
34
|
+
readonly tile: "size-9";
|
|
41
35
|
};
|
|
42
36
|
readonly large: {
|
|
43
|
-
readonly badge: "h-14
|
|
44
|
-
readonly caption: "text-xs";
|
|
37
|
+
readonly badge: "min-h-14 gap-3.5 px-3 py-2";
|
|
38
|
+
readonly caption: "text-xs leading-4";
|
|
45
39
|
readonly gap: "gap-4";
|
|
46
|
-
readonly logo: "size-
|
|
47
|
-
readonly name: "text-
|
|
40
|
+
readonly logo: "size-6";
|
|
41
|
+
readonly name: "text-base font-semibold leading-6";
|
|
42
|
+
readonly tile: "size-10";
|
|
48
43
|
};
|
|
49
44
|
};
|
|
45
|
+
readonly tile: "ps-icon-surface transition-colors group-hover/store:bg-primary/15 motion-reduce:transition-none";
|
|
50
46
|
};
|
|
@@ -3,11 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PsStoreBadgeClasses = exports.PsStoreBadgeConfig = void 0;
|
|
4
4
|
const ps_store_platform_1 = require("./ps-store-platform");
|
|
5
5
|
exports.PsStoreBadgeConfig = {
|
|
6
|
-
colors: {
|
|
7
|
-
background: '#000000',
|
|
8
|
-
border: '#A6A6A6',
|
|
9
|
-
text: '#FFFFFF',
|
|
10
|
-
},
|
|
11
6
|
logoViewBox: '0 0 24 24',
|
|
12
7
|
platforms: {
|
|
13
8
|
[ps_store_platform_1.PsStorePlatform.appStore]: {
|
|
@@ -15,50 +10,39 @@ exports.PsStoreBadgeConfig = {
|
|
|
15
10
|
logoPaths: [
|
|
16
11
|
{
|
|
17
12
|
d: 'M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701',
|
|
18
|
-
fill: '#FFFFFF',
|
|
19
13
|
},
|
|
20
14
|
],
|
|
21
15
|
},
|
|
22
16
|
[ps_store_platform_1.PsStorePlatform.googlePlay]: {
|
|
23
|
-
labels: { caption: '
|
|
17
|
+
labels: { caption: 'Get it on', name: 'Google Play' },
|
|
24
18
|
logoPaths: [
|
|
25
19
|
{
|
|
26
|
-
d: '
|
|
27
|
-
fill: '#4285F4',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
d: 'M13.544 10.989l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973z',
|
|
31
|
-
fill: '#34A853',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
d: 'M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594z',
|
|
35
|
-
fill: '#FBBC04',
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
d: 'M13.544 13.056l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z',
|
|
39
|
-
fill: '#EA4335',
|
|
20
|
+
d: 'M6.2 2.9c-.5-.3-1.2.1-1.2.7v16.8c0 .6.7 1 1.2.7l14-8.4c.5-.3.5-1.1 0-1.4L6.2 2.9z',
|
|
40
21
|
},
|
|
41
22
|
],
|
|
42
23
|
},
|
|
43
24
|
},
|
|
44
25
|
};
|
|
45
26
|
exports.PsStoreBadgeClasses = {
|
|
46
|
-
base: 'ps-focus-ring inline-flex
|
|
47
|
-
group: '
|
|
27
|
+
base: 'ps-focus-ring ps-liquid ps-liquid-control ps-pressable group/store inline-flex w-full min-w-0 items-center bg-white/72 font-sans text-left text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12 motion-reduce:transition-none motion-reduce:hover:transform-none',
|
|
28
|
+
group: 'grid w-full grid-cols-1 sm:grid-cols-2',
|
|
48
29
|
sizes: {
|
|
49
30
|
default: {
|
|
50
|
-
badge: '
|
|
51
|
-
caption: 'text-
|
|
31
|
+
badge: 'min-h-12 gap-3 px-2.5 py-1.5',
|
|
32
|
+
caption: 'text-xs leading-4',
|
|
52
33
|
gap: 'gap-3',
|
|
53
|
-
logo: 'size-
|
|
54
|
-
name: 'text-
|
|
34
|
+
logo: 'size-5',
|
|
35
|
+
name: 'text-sm font-semibold leading-5',
|
|
36
|
+
tile: 'size-9',
|
|
55
37
|
},
|
|
56
38
|
large: {
|
|
57
|
-
badge: 'h-14
|
|
58
|
-
caption: 'text-xs',
|
|
39
|
+
badge: 'min-h-14 gap-3.5 px-3 py-2',
|
|
40
|
+
caption: 'text-xs leading-4',
|
|
59
41
|
gap: 'gap-4',
|
|
60
|
-
logo: 'size-
|
|
61
|
-
name: 'text-
|
|
42
|
+
logo: 'size-6',
|
|
43
|
+
name: 'text-base font-semibold leading-6',
|
|
44
|
+
tile: 'size-10',
|
|
62
45
|
},
|
|
63
46
|
},
|
|
47
|
+
tile: 'ps-icon-surface transition-colors group-hover/store:bg-primary/15 motion-reduce:transition-none',
|
|
64
48
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const PsDivider = ({ className = '', label, orientation = 'horizontal', }) => {
|
|
3
|
+
if (orientation === 'vertical')
|
|
4
|
+
return (_jsx("div", { "aria-orientation": 'vertical', className: `w-px shrink-0 self-stretch bg-line ${className}`, role: 'separator' }));
|
|
5
|
+
if (!label)
|
|
6
|
+
return (_jsx("div", { "aria-orientation": 'horizontal', className: `h-px w-full shrink-0 bg-line ${className}`, role: 'separator' }));
|
|
7
|
+
return (_jsxs("div", { "aria-label": label, "aria-orientation": 'horizontal', className: `flex w-full items-center gap-3 ${className}`, role: 'separator', children: [_jsx("span", { "aria-hidden": 'true', className: 'h-px flex-1 bg-line' }), _jsx("span", { "aria-hidden": 'true', className: 'text-xs text-ink/55', children: label }), _jsx("span", { "aria-hidden": 'true', className: 'h-px flex-1 bg-line' })] }));
|
|
8
|
+
};
|
|
@@ -6,14 +6,9 @@ export const PsStoreBadge = ({ className, href, labels, onPress, platform, size
|
|
|
6
6
|
const shownLabels = labels === undefined ? platformData.labels : labels;
|
|
7
7
|
const sizeClasses = PsStoreBadgeClasses.sizes[size];
|
|
8
8
|
const badgeClassName = PallasoftClassNameService.merge(PsStoreBadgeClasses.base, sizeClasses.badge, className);
|
|
9
|
-
const badgeStyle = {
|
|
10
|
-
backgroundColor: PsStoreBadgeConfig.colors.background,
|
|
11
|
-
borderColor: PsStoreBadgeConfig.colors.border,
|
|
12
|
-
color: PsStoreBadgeConfig.colors.text,
|
|
13
|
-
};
|
|
14
9
|
const ariaLabel = `${shownLabels.caption} ${shownLabels.name}`;
|
|
15
|
-
const content = (_jsxs(_Fragment, { children: [_jsx("
|
|
10
|
+
const content = (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": 'true', className: PallasoftClassNameService.merge(PsStoreBadgeClasses.tile, sizeClasses.tile), children: _jsx("svg", { className: sizeClasses.logo, fill: 'currentColor', viewBox: PsStoreBadgeConfig.logoViewBox, xmlns: 'http://www.w3.org/2000/svg', children: platformData.logoPaths.map((path) => (_jsx("path", { d: path.d }, path.d))) }) }), _jsxs("span", { "aria-hidden": 'true', className: 'flex min-w-0 flex-col items-start', children: [_jsx("span", { className: PallasoftClassNameService.merge('truncate max-w-full', sizeClasses.caption), children: shownLabels.caption }), _jsx("span", { className: PallasoftClassNameService.merge('truncate max-w-full', sizeClasses.name), children: shownLabels.name })] })] }));
|
|
16
11
|
if (href === undefined)
|
|
17
|
-
return (_jsx("button", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, onClick: onPress,
|
|
18
|
-
return (_jsx("a", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, href: href, rel: 'noopener noreferrer',
|
|
12
|
+
return (_jsx("button", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, onClick: onPress, type: 'button', children: content }));
|
|
13
|
+
return (_jsx("a", { "aria-label": ariaLabel, className: badgeClassName, "data-platform": platform, href: href, rel: 'noopener noreferrer', target: '_blank', children: content }));
|
|
19
14
|
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { PsStorePlatform } from './ps-store-platform';
|
|
2
2
|
export const PsStoreBadgeConfig = {
|
|
3
|
-
colors: {
|
|
4
|
-
background: '#000000',
|
|
5
|
-
border: '#A6A6A6',
|
|
6
|
-
text: '#FFFFFF',
|
|
7
|
-
},
|
|
8
3
|
logoViewBox: '0 0 24 24',
|
|
9
4
|
platforms: {
|
|
10
5
|
[PsStorePlatform.appStore]: {
|
|
@@ -12,50 +7,39 @@ export const PsStoreBadgeConfig = {
|
|
|
12
7
|
logoPaths: [
|
|
13
8
|
{
|
|
14
9
|
d: 'M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701',
|
|
15
|
-
fill: '#FFFFFF',
|
|
16
10
|
},
|
|
17
11
|
],
|
|
18
12
|
},
|
|
19
13
|
[PsStorePlatform.googlePlay]: {
|
|
20
|
-
labels: { caption: '
|
|
14
|
+
labels: { caption: 'Get it on', name: 'Google Play' },
|
|
21
15
|
logoPaths: [
|
|
22
16
|
{
|
|
23
|
-
d: '
|
|
24
|
-
fill: '#4285F4',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
d: 'M13.544 10.989l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973z',
|
|
28
|
-
fill: '#34A853',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
d: 'M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594z',
|
|
32
|
-
fill: '#FBBC04',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
d: 'M13.544 13.056l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z',
|
|
36
|
-
fill: '#EA4335',
|
|
17
|
+
d: 'M6.2 2.9c-.5-.3-1.2.1-1.2.7v16.8c0 .6.7 1 1.2.7l14-8.4c.5-.3.5-1.1 0-1.4L6.2 2.9z',
|
|
37
18
|
},
|
|
38
19
|
],
|
|
39
20
|
},
|
|
40
21
|
},
|
|
41
22
|
};
|
|
42
23
|
export const PsStoreBadgeClasses = {
|
|
43
|
-
base: 'ps-focus-ring inline-flex
|
|
44
|
-
group: '
|
|
24
|
+
base: 'ps-focus-ring ps-liquid ps-liquid-control ps-pressable group/store inline-flex w-full min-w-0 items-center bg-white/72 font-sans text-left text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12 motion-reduce:transition-none motion-reduce:hover:transform-none',
|
|
25
|
+
group: 'grid w-full grid-cols-1 sm:grid-cols-2',
|
|
45
26
|
sizes: {
|
|
46
27
|
default: {
|
|
47
|
-
badge: '
|
|
48
|
-
caption: 'text-
|
|
28
|
+
badge: 'min-h-12 gap-3 px-2.5 py-1.5',
|
|
29
|
+
caption: 'text-xs leading-4',
|
|
49
30
|
gap: 'gap-3',
|
|
50
|
-
logo: 'size-
|
|
51
|
-
name: 'text-
|
|
31
|
+
logo: 'size-5',
|
|
32
|
+
name: 'text-sm font-semibold leading-5',
|
|
33
|
+
tile: 'size-9',
|
|
52
34
|
},
|
|
53
35
|
large: {
|
|
54
|
-
badge: 'h-14
|
|
55
|
-
caption: 'text-xs',
|
|
36
|
+
badge: 'min-h-14 gap-3.5 px-3 py-2',
|
|
37
|
+
caption: 'text-xs leading-4',
|
|
56
38
|
gap: 'gap-4',
|
|
57
|
-
logo: 'size-
|
|
58
|
-
name: 'text-
|
|
39
|
+
logo: 'size-6',
|
|
40
|
+
name: 'text-base font-semibold leading-6',
|
|
41
|
+
tile: 'size-10',
|
|
59
42
|
},
|
|
60
43
|
},
|
|
44
|
+
tile: 'ps-icon-surface transition-colors group-hover/store:bg-primary/15 motion-reduce:transition-none',
|
|
61
45
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -145,3 +145,5 @@ export * from './components/ps-drag-grip';
|
|
|
145
145
|
export * from './components/ps-drag-overlay';
|
|
146
146
|
export * from './hooks/use-ps-drag-sensors';
|
|
147
147
|
export * from './hooks/use-ps-reduced-motion';
|
|
148
|
+
export * from './components/ps-divider';
|
|
149
|
+
export * from './models/ps-divider-orientation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -145,3 +145,5 @@ export * from './components/ps-drag-grip';
|
|
|
145
145
|
export * from './components/ps-drag-overlay';
|
|
146
146
|
export * from './hooks/use-ps-drag-sensors';
|
|
147
147
|
export * from './hooks/use-ps-reduced-motion';
|
|
148
|
+
export * from './components/ps-divider';
|
|
149
|
+
export * from './models/ps-divider-orientation';
|
package/dist/index.js
CHANGED
|
@@ -161,3 +161,5 @@ __exportStar(require("./components/ps-drag-grip"), exports);
|
|
|
161
161
|
__exportStar(require("./components/ps-drag-overlay"), exports);
|
|
162
162
|
__exportStar(require("./hooks/use-ps-drag-sensors"), exports);
|
|
163
163
|
__exportStar(require("./hooks/use-ps-reduced-motion"), exports);
|
|
164
|
+
__exportStar(require("./components/ps-divider"), exports);
|
|
165
|
+
__exportStar(require("./models/ps-divider-orientation"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PsDividerOrientation = 'horizontal' | 'vertical';
|