@path58/ui 2.0.0-rc.1
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/LICENSE +21 -0
- package/dist/atoms/Badge/Badge.d.ts +17 -0
- package/dist/atoms/Badge/Badge.d.ts.map +1 -0
- package/dist/atoms/Badge/index.d.ts +3 -0
- package/dist/atoms/Badge/index.d.ts.map +1 -0
- package/dist/atoms/Button/Button.d.ts +18 -0
- package/dist/atoms/Button/Button.d.ts.map +1 -0
- package/dist/atoms/Button/index.d.ts +3 -0
- package/dist/atoms/Button/index.d.ts.map +1 -0
- package/dist/atoms/Container/Container.d.ts +15 -0
- package/dist/atoms/Container/Container.d.ts.map +1 -0
- package/dist/atoms/Container/index.d.ts +3 -0
- package/dist/atoms/Container/index.d.ts.map +1 -0
- package/dist/atoms/Icon/Icon.d.ts +17 -0
- package/dist/atoms/Icon/Icon.d.ts.map +1 -0
- package/dist/atoms/Icon/index.d.ts +3 -0
- package/dist/atoms/Icon/index.d.ts.map +1 -0
- package/dist/atoms/IconContainer/IconContainer.d.ts +17 -0
- package/dist/atoms/IconContainer/IconContainer.d.ts.map +1 -0
- package/dist/atoms/IconContainer/index.d.ts +3 -0
- package/dist/atoms/IconContainer/index.d.ts.map +1 -0
- package/dist/atoms/Input/Input.d.ts +15 -0
- package/dist/atoms/Input/Input.d.ts.map +1 -0
- package/dist/atoms/Input/index.d.ts +3 -0
- package/dist/atoms/Input/index.d.ts.map +1 -0
- package/dist/atoms/Label/Label.d.ts +17 -0
- package/dist/atoms/Label/Label.d.ts.map +1 -0
- package/dist/atoms/Label/index.d.ts +3 -0
- package/dist/atoms/Label/index.d.ts.map +1 -0
- package/dist/atoms/List/List.d.ts +15 -0
- package/dist/atoms/List/List.d.ts.map +1 -0
- package/dist/atoms/List/index.d.ts +3 -0
- package/dist/atoms/List/index.d.ts.map +1 -0
- package/dist/atoms/ListItem/ListItem.d.ts +20 -0
- package/dist/atoms/ListItem/ListItem.d.ts.map +1 -0
- package/dist/atoms/ListItem/index.d.ts +3 -0
- package/dist/atoms/ListItem/index.d.ts.map +1 -0
- package/dist/atoms/index.d.ts +15 -0
- package/dist/atoms/index.d.ts.map +1 -0
- package/dist/index.d.ts +60 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +829 -0
- package/dist/molecules/CategoryHeader/CategoryHeader.d.ts +18 -0
- package/dist/molecules/CategoryHeader/CategoryHeader.d.ts.map +1 -0
- package/dist/molecules/CategoryHeader/index.d.ts +3 -0
- package/dist/molecules/CategoryHeader/index.d.ts.map +1 -0
- package/dist/molecules/FileItem/FileItem.d.ts +18 -0
- package/dist/molecules/FileItem/FileItem.d.ts.map +1 -0
- package/dist/molecules/FileItem/index.d.ts +3 -0
- package/dist/molecules/FileItem/index.d.ts.map +1 -0
- package/dist/molecules/InfoCard/InfoCard.d.ts +20 -0
- package/dist/molecules/InfoCard/InfoCard.d.ts.map +1 -0
- package/dist/molecules/InfoCard/index.d.ts +3 -0
- package/dist/molecules/InfoCard/index.d.ts.map +1 -0
- package/dist/molecules/SearchInput/SearchInput.d.ts +17 -0
- package/dist/molecules/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/molecules/SearchInput/index.d.ts +3 -0
- package/dist/molecules/SearchInput/index.d.ts.map +1 -0
- package/dist/molecules/TagBadge/TagBadge.d.ts +18 -0
- package/dist/molecules/TagBadge/TagBadge.d.ts.map +1 -0
- package/dist/molecules/TagBadge/index.d.ts +3 -0
- package/dist/molecules/TagBadge/index.d.ts.map +1 -0
- package/dist/molecules/index.d.ts +11 -0
- package/dist/molecules/index.d.ts.map +1 -0
- package/dist/organisms/ArtifactList/ArtifactList.d.ts +19 -0
- package/dist/organisms/ArtifactList/ArtifactList.d.ts.map +1 -0
- package/dist/organisms/ArtifactList/index.d.ts +3 -0
- package/dist/organisms/ArtifactList/index.d.ts.map +1 -0
- package/dist/organisms/CategoryGroup/CategoryGroup.d.ts +21 -0
- package/dist/organisms/CategoryGroup/CategoryGroup.d.ts.map +1 -0
- package/dist/organisms/CategoryGroup/index.d.ts +3 -0
- package/dist/organisms/CategoryGroup/index.d.ts.map +1 -0
- package/dist/organisms/SearchSection/SearchSection.d.ts +18 -0
- package/dist/organisms/SearchSection/SearchSection.d.ts.map +1 -0
- package/dist/organisms/SearchSection/index.d.ts +3 -0
- package/dist/organisms/SearchSection/index.d.ts.map +1 -0
- package/dist/organisms/TagFilterList/TagFilterList.d.ts +17 -0
- package/dist/organisms/TagFilterList/TagFilterList.d.ts.map +1 -0
- package/dist/organisms/TagFilterList/index.d.ts +3 -0
- package/dist/organisms/TagFilterList/index.d.ts.map +1 -0
- package/dist/organisms/index.d.ts +10 -0
- package/dist/organisms/index.d.ts.map +1 -0
- package/dist/primitives/P58Button.d.ts +23 -0
- package/dist/primitives/P58Button.d.ts.map +1 -0
- package/dist/primitives/P58Card.d.ts +18 -0
- package/dist/primitives/P58Card.d.ts.map +1 -0
- package/dist/primitives/P58Eyebrow.d.ts +15 -0
- package/dist/primitives/P58Eyebrow.d.ts.map +1 -0
- package/dist/primitives/P58Icon.d.ts +34 -0
- package/dist/primitives/P58Icon.d.ts.map +1 -0
- package/dist/primitives/P58Metric.d.ts +25 -0
- package/dist/primitives/P58Metric.d.ts.map +1 -0
- package/dist/primitives/index.d.ts +22 -0
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/types.d.ts +17 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +67 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Path58
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Badge.css';
|
|
3
|
+
export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
4
|
+
variant?: 'default' | 'tag' | 'filter';
|
|
5
|
+
active?: boolean;
|
|
6
|
+
categoryColor?: string;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Badge Atom
|
|
11
|
+
*
|
|
12
|
+
* Basic badge component following Path58 design system.
|
|
13
|
+
* Preserves exact styling from current tag badges.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Badge: React.FC<BadgeProps>;
|
|
16
|
+
export default Badge;
|
|
17
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/atoms/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AAErB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACvE,OAAO,CAAC,EAAE,SAAS,GAAG,KAAK,GAAG,QAAQ,CAAC;IACvC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAgCtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Button.css';
|
|
3
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
iconPosition?: 'left' | 'right';
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Button Atom
|
|
12
|
+
*
|
|
13
|
+
* Basic button component following Path58 design system.
|
|
14
|
+
* Supports variants, sizes, and icon positioning.
|
|
15
|
+
*/
|
|
16
|
+
export declare const Button: React.FC<ButtonProps>;
|
|
17
|
+
export default Button;
|
|
18
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/atoms/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAChF,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwBxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Container.css';
|
|
3
|
+
export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
variant?: 'section' | 'card' | 'default';
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Container Atom
|
|
9
|
+
*
|
|
10
|
+
* Base container with Path58 styling.
|
|
11
|
+
* Preserves exact styling from current container implementations.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
14
|
+
export default Container;
|
|
15
|
+
//# sourceMappingURL=Container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/atoms/Container/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiB9C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Icon.css';
|
|
3
|
+
export interface IconProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
variant?: 'html' | 'tsx' | 'primary' | 'default';
|
|
6
|
+
size?: number | string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Icon Atom
|
|
11
|
+
*
|
|
12
|
+
* Wrapper for icons with consistent sizing and color variants.
|
|
13
|
+
* Preserves exact styling from current icon implementations.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Icon: React.FC<IconProps>;
|
|
16
|
+
export default Icon;
|
|
17
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/atoms/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;IACjD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiBpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './IconContainer.css';
|
|
3
|
+
export interface IconContainerProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
variant?: 'default' | 'html' | 'tsx' | 'primary';
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* IconContainer Atom
|
|
11
|
+
*
|
|
12
|
+
* Container for icons with background and border.
|
|
13
|
+
* Preserves exact styling from current icon container implementations.
|
|
14
|
+
*/
|
|
15
|
+
export declare const IconContainer: React.FC<IconContainerProps>;
|
|
16
|
+
export default IconContainer;
|
|
17
|
+
//# sourceMappingURL=IconContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconContainer.d.ts","sourceRoot":"","sources":["../../../src/atoms/IconContainer/IconContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAE7B,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;IACjD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiBtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/IconContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Input.css';
|
|
3
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
variant?: 'default' | 'search';
|
|
5
|
+
error?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Input Atom
|
|
9
|
+
*
|
|
10
|
+
* Basic input component following Path58 design system.
|
|
11
|
+
* Preserves exact styling from current search inputs.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Input: React.FC<InputProps>;
|
|
14
|
+
export default Input;
|
|
15
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/atoms/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AAErB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC7E,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;GAKG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAgBtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Label.css';
|
|
3
|
+
export interface LabelProps extends React.HTMLAttributes<HTMLLabelElement | HTMLSpanElement> {
|
|
4
|
+
variant?: 'section' | 'card' | 'default';
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
as?: 'label' | 'span' | 'div';
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Label Atom
|
|
11
|
+
*
|
|
12
|
+
* Consistent label styling across the app.
|
|
13
|
+
* Preserves exact styling from current label implementations.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Label: React.FC<LabelProps>;
|
|
16
|
+
export default Label;
|
|
17
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/atoms/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AAErB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,GAAG,eAAe,CAAC;IAC1F,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;CAC/B;AAED;;;;;GAKG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqBtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './List.css';
|
|
3
|
+
export interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
variant?: 'vertical' | 'horizontal' | 'wrap';
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* List Atom
|
|
9
|
+
*
|
|
10
|
+
* Base list container with Path58 scrollbar styling.
|
|
11
|
+
* Preserves exact styling from current list implementations.
|
|
12
|
+
*/
|
|
13
|
+
export declare const List: React.FC<ListProps>;
|
|
14
|
+
export default List;
|
|
15
|
+
//# sourceMappingURL=List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/atoms/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,OAAO,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiBpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './ListItem.css';
|
|
3
|
+
export interface ListItemProps {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
as?: 'button' | 'div';
|
|
7
|
+
className?: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* ListItem Atom
|
|
14
|
+
*
|
|
15
|
+
* Base list item with hover and selected states.
|
|
16
|
+
* Preserves exact styling from current list item implementations.
|
|
17
|
+
*/
|
|
18
|
+
export declare const ListItem: React.FC<ListItemProps>;
|
|
19
|
+
export default ListItem;
|
|
20
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../src/atoms/ListItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwB5C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/ListItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path58 Design System - Atoms
|
|
3
|
+
*
|
|
4
|
+
* Basic building blocks of the design system.
|
|
5
|
+
*/
|
|
6
|
+
export * from './Button';
|
|
7
|
+
export * from './Input';
|
|
8
|
+
export * from './Badge';
|
|
9
|
+
export * from './Icon';
|
|
10
|
+
export * from './IconContainer';
|
|
11
|
+
export * from './Label';
|
|
12
|
+
export * from './Container';
|
|
13
|
+
export * from './List';
|
|
14
|
+
export * from './ListItem';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atoms/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path58 Design System
|
|
3
|
+
*
|
|
4
|
+
* Portable atomic design system for React applications.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* import { Button, Input, SearchInput } from '@path58/design-system';
|
|
9
|
+
* import '@path58/design-system/styles';
|
|
10
|
+
*
|
|
11
|
+
* function App() {
|
|
12
|
+
* return (
|
|
13
|
+
* <div>
|
|
14
|
+
* <Button variant="primary">Click me</Button>
|
|
15
|
+
* <SearchInput value="" onChange={(v) => console.log(v)} />
|
|
16
|
+
* </div>
|
|
17
|
+
* );
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
import './styles.css';
|
|
22
|
+
export * from './atoms/Button';
|
|
23
|
+
export * from './atoms/Input';
|
|
24
|
+
export * from './atoms/Badge';
|
|
25
|
+
export * from './atoms/Icon';
|
|
26
|
+
export * from './atoms/IconContainer';
|
|
27
|
+
export * from './atoms/Label';
|
|
28
|
+
export * from './atoms/Container';
|
|
29
|
+
export * from './atoms/List';
|
|
30
|
+
export * from './atoms/ListItem';
|
|
31
|
+
export * from './molecules/SearchInput';
|
|
32
|
+
export * from './molecules/TagBadge';
|
|
33
|
+
export * from './molecules/InfoCard';
|
|
34
|
+
export * from './molecules/CategoryHeader';
|
|
35
|
+
export * from './molecules/FileItem';
|
|
36
|
+
export * from './organisms/SearchSection';
|
|
37
|
+
export * from './organisms/TagFilterList';
|
|
38
|
+
export * from './organisms/CategoryGroup';
|
|
39
|
+
export * from './organisms/ArtifactList';
|
|
40
|
+
export * from './primitives';
|
|
41
|
+
export type { ButtonProps, } from './atoms/Button';
|
|
42
|
+
export type { InputProps, } from './atoms/Input';
|
|
43
|
+
export type { BadgeProps, } from './atoms/Badge';
|
|
44
|
+
export type { IconProps, } from './atoms/Icon';
|
|
45
|
+
export type { IconContainerProps, } from './atoms/IconContainer';
|
|
46
|
+
export type { LabelProps, } from './atoms/Label';
|
|
47
|
+
export type { ContainerProps, } from './atoms/Container';
|
|
48
|
+
export type { ListProps, } from './atoms/List';
|
|
49
|
+
export type { ListItemProps, } from './atoms/ListItem';
|
|
50
|
+
export type { SearchInputProps, } from './molecules/SearchInput';
|
|
51
|
+
export type { TagBadgeProps, } from './molecules/TagBadge';
|
|
52
|
+
export type { InfoCardProps, } from './molecules/InfoCard';
|
|
53
|
+
export type { CategoryHeaderProps, } from './molecules/CategoryHeader';
|
|
54
|
+
export type { FileItemProps, } from './molecules/FileItem';
|
|
55
|
+
export type { SearchSectionProps, } from './organisms/SearchSection';
|
|
56
|
+
export type { TagFilterListProps, } from './organisms/TagFilterList';
|
|
57
|
+
export type { CategoryGroupProps, } from './organisms/CategoryGroup';
|
|
58
|
+
export type { ArtifactListProps, } from './organisms/ArtifactList';
|
|
59
|
+
export type { Artifact, } from './types';
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,cAAc,CAAC;AAGtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AAGjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AAGrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAGzC,cAAc,cAAc,CAAC;AAG7B,YAAY,EACV,WAAW,GACZ,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,UAAU,GACX,MAAM,eAAe,CAAC;AAEvB,YAAY,EACV,UAAU,GACX,MAAM,eAAe,CAAC;AAEvB,YAAY,EACV,SAAS,GACV,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EACV,UAAU,GACX,MAAM,eAAe,CAAC;AAEvB,YAAY,EACV,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACV,SAAS,GACV,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,aAAa,GACd,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EACV,gBAAgB,GACjB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EACV,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,iBAAiB,GAClB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,QAAQ,GACT,MAAM,SAAS,CAAC"}
|