@common-origin/design-system 1.6.0 → 1.7.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/README.md +41 -9
- package/dist/components/atoms/Divider/Divider.d.ts +30 -0
- package/dist/components/atoms/Divider/index.d.ts +1 -0
- package/dist/components/atoms/index.d.ts +1 -1
- package/dist/index.esm.js +69 -26
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +69 -26
- package/dist/index.js.map +1 -1
- package/dist/types/icons.d.ts +1 -1
- package/package.json +3 -2
- package/dist/components/atoms/SectionSeparator/SectionSeparator.d.ts +0 -26
- package/dist/components/atoms/SectionSeparator/index.d.ts +0 -1
package/dist/types/icons.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type IconName = 'add' | 'arrowDown' | 'arrowUp' | 'arrowLeft' | 'arrowRight' | 'back' | 'caret' | 'check' | 'close' | 'directionRight' | 'menu' | 'pause' | 'play' | 'playBack' | 'lineOut' | 'message' | 'copy' | 'link' | 'userBox';
|
|
1
|
+
export type IconName = 'add' | 'arrowDown' | 'arrowUp' | 'arrowLeft' | 'arrowRight' | 'back' | 'caret' | 'check' | 'close' | 'directionRight' | 'export' | 'menu' | 'pause' | 'play' | 'playBack' | 'lineOut' | 'message' | 'copy' | 'link' | 'table' | 'userBox';
|
|
2
2
|
export { default as iconsData } from '../styles/icons.json';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-origin/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Common Origin Design System - Atomic design components with comprehensive WCAG 2.2 AA testing",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"docs:dev": "npm run build:tokens && npm run build:releases && npm run dev",
|
|
39
39
|
"verify:types": "node scripts/verify-types.cjs",
|
|
40
40
|
"prepublishOnly": "npm run build:tokens && npm run build:package && npm run verify:types",
|
|
41
|
-
"release": "npm publish --provenance --access public"
|
|
41
|
+
"release": "npm publish --provenance --access public",
|
|
42
|
+
"release:create": "./scripts/release.sh"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SectionSeparatorProps {
|
|
3
|
-
/** Variant style of the separator */
|
|
4
|
-
variant?: 'default' | 'strong' | 'minimal';
|
|
5
|
-
/** Size variation affecting spacing */
|
|
6
|
-
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
7
|
-
/** Data test id for testing */
|
|
8
|
-
'data-testid'?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* SectionSeparator is an atomic component that provides visual separation between content sections.
|
|
12
|
-
*
|
|
13
|
-
* Features:
|
|
14
|
-
* - Multiple variants (default, strong, minimal)
|
|
15
|
-
* - Size variations for different spacing needs
|
|
16
|
-
* - Semantic token usage for consistent styling
|
|
17
|
-
* - Full accessibility support
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* <SectionSeparator />
|
|
22
|
-
* <SectionSeparator variant="strong" size="xlarge" />
|
|
23
|
-
* <SectionSeparator variant="minimal" />
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare const SectionSeparator: React.FC<SectionSeparatorProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SectionSeparator';
|