@kosdev-code/base-ui-components 0.1.0-dev.5385 → 0.1.0-dev.5596

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 (111) hide show
  1. package/components/atoms/button/index.d.ts +1 -1
  2. package/components/atoms/button/index.d.ts.map +1 -1
  3. package/components/atoms/button-group/button-group-item.d.ts +42 -0
  4. package/components/atoms/button-group/button-group-item.d.ts.map +1 -0
  5. package/components/atoms/button-group/button-group.d.ts +40 -0
  6. package/components/atoms/button-group/button-group.d.ts.map +1 -0
  7. package/components/atoms/button-group/hooks/use-button-group-context.d.ts +8 -0
  8. package/components/atoms/button-group/hooks/use-button-group-context.d.ts.map +1 -0
  9. package/components/atoms/button-group/index.d.ts +4 -0
  10. package/components/atoms/button-group/index.d.ts.map +1 -0
  11. package/components/atoms/icon/common/types.d.ts +2 -2
  12. package/components/atoms/icon/common/types.d.ts.map +1 -1
  13. package/components/atoms/index.d.ts +2 -0
  14. package/components/atoms/index.d.ts.map +1 -1
  15. package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/helpers/get-resize-panel-element.d.ts +6 -1
  16. package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/helpers/get-resize-panel-element.d.ts.map +1 -1
  17. package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.d.ts +6 -2
  18. package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.d.ts.map +1 -1
  19. package/components/atoms/resizable-panel-group/common/types.d.ts +6 -0
  20. package/components/atoms/resizable-panel-group/common/types.d.ts.map +1 -1
  21. package/components/atoms/resizable-panel-group/index.d.ts +1 -0
  22. package/components/atoms/resizable-panel-group/index.d.ts.map +1 -1
  23. package/components/atoms/resizable-panel-group/resizable-panel-group.d.ts +8 -4
  24. package/components/atoms/resizable-panel-group/resizable-panel-group.d.ts.map +1 -1
  25. package/components/molecules/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  26. package/components/molecules/form/components/form-input.d.ts.map +1 -1
  27. package/components/molecules/form/components/form-submit.d.ts.map +1 -1
  28. package/components/molecules/index.d.ts +2 -0
  29. package/components/molecules/index.d.ts.map +1 -1
  30. package/components/molecules/item-selection-list/item-selection-list.d.ts +1 -1
  31. package/components/molecules/item-selection-list/item-selection-list.d.ts.map +1 -1
  32. package/components/molecules/list/async-list/async-list-group-header.d.ts +12 -0
  33. package/components/molecules/list/async-list/async-list-group-header.d.ts.map +1 -0
  34. package/components/molecules/list/async-list/async-list.d.ts +139 -0
  35. package/components/molecules/list/async-list/async-list.d.ts.map +1 -0
  36. package/components/molecules/list/async-list/helpers/is-item-template-factory.d.ts +19 -0
  37. package/components/molecules/list/async-list/helpers/is-item-template-factory.d.ts.map +1 -0
  38. package/components/molecules/list/async-list/index.d.ts +9 -0
  39. package/components/molecules/list/async-list/index.d.ts.map +1 -0
  40. package/components/molecules/list/async-list/item-action-bar.d.ts +31 -0
  41. package/components/molecules/list/async-list/item-action-bar.d.ts.map +1 -0
  42. package/components/molecules/list/async-list/templates/studio-named-list-item.d.ts +41 -0
  43. package/components/molecules/list/async-list/templates/studio-named-list-item.d.ts.map +1 -0
  44. package/components/molecules/list/async-list/types.d.ts +286 -0
  45. package/components/molecules/list/async-list/types.d.ts.map +1 -0
  46. package/components/molecules/list/common/data-providers/base-async-tree-data-provider.d.ts +117 -56
  47. package/components/molecules/list/common/data-providers/base-async-tree-data-provider.d.ts.map +1 -1
  48. package/components/molecules/list/common/types.d.ts +111 -0
  49. package/components/molecules/list/common/types.d.ts.map +1 -1
  50. package/components/molecules/list/index.d.ts +1 -0
  51. package/components/molecules/list/index.d.ts.map +1 -1
  52. package/components/molecules/list/select-list/select-list.d.ts +1 -0
  53. package/components/molecules/list/select-list/select-list.d.ts.map +1 -1
  54. package/components/molecules/list/tree-list/async-tree-list.d.ts +253 -30
  55. package/components/molecules/list/tree-list/async-tree-list.d.ts.map +1 -1
  56. package/components/molecules/list/tree-list/helpers/is-item-template-factory.d.ts +19 -0
  57. package/components/molecules/list/tree-list/helpers/is-item-template-factory.d.ts.map +1 -0
  58. package/components/molecules/list/tree-list/templates/async-named-collapsible-branch.d.ts.map +1 -1
  59. package/components/molecules/table/table.d.ts.map +1 -1
  60. package/components/molecules/table/virtual-table.d.ts.map +1 -1
  61. package/components/molecules/view/action-bar.d.ts +27 -0
  62. package/components/molecules/view/action-bar.d.ts.map +1 -0
  63. package/components/molecules/view/index.d.ts +9 -0
  64. package/components/molecules/view/index.d.ts.map +1 -0
  65. package/components/molecules/view/types.d.ts +103 -0
  66. package/components/molecules/view/types.d.ts.map +1 -0
  67. package/components/molecules/view/view-header.d.ts +32 -0
  68. package/components/molecules/view/view-header.d.ts.map +1 -0
  69. package/components/molecules/view/view.d.ts +60 -0
  70. package/components/molecules/view/view.d.ts.map +1 -0
  71. package/components/molecules/view-container/index.d.ts +6 -0
  72. package/components/molecules/view-container/index.d.ts.map +1 -0
  73. package/components/molecules/view-container/types.d.ts +28 -0
  74. package/components/molecules/view-container/types.d.ts.map +1 -0
  75. package/components/molecules/view-container/view-container.d.ts +52 -0
  76. package/components/molecules/view-container/view-container.d.ts.map +1 -0
  77. package/index.cjs +1058 -824
  78. package/index.cjs.map +1 -1
  79. package/index.d.ts +1 -0
  80. package/index.d.ts.map +1 -1
  81. package/index.js +6495 -4614
  82. package/index.js.map +1 -1
  83. package/package.json +3 -3
  84. package/providers/data-providers/create-observable-list-provider.d.ts +116 -0
  85. package/providers/data-providers/create-observable-list-provider.d.ts.map +1 -0
  86. package/providers/data-providers/index.d.ts +86 -0
  87. package/providers/data-providers/index.d.ts.map +1 -0
  88. package/providers/data-providers/lifecycle-aware-list-provider.d.ts +206 -0
  89. package/providers/data-providers/lifecycle-aware-list-provider.d.ts.map +1 -0
  90. package/providers/data-providers/lifecycle-aware-tree-provider.d.ts +187 -0
  91. package/providers/data-providers/lifecycle-aware-tree-provider.d.ts.map +1 -0
  92. package/providers/data-providers/types.d.ts +124 -0
  93. package/providers/data-providers/types.d.ts.map +1 -0
  94. package/providers/index.d.ts +13 -0
  95. package/providers/index.d.ts.map +1 -0
  96. package/styles/tokens/component-tokens/button-group/index.d.ts +18 -0
  97. package/styles/tokens/component-tokens/button-group/index.d.ts.map +1 -0
  98. package/styles/tokens/component-tokens/icon/index.d.ts +1 -0
  99. package/styles/tokens/component-tokens/icon/index.d.ts.map +1 -1
  100. package/styles/tokens/component-tokens/index.d.ts +80 -0
  101. package/styles/tokens/component-tokens/index.d.ts.map +1 -1
  102. package/styles/tokens/component-tokens/notification/index.d.ts +37 -0
  103. package/styles/tokens/component-tokens/notification/index.d.ts.map +1 -0
  104. package/styles/tokens/component-tokens/studio-list-item/index.d.ts +13 -0
  105. package/styles/tokens/component-tokens/studio-list-item/index.d.ts.map +1 -0
  106. package/styles/tokens/component-tokens/view/index.d.ts +24 -0
  107. package/styles/tokens/component-tokens/view/index.d.ts.map +1 -0
  108. package/styles/tokens/component-tokens/view-container/index.d.ts +12 -0
  109. package/styles/tokens/component-tokens/view-container/index.d.ts.map +1 -0
  110. package/styles/tokens/index.d.ts +81 -1
  111. package/styles/tokens/index.d.ts.map +1 -1
@@ -0,0 +1,124 @@
1
+ import { ListItem } from '../../components/molecules/list/common/types';
2
+ import { AsyncListDataProvider } from '../../components/molecules/list/async-list/types';
3
+
4
+ /**
5
+ * Expression function that extracts an observable array from a model.
6
+ * The function will be tracked by MobX and automatically re-run when observables change.
7
+ *
8
+ * @typeParam M - The model type containing observable data
9
+ * @typeParam I - The raw item type from the model's observable array
10
+ *
11
+ * @category Data Providers
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * const itemsExpression: ObservableExpression<ProjectsModel, Project> =
16
+ * (model) => model.projects;
17
+ * ```
18
+ */
19
+ export type ObservableExpression<M, I extends Record<string, any>> = (model: M) => I[];
20
+ /**
21
+ * Transformer function that converts raw items to ListItem format.
22
+ * This function should be pure and not access observables directly.
23
+ *
24
+ * @typeParam I - The raw item type
25
+ * @typeParam T - The transformed ListItem type
26
+ *
27
+ * @category Data Providers
28
+ *
29
+ * @example
30
+ * ```typescript
31
+ * const transformer: ItemTransformer<Project, ProjectListItem> =
32
+ * (project) => ({
33
+ * id: project.id,
34
+ * name: project.name,
35
+ * subText: project.description,
36
+ * });
37
+ * ```
38
+ */
39
+ export type ItemTransformer<I extends Record<string, any>, T extends ListItem> = (item: I) => T;
40
+ /**
41
+ * Configuration object for creating an observable list data provider.
42
+ *
43
+ * @typeParam M - The model type containing observable data
44
+ * @typeParam I - The raw item type from the model
45
+ * @typeParam T - The transformed ListItem type
46
+ *
47
+ * @category Data Providers
48
+ */
49
+ export interface ObservableListProviderConfig<M, I extends Record<string, any>, T extends ListItem> {
50
+ /**
51
+ * The model instance containing observable data.
52
+ * This model should be a MobX observable object.
53
+ */
54
+ model: M;
55
+ /**
56
+ * Expression that extracts the observable array from the model.
57
+ * This function will be tracked by MobX and automatically re-run when observables change.
58
+ *
59
+ * @example
60
+ * ```typescript
61
+ * itemsExpression: (model) => model.projects
62
+ * ```
63
+ */
64
+ itemsExpression: ObservableExpression<M, I>;
65
+ /**
66
+ * Transformer function that converts raw items to ListItem format.
67
+ * This function should be pure and not access observables.
68
+ *
69
+ * @example
70
+ * ```typescript
71
+ * transformer: (project) => ({
72
+ * id: project.id,
73
+ * name: project.name,
74
+ * subText: project.description,
75
+ * })
76
+ * ```
77
+ */
78
+ transformer: ItemTransformer<I, T>;
79
+ /**
80
+ * Optional flag to automatically dispose the provider when all consumers unmount.
81
+ * Default: true
82
+ */
83
+ autoDispose?: boolean;
84
+ }
85
+ /**
86
+ * Observable list data provider that integrates MobX models with AsyncList component.
87
+ * Extends the AsyncListDataProvider interface with observable tracking capabilities.
88
+ *
89
+ * @typeParam M - The model type containing observable data
90
+ * @typeParam I - The raw item type from the model
91
+ * @typeParam T - The transformed ListItem type
92
+ *
93
+ * @category Data Providers
94
+ *
95
+ * @see {@link AsyncListDataProvider} for the base interface
96
+ * @see {@link createObservableListProvider} for factory function
97
+ */
98
+ export interface ObservableListDataProvider<M, I extends Record<string, any>, T extends ListItem> extends AsyncListDataProvider<I, T> {
99
+ /**
100
+ * The model instance containing observable data
101
+ */
102
+ readonly model: M;
103
+ /**
104
+ * Expression that extracts the observable array from the model
105
+ */
106
+ readonly itemsExpression: ObservableExpression<M, I>;
107
+ /**
108
+ * Transformer function that converts raw items to ListItem format
109
+ */
110
+ readonly transformer: ItemTransformer<I, T>;
111
+ /**
112
+ * Auto-dispose flag
113
+ */
114
+ readonly autoDispose: boolean;
115
+ /**
116
+ * Whether the provider has been initialized
117
+ */
118
+ readonly isInitialized: boolean;
119
+ /**
120
+ * Whether the provider has been disposed
121
+ */
122
+ readonly isDisposed: boolean;
123
+ }
124
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/providers/data-providers/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAC;AAE7E;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CACnE,KAAK,EAAE,CAAC,KACL,CAAC,EAAE,CAAC;AAET;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,CAAC,SAAS,QAAQ,IAChB,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC;AAEnB;;;;;;;;GAQG;AACH,MAAM,WAAW,4BAA4B,CAC3C,CAAC,EACD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,CAAC,SAAS,QAAQ;IAElB;;;OAGG;IACH,KAAK,EAAE,CAAC,CAAC;IAET;;;;;;;;OAQG;IACH,eAAe,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAE5C;;;;;;;;;;;;OAYG;IACH,WAAW,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAEnC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,0BAA0B,CACzC,CAAC,EACD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,CAAC,SAAS,QAAQ,CAClB,SAAQ,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAErD;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;CAC9B"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * (C) Copyright 2025, TCCC, All rights reserved.
3
+ */
4
+ /**
5
+ * Data Providers
6
+ *
7
+ * This module exports data provider utilities for reactive component integration.
8
+ *
9
+ * @module providers
10
+ * @category Providers
11
+ */
12
+ export * from './data-providers';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/libraries/base-ui-components/src/providers/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AAEH,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const BUTTON_GROUP_TOKENS: {
2
+ "button-group": {
3
+ gap: string;
4
+ "background-color": string;
5
+ "border-radius": string;
6
+ "border-width": string;
7
+ "border-color": string;
8
+ padding: string;
9
+ "item-padding": string;
10
+ "item-border-radius": string;
11
+ "item-background-color": string;
12
+ "item-background-color-hover": string;
13
+ "item-background-color-active": string;
14
+ "item-color": string;
15
+ "item-color-active": string;
16
+ };
17
+ };
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/button-group/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;CAiB/B,CAAC"}
@@ -15,6 +15,7 @@ export declare const ICON_TOKENS: {
15
15
  "size-xlrg": string;
16
16
  "size-xsm": string;
17
17
  "size-xxlrg": string;
18
+ "size-xxxlrg": string;
18
19
  "size-xxsm": string;
19
20
  };
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/icon/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;CAmBvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/icon/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC"}
@@ -1,6 +1,70 @@
1
1
  import { TagColor } from './tag';
2
2
 
3
3
  export declare const COMPONENT_TOKENS: {
4
+ readonly "view-container": {
5
+ readonly "vertical-gap": "0";
6
+ readonly "horizontal-gap": string;
7
+ readonly padding: "0";
8
+ readonly "background-color": "transparent";
9
+ };
10
+ readonly view: {
11
+ readonly "background-color": string;
12
+ readonly "border-color": string;
13
+ readonly "border-width": "1px";
14
+ readonly "border-radius": string;
15
+ readonly "content-padding": "0";
16
+ };
17
+ readonly "view-header": {
18
+ readonly "background-color": string;
19
+ readonly "border-color": string;
20
+ readonly "border-bottom-width": "1px";
21
+ readonly padding: `${string} ${string}`;
22
+ readonly gap: string;
23
+ readonly "left-gap": string;
24
+ readonly "text-gap": string;
25
+ readonly "actions-gap": string;
26
+ readonly "subtitle-font-size": string;
27
+ };
28
+ readonly "studio-list-item": {
29
+ readonly "column-gap": string;
30
+ readonly "row-gap": string;
31
+ readonly "color-selected": string;
32
+ readonly "background-color-selected": string;
33
+ readonly "padding-y": string;
34
+ readonly "padding-right": string;
35
+ readonly "padding-left": string;
36
+ readonly "subtext-padding-with-icon": string;
37
+ };
38
+ readonly notification: {
39
+ "bg-success": string;
40
+ "bg-error": string;
41
+ "bg-warning": string;
42
+ "bg-info": string;
43
+ "border-success": string;
44
+ "border-error": string;
45
+ "border-warning": string;
46
+ "border-info": string;
47
+ "icon-success": string;
48
+ "icon-error": string;
49
+ "icon-warning": string;
50
+ "icon-info": string;
51
+ "border-outer": string;
52
+ "border-outer-dark": string;
53
+ "color-title": string;
54
+ "color-message": string;
55
+ "color-close": string;
56
+ "color-action": string;
57
+ "bg-action-hover": string;
58
+ "bg-close-hover": string;
59
+ "bg-success-dark": string;
60
+ "bg-error-dark": string;
61
+ "bg-warning-dark": string;
62
+ "bg-info-dark": string;
63
+ "bg-action-hover-dark": string;
64
+ "bg-close-hover-dark": string;
65
+ "color-title-dark": string;
66
+ "color-message-dark": string;
67
+ };
4
68
  readonly "named-collapsible-branch": {
5
69
  readonly "column-gap": string;
6
70
  readonly "row-gap": string;
@@ -198,6 +262,21 @@ export declare const COMPONENT_TOKENS: {
198
262
  readonly "background-color-viewing": string;
199
263
  readonly gap: string;
200
264
  };
265
+ readonly "button-group": {
266
+ gap: string;
267
+ "background-color": string;
268
+ "border-radius": string;
269
+ "border-width": string;
270
+ "border-color": string;
271
+ padding: string;
272
+ "item-padding": string;
273
+ "item-border-radius": string;
274
+ "item-background-color": string;
275
+ "item-background-color-hover": string;
276
+ "item-background-color-active": string;
277
+ "item-color": string;
278
+ "item-color-active": string;
279
+ };
201
280
  readonly badge: {
202
281
  "color-blue": string;
203
282
  "color-blue-border": string;
@@ -514,6 +593,7 @@ export declare const COMPONENT_TOKENS: {
514
593
  "size-xlrg": string;
515
594
  "size-xsm": string;
516
595
  "size-xxlrg": string;
596
+ "size-xxxlrg": string;
517
597
  "size-xxsm": string;
518
598
  };
519
599
  readonly "icon-button": {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/index.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAc,QAAQ,EAAE,MAAM,OAAO,CAAC;AAqB7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CnB,CAAC;AAEX,YAAY,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/index.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAc,QAAQ,EAAE,MAAM,OAAO,CAAC;AA0B7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDnB,CAAC;AAEX,YAAY,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Notification component tokens for toast notifications.
3
+ * Follows the same pattern as badge tokens with background, border, and icon colors.
4
+ */
5
+ export declare const NOTIFICATION_TOKENS: {
6
+ notification: {
7
+ "bg-success": string;
8
+ "bg-error": string;
9
+ "bg-warning": string;
10
+ "bg-info": string;
11
+ "border-success": string;
12
+ "border-error": string;
13
+ "border-warning": string;
14
+ "border-info": string;
15
+ "icon-success": string;
16
+ "icon-error": string;
17
+ "icon-warning": string;
18
+ "icon-info": string;
19
+ "border-outer": string;
20
+ "border-outer-dark": string;
21
+ "color-title": string;
22
+ "color-message": string;
23
+ "color-close": string;
24
+ "color-action": string;
25
+ "bg-action-hover": string;
26
+ "bg-close-hover": string;
27
+ "bg-success-dark": string;
28
+ "bg-error-dark": string;
29
+ "bg-warning-dark": string;
30
+ "bg-info-dark": string;
31
+ "bg-action-hover-dark": string;
32
+ "bg-close-hover-dark": string;
33
+ "color-title-dark": string;
34
+ "color-message-dark": string;
35
+ };
36
+ };
37
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/notification/index.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD/B,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare const STUDIO_LIST_ITEM: {
2
+ readonly "studio-list-item": {
3
+ readonly "column-gap": string;
4
+ readonly "row-gap": string;
5
+ readonly "color-selected": string;
6
+ readonly "background-color-selected": string;
7
+ readonly "padding-y": string;
8
+ readonly "padding-right": string;
9
+ readonly "padding-left": string;
10
+ readonly "subtext-padding-with-icon": string;
11
+ };
12
+ };
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/studio-list-item/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;CAWnB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * (C) Copyright 2025, TCCC, All rights reserved.
3
+ */
4
+ export declare const VIEW_TOKENS: {
5
+ readonly view: {
6
+ readonly "background-color": string;
7
+ readonly "border-color": string;
8
+ readonly "border-width": "1px";
9
+ readonly "border-radius": string;
10
+ readonly "content-padding": "0";
11
+ };
12
+ readonly "view-header": {
13
+ readonly "background-color": string;
14
+ readonly "border-color": string;
15
+ readonly "border-bottom-width": "1px";
16
+ readonly padding: `${string} ${string}`;
17
+ readonly gap: string;
18
+ readonly "left-gap": string;
19
+ readonly "text-gap": string;
20
+ readonly "actions-gap": string;
21
+ readonly "subtitle-font-size": string;
22
+ };
23
+ };
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/view/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;CAqBd,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * (C) Copyright 2025, TCCC, All rights reserved.
3
+ */
4
+ export declare const VIEW_CONTAINER_TOKENS: {
5
+ readonly "view-container": {
6
+ readonly "vertical-gap": "0";
7
+ readonly "horizontal-gap": string;
8
+ readonly padding: "0";
9
+ readonly "background-color": "transparent";
10
+ };
11
+ };
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/styles/tokens/component-tokens/view-container/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,eAAO,MAAM,qBAAqB;;;;;;;CAOxB,CAAC"}
@@ -6,7 +6,71 @@ export { getGlobalToken, getSemanticToken };
6
6
  export { createLocalTokenSystem, createLocalComponentHelper, createLocalComponentTokenCss, transformLocalTokenObject, } from './common/local-token-helpers';
7
7
  export type { ExtractLocalTokenString } from './common/local-token-helpers';
8
8
  export { TagColor };
9
- export declare const getComponentTokenHelpers: <T extends readonly ("link" | "named-collapsible-branch" | "multi-select" | "shell-icon-button" | "file-picker" | "resizable-panels" | "table" | "artifact-store-settings" | "branded-header" | "ingredient-card" | "error-list-item" | "named-list-item" | "shell-menu" | "select-view-list" | "badge" | "radio-button" | "combobox" | "version-list-container" | "version-list-header" | "toggle-container" | "toggle-track" | "toggle-thumb" | "textarea" | "tag" | "tab" | "text" | "label" | "label-with-action" | "label-with-content-link" | "button" | "select" | "option" | "segmented" | "named-section" | "named-section-header" | "modal" | "input" | "image-config-page-header" | "icon" | "icon-button" | "horizontal-rule" | "form" | "drawer" | "collapsible-list-container" | "collapsible-list-header-container" | "collapsible-list-toggled-container" | "collapsible-artifact" | "collapsible-artifact-version" | "checkbox" | "artifact-drawer" | "app-shell" | "actionable-blurb")[]>(namespaces: [...T]) => { [Key in keyof T]: (key: ExtractTokenString<{
9
+ export declare const getComponentTokenHelpers: <T extends readonly ("link" | "view-container" | "view" | "view-header" | "studio-list-item" | "notification" | "named-collapsible-branch" | "multi-select" | "shell-icon-button" | "file-picker" | "resizable-panels" | "table" | "artifact-store-settings" | "branded-header" | "ingredient-card" | "error-list-item" | "named-list-item" | "shell-menu" | "select-view-list" | "button-group" | "badge" | "radio-button" | "combobox" | "version-list-container" | "version-list-header" | "toggle-container" | "toggle-track" | "toggle-thumb" | "textarea" | "tag" | "tab" | "text" | "label" | "label-with-action" | "label-with-content-link" | "button" | "select" | "option" | "segmented" | "named-section" | "named-section-header" | "modal" | "input" | "image-config-page-header" | "icon" | "icon-button" | "horizontal-rule" | "form" | "drawer" | "collapsible-list-container" | "collapsible-list-header-container" | "collapsible-list-toggled-container" | "collapsible-artifact" | "collapsible-artifact-version" | "checkbox" | "artifact-drawer" | "app-shell" | "actionable-blurb")[]>(namespaces: [...T]) => { [Key in keyof T]: (key: ExtractTokenString<{
10
+ readonly "view-container": {
11
+ readonly "vertical-gap": "0";
12
+ readonly "horizontal-gap": string;
13
+ readonly padding: "0";
14
+ readonly "background-color": "transparent";
15
+ };
16
+ readonly view: {
17
+ readonly "background-color": string;
18
+ readonly "border-color": string;
19
+ readonly "border-width": "1px";
20
+ readonly "border-radius": string;
21
+ readonly "content-padding": "0";
22
+ };
23
+ readonly "view-header": {
24
+ readonly "background-color": string;
25
+ readonly "border-color": string;
26
+ readonly "border-bottom-width": "1px";
27
+ readonly padding: `${string} ${string}`;
28
+ readonly gap: string;
29
+ readonly "left-gap": string;
30
+ readonly "text-gap": string;
31
+ readonly "actions-gap": string;
32
+ readonly "subtitle-font-size": string;
33
+ };
34
+ readonly "studio-list-item": {
35
+ readonly "column-gap": string;
36
+ readonly "row-gap": string;
37
+ readonly "color-selected": string;
38
+ readonly "background-color-selected": string;
39
+ readonly "padding-y": string;
40
+ readonly "padding-right": string;
41
+ readonly "padding-left": string;
42
+ readonly "subtext-padding-with-icon": string;
43
+ };
44
+ readonly notification: {
45
+ "bg-success": string;
46
+ "bg-error": string;
47
+ "bg-warning": string;
48
+ "bg-info": string;
49
+ "border-success": string;
50
+ "border-error": string;
51
+ "border-warning": string;
52
+ "border-info": string;
53
+ "icon-success": string;
54
+ "icon-error": string;
55
+ "icon-warning": string;
56
+ "icon-info": string;
57
+ "border-outer": string;
58
+ "border-outer-dark": string;
59
+ "color-title": string;
60
+ "color-message": string;
61
+ "color-close": string;
62
+ "color-action": string;
63
+ "bg-action-hover": string;
64
+ "bg-close-hover": string;
65
+ "bg-success-dark": string;
66
+ "bg-error-dark": string;
67
+ "bg-warning-dark": string;
68
+ "bg-info-dark": string;
69
+ "bg-action-hover-dark": string;
70
+ "bg-close-hover-dark": string;
71
+ "color-title-dark": string;
72
+ "color-message-dark": string;
73
+ };
10
74
  readonly "named-collapsible-branch": {
11
75
  readonly "column-gap": string;
12
76
  readonly "row-gap": string;
@@ -204,6 +268,21 @@ export declare const getComponentTokenHelpers: <T extends readonly ("link" | "na
204
268
  readonly "background-color-viewing": string;
205
269
  readonly gap: string;
206
270
  };
271
+ readonly "button-group": {
272
+ gap: string;
273
+ "background-color": string;
274
+ "border-radius": string;
275
+ "border-width": string;
276
+ "border-color": string;
277
+ padding: string;
278
+ "item-padding": string;
279
+ "item-border-radius": string;
280
+ "item-background-color": string;
281
+ "item-background-color-hover": string;
282
+ "item-background-color-active": string;
283
+ "item-color": string;
284
+ "item-color-active": string;
285
+ };
207
286
  readonly badge: {
208
287
  "color-blue": string;
209
288
  "color-blue-border": string;
@@ -520,6 +599,7 @@ export declare const getComponentTokenHelpers: <T extends readonly ("link" | "na
520
599
  "size-xlrg": string;
521
600
  "size-xsm": string;
522
601
  "size-xxlrg": string;
602
+ "size-xxxlrg": string;
523
603
  "size-xxsm": string;
524
604
  };
525
605
  readonly "icon-button": {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/styles/tokens/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,gBAAgB,EAEjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAG5C,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,eAAO,MAAM,w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