@ktnpm_devops/react-component 0.0.1 → 0.1.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.
Files changed (157) hide show
  1. package/README.md +16 -5
  2. package/dist/composites/ChartExpandModal/ChartExpandModal.d.ts +21 -0
  3. package/dist/composites/ChartExpandModal/ChartExpandModal.d.ts.map +1 -0
  4. package/dist/composites/ChartExpandModal/index.d.ts +3 -0
  5. package/dist/composites/ChartExpandModal/index.d.ts.map +1 -0
  6. package/dist/composites/ContextMenu/ContextMenu.d.ts +20 -0
  7. package/dist/composites/ContextMenu/ContextMenu.d.ts.map +1 -0
  8. package/dist/composites/ContextMenu/index.d.ts +3 -0
  9. package/dist/composites/ContextMenu/index.d.ts.map +1 -0
  10. package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts +13 -0
  11. package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts.map +1 -0
  12. package/dist/composites/CustomRangePicker/index.d.ts +3 -0
  13. package/dist/composites/CustomRangePicker/index.d.ts.map +1 -0
  14. package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts +29 -0
  15. package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -0
  16. package/dist/composites/MultiSelectDropdown/index.d.ts +3 -0
  17. package/dist/composites/MultiSelectDropdown/index.d.ts.map +1 -0
  18. package/dist/composites/ResizableSplitPanel/ResizableSplitPanel.d.ts +16 -0
  19. package/dist/composites/ResizableSplitPanel/ResizableSplitPanel.d.ts.map +1 -0
  20. package/dist/composites/ResizableSplitPanel/index.d.ts +3 -0
  21. package/dist/composites/ResizableSplitPanel/index.d.ts.map +1 -0
  22. package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts +23 -0
  23. package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts.map +1 -0
  24. package/dist/composites/SingleSelectDropdown/index.d.ts +3 -0
  25. package/dist/composites/SingleSelectDropdown/index.d.ts.map +1 -0
  26. package/dist/constants.d.ts +32 -0
  27. package/dist/constants.d.ts.map +1 -0
  28. package/dist/index.cjs +17 -5
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.ts +12 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +17 -5
  33. package/dist/index.js.map +1 -1
  34. package/dist/index10.cjs +2 -2
  35. package/dist/index10.js +2 -2
  36. package/dist/index11.cjs +2 -2
  37. package/dist/index11.js +2 -2
  38. package/dist/index12.cjs +99 -7
  39. package/dist/index12.cjs.map +1 -1
  40. package/dist/index12.js +101 -9
  41. package/dist/index12.js.map +1 -1
  42. package/dist/index13.cjs +87 -35
  43. package/dist/index13.cjs.map +1 -1
  44. package/dist/index13.js +87 -35
  45. package/dist/index13.js.map +1 -1
  46. package/dist/index14.cjs +120 -7
  47. package/dist/index14.cjs.map +1 -1
  48. package/dist/index14.js +122 -9
  49. package/dist/index14.js.map +1 -1
  50. package/dist/index15.cjs +8 -6
  51. package/dist/index15.cjs.map +1 -1
  52. package/dist/index15.js +8 -6
  53. package/dist/index15.js.map +1 -1
  54. package/dist/index16.cjs +38 -8
  55. package/dist/index16.cjs.map +1 -1
  56. package/dist/index16.js +39 -9
  57. package/dist/index16.js.map +1 -1
  58. package/dist/index17.cjs +226 -16
  59. package/dist/index17.cjs.map +1 -1
  60. package/dist/index17.js +225 -15
  61. package/dist/index17.js.map +1 -1
  62. package/dist/index18.cjs +79 -18
  63. package/dist/index18.cjs.map +1 -1
  64. package/dist/index18.js +78 -17
  65. package/dist/index18.js.map +1 -1
  66. package/dist/index19.cjs +10 -10
  67. package/dist/index19.cjs.map +1 -1
  68. package/dist/index19.js +9 -9
  69. package/dist/index19.js.map +1 -1
  70. package/dist/index20.cjs +144 -6
  71. package/dist/index20.cjs.map +1 -1
  72. package/dist/index20.js +143 -5
  73. package/dist/index20.js.map +1 -1
  74. package/dist/index21.cjs +8 -7
  75. package/dist/index21.cjs.map +1 -1
  76. package/dist/index21.js +7 -6
  77. package/dist/index21.js.map +1 -1
  78. package/dist/index22.cjs +10 -28
  79. package/dist/index22.cjs.map +1 -1
  80. package/dist/index22.js +9 -27
  81. package/dist/index22.js.map +1 -1
  82. package/dist/index23.cjs +15 -6
  83. package/dist/index23.cjs.map +1 -1
  84. package/dist/index23.js +15 -6
  85. package/dist/index23.js.map +1 -1
  86. package/dist/index24.cjs +22 -10
  87. package/dist/index24.cjs.map +1 -1
  88. package/dist/index24.js +23 -11
  89. package/dist/index24.js.map +1 -1
  90. package/dist/index25.cjs +13 -19
  91. package/dist/index25.cjs.map +1 -1
  92. package/dist/index25.js +13 -19
  93. package/dist/index25.js.map +1 -1
  94. package/dist/index26.cjs +2 -11
  95. package/dist/index26.cjs.map +1 -1
  96. package/dist/index26.js +3 -12
  97. package/dist/index26.js.map +1 -1
  98. package/dist/index27.cjs +12 -0
  99. package/dist/index27.cjs.map +1 -0
  100. package/dist/index27.js +12 -0
  101. package/dist/index27.js.map +1 -0
  102. package/dist/index28.cjs +9 -0
  103. package/dist/index28.cjs.map +1 -0
  104. package/dist/index28.js +9 -0
  105. package/dist/index28.js.map +1 -0
  106. package/dist/index29.cjs +18 -0
  107. package/dist/index29.cjs.map +1 -0
  108. package/dist/index29.js +18 -0
  109. package/dist/index29.js.map +1 -0
  110. package/dist/index30.cjs +30 -0
  111. package/dist/index30.cjs.map +1 -0
  112. package/dist/index30.js +30 -0
  113. package/dist/index30.js.map +1 -0
  114. package/dist/index31.cjs +87 -0
  115. package/dist/index31.cjs.map +1 -0
  116. package/dist/index31.js +87 -0
  117. package/dist/index31.js.map +1 -0
  118. package/dist/index32.cjs +60 -0
  119. package/dist/index32.cjs.map +1 -0
  120. package/dist/index32.js +60 -0
  121. package/dist/index32.js.map +1 -0
  122. package/dist/index33.cjs +27 -0
  123. package/dist/index33.cjs.map +1 -0
  124. package/dist/index33.js +27 -0
  125. package/dist/index33.js.map +1 -0
  126. package/dist/index34.cjs +21 -0
  127. package/dist/index34.cjs.map +1 -0
  128. package/dist/index34.js +21 -0
  129. package/dist/index34.js.map +1 -0
  130. package/dist/index35.cjs +36 -0
  131. package/dist/index35.cjs.map +1 -0
  132. package/dist/index35.js +36 -0
  133. package/dist/index35.js.map +1 -0
  134. package/dist/index36.cjs +42 -0
  135. package/dist/index36.cjs.map +1 -0
  136. package/dist/index36.js +42 -0
  137. package/dist/index36.js.map +1 -0
  138. package/dist/index37.cjs +9 -0
  139. package/dist/index37.cjs.map +1 -0
  140. package/dist/index37.js +9 -0
  141. package/dist/index37.js.map +1 -0
  142. package/dist/index38.cjs +21 -0
  143. package/dist/index38.cjs.map +1 -0
  144. package/dist/index38.js +21 -0
  145. package/dist/index38.js.map +1 -0
  146. package/dist/index39.cjs +18 -0
  147. package/dist/index39.cjs.map +1 -0
  148. package/dist/index39.js +18 -0
  149. package/dist/index39.js.map +1 -0
  150. package/dist/index8.cjs +2 -2
  151. package/dist/index8.js +2 -2
  152. package/dist/index9.cjs +2 -2
  153. package/dist/index9.js +2 -2
  154. package/dist/style.css +755 -36
  155. package/dist/tokens/orbit-tokens.css +11 -11
  156. package/dist/tokens/semantic-tokens.css +53 -2
  157. 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 1px 2px 0 rgba(15, 23, 42, 0.05);
37
- --orbit-shadow-md: 0 10px 25px -10px rgba(45, 27, 46, 0.35);
38
- --orbit-shadow-lg: 0 20px 45px -15px rgba(45, 27, 46, 0.3);
39
-
40
- --orbit-radius-sm: 6px;
41
- --orbit-radius-md: 10px;
42
- --orbit-radius-lg: 16px;
43
- --orbit-radius-pill: 999px;
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 1px 2px 0 rgba(17, 24, 39, 0.35);
78
- --orbit-shadow-md: 0 12px 30px -12px rgba(17, 24, 39, 0.55);
79
- --orbit-shadow-lg: 0 24px 55px -20px rgba(17, 24, 39, 0.6);
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-subtle: var(--orbit-shadow-sm);
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-subtle: var(--orbit-shadow-sm);
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.1",
3
+ "version": "0.1.1",
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
+ }