@kopexa/theme 1.6.0 → 1.6.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 (62) hide show
  1. package/dist/{chunk-OMS3433R.mjs → chunk-5QIMO5EG.mjs} +1 -1
  2. package/dist/{chunk-MGYGD5BF.mjs → chunk-DQEPGWAN.mjs} +1 -1
  3. package/dist/chunk-FWRXPYLB.mjs +41 -0
  4. package/dist/{chunk-DH3KNPAO.mjs → chunk-J4JIYTOU.mjs} +1 -1
  5. package/dist/{chunk-UVT775TU.mjs → chunk-LG2J56LI.mjs} +1 -1
  6. package/dist/{chunk-SU53TZN7.mjs → chunk-MKBU6G6Q.mjs} +10 -1
  7. package/dist/{chunk-HOQ2LD24.mjs → chunk-T5PESSOS.mjs} +1 -1
  8. package/dist/chunk-TT5V2MUL.mjs +29 -0
  9. package/dist/chunk-V2J5XG34.mjs +43 -0
  10. package/dist/{chunk-IRKCLWJD.mjs → chunk-VCLXE57S.mjs} +2 -1
  11. package/dist/chunk-WPOYEHD2.mjs +45 -0
  12. package/dist/{chunk-WSX3HKVE.mjs → chunk-XJ7XBZNF.mjs} +1 -1
  13. package/dist/{chunk-UPTG533L.mjs → chunk-ZLM6Z3W2.mjs} +7 -0
  14. package/dist/components/avatar.js +1 -1
  15. package/dist/components/avatar.mjs +2 -2
  16. package/dist/components/button.js +1 -1
  17. package/dist/components/button.mjs +2 -2
  18. package/dist/components/chip.js +1 -1
  19. package/dist/components/chip.mjs +2 -2
  20. package/dist/components/code.js +1 -1
  21. package/dist/components/code.mjs +2 -2
  22. package/dist/components/drawer.js +1 -1
  23. package/dist/components/drawer.mjs +1 -1
  24. package/dist/components/index.d.mts +4 -0
  25. package/dist/components/index.d.ts +4 -0
  26. package/dist/components/index.js +195 -24
  27. package/dist/components/index.mjs +39 -23
  28. package/dist/components/preview-card.d.mts +89 -0
  29. package/dist/components/preview-card.d.ts +89 -0
  30. package/dist/components/preview-card.js +69 -0
  31. package/dist/components/preview-card.mjs +6 -0
  32. package/dist/components/risk-badge.d.mts +97 -0
  33. package/dist/components/risk-badge.d.ts +97 -0
  34. package/dist/components/risk-badge.js +67 -0
  35. package/dist/components/risk-badge.mjs +6 -0
  36. package/dist/components/section-row.d.mts +47 -0
  37. package/dist/components/section-row.d.ts +47 -0
  38. package/dist/components/section-row.js +53 -0
  39. package/dist/components/section-row.mjs +6 -0
  40. package/dist/components/separator.js +2 -1
  41. package/dist/components/separator.mjs +1 -1
  42. package/dist/components/split-page-layout.d.mts +49 -0
  43. package/dist/components/split-page-layout.d.ts +49 -0
  44. package/dist/components/split-page-layout.js +65 -0
  45. package/dist/components/split-page-layout.mjs +6 -0
  46. package/dist/components/tab-nav.d.mts +18 -0
  47. package/dist/components/tab-nav.d.ts +18 -0
  48. package/dist/components/tab-nav.js +7 -0
  49. package/dist/components/tab-nav.mjs +1 -1
  50. package/dist/components/table.d.mts +18 -0
  51. package/dist/components/table.d.ts +18 -0
  52. package/dist/components/table.js +10 -1
  53. package/dist/components/table.mjs +1 -1
  54. package/dist/index.css +71 -13
  55. package/dist/index.d.mts +4 -0
  56. package/dist/index.d.ts +4 -0
  57. package/dist/index.js +195 -24
  58. package/dist/index.mjs +39 -23
  59. package/dist/utils/variants.js +1 -1
  60. package/dist/utils/variants.mjs +1 -1
  61. package/package.json +1 -1
  62. /package/dist/{chunk-EOJ6MEGH.mjs → chunk-NP4SOC4S.mjs} +0 -0
@@ -2,6 +2,12 @@ import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const tabNav: tailwind_variants.TVReturnType<{
5
+ bleed: {
6
+ true: {
7
+ list: string;
8
+ };
9
+ false: {};
10
+ };
5
11
  color: {
6
12
  primary: {
7
13
  link: string[];
@@ -33,6 +39,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
33
39
  linkInner: string[];
34
40
  linkInnerHidden: string[];
35
41
  }, undefined, {
42
+ bleed: {
43
+ true: {
44
+ list: string;
45
+ };
46
+ false: {};
47
+ };
36
48
  color: {
37
49
  primary: {
38
50
  link: string[];
@@ -64,6 +76,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
64
76
  linkInner: string[];
65
77
  linkInnerHidden: string[];
66
78
  }, tailwind_variants.TVReturnType<{
79
+ bleed: {
80
+ true: {
81
+ list: string;
82
+ };
83
+ false: {};
84
+ };
67
85
  color: {
68
86
  primary: {
69
87
  link: string[];
@@ -2,6 +2,12 @@ import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const tabNav: tailwind_variants.TVReturnType<{
5
+ bleed: {
6
+ true: {
7
+ list: string;
8
+ };
9
+ false: {};
10
+ };
5
11
  color: {
6
12
  primary: {
7
13
  link: string[];
@@ -33,6 +39,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
33
39
  linkInner: string[];
34
40
  linkInnerHidden: string[];
35
41
  }, undefined, {
42
+ bleed: {
43
+ true: {
44
+ list: string;
45
+ };
46
+ false: {};
47
+ };
36
48
  color: {
37
49
  primary: {
38
50
  link: string[];
@@ -64,6 +76,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
64
76
  linkInner: string[];
65
77
  linkInnerHidden: string[];
66
78
  }, tailwind_variants.TVReturnType<{
79
+ bleed: {
80
+ true: {
81
+ list: string;
82
+ };
83
+ false: {};
84
+ };
67
85
  color: {
68
86
  primary: {
69
87
  link: string[];
@@ -29,6 +29,7 @@ var tabNav = (0, import_tailwind_variants.tv)({
29
29
  base: "",
30
30
  list: [
31
31
  "flex",
32
+ "items-center",
32
33
  "justify-start",
33
34
  "overflow-x-auto",
34
35
  "whitespace-nowrap",
@@ -66,6 +67,12 @@ var tabNav = (0, import_tailwind_variants.tv)({
66
67
  ]
67
68
  },
68
69
  variants: {
70
+ bleed: {
71
+ true: {
72
+ list: "-mx-4 md:-mx-6 px-4 md:px-6"
73
+ },
74
+ false: {}
75
+ },
69
76
  color: {
70
77
  primary: {
71
78
  link: ["before:bg-primary"]
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tabNav
3
- } from "../chunk-UPTG533L.mjs";
3
+ } from "../chunk-ZLM6Z3W2.mjs";
4
4
  export {
5
5
  tabNav
6
6
  };
@@ -88,6 +88,12 @@ declare const table: tailwind_variants.TVReturnType<{
88
88
  tr: string[];
89
89
  th: string[];
90
90
  td: string[];
91
+ ownerCell: string[];
92
+ ownerCellAvatar: never[];
93
+ ownerCelltextWrapper: string;
94
+ ownerCellName: string;
95
+ ownerCellDescription: string;
96
+ ownerCellUnassigned: string;
91
97
  }, undefined, {
92
98
  bleed: {
93
99
  true: {};
@@ -175,6 +181,12 @@ declare const table: tailwind_variants.TVReturnType<{
175
181
  tr: string[];
176
182
  th: string[];
177
183
  td: string[];
184
+ ownerCell: string[];
185
+ ownerCellAvatar: never[];
186
+ ownerCelltextWrapper: string;
187
+ ownerCellName: string;
188
+ ownerCellDescription: string;
189
+ ownerCellUnassigned: string;
178
190
  }, tailwind_variants.TVReturnType<{
179
191
  bleed: {
180
192
  true: {};
@@ -262,6 +274,12 @@ declare const table: tailwind_variants.TVReturnType<{
262
274
  tr: string[];
263
275
  th: string[];
264
276
  td: string[];
277
+ ownerCell: string[];
278
+ ownerCellAvatar: never[];
279
+ ownerCelltextWrapper: string;
280
+ ownerCellName: string;
281
+ ownerCellDescription: string;
282
+ ownerCellUnassigned: string;
265
283
  }, undefined, unknown, unknown, undefined>>;
266
284
  type TableVariantProps = VariantProps<typeof table>;
267
285
  type TableSlots = keyof ReturnType<typeof table>;
@@ -88,6 +88,12 @@ declare const table: tailwind_variants.TVReturnType<{
88
88
  tr: string[];
89
89
  th: string[];
90
90
  td: string[];
91
+ ownerCell: string[];
92
+ ownerCellAvatar: never[];
93
+ ownerCelltextWrapper: string;
94
+ ownerCellName: string;
95
+ ownerCellDescription: string;
96
+ ownerCellUnassigned: string;
91
97
  }, undefined, {
92
98
  bleed: {
93
99
  true: {};
@@ -175,6 +181,12 @@ declare const table: tailwind_variants.TVReturnType<{
175
181
  tr: string[];
176
182
  th: string[];
177
183
  td: string[];
184
+ ownerCell: string[];
185
+ ownerCellAvatar: never[];
186
+ ownerCelltextWrapper: string;
187
+ ownerCellName: string;
188
+ ownerCellDescription: string;
189
+ ownerCellUnassigned: string;
178
190
  }, tailwind_variants.TVReturnType<{
179
191
  bleed: {
180
192
  true: {};
@@ -262,6 +274,12 @@ declare const table: tailwind_variants.TVReturnType<{
262
274
  tr: string[];
263
275
  th: string[];
264
276
  td: string[];
277
+ ownerCell: string[];
278
+ ownerCellAvatar: never[];
279
+ ownerCelltextWrapper: string;
280
+ ownerCellName: string;
281
+ ownerCellDescription: string;
282
+ ownerCellUnassigned: string;
265
283
  }, undefined, unknown, unknown, undefined>>;
266
284
  type TableVariantProps = VariantProps<typeof table>;
267
285
  type TableSlots = keyof ReturnType<typeof table>;
@@ -64,7 +64,16 @@ var table = (0, import_tailwind_variants.tv)({
64
64
  "before:w-0.5",
65
65
  "before:opacity-0",
66
66
  "group-aria-[selected=true]/tr:first:before:opacity-100"
67
- ]
67
+ ],
68
+ ownerCell: [
69
+ "min-h-[50px]",
70
+ "inline-flex items-center justify-center gap-2"
71
+ ],
72
+ ownerCellAvatar: [],
73
+ ownerCelltextWrapper: "inline-flex flex-col items-start",
74
+ ownerCellName: "text-xs font-medium",
75
+ ownerCellDescription: "text-[11px] text-muted-foreground truncate",
76
+ ownerCellUnassigned: "text-xs italic text-muted-foreground"
68
77
  },
69
78
  variants: {
70
79
  bleed: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  table
3
- } from "../chunk-SU53TZN7.mjs";
3
+ } from "../chunk-MKBU6G6Q.mjs";
4
4
  export {
5
5
  table
6
6
  };
package/dist/index.css CHANGED
@@ -14,8 +14,8 @@
14
14
  --primary-foreground: var(--color-white);
15
15
  --secondary: var(--color-default-200);
16
16
  --secondary-foreground: oklch(0.205 0 0);
17
- --muted: var(--color-default-100);
18
- --muted-foreground: var(--color-default-600);
17
+ --muted: var(--color-default-50);
18
+ --muted-foreground: var(--color-default-800);
19
19
  --accent: var(--color-primary-50);
20
20
  --accent-foreground: oklch(0.205 0 0);
21
21
  --destructive: var(--color-destructive-600);
@@ -99,6 +99,18 @@
99
99
  --color-desert-storm-900: oklch(0.3873 0.043 34.09);
100
100
  --color-desert-storm-950: oklch(0.2556 0.0275 30.23);
101
101
 
102
+ --color-slate-gray-50: oklch(0.9769 0.0032 197.11);
103
+ --color-slate-gray-100: oklch(0.9569 0.0065 208.78);
104
+ --color-slate-gray-200: oklch(0.9167 0.0095 222.06);
105
+ --color-slate-gray-300: oklch(0.8639 0.0167 221.1);
106
+ --color-slate-gray-400: oklch(0.7983 0.0218 232.21);
107
+ --color-slate-gray-500: oklch(0.7354 0.0268 240.8);
108
+ --color-slate-gray-600: oklch(0.6647 0.0326 246.78);
109
+ --color-slate-gray-700: oklch(0.5925 0.0309 248.35);
110
+ --color-slate-gray-800: oklch(0.5154 0.0253 250.43);
111
+ --color-slate-gray-900: oklch(0.455 0.0194 245.39);
112
+ --color-slate-gray-950: oklch(0.3209 0.0109 236.95);
113
+
102
114
  --color-primary-50: oklch(96.58% 0.016 262.77);
103
115
  --color-primary-100: oklch(92.21% 0.037 262.15);
104
116
  --color-primary-200: oklch(84.55% 0.074 259.28);
@@ -123,17 +135,17 @@
123
135
  --color-success-900: oklch(22.65% 0.049 162.45);
124
136
  --color-success-950: oklch(18.48% 0.04 162.16);
125
137
 
126
- --color-default-50: oklch(0.98 0.00 248);
127
- --color-default-100: oklch(0.97 0.00 265);
128
- --color-default-200: oklch(0.93 0.01 265);
129
- --color-default-300: oklch(0.87 0.01 258);
130
- --color-default-400: oklch(0.71 0.02 261);
131
- --color-default-500: oklch(0.55 0.02 264);
132
- --color-default-600: oklch(0.45 0.03 257);
133
- --color-default-700: oklch(0.37 0.03 260);
134
- --color-default-800: oklch(0.28 0.03 257);
135
- --color-default-900: oklch(0.21 0.03 265);
136
- --color-default-950: oklch(0.13 0.03 262);
138
+ --color-default-50: var(--color-slate-gray-50);
139
+ --color-default-100: var(--color-slate-gray-100);
140
+ --color-default-200: var(--color-slate-gray-200);
141
+ --color-default-300: var(--color-slate-gray-300);
142
+ --color-default-400: var(--color-slate-gray-400);
143
+ --color-default-500: var(--color-slate-gray-500);
144
+ --color-default-600: var(--color-slate-gray-600);
145
+ --color-default-700: var(--color-slate-gray-700);
146
+ --color-default-800: var(--color-slate-gray-800);
147
+ --color-default-900: var(--color-slate-gray-900);
148
+ --color-default-950: var(--color-slate-gray-950);
137
149
 
138
150
  --color-warning-50: oklch(97.44% 0.014 46.3);
139
151
  --color-warning-100: oklch(95.09% 0.027 49.62);
@@ -378,4 +390,50 @@
378
390
  grid-row: var(--grid-row-order-navigation);
379
391
  grid-area: navigation;
380
392
  }
393
+
394
+ .section-row {
395
+ display: grid;
396
+ gap: calc(var(--spacing) * 2);
397
+ grid-template-columns: auto auto;
398
+ grid-template-areas:
399
+ 'title title'
400
+ 'value-container value-container';
401
+ }
402
+
403
+ .section-row.has-actions {
404
+ grid-template-columns: auto 28px;
405
+ grid-template-areas:
406
+ 'title title'
407
+ 'value-container action';
408
+ }
409
+
410
+ .section-row__title {
411
+ grid-area: title;
412
+ }
413
+
414
+ .section-row__value-container {
415
+ grid-area: value-container;
416
+ display: flex;
417
+ justify-content: flex-start;
418
+ }
419
+
420
+ .section-row__action {
421
+ grid-area: action;
422
+ }
423
+
424
+ @media (min-width: theme(--breakpoint-md)) {
425
+ .section-row {
426
+ grid-template-columns: min(40%, calc(var(--spacing) * 28)) 1fr;
427
+ grid-template-areas: 'title value-container';
428
+ }
429
+
430
+ .section-row.has-actions {
431
+ grid-template-columns: min(40%, calc(var(--spacing) * 28)) 1fr 28px;
432
+ grid-template-areas: 'title value-container action';
433
+ }
434
+
435
+ .section-row__value-container {
436
+ justify-content: flex-end;
437
+ }
438
+ }
381
439
  }
package/dist/index.d.mts CHANGED
@@ -18,11 +18,15 @@ export { InputVariantProps, input, passwordInput } from './components/input.mjs'
18
18
  export { PageHeaderVariantProps, pageHeader } from './components/page-header.mjs';
19
19
  export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.mjs';
20
20
  export { PopoverVariants, popover } from './components/popover.mjs';
21
+ export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './components/preview-card.mjs';
22
+ export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.mjs';
21
23
  export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.mjs';
24
+ export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.mjs';
22
25
  export { SeparatorVariantProps, separator } from './components/separator.mjs';
23
26
  export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './components/sidebar.mjs';
24
27
  export { skeleton } from './components/skeleton.mjs';
25
28
  export { SpinnerVariants, spinner } from './components/spinner.mjs';
29
+ export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.mjs';
26
30
  export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.mjs';
27
31
  export { TableSlots, TableVariantProps, table } from './components/table.mjs';
28
32
  export { TabsVariantProps, tabs } from './components/tabs.mjs';
package/dist/index.d.ts CHANGED
@@ -18,11 +18,15 @@ export { InputVariantProps, input, passwordInput } from './components/input.js';
18
18
  export { PageHeaderVariantProps, pageHeader } from './components/page-header.js';
19
19
  export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.js';
20
20
  export { PopoverVariants, popover } from './components/popover.js';
21
+ export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './components/preview-card.js';
22
+ export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.js';
21
23
  export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.js';
24
+ export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.js';
22
25
  export { SeparatorVariantProps, separator } from './components/separator.js';
23
26
  export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './components/sidebar.js';
24
27
  export { skeleton } from './components/skeleton.js';
25
28
  export { SpinnerVariants, spinner } from './components/spinner.js';
29
+ export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.js';
26
30
  export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.js';
27
31
  export { TableSlots, TableVariantProps, table } from './components/table.js';
28
32
  export { TabsVariantProps, tabs } from './components/tabs.js';