@ktnpm_devops/react-component 0.0.1 → 0.1.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/composites/ChartExpandModal/ChartExpandModal.d.ts +21 -0
- package/dist/composites/ChartExpandModal/ChartExpandModal.d.ts.map +1 -0
- package/dist/composites/ChartExpandModal/index.d.ts +3 -0
- package/dist/composites/ChartExpandModal/index.d.ts.map +1 -0
- package/dist/composites/ContextMenu/ContextMenu.d.ts +20 -0
- package/dist/composites/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/composites/ContextMenu/index.d.ts +3 -0
- package/dist/composites/ContextMenu/index.d.ts.map +1 -0
- package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts +13 -0
- package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts.map +1 -0
- package/dist/composites/CustomRangePicker/index.d.ts +3 -0
- package/dist/composites/CustomRangePicker/index.d.ts.map +1 -0
- package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts +29 -0
- package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -0
- package/dist/composites/MultiSelectDropdown/index.d.ts +3 -0
- package/dist/composites/MultiSelectDropdown/index.d.ts.map +1 -0
- package/dist/composites/ResizableSplitPanel/ResizableSplitPanel.d.ts +16 -0
- package/dist/composites/ResizableSplitPanel/ResizableSplitPanel.d.ts.map +1 -0
- package/dist/composites/ResizableSplitPanel/index.d.ts +3 -0
- package/dist/composites/ResizableSplitPanel/index.d.ts.map +1 -0
- package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts +23 -0
- package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts.map +1 -0
- package/dist/composites/SingleSelectDropdown/index.d.ts +3 -0
- package/dist/composites/SingleSelectDropdown/index.d.ts.map +1 -0
- package/dist/constants.d.ts +32 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/index.cjs +17 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index12.cjs +99 -7
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +101 -9
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +87 -35
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +87 -35
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +120 -7
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +122 -9
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +8 -6
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +8 -6
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +38 -8
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +39 -9
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +226 -16
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +225 -15
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +79 -18
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +78 -17
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +10 -10
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +9 -9
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +144 -6
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +143 -5
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +8 -7
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +7 -6
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +10 -28
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +9 -27
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +15 -6
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +15 -6
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +22 -10
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +23 -11
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +13 -19
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +13 -19
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +2 -11
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +3 -12
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +9 -0
- package/dist/index27.cjs.map +1 -0
- package/dist/index27.js +9 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.cjs +12 -0
- package/dist/index28.cjs.map +1 -0
- package/dist/index28.js +12 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.cjs +9 -0
- package/dist/index29.cjs.map +1 -0
- package/dist/index29.js +9 -0
- package/dist/index29.js.map +1 -0
- package/dist/index30.cjs +30 -0
- package/dist/index30.cjs.map +1 -0
- package/dist/index30.js +30 -0
- package/dist/index30.js.map +1 -0
- package/dist/index31.cjs +60 -0
- package/dist/index31.cjs.map +1 -0
- package/dist/index31.js +60 -0
- package/dist/index31.js.map +1 -0
- package/dist/index32.cjs +18 -0
- package/dist/index32.cjs.map +1 -0
- package/dist/index32.js +18 -0
- package/dist/index32.js.map +1 -0
- package/dist/index33.cjs +21 -0
- package/dist/index33.cjs.map +1 -0
- package/dist/index33.js +21 -0
- package/dist/index33.js.map +1 -0
- package/dist/index34.cjs +27 -0
- package/dist/index34.cjs.map +1 -0
- package/dist/index34.js +27 -0
- package/dist/index34.js.map +1 -0
- package/dist/index35.cjs +36 -0
- package/dist/index35.cjs.map +1 -0
- package/dist/index35.js +36 -0
- package/dist/index35.js.map +1 -0
- package/dist/index36.cjs +21 -0
- package/dist/index36.cjs.map +1 -0
- package/dist/index36.js +21 -0
- package/dist/index36.js.map +1 -0
- package/dist/index37.cjs +42 -0
- package/dist/index37.cjs.map +1 -0
- package/dist/index37.js +42 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.cjs +18 -0
- package/dist/index38.cjs.map +1 -0
- package/dist/index38.js +18 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.cjs +87 -0
- package/dist/index39.cjs.map +1 -0
- package/dist/index39.js +87 -0
- package/dist/index39.js.map +1 -0
- package/dist/index8.cjs +2 -2
- package/dist/index8.js +2 -2
- package/dist/index9.cjs +2 -2
- package/dist/index9.js +2 -2
- package/dist/style.css +755 -36
- package/dist/tokens/orbit-tokens.css +11 -11
- package/dist/tokens/semantic-tokens.css +53 -2
- package/package.json +19 -20
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
--orbit-color-info: #1d4ed8;
|
|
34
34
|
--orbit-color-info-soft: #dbeafe;
|
|
35
35
|
|
|
36
|
-
--orbit-shadow-sm: 0
|
|
37
|
-
--orbit-shadow-md: 0
|
|
38
|
-
--orbit-shadow-lg: 0
|
|
39
|
-
|
|
40
|
-
--orbit-radius-sm:
|
|
41
|
-
--orbit-radius-md:
|
|
42
|
-
--orbit-radius-lg:
|
|
43
|
-
--orbit-radius-pill:
|
|
36
|
+
--orbit-shadow-sm: 0 0.0625rem 0.125rem 0 rgba(15, 23, 42, 0.05);
|
|
37
|
+
--orbit-shadow-md: 0 0.625rem 1.5625rem -0.625rem rgba(45, 27, 46, 0.35);
|
|
38
|
+
--orbit-shadow-lg: 0 1.25rem 2.8125rem -0.9375rem rgba(45, 27, 46, 0.3);
|
|
39
|
+
|
|
40
|
+
--orbit-radius-sm: 0.375rem;
|
|
41
|
+
--orbit-radius-md: 0.625rem;
|
|
42
|
+
--orbit-radius-lg: 1rem;
|
|
43
|
+
--orbit-radius-pill: 62.4375rem;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:root[data-theme='dark'],
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--orbit-color-info: #60a5fa;
|
|
75
75
|
--orbit-color-info-soft: rgba(96, 165, 250, 0.12);
|
|
76
76
|
|
|
77
|
-
--orbit-shadow-sm: 0
|
|
78
|
-
--orbit-shadow-md: 0
|
|
79
|
-
--orbit-shadow-lg: 0
|
|
77
|
+
--orbit-shadow-sm: 0 0.0625rem 0.125rem 0 rgba(17, 24, 39, 0.35);
|
|
78
|
+
--orbit-shadow-md: 0 0.75rem 1.875rem -0.75rem rgba(17, 24, 39, 0.55);
|
|
79
|
+
--orbit-shadow-lg: 0 1.5rem 3.4375rem -1.25rem rgba(17, 24, 39, 0.6);
|
|
80
80
|
}
|
|
@@ -3,24 +3,33 @@
|
|
|
3
3
|
|
|
4
4
|
--font-family-base: var(--orbit-font-sans);
|
|
5
5
|
|
|
6
|
+
/* Surfaces */
|
|
6
7
|
--app-background: var(--orbit-color-bg-primary);
|
|
7
8
|
--surface-color: var(--orbit-color-surface);
|
|
8
9
|
--surface-alt: var(--orbit-color-surface-muted);
|
|
9
10
|
--surface-elevated: var(--orbit-color-surface);
|
|
11
|
+
--surface-secondary: var(--orbit-color-surface-muted);
|
|
10
12
|
|
|
13
|
+
/* Borders */
|
|
11
14
|
--border-color: var(--orbit-color-border);
|
|
12
15
|
--border-color-light: var(--orbit-color-border-light);
|
|
16
|
+
--border-width: 0.0625rem;
|
|
17
|
+
--border-width-md: 0.125rem;
|
|
13
18
|
|
|
19
|
+
/* Text */
|
|
14
20
|
--text-primary: var(--orbit-color-text-primary);
|
|
21
|
+
--text-secondary: var(--orbit-color-text-secondary);
|
|
15
22
|
--text-muted: var(--orbit-color-text-secondary);
|
|
16
23
|
--text-tertiary: var(--orbit-color-text-tertiary);
|
|
17
24
|
--text-disabled: var(--orbit-color-text-disabled);
|
|
18
25
|
|
|
26
|
+
/* Brand / Accent */
|
|
19
27
|
--accent-color: var(--orbit-color-brand);
|
|
20
28
|
--accent-color-strong: var(--orbit-color-brand-hover);
|
|
21
29
|
--accent-color-soft: var(--orbit-color-brand-soft);
|
|
22
30
|
--accent-color-contrast: #ffffff;
|
|
23
31
|
|
|
32
|
+
/* Status */
|
|
24
33
|
--danger-color: var(--orbit-color-danger);
|
|
25
34
|
--danger-color-soft: var(--orbit-color-danger-soft);
|
|
26
35
|
--success-color: var(--orbit-color-success);
|
|
@@ -30,38 +39,74 @@
|
|
|
30
39
|
--info-color: var(--orbit-color-info);
|
|
31
40
|
--info-color-soft: var(--orbit-color-info-soft);
|
|
32
41
|
|
|
42
|
+
/* Shadows */
|
|
43
|
+
--shadow-subtle: var(--orbit-shadow-sm);
|
|
33
44
|
--shadow-soft: var(--orbit-shadow-md);
|
|
45
|
+
--shadow-md: var(--orbit-shadow-md);
|
|
34
46
|
--shadow-elevated: var(--orbit-shadow-lg);
|
|
35
|
-
--shadow-
|
|
47
|
+
--shadow-lg: var(--orbit-shadow-lg);
|
|
36
48
|
|
|
49
|
+
/* Radii */
|
|
37
50
|
--radius-sm: var(--orbit-radius-sm);
|
|
38
51
|
--radius-md: var(--orbit-radius-md);
|
|
39
52
|
--radius-lg: var(--orbit-radius-lg);
|
|
40
53
|
--radius-pill: var(--orbit-radius-pill);
|
|
54
|
+
|
|
55
|
+
/* Spacing scale */
|
|
56
|
+
--spacing-2xs: 0.125rem;
|
|
57
|
+
--spacing-xs: 0.375rem;
|
|
58
|
+
--spacing-sm: 0.625rem;
|
|
59
|
+
--spacing-md: 1rem;
|
|
60
|
+
--spacing-lg: 1.5rem;
|
|
61
|
+
|
|
62
|
+
/* Font sizes */
|
|
63
|
+
--font-size-xs: 0.6875rem;
|
|
64
|
+
--font-size-sm: 0.8125rem;
|
|
65
|
+
--font-size-md: 0.875rem;
|
|
66
|
+
|
|
67
|
+
/* Icon sizes */
|
|
68
|
+
--icon-sm: 0.875rem;
|
|
69
|
+
--icon-md: 1rem;
|
|
70
|
+
--icon-lg: 1.125rem;
|
|
71
|
+
|
|
72
|
+
/* Focus ring */
|
|
73
|
+
--focus-ring-width: 0.1875rem;
|
|
74
|
+
--focus-ring-spread: 0.25rem;
|
|
75
|
+
|
|
76
|
+
/* Overlay */
|
|
77
|
+
--overlay-color: rgba(0, 0, 0, 0.5);
|
|
78
|
+
--backdrop-blur: 0.25rem;
|
|
41
79
|
}
|
|
42
80
|
|
|
43
81
|
:root[data-theme='dark'],
|
|
44
82
|
.dark {
|
|
45
83
|
color-scheme: dark;
|
|
46
84
|
|
|
85
|
+
/* Surfaces */
|
|
47
86
|
--app-background: var(--orbit-color-bg-primary);
|
|
48
87
|
--surface-color: var(--orbit-color-surface);
|
|
49
88
|
--surface-alt: var(--orbit-color-surface-muted);
|
|
50
89
|
--surface-elevated: var(--orbit-color-surface);
|
|
90
|
+
--surface-secondary: var(--orbit-color-surface-muted);
|
|
51
91
|
|
|
92
|
+
/* Borders */
|
|
52
93
|
--border-color: var(--orbit-color-border);
|
|
53
94
|
--border-color-light: var(--orbit-color-border-light);
|
|
54
95
|
|
|
96
|
+
/* Text */
|
|
55
97
|
--text-primary: var(--orbit-color-text-primary);
|
|
98
|
+
--text-secondary: var(--orbit-color-text-secondary);
|
|
56
99
|
--text-muted: var(--orbit-color-text-secondary);
|
|
57
100
|
--text-tertiary: var(--orbit-color-text-tertiary);
|
|
58
101
|
--text-disabled: var(--orbit-color-text-disabled);
|
|
59
102
|
|
|
103
|
+
/* Brand / Accent */
|
|
60
104
|
--accent-color: var(--orbit-color-brand);
|
|
61
105
|
--accent-color-strong: var(--orbit-color-brand-hover);
|
|
62
106
|
--accent-color-soft: var(--orbit-color-brand-soft);
|
|
63
107
|
--accent-color-contrast: #ffffff;
|
|
64
108
|
|
|
109
|
+
/* Status */
|
|
65
110
|
--danger-color: var(--orbit-color-danger);
|
|
66
111
|
--danger-color-soft: var(--orbit-color-danger-soft);
|
|
67
112
|
--success-color: var(--orbit-color-success);
|
|
@@ -71,7 +116,13 @@
|
|
|
71
116
|
--info-color: var(--orbit-color-info);
|
|
72
117
|
--info-color-soft: var(--orbit-color-info-soft);
|
|
73
118
|
|
|
119
|
+
/* Shadows */
|
|
120
|
+
--shadow-subtle: var(--orbit-shadow-sm);
|
|
74
121
|
--shadow-soft: var(--orbit-shadow-md);
|
|
122
|
+
--shadow-md: var(--orbit-shadow-md);
|
|
75
123
|
--shadow-elevated: var(--orbit-shadow-lg);
|
|
76
|
-
--shadow-
|
|
124
|
+
--shadow-lg: var(--orbit-shadow-lg);
|
|
125
|
+
|
|
126
|
+
/* Overlay */
|
|
127
|
+
--overlay-color: rgba(0, 0, 0, 0.6);
|
|
77
128
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ktnpm_devops/react-component",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Kenmei Technologies React Component Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,24 +30,6 @@
|
|
|
30
30
|
"README.md",
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
|
-
"scripts": {
|
|
34
|
-
"dev": "storybook dev -p 6006",
|
|
35
|
-
"build": "vite build && pnpm build:css",
|
|
36
|
-
"build:css": "node scripts/copy-css-tokens.mjs",
|
|
37
|
-
"test": "vitest run",
|
|
38
|
-
"test:watch": "vitest",
|
|
39
|
-
"test:coverage": "vitest run --coverage",
|
|
40
|
-
"lint": "eslint src --ext .ts,.tsx",
|
|
41
|
-
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
42
|
-
"format": "prettier --write 'src/**/*.{ts,tsx,css}'",
|
|
43
|
-
"typecheck": "tsc --noEmit",
|
|
44
|
-
"storybook:build": "storybook build -o storybook-static",
|
|
45
|
-
"changeset": "changeset",
|
|
46
|
-
"version": "changeset version",
|
|
47
|
-
"release": "changeset publish",
|
|
48
|
-
"dashboard": "node scripts/generate-dashboard.mjs",
|
|
49
|
-
"prepublishOnly": "pnpm build"
|
|
50
|
-
},
|
|
51
33
|
"peerDependencies": {
|
|
52
34
|
"react": "^18.0.0 || ^19.0.0",
|
|
53
35
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -110,5 +92,22 @@
|
|
|
110
92
|
"repository": {
|
|
111
93
|
"type": "git",
|
|
112
94
|
"url": "https://github.com/kenmeitechnologies/react-component.git"
|
|
95
|
+
},
|
|
96
|
+
"scripts": {
|
|
97
|
+
"dev": "storybook dev -p 6006",
|
|
98
|
+
"build": "vite build && pnpm build:css",
|
|
99
|
+
"build:css": "node scripts/copy-css-tokens.mjs",
|
|
100
|
+
"test": "vitest run",
|
|
101
|
+
"test:watch": "vitest",
|
|
102
|
+
"test:coverage": "vitest run --coverage",
|
|
103
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
104
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
105
|
+
"format": "prettier --write 'src/**/*.{ts,tsx,css}'",
|
|
106
|
+
"typecheck": "tsc --noEmit",
|
|
107
|
+
"storybook:build": "storybook build -o storybook-static",
|
|
108
|
+
"changeset": "changeset",
|
|
109
|
+
"version": "changeset version",
|
|
110
|
+
"release": "changeset publish",
|
|
111
|
+
"dashboard": "node scripts/generate-dashboard.mjs"
|
|
113
112
|
}
|
|
114
|
-
}
|
|
113
|
+
}
|