@rocket.chat/fuselage 0.84.0 → 0.86.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.
Files changed (90) hide show
  1. package/dist/Theme.d.ts.map +1 -1
  2. package/dist/components/AutoComplete/AutoComplete.d.ts +5 -0
  3. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  4. package/dist/components/Badge/Badge.d.ts +2 -3
  5. package/dist/components/Badge/Badge.d.ts.map +1 -1
  6. package/dist/components/Button/Button.d.ts +13 -1
  7. package/dist/components/Button/Button.d.ts.map +1 -1
  8. package/dist/components/Contextualbar/Contextualbar.d.ts +1 -1
  9. package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
  10. package/dist/components/Contextualbar/ContextualbarAction.d.ts +3 -4
  11. package/dist/components/Contextualbar/ContextualbarAction.d.ts.map +1 -1
  12. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts +3 -4
  13. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts.map +1 -1
  14. package/dist/components/Contextualbar/ContextualbarFooter.d.ts +1 -1
  15. package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
  16. package/dist/components/Contextualbar/ContextualbarHeader.d.ts.map +1 -1
  17. package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
  18. package/dist/components/Contextualbar/ContextualbarTitle.d.ts.map +1 -1
  19. package/dist/components/Message/helpers.d.ts +2 -3
  20. package/dist/components/Message/helpers.d.ts.map +1 -1
  21. package/dist/components/Sidebar/Item.d.ts +74 -0
  22. package/dist/components/Sidebar/Item.d.ts.map +1 -1
  23. package/dist/components/Sidebar/Section.d.ts +12 -0
  24. package/dist/components/Sidebar/Section.d.ts.map +1 -1
  25. package/dist/components/Sidebar/Sidebar.d.ts +6 -0
  26. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  27. package/dist/components/Sidebar/SidebarActions.d.ts +12 -0
  28. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  29. package/dist/components/Sidebar/SidebarBanner.d.ts +9 -0
  30. package/dist/components/Sidebar/SidebarBanner.d.ts.map +1 -1
  31. package/dist/components/Sidebar/SidebarDivider.d.ts +3 -0
  32. package/dist/components/Sidebar/SidebarDivider.d.ts.map +1 -1
  33. package/dist/components/Sidebar/SidebarFooter.d.ts +12 -0
  34. package/dist/components/Sidebar/SidebarFooter.d.ts.map +1 -1
  35. package/dist/components/Sidebar/TopBar/TopBar.d.ts +5 -0
  36. package/dist/components/Sidebar/TopBar/TopBar.d.ts.map +1 -1
  37. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +3 -0
  38. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
  39. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts +3 -0
  40. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts.map +1 -1
  41. package/dist/components/Sidebar/TopBar/TopBarSection.d.ts +6 -0
  42. package/dist/components/Sidebar/TopBar/TopBarSection.d.ts.map +1 -1
  43. package/dist/components/Sidebar/TopBar/TopBarTitle.d.ts +6 -0
  44. package/dist/components/Sidebar/TopBar/TopBarTitle.d.ts.map +1 -1
  45. package/dist/components/Sidebar/TopBar/TopBarToolBox.d.ts +6 -0
  46. package/dist/components/Sidebar/TopBar/TopBarToolBox.d.ts.map +1 -1
  47. package/dist/components/Sidebar/TopBar/TopBarV2.d.ts +6 -0
  48. package/dist/components/Sidebar/TopBar/TopBarV2.d.ts.map +1 -1
  49. package/dist/components/Sidebar/TopBar/TopBarWrapper.d.ts +6 -0
  50. package/dist/components/Sidebar/TopBar/TopBarWrapper.d.ts.map +1 -1
  51. package/dist/components/Sidebar/TopBar/index.d.ts +3 -0
  52. package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
  53. package/dist/components/SidebarV2/SidebarGroupTitle.d.ts.map +1 -1
  54. package/dist/components/SidebarV2/helpers.d.ts.map +1 -1
  55. package/dist/components/index.d.ts +0 -1
  56. package/dist/components/index.d.ts.map +1 -1
  57. package/dist/fuselage.css +4 -4
  58. package/dist/fuselage.css.map +1 -1
  59. package/dist/fuselage.development.js +253 -466
  60. package/dist/fuselage.development.js.map +1 -1
  61. package/dist/fuselage.production.js +49 -49
  62. package/dist/styleTokens.d.ts.map +1 -1
  63. package/dist/tsdoc-metadata.json +1 -1
  64. package/package.json +14 -13
  65. package/dist/components/ContextualbarV2/Contextualbar.d.ts +0 -10
  66. package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +0 -1
  67. package/dist/components/ContextualbarV2/ContextualbarAction.d.ts +0 -7
  68. package/dist/components/ContextualbarV2/ContextualbarAction.d.ts.map +0 -1
  69. package/dist/components/ContextualbarV2/ContextualbarActions.d.ts +0 -5
  70. package/dist/components/ContextualbarV2/ContextualbarActions.d.ts.map +0 -1
  71. package/dist/components/ContextualbarV2/ContextualbarButton.d.ts +0 -5
  72. package/dist/components/ContextualbarV2/ContextualbarButton.d.ts.map +0 -1
  73. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +0 -7
  74. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +0 -1
  75. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts +0 -11
  76. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts.map +0 -1
  77. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +0 -7
  78. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +0 -1
  79. package/dist/components/ContextualbarV2/ContextualbarHeader.d.ts +0 -5
  80. package/dist/components/ContextualbarV2/ContextualbarHeader.d.ts.map +0 -1
  81. package/dist/components/ContextualbarV2/ContextualbarIcon.d.ts +0 -5
  82. package/dist/components/ContextualbarV2/ContextualbarIcon.d.ts.map +0 -1
  83. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +0 -7
  84. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +0 -1
  85. package/dist/components/ContextualbarV2/ContextualbarSkeleton.d.ts +0 -5
  86. package/dist/components/ContextualbarV2/ContextualbarSkeleton.d.ts.map +0 -1
  87. package/dist/components/ContextualbarV2/ContextualbarTitle.d.ts +0 -5
  88. package/dist/components/ContextualbarV2/ContextualbarTitle.d.ts.map +0 -1
  89. package/dist/components/ContextualbarV2/index.d.ts +0 -13
  90. package/dist/components/ContextualbarV2/index.d.ts.map +0 -1
@@ -66,8 +66,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
66
66
  };
67
67
  Object.defineProperty(exports, "__esModule", ({ value: true }));
68
68
  exports.Palette = exports.isShadowColor = exports.isStatusColor = exports.isStatusBackgroundColor = exports.isBadgeColor = exports.isTextIconColor = exports.isStrokeColor = exports.isSurfaceColor = exports.shadowColors = exports.badgeBackgroundColors = exports.statusColors = exports.statusBackgroundColors = exports.textIconColors = exports.strokeColors = exports.surfaceColors = exports.neutral = exports.__setThrowErrorOnInvalidToken__ = exports.throwErrorOnInvalidToken = exports.Var = void 0;
69
- const colors_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/colors.json */ "@rocket.chat/fuselage-tokens/colors.json"));
70
- const getPaletteColor_1 = __webpack_require__(/*! ./getPaletteColor */ "./src/getPaletteColor.ts");
69
+ const badge_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/badge.json */ "@rocket.chat/fuselage-tokens/dist/badge.json"));
70
+ const colors_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/colors.json */ "@rocket.chat/fuselage-tokens/dist/colors.json"));
71
+ const font_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/font.json */ "@rocket.chat/fuselage-tokens/dist/font.json"));
72
+ const shadow_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/shadow.json */ "@rocket.chat/fuselage-tokens/dist/shadow.json"));
73
+ const status_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/status.json */ "@rocket.chat/fuselage-tokens/dist/status.json"));
74
+ const stroke_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/stroke.json */ "@rocket.chat/fuselage-tokens/dist/stroke.json"));
75
+ const surface_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/surface.json */ "@rocket.chat/fuselage-tokens/dist/surface.json"));
71
76
  const toCSSValue_1 = __webpack_require__(/*! ./helpers/toCSSValue */ "./src/helpers/toCSSValue.ts");
72
77
  class Var {
73
78
  name;
@@ -84,7 +89,6 @@ class Var {
84
89
  }
85
90
  }
86
91
  exports.Var = Var;
87
- const white = new Var('white', '#ffffff');
88
92
  exports.throwErrorOnInvalidToken = false;
89
93
  const __setThrowErrorOnInvalidToken__ = (value) => {
90
94
  exports.throwErrorOnInvalidToken = value;
@@ -103,143 +107,92 @@ exports.neutral = {
103
107
  800: new Var('neutral-800', colors_json_1.default.n800),
104
108
  900: new Var('neutral-900', colors_json_1.default.n900),
105
109
  };
106
- const blue = {
107
- 100: new Var('primary-100', colors_json_1.default.b100),
108
- 200: new Var('primary-200', colors_json_1.default.b200),
109
- 300: new Var('primary-300', colors_json_1.default.b300),
110
- 400: new Var('primary-400', colors_json_1.default.b400),
111
- 500: new Var('primary-500', colors_json_1.default.b500),
112
- 600: new Var('primary-600', colors_json_1.default.b600),
113
- 700: new Var('primary-700', colors_json_1.default.b700),
114
- 800: new Var('primary-800', colors_json_1.default.b800),
115
- 900: new Var('primary-900', colors_json_1.default.b900),
116
- };
117
- const green = {
118
- 100: new Var('success-100', colors_json_1.default.g100),
119
- 200: new Var('success-200', colors_json_1.default.g200),
120
- 300: new Var('success-300', colors_json_1.default.g300),
121
- 400: new Var('success-400', colors_json_1.default.g400),
122
- 500: new Var('success-500', colors_json_1.default.g500),
123
- 600: new Var('success-600', colors_json_1.default.g600),
124
- 700: new Var('success-700', colors_json_1.default.g700),
125
- 800: new Var('success-800', colors_json_1.default.g800),
126
- 900: new Var('success-900', colors_json_1.default.g900),
127
- };
128
- const yellow = {
129
- 100: new Var('warning-100', colors_json_1.default.y100),
130
- 200: new Var('warning-200', colors_json_1.default.y200),
131
- 300: new Var('warning-300', colors_json_1.default.y300),
132
- 400: new Var('warning-400', colors_json_1.default.y400),
133
- 500: new Var('warning-500', colors_json_1.default.y500),
134
- 600: new Var('warning-600', colors_json_1.default.y600),
135
- 700: new Var('warning-700', colors_json_1.default.y700),
136
- 800: new Var('warning-800', colors_json_1.default.y800),
137
- 900: new Var('warning-900', colors_json_1.default.y900),
138
- };
139
- const red = {
140
- 100: new Var('danger-100', colors_json_1.default.r100),
141
- 200: new Var('danger-200', colors_json_1.default.r200),
142
- 300: new Var('danger-300', colors_json_1.default.r300),
143
- 400: new Var('danger-400', colors_json_1.default.r400),
144
- 500: new Var('danger-500', colors_json_1.default.r500),
145
- 600: new Var('danger-600', colors_json_1.default.r600),
146
- 700: new Var('danger-700', colors_json_1.default.r700),
147
- 800: new Var('danger-800', colors_json_1.default.r800),
148
- 900: new Var('danger-900', colors_json_1.default.r900),
149
- };
150
- const orange = {
151
- 100: new Var('service-1-100', colors_json_1.default.o100),
152
- 200: new Var('service-1-200', colors_json_1.default.o200),
153
- 300: new Var('service-1-300', colors_json_1.default.o300),
154
- 400: new Var('service-1-400', colors_json_1.default.o400),
155
- 500: new Var('service-1-500', colors_json_1.default.o500),
156
- 600: new Var('service-1-600', colors_json_1.default.o600),
157
- 700: new Var('service-1-700', colors_json_1.default.o700),
158
- 800: new Var('service-1-800', colors_json_1.default.o800),
159
- 900: new Var('service-1-900', colors_json_1.default.o900),
160
- };
161
- const purple = {
162
- 100: new Var('service-2-100', colors_json_1.default.p100),
163
- 200: new Var('service-2-200', colors_json_1.default.p200),
164
- 300: new Var('service-2-300', colors_json_1.default.p300),
165
- 400: new Var('service-2-400', colors_json_1.default.p400),
166
- 500: new Var('service-2-500', colors_json_1.default.p500),
167
- 600: new Var('service-2-600', colors_json_1.default.p600),
168
- 700: new Var('service-2-700', colors_json_1.default.p700),
169
- 800: new Var('service-2-800', colors_json_1.default.p800),
170
- 900: new Var('service-2-900', colors_json_1.default.p900),
171
- };
110
+ // fuselage-tokens doesn't expose semantic tokens for these yet:
111
+ // - status-font "on-warning" (diverges from the token's yellow-900; see TODO
112
+ // below)
113
+ // Falls back to the primitive palette directly. TODO(fuselage-tokens):
114
+ // remove `primitive()` and its call sites below once resolved.
115
+ const primitive = (ref, name) => new Var(name, colors_json_1.default[ref]);
116
+ const surfaceTokens = surface_json_1.default.light;
172
117
  exports.surfaceColors = {
173
- 'surface-light': white.theme('surface-light'),
174
- 'surface-tint': exports.neutral[100].theme('surface-tint'),
175
- 'surface-room': white.theme('surface-room'),
176
- 'surface-neutral': exports.neutral[400].theme('surface-neutral'),
177
- 'surface-disabled': exports.neutral[100].theme('surface-disabled'),
178
- 'surface-hover': exports.neutral[200].theme('surface-hover'),
179
- 'surface-selected': exports.neutral[450].theme('surface-selected'),
180
- 'surface-dark': exports.neutral[800].theme('surface-dark'),
181
- 'surface-featured': purple['700'].theme('surface-featured'),
182
- 'surface-featured-hover': purple['800'].theme('surface-featured-hover'),
183
- 'surface-overlay': exports.neutral[800].theme('surface-overlay'),
118
+ 'surface-light': new Var('surface-light', surfaceTokens.light),
119
+ 'surface-tint': new Var('surface-tint', surfaceTokens.tint),
120
+ 'surface-room': new Var('surface-room', surfaceTokens.room),
121
+ 'surface-neutral': new Var('surface-neutral', surfaceTokens.neutral),
122
+ 'surface-disabled': new Var('surface-disabled', surfaceTokens.disabled),
123
+ 'surface-hover': new Var('surface-hover', surfaceTokens.hover),
124
+ 'surface-selected': new Var('surface-selected', surfaceTokens.selected),
125
+ 'surface-dark': new Var('surface-dark', surfaceTokens.dark),
126
+ 'surface-featured': new Var('surface-featured', surfaceTokens.featured),
127
+ 'surface-featured-hover': new Var('surface-featured-hover', surfaceTokens.featuredHover),
128
+ 'surface-overlay': new Var('surface-overlay', surfaceTokens.overlay),
184
129
  'surface-transparent': 'transparent',
185
- 'surface-sidebar': exports.neutral[400].theme('surface-sidebar'),
130
+ 'surface-sidebar': new Var('surface-sidebar', surfaceTokens.sidebar),
186
131
  };
132
+ const strokeTokens = stroke_json_1.default.light;
187
133
  exports.strokeColors = {
188
- 'stroke-extra-light': exports.neutral[250].theme('stroke-extra-light'),
189
- 'stroke-light': exports.neutral[500].theme('stroke-light'),
190
- 'stroke-medium': exports.neutral[600].theme('stroke-medium'),
191
- 'stroke-dark': exports.neutral[700].theme('stroke-dark'),
192
- 'stroke-extra-dark': exports.neutral[800].theme('stroke-extra-dark'),
193
- 'stroke-extra-light-highlight': blue[200].theme('stroke-extra-light-highlight'),
194
- 'stroke-highlight': blue[500].theme('stroke-highlight'),
195
- 'stroke-extra-light-error': red[200].theme('stroke-extra-light-error'),
196
- 'stroke-error': red[500].theme('stroke-error'),
197
- };
134
+ 'stroke-extra-light': new Var('stroke-extra-light', strokeTokens.extraLight),
135
+ 'stroke-light': new Var('stroke-light', strokeTokens.light),
136
+ 'stroke-medium': new Var('stroke-medium', strokeTokens.medium),
137
+ 'stroke-dark': new Var('stroke-dark', strokeTokens.dark),
138
+ 'stroke-extra-dark': new Var('stroke-extra-dark', strokeTokens.extraDark),
139
+ 'stroke-extra-light-highlight': new Var('stroke-extra-light-highlight', strokeTokens.extraLightHighlight),
140
+ 'stroke-highlight': new Var('stroke-highlight', strokeTokens.highlight),
141
+ 'stroke-extra-light-error': new Var('stroke-extra-light-error', strokeTokens.extraLightError),
142
+ 'stroke-error': new Var('stroke-error', strokeTokens.error),
143
+ };
144
+ const fontTokens = font_json_1.default.light;
198
145
  exports.textIconColors = {
199
- 'font-white': white.theme('font-white'),
200
- 'font-disabled': exports.neutral[500].theme('font-disabled'),
201
- 'font-annotation': exports.neutral[600].theme('font-annotation'),
202
- 'font-hint': exports.neutral[700].theme('font-hint'),
203
- 'font-secondary-info': exports.neutral[700].theme('font-secondary-info'),
204
- 'font-default': exports.neutral[800].theme('font-default'),
205
- 'font-titles-labels': exports.neutral[900].theme('font-titles-labels'),
206
- 'font-info': blue[600].theme('font-info'),
207
- 'font-danger': red[600].theme('font-danger'),
208
- 'font-pure-black': exports.neutral[800].theme('font-pure-black'),
209
- 'font-pure-white': white.theme('font-pure-white'),
210
- };
146
+ 'font-white': new Var('font-white', fontTokens.white),
147
+ 'font-disabled': new Var('font-disabled', fontTokens.disabled),
148
+ 'font-annotation': new Var('font-annotation', fontTokens.annotation),
149
+ 'font-hint': new Var('font-hint', fontTokens.hint),
150
+ 'font-secondary-info': new Var('font-secondary-info', fontTokens.secondaryInfo),
151
+ 'font-default': new Var('font-default', fontTokens.default),
152
+ 'font-titles-labels': new Var('font-titles-labels', fontTokens.titlesLabels),
153
+ 'font-info': new Var('font-info', fontTokens.info),
154
+ 'font-danger': new Var('font-danger', fontTokens.danger),
155
+ 'font-pure-black': new Var('font-pure-black', fontTokens.pureBlack),
156
+ 'font-pure-white': new Var('font-pure-white', fontTokens.pureWhite),
157
+ };
158
+ const statusTokens = status_json_1.default.light;
211
159
  exports.statusBackgroundColors = {
212
- 'status-background-info': blue[200].theme('status-background-info'),
213
- 'status-background-success': green[200].theme('status-background-success'),
214
- 'status-background-danger': red[200].theme('status-background-danger'),
215
- 'status-background-warning': yellow[200].theme('status-background-warning'),
216
- 'status-background-warning-2': yellow[100].theme('status-background-warning-2'),
217
- 'status-background-service-1': orange[200].theme('status-background-service-1'),
218
- 'status-background-service-2': purple[200].theme('status-background-service-2'),
160
+ 'status-background-info': new Var('status-background-info', statusTokens.info),
161
+ 'status-background-success': new Var('status-background-success', statusTokens.success),
162
+ 'status-background-danger': new Var('status-background-danger', statusTokens.danger),
163
+ 'status-background-warning': new Var('status-background-warning', statusTokens.warning),
164
+ 'status-background-warning-2': new Var('status-background-warning-2', statusTokens['warning-2']),
165
+ 'status-background-service-1': new Var('status-background-service-1', statusTokens['service-1']),
166
+ 'status-background-service-2': new Var('status-background-service-2', statusTokens['service-2']),
219
167
  };
220
168
  exports.statusColors = {
221
- 'status-font-on-info': blue[600].theme('status-font-on-info'),
222
- 'status-font-on-success': green[800].theme('status-font-on-success'),
223
- 'status-font-on-warning': yellow[800].theme('status-font-on-warning'),
224
- 'status-font-on-warning-2': exports.neutral[800].theme('status-font-on-warning-2'),
225
- 'status-font-on-danger': red[800].theme('status-font-on-danger'),
226
- 'status-font-on-service-1': orange[800].theme('status-font-on-service-1'),
227
- 'status-font-on-service-2': purple[600].theme('status-font-on-service-2'),
228
- };
169
+ 'status-font-on-info': new Var('status-font-on-info', statusTokens['font-on-info']),
170
+ 'status-font-on-success': new Var('status-font-on-success', statusTokens['font-on-success']),
171
+ // TODO(design): token value (font-on-warning, yellow-900, #8E6300)
172
+ // diverges from fuselage's current yellow-800. Keeping the current value
173
+ // until design confirms which is correct.
174
+ 'status-font-on-warning': primitive('y800', 'status-font-on-warning'),
175
+ 'status-font-on-warning-2': new Var('status-font-on-warning-2', statusTokens['font-on-warning-2']),
176
+ 'status-font-on-danger': new Var('status-font-on-danger', statusTokens['font-on-danger']),
177
+ 'status-font-on-service-1': new Var('status-font-on-service-1', statusTokens['font-on-service-1']),
178
+ 'status-font-on-service-2': new Var('status-font-on-service-2', statusTokens['font-on-service-2']),
179
+ };
180
+ const badgeTokens = badge_json_1.default.light;
229
181
  exports.badgeBackgroundColors = {
230
- 'badge-background-level-0': exports.neutral[400].theme('badge-background-level-0'),
231
- 'badge-background-level-1': exports.neutral[600].theme('badge-background-level-1'),
232
- 'badge-background-level-2': blue[500].theme('badge-background-level-2'),
233
- 'badge-background-level-3': orange[500].theme('badge-background-level-3'),
234
- 'badge-background-level-4': red[500].theme('badge-background-level-4'),
182
+ 'badge-background-level-0': new Var('badge-background-level-0', badgeTokens['level-0']),
183
+ 'badge-background-level-1': new Var('badge-background-level-1', badgeTokens['level-1']),
184
+ 'badge-background-level-2': new Var('badge-background-level-2', badgeTokens['level-2']),
185
+ 'badge-background-level-3': new Var('badge-background-level-3', badgeTokens['level-3']),
186
+ 'badge-background-level-4': new Var('badge-background-level-4', badgeTokens['level-4']),
235
187
  };
188
+ const shadowTokens = shadow_json_1.default.light;
236
189
  exports.shadowColors = {
237
- 'shadow-elevation-border': exports.strokeColors['stroke-extra-light'].theme('shadow-elevation-border'),
238
- 'shadow-elevation-1': new Var('shadow-elevation-1', (0, getPaletteColor_1.getPaletteColor)('neutral', 800, 0.1)[1]),
239
- 'shadow-elevation-2x': new Var('shadow-elevation-2x', (0, getPaletteColor_1.getPaletteColor)('neutral', 800, 0.08)[1]),
240
- 'shadow-elevation-2y': new Var('shadow-elevation-2y', (0, getPaletteColor_1.getPaletteColor)('neutral', 800, 0.12)[1]),
241
- 'shadow-highlight': blue[200].theme('shadow-highlight'),
242
- 'shadow-danger': red[100].theme('shadow-danger'),
190
+ 'shadow-elevation-border': new Var('shadow-elevation-border', shadowTokens['elevation-border']),
191
+ 'shadow-elevation-1': new Var('shadow-elevation-1', shadowTokens['elevation-1']),
192
+ 'shadow-elevation-2x': new Var('shadow-elevation-2x', shadowTokens['elevation-2x']),
193
+ 'shadow-elevation-2y': new Var('shadow-elevation-2y', shadowTokens['elevation-2y']),
194
+ 'shadow-highlight': new Var('shadow-highlight', shadowTokens.highlight),
195
+ 'shadow-danger': new Var('shadow-danger', shadowTokens.danger),
243
196
  };
244
197
  const isSurfaceColor = (color) => typeof color === 'string' && color in exports.surfaceColors;
245
198
  exports.isSurfaceColor = isSurfaceColor;
@@ -685,6 +638,8 @@ const isSelectedValid = (value) => (selected) => {
685
638
  };
686
639
  /**
687
640
  * An input for selection of options.
641
+ *
642
+ * @deprecated Use `SelectFiltered` or `MultiSelectFiltered` instead.
688
643
  */
689
644
  function AutoComplete({ ref, value, filter, setFilter, options = [], renderItem, renderSelected: RenderSelected, onChange, renderEmpty, placeholder, error, disabled, multiple, onBlur: onBlurAction = () => { }, ...props }) {
690
645
  const innerRef = (0, react_1.useRef)(null);
@@ -871,8 +826,8 @@ const prependClassName_1 = __webpack_require__(/*! ../../helpers/prependClassNam
871
826
  /**
872
827
  * Communicates notification’s amount and types.
873
828
  */
874
- function Badge({ is: Tag = 'span', variant = 'secondary', small, className, disabled, ...props }) {
875
- const modifiers = [variant, small && 'small', disabled && 'disabled']
829
+ function Badge({ is: Tag = 'span', variant = 'secondary', small, className, ...props }) {
830
+ const modifiers = [variant, small && 'small']
876
831
  .filter(Boolean)
877
832
  .map((modifier) => `rcx-badge--${modifier}`)
878
833
  .join(' ');
@@ -1535,7 +1490,7 @@ const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.t
1535
1490
  /**
1536
1491
  * Indicates an actionable user action.
1537
1492
  */
1538
- function Button({ ref, primary, secondary, danger, warning, success, external, icon, is = 'button', rel: _rel, tiny, mini, small, medium, large, square, loading, disabled, children, ...props }) {
1493
+ function Button({ ref, variant, primary, secondary, danger, warning, success, external, icon, is = 'button', rel: _rel, size, tiny, mini, small, medium, large, square, loading, disabled, children, ...props }) {
1539
1494
  const extraProps = (is === 'a' && {
1540
1495
  rel: external ? 'noopener noreferrer' : undefined,
1541
1496
  target: external ? '_blank' : undefined,
@@ -1545,7 +1500,8 @@ function Button({ ref, primary, secondary, danger, warning, success, external, i
1545
1500
  }) ||
1546
1501
  {};
1547
1502
  const kindAndVariantProps = (0, react_1.useMemo)(() => {
1548
- const variant = (primary && 'primary') ||
1503
+ const kind = variant ||
1504
+ (primary && 'primary') ||
1549
1505
  (secondary && success && 'secondary-success') ||
1550
1506
  (secondary && warning && 'secondary-warning') ||
1551
1507
  (secondary && danger && 'secondary-danger') ||
@@ -1553,14 +1509,21 @@ function Button({ ref, primary, secondary, danger, warning, success, external, i
1553
1509
  (warning && 'warning') ||
1554
1510
  (danger && 'danger') ||
1555
1511
  (secondary && 'secondary');
1556
- if (variant) {
1512
+ if (kind) {
1557
1513
  return {
1558
- [`rcx-button--${[variant].filter(Boolean).join('-')}`]: true,
1514
+ [`rcx-button--${kind}`]: true,
1559
1515
  };
1560
1516
  }
1561
1517
  return {};
1562
- }, [primary, secondary, danger, warning, success]);
1563
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: is, type: 'button', "rcx-button": true, ...kindAndVariantProps, "rcx-button--small": small, "rcx-button--medium": medium, "rcx-button--large": large, "rcx-button--square": square, "rcx-button--tiny-square": tiny && square, "rcx-button--mini-square": mini && square, "rcx-button--small-square": small && square, "rcx-button--medium-square": medium && square, "rcx-button--large-square": large && square, "rcx-button--loading": loading, disabled: disabled || loading, ref: ref, ...extraProps, ...props, children: (0, jsx_runtime_1.jsxs)("span", { className: 'rcx-button--content', children: [icon && !loading && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: icon, marginInlineEnd: 4 })), loading && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: 'loading', marginInlineEnd: 4 }), children] }) }));
1518
+ }, [variant, primary, secondary, danger, warning, success]);
1519
+ const effectiveSize = size ||
1520
+ (mini && 'mini') ||
1521
+ (tiny && 'tiny') ||
1522
+ (small && 'small') ||
1523
+ (medium && 'medium') ||
1524
+ (large && 'large') ||
1525
+ undefined;
1526
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: is, type: 'button', "rcx-button": true, ...kindAndVariantProps, "rcx-button--small": effectiveSize === 'small', "rcx-button--medium": effectiveSize === 'medium', "rcx-button--large": effectiveSize === 'large', "rcx-button--square": square, "rcx-button--tiny-square": effectiveSize === 'tiny' && square, "rcx-button--mini-square": effectiveSize === 'mini' && square, "rcx-button--small-square": effectiveSize === 'small' && square, "rcx-button--medium-square": effectiveSize === 'medium' && square, "rcx-button--large-square": effectiveSize === 'large' && square, "rcx-button--loading": loading, disabled: disabled || loading, ref: ref, ...extraProps, ...props, children: (0, jsx_runtime_1.jsxs)("span", { className: 'rcx-button--content', children: [icon && !loading && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: icon, marginInlineEnd: 4 })), loading && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: 'loading', marginInlineEnd: 4 }), children] }) }));
1564
1527
  }
1565
1528
  exports["default"] = Button;
1566
1529
 
@@ -2165,12 +2128,12 @@ Object.defineProperty(exports, "CodeSnippet", ({ enumerable: true, get: function
2165
2128
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2166
2129
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2167
2130
  const react_1 = __webpack_require__(/*! react */ "react");
2168
- const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2131
+ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2169
2132
  /**
2170
2133
  * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.
2171
2134
  */
2172
2135
  function Contextualbar({ width, position, backgroundColor = 'room', ...props }) {
2173
- return ((0, jsx_runtime_1.jsx)(__1.Box, { "rcx-vertical-bar": true, backgroundColor: backgroundColor, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2136
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar": true, backgroundColor: backgroundColor, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2174
2137
  }
2175
2138
  exports["default"] = (0, react_1.memo)(Contextualbar);
2176
2139
 
@@ -2187,8 +2150,8 @@ exports["default"] = (0, react_1.memo)(Contextualbar);
2187
2150
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2188
2151
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2189
2152
  const react_1 = __webpack_require__(/*! react */ "react");
2190
- const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2191
- const ContextualbarAction = ({ name, ...props }) => ((0, jsx_runtime_1.jsx)(__1.IconButton, { ...props, small: true, flexShrink: 0, icon: name }));
2153
+ const Button_1 = __webpack_require__(/*! ../Button */ "./src/components/Button/index.ts");
2154
+ const ContextualbarAction = ({ name, ...props }) => ((0, jsx_runtime_1.jsx)(Button_1.IconButton, { ...props, small: true, flexShrink: 0, icon: name }));
2192
2155
  exports["default"] = (0, react_1.memo)(ContextualbarAction);
2193
2156
 
2194
2157
 
@@ -2260,10 +2223,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
2260
2223
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2261
2224
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2262
2225
  const react_1 = __webpack_require__(/*! react */ "react");
2263
- const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2226
+ const States_1 = __webpack_require__(/*! ../States */ "./src/components/States/index.ts");
2264
2227
  const ContextualbarContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarContent */ "./src/components/Contextualbar/ContextualbarContent.tsx"));
2265
2228
  function ContextualbarEmptyContent({ icon = 'magnifier', title = 'Nothing Found', subtitle, ...props }) {
2266
- return ((0, jsx_runtime_1.jsx)(ContextualbarContent_1.default, { justifyContent: 'center', ...props, children: (0, jsx_runtime_1.jsxs)(__1.States, { children: [(0, jsx_runtime_1.jsx)(__1.StatesIcon, { name: icon }), (0, jsx_runtime_1.jsx)(__1.StatesTitle, { children: title }), subtitle && (0, jsx_runtime_1.jsx)(__1.StatesSubtitle, { children: subtitle })] }) }));
2229
+ return ((0, jsx_runtime_1.jsx)(ContextualbarContent_1.default, { justifyContent: 'center', ...props, children: (0, jsx_runtime_1.jsxs)(States_1.States, { children: [(0, jsx_runtime_1.jsx)(States_1.StatesIcon, { name: icon }), (0, jsx_runtime_1.jsx)(States_1.StatesTitle, { children: title }), subtitle && (0, jsx_runtime_1.jsx)(States_1.StatesSubtitle, { children: subtitle })] }) }));
2267
2230
  }
2268
2231
  exports["default"] = (0, react_1.memo)(ContextualbarEmptyContent);
2269
2232
 
@@ -2280,9 +2243,9 @@ exports["default"] = (0, react_1.memo)(ContextualbarEmptyContent);
2280
2243
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2281
2244
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2282
2245
  const react_1 = __webpack_require__(/*! react */ "react");
2283
- const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2246
+ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2284
2247
  function ContextualbarFooter(props) {
2285
- return (0, jsx_runtime_1.jsx)(__1.Box, { padding: 24, ...props });
2248
+ return (0, jsx_runtime_1.jsx)(Box_1.Box, { paddingInline: 16, paddingBlock: 20, ...props });
2286
2249
  }
2287
2250
  exports["default"] = (0, react_1.memo)(ContextualbarFooter);
2288
2251
 
@@ -2298,10 +2261,12 @@ exports["default"] = (0, react_1.memo)(ContextualbarFooter);
2298
2261
 
2299
2262
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2300
2263
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2264
+ const css_in_js_1 = __webpack_require__(/*! @rocket.chat/css-in-js */ "@rocket.chat/css-in-js");
2301
2265
  const react_1 = __webpack_require__(/*! react */ "react");
2302
2266
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2303
- const Margins_1 = __webpack_require__(/*! ../Margins */ "./src/components/Margins/index.ts");
2304
- const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x56', paddingInline: 24, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { marginInline: 'neg-x4', display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', children: (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: children }) }) }));
2267
+ const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x44', paddingInline: 16, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', marginInline: -4, paddingInline: 4, className: (0, css_in_js_1.css) `
2268
+ gap: 8px;
2269
+ `, children: children }) }));
2305
2270
  exports["default"] = (0, react_1.memo)(ContextualbarHeader);
2306
2271
 
2307
2272
 
@@ -2318,7 +2283,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
2318
2283
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2319
2284
  const react_1 = __webpack_require__(/*! react */ "react");
2320
2285
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
2321
- const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, paddingInline: 2, size: 'x24' }));
2286
+ const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, paddingInline: 2, size: 'x20' }));
2322
2287
  exports["default"] = (0, react_1.memo)(ContextualbarIcon);
2323
2288
 
2324
2289
 
@@ -2336,7 +2301,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2336
2301
  const react_1 = __webpack_require__(/*! react */ "react");
2337
2302
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2338
2303
  function ContextualbarSection(props) {
2339
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, paddingInline: 24, paddingBlock: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2304
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, padding: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2340
2305
  }
2341
2306
  exports["default"] = (0, react_1.memo)(ContextualbarSection);
2342
2307
 
@@ -2379,7 +2344,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
2379
2344
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2380
2345
  const react_1 = __webpack_require__(/*! react */ "react");
2381
2346
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2382
- const ContextualbarTitle = (props) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexShrink: 1, flexGrow: 1, fontScale: 'h4', withTruncatedText: true, ...props }));
2347
+ const ContextualbarTitle = (props) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexShrink: 1, flexGrow: 1, fontScale: 'h5', withTruncatedText: true, is: 'h5', ...props }));
2383
2348
  exports["default"] = (0, react_1.memo)(ContextualbarTitle);
2384
2349
 
2385
2350
 
@@ -2423,278 +2388,6 @@ var ContextualbarTitle_1 = __webpack_require__(/*! ./ContextualbarTitle */ "./sr
2423
2388
  Object.defineProperty(exports, "ContextualbarTitle", ({ enumerable: true, get: function () { return __importDefault(ContextualbarTitle_1).default; } }));
2424
2389
 
2425
2390
 
2426
- /***/ },
2427
-
2428
- /***/ "./src/components/ContextualbarV2/Contextualbar.tsx"
2429
- /*!**********************************************************!*\
2430
- !*** ./src/components/ContextualbarV2/Contextualbar.tsx ***!
2431
- \**********************************************************/
2432
- (__unused_webpack_module, exports, __webpack_require__) {
2433
-
2434
-
2435
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2436
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2437
- const react_1 = __webpack_require__(/*! react */ "react");
2438
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2439
- /**
2440
- * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.
2441
- */
2442
- function Contextualbar({ width, position, backgroundColor = 'room', ...props }) {
2443
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar": true, backgroundColor: backgroundColor, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2444
- }
2445
- exports["default"] = (0, react_1.memo)(Contextualbar);
2446
-
2447
-
2448
- /***/ },
2449
-
2450
- /***/ "./src/components/ContextualbarV2/ContextualbarAction.tsx"
2451
- /*!****************************************************************!*\
2452
- !*** ./src/components/ContextualbarV2/ContextualbarAction.tsx ***!
2453
- \****************************************************************/
2454
- (__unused_webpack_module, exports, __webpack_require__) {
2455
-
2456
-
2457
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2458
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2459
- const react_1 = __webpack_require__(/*! react */ "react");
2460
- const Button_1 = __webpack_require__(/*! ../Button */ "./src/components/Button/index.ts");
2461
- const ContextualbarAction = ({ name, ...props }) => ((0, jsx_runtime_1.jsx)(Button_1.IconButton, { ...props, small: true, flexShrink: 0, icon: name }));
2462
- exports["default"] = (0, react_1.memo)(ContextualbarAction);
2463
-
2464
-
2465
- /***/ },
2466
-
2467
- /***/ "./src/components/ContextualbarV2/ContextualbarActions.tsx"
2468
- /*!*****************************************************************!*\
2469
- !*** ./src/components/ContextualbarV2/ContextualbarActions.tsx ***!
2470
- \*****************************************************************/
2471
- (__unused_webpack_module, exports, __webpack_require__) {
2472
-
2473
-
2474
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2475
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2476
- const react_1 = __webpack_require__(/*! react */ "react");
2477
- const ButtonGroup_1 = __webpack_require__(/*! ../ButtonGroup */ "./src/components/ButtonGroup/index.ts");
2478
- const ContextualbarActions = (props) => ((0, jsx_runtime_1.jsx)(ButtonGroup_1.ButtonGroup, { ...props }));
2479
- exports["default"] = (0, react_1.memo)(ContextualbarActions);
2480
-
2481
-
2482
- /***/ },
2483
-
2484
- /***/ "./src/components/ContextualbarV2/ContextualbarButton.tsx"
2485
- /*!****************************************************************!*\
2486
- !*** ./src/components/ContextualbarV2/ContextualbarButton.tsx ***!
2487
- \****************************************************************/
2488
- (__unused_webpack_module, exports, __webpack_require__) {
2489
-
2490
-
2491
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2492
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2493
- const react_1 = __webpack_require__(/*! react */ "react");
2494
- const Button_1 = __webpack_require__(/*! ../Button */ "./src/components/Button/index.ts");
2495
- const ContextualbarButton = (props) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { ...props }));
2496
- exports["default"] = (0, react_1.memo)(ContextualbarButton);
2497
-
2498
-
2499
- /***/ },
2500
-
2501
- /***/ "./src/components/ContextualbarV2/ContextualbarContent.tsx"
2502
- /*!*****************************************************************!*\
2503
- !*** ./src/components/ContextualbarV2/ContextualbarContent.tsx ***!
2504
- \*****************************************************************/
2505
- (__unused_webpack_module, exports, __webpack_require__) {
2506
-
2507
-
2508
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2509
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2510
- const react_1 = __webpack_require__(/*! react */ "react");
2511
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2512
- function ContextualbarContent(props) {
2513
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__content": true, paddingInline: 24, display: 'flex', flexDirection: 'column', overflowY: 'hidden', height: 'full', ...props }));
2514
- }
2515
- exports["default"] = (0, react_1.memo)(ContextualbarContent);
2516
-
2517
-
2518
- /***/ },
2519
-
2520
- /***/ "./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx"
2521
- /*!**********************************************************************!*\
2522
- !*** ./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx ***!
2523
- \**********************************************************************/
2524
- (__unused_webpack_module, exports, __webpack_require__) {
2525
-
2526
-
2527
- var __importDefault = (this && this.__importDefault) || function (mod) {
2528
- return (mod && mod.__esModule) ? mod : { "default": mod };
2529
- };
2530
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2531
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2532
- const react_1 = __webpack_require__(/*! react */ "react");
2533
- const States_1 = __webpack_require__(/*! ../States */ "./src/components/States/index.ts");
2534
- const ContextualbarContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarContent */ "./src/components/ContextualbarV2/ContextualbarContent.tsx"));
2535
- function ContextualbarEmptyContent({ icon = 'magnifier', title = 'Nothing Found', subtitle, ...props }) {
2536
- return ((0, jsx_runtime_1.jsx)(ContextualbarContent_1.default, { justifyContent: 'center', ...props, children: (0, jsx_runtime_1.jsxs)(States_1.States, { children: [(0, jsx_runtime_1.jsx)(States_1.StatesIcon, { name: icon }), (0, jsx_runtime_1.jsx)(States_1.StatesTitle, { children: title }), subtitle && (0, jsx_runtime_1.jsx)(States_1.StatesSubtitle, { children: subtitle })] }) }));
2537
- }
2538
- exports["default"] = (0, react_1.memo)(ContextualbarEmptyContent);
2539
-
2540
-
2541
- /***/ },
2542
-
2543
- /***/ "./src/components/ContextualbarV2/ContextualbarFooter.tsx"
2544
- /*!****************************************************************!*\
2545
- !*** ./src/components/ContextualbarV2/ContextualbarFooter.tsx ***!
2546
- \****************************************************************/
2547
- (__unused_webpack_module, exports, __webpack_require__) {
2548
-
2549
-
2550
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2551
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2552
- const react_1 = __webpack_require__(/*! react */ "react");
2553
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2554
- function ContextualbarFooter(props) {
2555
- return (0, jsx_runtime_1.jsx)(Box_1.Box, { paddingInline: 16, paddingBlock: 20, ...props });
2556
- }
2557
- exports["default"] = (0, react_1.memo)(ContextualbarFooter);
2558
-
2559
-
2560
- /***/ },
2561
-
2562
- /***/ "./src/components/ContextualbarV2/ContextualbarHeader.tsx"
2563
- /*!****************************************************************!*\
2564
- !*** ./src/components/ContextualbarV2/ContextualbarHeader.tsx ***!
2565
- \****************************************************************/
2566
- (__unused_webpack_module, exports, __webpack_require__) {
2567
-
2568
-
2569
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2570
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2571
- const css_in_js_1 = __webpack_require__(/*! @rocket.chat/css-in-js */ "@rocket.chat/css-in-js");
2572
- const react_1 = __webpack_require__(/*! react */ "react");
2573
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2574
- const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x44', paddingInline: 16, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', marginInline: -4, paddingInline: 4, className: (0, css_in_js_1.css) `
2575
- gap: 8px;
2576
- `, children: children }) }));
2577
- exports["default"] = (0, react_1.memo)(ContextualbarHeader);
2578
-
2579
-
2580
- /***/ },
2581
-
2582
- /***/ "./src/components/ContextualbarV2/ContextualbarIcon.tsx"
2583
- /*!**************************************************************!*\
2584
- !*** ./src/components/ContextualbarV2/ContextualbarIcon.tsx ***!
2585
- \**************************************************************/
2586
- (__unused_webpack_module, exports, __webpack_require__) {
2587
-
2588
-
2589
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2590
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2591
- const react_1 = __webpack_require__(/*! react */ "react");
2592
- const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
2593
- const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, paddingInline: 2, size: 'x20' }));
2594
- exports["default"] = (0, react_1.memo)(ContextualbarIcon);
2595
-
2596
-
2597
- /***/ },
2598
-
2599
- /***/ "./src/components/ContextualbarV2/ContextualbarSection.tsx"
2600
- /*!*****************************************************************!*\
2601
- !*** ./src/components/ContextualbarV2/ContextualbarSection.tsx ***!
2602
- \*****************************************************************/
2603
- (__unused_webpack_module, exports, __webpack_require__) {
2604
-
2605
-
2606
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2607
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2608
- const react_1 = __webpack_require__(/*! react */ "react");
2609
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2610
- function ContextualbarSection(props) {
2611
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, padding: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2612
- }
2613
- exports["default"] = (0, react_1.memo)(ContextualbarSection);
2614
-
2615
-
2616
- /***/ },
2617
-
2618
- /***/ "./src/components/ContextualbarV2/ContextualbarSkeleton.tsx"
2619
- /*!******************************************************************!*\
2620
- !*** ./src/components/ContextualbarV2/ContextualbarSkeleton.tsx ***!
2621
- \******************************************************************/
2622
- (__unused_webpack_module, exports, __webpack_require__) {
2623
-
2624
-
2625
- var __importDefault = (this && this.__importDefault) || function (mod) {
2626
- return (mod && mod.__esModule) ? mod : { "default": mod };
2627
- };
2628
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2629
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2630
- const react_1 = __webpack_require__(/*! react */ "react");
2631
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2632
- const Skeleton_1 = __webpack_require__(/*! ../Skeleton */ "./src/components/Skeleton/index.ts");
2633
- const Contextualbar_1 = __importDefault(__webpack_require__(/*! ./Contextualbar */ "./src/components/ContextualbarV2/Contextualbar.tsx"));
2634
- const ContextualbarHeader_1 = __importDefault(__webpack_require__(/*! ./ContextualbarHeader */ "./src/components/ContextualbarV2/ContextualbarHeader.tsx"));
2635
- const ContextualbarSkeleton = (props) => ((0, jsx_runtime_1.jsxs)(Contextualbar_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)(ContextualbarHeader_1.default, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: '100%' }) }), (0, jsx_runtime_1.jsxs)(Box_1.Box, { padding: 24, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { marginBlockEnd: 4, width: '32px', height: '32px', variant: 'rect' }), Array(5)
2636
- .fill(5)
2637
- .map((_, index) => ((0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, {}, index)))] })] }));
2638
- exports["default"] = (0, react_1.memo)(ContextualbarSkeleton);
2639
-
2640
-
2641
- /***/ },
2642
-
2643
- /***/ "./src/components/ContextualbarV2/ContextualbarTitle.tsx"
2644
- /*!***************************************************************!*\
2645
- !*** ./src/components/ContextualbarV2/ContextualbarTitle.tsx ***!
2646
- \***************************************************************/
2647
- (__unused_webpack_module, exports, __webpack_require__) {
2648
-
2649
-
2650
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2651
- const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2652
- const react_1 = __webpack_require__(/*! react */ "react");
2653
- const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2654
- const ContextualbarTitle = (props) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexShrink: 1, flexGrow: 1, fontScale: 'h5', withTruncatedText: true, is: 'h5', ...props }));
2655
- exports["default"] = (0, react_1.memo)(ContextualbarTitle);
2656
-
2657
-
2658
- /***/ },
2659
-
2660
- /***/ "./src/components/ContextualbarV2/index.ts"
2661
- /*!*************************************************!*\
2662
- !*** ./src/components/ContextualbarV2/index.ts ***!
2663
- \*************************************************/
2664
- (__unused_webpack_module, exports, __webpack_require__) {
2665
-
2666
-
2667
- var __importDefault = (this && this.__importDefault) || function (mod) {
2668
- return (mod && mod.__esModule) ? mod : { "default": mod };
2669
- };
2670
- Object.defineProperty(exports, "__esModule", ({ value: true }));
2671
- exports.ContextualbarV2Title = exports.ContextualbarV2Skeleton = exports.ContextualbarV2Section = exports.ContextualbarV2Icon = exports.ContextualbarV2Header = exports.ContextualbarV2Footer = exports.ContextualbarV2EmptyContent = exports.ContextualbarV2Content = exports.ContextualbarV2Button = exports.ContextualbarV2Actions = exports.ContextualbarV2Action = exports.ContextualbarV2 = void 0;
2672
- var Contextualbar_1 = __webpack_require__(/*! ./Contextualbar */ "./src/components/ContextualbarV2/Contextualbar.tsx");
2673
- Object.defineProperty(exports, "ContextualbarV2", ({ enumerable: true, get: function () { return __importDefault(Contextualbar_1).default; } }));
2674
- var ContextualbarAction_1 = __webpack_require__(/*! ./ContextualbarAction */ "./src/components/ContextualbarV2/ContextualbarAction.tsx");
2675
- Object.defineProperty(exports, "ContextualbarV2Action", ({ enumerable: true, get: function () { return __importDefault(ContextualbarAction_1).default; } }));
2676
- var ContextualbarActions_1 = __webpack_require__(/*! ./ContextualbarActions */ "./src/components/ContextualbarV2/ContextualbarActions.tsx");
2677
- Object.defineProperty(exports, "ContextualbarV2Actions", ({ enumerable: true, get: function () { return __importDefault(ContextualbarActions_1).default; } }));
2678
- var ContextualbarButton_1 = __webpack_require__(/*! ./ContextualbarButton */ "./src/components/ContextualbarV2/ContextualbarButton.tsx");
2679
- Object.defineProperty(exports, "ContextualbarV2Button", ({ enumerable: true, get: function () { return __importDefault(ContextualbarButton_1).default; } }));
2680
- var ContextualbarContent_1 = __webpack_require__(/*! ./ContextualbarContent */ "./src/components/ContextualbarV2/ContextualbarContent.tsx");
2681
- Object.defineProperty(exports, "ContextualbarV2Content", ({ enumerable: true, get: function () { return __importDefault(ContextualbarContent_1).default; } }));
2682
- var ContextualbarEmptyContent_1 = __webpack_require__(/*! ./ContextualbarEmptyContent */ "./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx");
2683
- Object.defineProperty(exports, "ContextualbarV2EmptyContent", ({ enumerable: true, get: function () { return __importDefault(ContextualbarEmptyContent_1).default; } }));
2684
- var ContextualbarFooter_1 = __webpack_require__(/*! ./ContextualbarFooter */ "./src/components/ContextualbarV2/ContextualbarFooter.tsx");
2685
- Object.defineProperty(exports, "ContextualbarV2Footer", ({ enumerable: true, get: function () { return __importDefault(ContextualbarFooter_1).default; } }));
2686
- var ContextualbarHeader_1 = __webpack_require__(/*! ./ContextualbarHeader */ "./src/components/ContextualbarV2/ContextualbarHeader.tsx");
2687
- Object.defineProperty(exports, "ContextualbarV2Header", ({ enumerable: true, get: function () { return __importDefault(ContextualbarHeader_1).default; } }));
2688
- var ContextualbarIcon_1 = __webpack_require__(/*! ./ContextualbarIcon */ "./src/components/ContextualbarV2/ContextualbarIcon.tsx");
2689
- Object.defineProperty(exports, "ContextualbarV2Icon", ({ enumerable: true, get: function () { return __importDefault(ContextualbarIcon_1).default; } }));
2690
- var ContextualbarSection_1 = __webpack_require__(/*! ./ContextualbarSection */ "./src/components/ContextualbarV2/ContextualbarSection.tsx");
2691
- Object.defineProperty(exports, "ContextualbarV2Section", ({ enumerable: true, get: function () { return __importDefault(ContextualbarSection_1).default; } }));
2692
- var ContextualbarSkeleton_1 = __webpack_require__(/*! ./ContextualbarSkeleton */ "./src/components/ContextualbarV2/ContextualbarSkeleton.tsx");
2693
- Object.defineProperty(exports, "ContextualbarV2Skeleton", ({ enumerable: true, get: function () { return __importDefault(ContextualbarSkeleton_1).default; } }));
2694
- var ContextualbarTitle_1 = __webpack_require__(/*! ./ContextualbarTitle */ "./src/components/ContextualbarV2/ContextualbarTitle.tsx");
2695
- Object.defineProperty(exports, "ContextualbarV2Title", ({ enumerable: true, get: function () { return __importDefault(ContextualbarTitle_1).default; } }));
2696
-
2697
-
2698
2391
  /***/ },
2699
2392
 
2700
2393
  /***/ "./src/components/Divider/Divider.tsx"
@@ -6827,7 +6520,7 @@ function Options({ maxHeight = 'x144', multiple, renderEmpty: EmptyComponent = O
6827
6520
  return;
6828
6521
  (0, prevent_1.prevent)(e);
6829
6522
  onSelect([value, label, selected, disabled, type, url]);
6830
- }, value: value, selected: selected, disabled: disabled, focus: cursor === i }, value));
6523
+ }, value: value, selected: !!selected, disabled: disabled, focus: cursor === i }, value));
6831
6524
  }
6832
6525
  }), [options, cursor, onSelect, OptionComponent]);
6833
6526
  return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-options": true, ...props, children: (0, jsx_runtime_1.jsx)(Tile_1.Tile, { padding: 0, paddingBlock: 'x12', paddingInline: 0, elevation: '2', children: (0, jsx_runtime_1.jsx)(Scrollable_1.Scrollable, { vertical: true, smooth: true, children: (0, jsx_runtime_1.jsxs)(Tile_1.Tile, { ref: liRef, elevation: '0', padding: 'none', maxHeight: maxHeight, onMouseDown: prevent_1.prevent, onClick: prevent_1.prevent, is: 'ol', "aria-multiselectable": multiple || true, role: 'listbox', id: id, "aria-activedescendant": options?.[cursor]?.[0]
@@ -7062,7 +6755,7 @@ function OptionsPaginated({ ref, withTitle, multiple, renderEmpty: EmptyComponen
7062
6755
  (0, prevent_1.prevent)(e);
7063
6756
  onSelect([value, label]);
7064
6757
  return false;
7065
- }, key: value, value: value, selected: selected || (multiple !== true && undefined), focus: cursor === index || undefined }));
6758
+ }, key: value, value: value, selected: !!selected, focus: cursor === index || undefined }));
7066
6759
  };
7067
6760
  return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-options": true, ...props, ref: ref, children: (0, jsx_runtime_1.jsx)(Tile_1.Tile, { padding: 0, paddingBlock: 'x12', paddingInline: 0, elevation: '2', children: !options.length ? ((0, jsx_runtime_1.jsx)(EmptyComponent, {})) : ((0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { endReached: endReached, style: { height: '144px' }, totalCount: options.length, data: options,
7068
6761
  // TODO Add a scroller element
@@ -7488,14 +7181,14 @@ const stroke_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fusel
7488
7181
  const surface_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/surface.json */ "@rocket.chat/fuselage-tokens/dist/surface.json"));
7489
7182
  const getTokens = (theme) => {
7490
7183
  const tokens = {
7491
- badge: badge_json_1.default.badge[theme],
7492
- button: button_json_1.default.button[theme],
7493
- font: font_json_1.default.font[theme],
7494
- shadow: shadow_json_1.default.shadow[theme],
7495
- status: status_json_1.default.status[theme],
7496
- statusBullet: statusBullet_json_1.default.statusBullet[theme],
7497
- stroke: stroke_json_1.default.stroke[theme],
7498
- surface: surface_json_1.default.surface[theme],
7184
+ badge: badge_json_1.default[theme],
7185
+ button: button_json_1.default[theme],
7186
+ font: font_json_1.default[theme],
7187
+ shadow: shadow_json_1.default[theme],
7188
+ status: status_json_1.default[theme],
7189
+ statusBullet: statusBullet_json_1.default[theme],
7190
+ stroke: stroke_json_1.default[theme],
7191
+ surface: surface_json_1.default[theme],
7499
7192
  };
7500
7193
  return tokens;
7501
7194
  };
@@ -8691,22 +8384,49 @@ exports.SidebarItem = exports.SidebarItemAction = exports.SidebarItemActions = e
8691
8384
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8692
8385
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
8693
8386
  const SidebarActions_1 = __webpack_require__(/*! ./SidebarActions */ "./src/components/Sidebar/SidebarActions.tsx");
8387
+ /**
8388
+ * @deprecated Use the `SidebarV2` component family instead.
8389
+ */
8694
8390
  const SidebarItemContainer = (props) => ((0, jsx_runtime_1.jsx)("div", { className: 'rc-box rcx-box--full rcx-sidebar-item__container', ...props }));
8695
8391
  exports.SidebarItemContainer = SidebarItemContainer;
8392
+ /**
8393
+ * @deprecated Use `SidebarV2ItemMenu` instead.
8394
+ */
8696
8395
  const SidebarItemMenu = (props) => ((0, jsx_runtime_1.jsx)("div", { className: 'rc-box rcx-box--full rcx-box--animated rcx-sidebar-item__menu-wrapper', ...props }));
8697
8396
  exports.SidebarItemMenu = SidebarItemMenu;
8397
+ /**
8398
+ * @deprecated Use `SidebarV2ItemContent` instead.
8399
+ */
8698
8400
  const SidebarItemContent = ({ className = '', ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: `rc-box rcx-box--full rcx-sidebar-item__container rcx-sidebar-item__content ${className}`, ...props }));
8699
8401
  exports.SidebarItemContent = SidebarItemContent;
8402
+ /**
8403
+ * @deprecated Use `SidebarV2ItemTitle` instead.
8404
+ */
8700
8405
  const SidebarItemTitle = ({ className = '', ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: `rc-box rcx-box--full rcx-sidebar-item__title ${className}`, ...props }));
8701
8406
  exports.SidebarItemTitle = SidebarItemTitle;
8407
+ /**
8408
+ * @deprecated Use `SidebarV2ItemTimestamp` instead.
8409
+ */
8702
8410
  const SidebarItemTime = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: `rc-box rcx-box--full rcx-sidebar-item__time ${className}`, ...props }));
8703
8411
  exports.SidebarItemTime = SidebarItemTime;
8412
+ /**
8413
+ * @deprecated Use `SidebarV2ItemBadge` instead.
8414
+ */
8704
8415
  const SidebarItemBadge = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: `rc-box rcx-box--full rcx-sidebar-item__badge ${className}`, ...props }));
8705
8416
  exports.SidebarItemBadge = SidebarItemBadge;
8417
+ /**
8418
+ * @deprecated Use the `SidebarV2` component family instead.
8419
+ */
8706
8420
  const SidebarItemSubtitle = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: `rc-box rcx-box--full rcx-sidebar-item__subtitle ${className}`, ...props }));
8707
8421
  exports.SidebarItemSubtitle = SidebarItemSubtitle;
8422
+ /**
8423
+ * @deprecated Use the `SidebarV2` component family instead.
8424
+ */
8708
8425
  const SidebarItemWrapper = ({ className = '', ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: `rc-box rcx-box--full rcx-sidebar-item__wrapper ${className}`, ...props }));
8709
8426
  exports.SidebarItemWrapper = SidebarItemWrapper;
8427
+ /**
8428
+ * @deprecated Use `SidebarV2ItemIcon` instead.
8429
+ */
8710
8430
  const SidebarItemIcon = ({ highlighted, children, icon, className: _className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: [
8711
8431
  'rc-box rcx-box--full rcx-sidebar-item__icon',
8712
8432
  highlighted && 'rcx-sidebar-item__icon--highlighted',
@@ -8714,13 +8434,24 @@ const SidebarItemIcon = ({ highlighted, children, icon, className: _className, .
8714
8434
  .filter(Boolean)
8715
8435
  .join(' '), ...props, children: children || (0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: icon, ...props }) }));
8716
8436
  exports.SidebarItemIcon = SidebarItemIcon;
8437
+ /**
8438
+ * @deprecated Use `SidebarV2ItemAvatarWrapper` instead.
8439
+ */
8717
8440
  const SidebarItemAvatar = ({ ...props }) => ((0, jsx_runtime_1.jsx)(exports.SidebarItemContainer, { children: (0, jsx_runtime_1.jsx)("div", { className: 'rc-box rcx-box--full rcx-sidebar-item__avatar', ...props }) }));
8718
8441
  exports.SidebarItemAvatar = SidebarItemAvatar;
8442
+ /**
8443
+ * @deprecated Use `SidebarV2ItemMenu` instead.
8444
+ */
8719
8445
  exports.SidebarItemActions = SidebarActions_1.SidebarActions;
8446
+ /**
8447
+ * @deprecated Use `SidebarV2ItemAction` instead.
8448
+ */
8720
8449
  const SidebarItemAction = (props) => ((0, jsx_runtime_1.jsx)(SidebarActions_1.SidebarAction, { ...props }));
8721
8450
  exports.SidebarItemAction = SidebarItemAction;
8722
8451
  /**
8723
8452
  * Item component to be used inside Sidebar.
8453
+ *
8454
+ * @deprecated Use `SidebarV2Item` instead.
8724
8455
  */
8725
8456
  const SidebarItem = ({ selected, highlighted, clickable, featured, is: Tag = 'div', children, ...props }) => ((0, jsx_runtime_1.jsx)(Tag, { className: [
8726
8457
  'rc-box rcx-box--full rcx-sidebar-item',
@@ -8746,8 +8477,14 @@ exports.SidebarItem = SidebarItem;
8746
8477
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8747
8478
  exports.SidebarSection = exports.SidebarSectionTitle = void 0;
8748
8479
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8480
+ /**
8481
+ * @deprecated Use `SidebarV2GroupTitle` instead.
8482
+ */
8749
8483
  const SidebarSectionTitle = (props) => ((0, jsx_runtime_1.jsx)("div", { className: 'rcx-box rcx-box--full rcx-sidebar-title', ...props }));
8750
8484
  exports.SidebarSectionTitle = SidebarSectionTitle;
8485
+ /**
8486
+ * @deprecated Use `SidebarV2Section` instead.
8487
+ */
8751
8488
  const SidebarSection = (props) => ((0, jsx_runtime_1.jsx)("div", { className: 'rcx-box rcx-box--full rcx-sidebar-section', ...props }));
8752
8489
  exports.SidebarSection = SidebarSection;
8753
8490
 
@@ -8764,6 +8501,9 @@ exports.SidebarSection = SidebarSection;
8764
8501
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8765
8502
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8766
8503
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
8504
+ /**
8505
+ * @deprecated Use `SidebarV2` instead.
8506
+ */
8767
8507
  const Sidebar = (props) => (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-sidebar": true, ...props });
8768
8508
  exports["default"] = Sidebar;
8769
8509
 
@@ -8783,9 +8523,15 @@ exports.SidebarAction = SidebarAction;
8783
8523
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8784
8524
  const Button_1 = __webpack_require__(/*! ../Button */ "./src/components/Button/index.ts");
8785
8525
  const ButtonGroup_1 = __webpack_require__(/*! ../ButtonGroup */ "./src/components/ButtonGroup/index.ts");
8526
+ /**
8527
+ * @deprecated Use `SidebarV2Actions` instead.
8528
+ */
8786
8529
  function SidebarActions(props) {
8787
8530
  return (0, jsx_runtime_1.jsx)(ButtonGroup_1.ButtonGroup, { ...props });
8788
8531
  }
8532
+ /**
8533
+ * @deprecated Use `SidebarV2Action` instead.
8534
+ */
8789
8535
  function SidebarAction(props) {
8790
8536
  return (0, jsx_runtime_1.jsx)(Button_1.IconButton, { small: true, ...props });
8791
8537
  }
@@ -8803,6 +8549,9 @@ function SidebarAction(props) {
8803
8549
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8804
8550
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8805
8551
  const Button_1 = __webpack_require__(/*! ../Button */ "./src/components/Button/index.ts");
8552
+ /**
8553
+ * @deprecated Use `SidebarV2Banner` instead.
8554
+ */
8806
8555
  const SidebarBanner = ({ text, description, onClick, variant = 'default', addon, onClose, children, }) => ((0, jsx_runtime_1.jsxs)("div", { className: `rcx-box rcx-box--full rcx-sidebar-banner rcx-sidebar-banner--${variant}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [text && (0, jsx_runtime_1.jsx)("div", { className: 'rcx-sidebar-banner--text', children: text }), description && ((0, jsx_runtime_1.jsx)("div", { role: onClick ? 'link' : undefined, tabIndex: 0, className: [
8807
8556
  'rcx-sidebar-banner--description',
8808
8557
  onClick && 'rcx-sidebar-banner--description--clickable',
@@ -8824,6 +8573,9 @@ exports["default"] = SidebarBanner;
8824
8573
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8825
8574
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8826
8575
  const Divider_1 = __webpack_require__(/*! ../Divider */ "./src/components/Divider/index.ts");
8576
+ /**
8577
+ * @deprecated Use `SidebarV2Divider` instead.
8578
+ */
8827
8579
  const SidebarDivider = () => ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidebar--divider": true, marginBlockStart: -2, marginBlockEnd: 0 }));
8828
8580
  exports["default"] = SidebarDivider;
8829
8581
 
@@ -8840,6 +8592,9 @@ exports["default"] = SidebarDivider;
8840
8592
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8841
8593
  exports.SidebarFooterHighlight = exports.SidebarFooter = void 0;
8842
8594
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8595
+ /**
8596
+ * @deprecated Use `SidebarV2Footer` instead.
8597
+ */
8843
8598
  const SidebarFooter = ({ elevated, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: [
8844
8599
  'rcx-box rcx-box--full rcx-sidebar-footer',
8845
8600
  elevated && 'rcx-sidebar-footer--elevated',
@@ -8847,6 +8602,9 @@ const SidebarFooter = ({ elevated, ...props }) => ((0, jsx_runtime_1.jsx)("div",
8847
8602
  .filter(Boolean)
8848
8603
  .join(' '), ...props }));
8849
8604
  exports.SidebarFooter = SidebarFooter;
8605
+ /**
8606
+ * @deprecated Use `SidebarV2FooterContent` instead.
8607
+ */
8850
8608
  const SidebarFooterHighlight = ({ ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: 'rcx-box rcx-box--full rcx-sidebar-footer__highlights', ...props }));
8851
8609
  exports.SidebarFooterHighlight = SidebarFooterHighlight;
8852
8610
 
@@ -8865,6 +8623,8 @@ exports.TopBar = void 0;
8865
8623
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8866
8624
  /**
8867
8625
  * Sidebar TopBar and ToolBox.
8626
+ *
8627
+ * @deprecated Use `NavBar` for app-level navigation instead.
8868
8628
  */
8869
8629
  const TopBar = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: ['rc-box rc-box--full rcx-sidebar-topbar', className]
8870
8630
  .filter(Boolean)
@@ -8885,6 +8645,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
8885
8645
  exports.TopBarAction = TopBarAction;
8886
8646
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8887
8647
  const SidebarActions_1 = __webpack_require__(/*! ../SidebarActions */ "./src/components/Sidebar/SidebarActions.tsx");
8648
+ /**
8649
+ * @deprecated Use `NavBar` for app-level navigation instead.
8650
+ */
8888
8651
  function TopBarAction(props) {
8889
8652
  return (0, jsx_runtime_1.jsx)(SidebarActions_1.SidebarAction, { ...props });
8890
8653
  }
@@ -8903,6 +8666,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
8903
8666
  exports.TopBarActions = TopBarActions;
8904
8667
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8905
8668
  const SidebarActions_1 = __webpack_require__(/*! ../SidebarActions */ "./src/components/Sidebar/SidebarActions.tsx");
8669
+ /**
8670
+ * @deprecated Use `NavBar` for app-level navigation instead.
8671
+ */
8906
8672
  function TopBarActions(props) {
8907
8673
  return (0, jsx_runtime_1.jsx)(SidebarActions_1.SidebarActions, { ...props });
8908
8674
  }
@@ -8926,6 +8692,9 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
8926
8692
  const SidebarDivider_1 = __importDefault(__webpack_require__(/*! ../SidebarDivider */ "./src/components/Sidebar/SidebarDivider.tsx"));
8927
8693
  const TopBar_1 = __webpack_require__(/*! ./TopBar */ "./src/components/Sidebar/TopBar/TopBar.tsx");
8928
8694
  const TopBarWrapper_1 = __webpack_require__(/*! ./TopBarWrapper */ "./src/components/Sidebar/TopBar/TopBarWrapper.tsx");
8695
+ /**
8696
+ * @deprecated Use `NavBar` for app-level navigation instead.
8697
+ */
8929
8698
  const TopBarSection = ({ className, children, ...props }) => ((0, jsx_runtime_1.jsxs)(TopBar_1.TopBar, { className: ['rcx-sidebar-topbar--section', className]
8930
8699
  .filter(Boolean)
8931
8700
  .join(' '), ...props, children: [(0, jsx_runtime_1.jsx)(TopBarWrapper_1.TopBarWrapper, { children: children }), (0, jsx_runtime_1.jsx)(SidebarDivider_1.default, {})] }));
@@ -8945,6 +8714,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
8945
8714
  exports.TopBarTitle = void 0;
8946
8715
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8947
8716
  const Box_1 = __webpack_require__(/*! ../../Box */ "./src/components/Box/index.ts");
8717
+ /**
8718
+ * @deprecated Use `NavBar` for app-level navigation instead.
8719
+ */
8948
8720
  const TopBarTitle = (props) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { className: 'rcx-sidebar-topbar__title', withTruncatedText: true, ...props }));
8949
8721
  exports.TopBarTitle = TopBarTitle;
8950
8722
 
@@ -8967,6 +8739,9 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
8967
8739
  const SidebarDivider_1 = __importDefault(__webpack_require__(/*! ../SidebarDivider */ "./src/components/Sidebar/SidebarDivider.tsx"));
8968
8740
  const TopBar_1 = __webpack_require__(/*! ./TopBar */ "./src/components/Sidebar/TopBar/TopBar.tsx");
8969
8741
  const TopBarWrapper_1 = __webpack_require__(/*! ./TopBarWrapper */ "./src/components/Sidebar/TopBar/TopBarWrapper.tsx");
8742
+ /**
8743
+ * @deprecated Use `NavBar` for app-level navigation instead.
8744
+ */
8970
8745
  const TopBarToolBox = ({ children, className, ...props }) => ((0, jsx_runtime_1.jsxs)(TopBar_1.TopBar, { className: ['rcx-sidebar-topbar--toolbox', className]
8971
8746
  .filter(Boolean)
8972
8747
  .join(' '), ...props, children: [(0, jsx_runtime_1.jsx)(TopBarWrapper_1.TopBarWrapper, { children: children }), (0, jsx_runtime_1.jsx)(SidebarDivider_1.default, {})] }));
@@ -8985,6 +8760,9 @@ exports.TopBarToolBox = TopBarToolBox;
8985
8760
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8986
8761
  exports.TopBarV2 = void 0;
8987
8762
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8763
+ /**
8764
+ * @deprecated Use `NavBar` for app-level navigation instead.
8765
+ */
8988
8766
  const TopBarV2 = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: [
8989
8767
  'rc-box rc-box--full rcx-sidebar-topbar-v2 rcx-sidebar-topbar-v2',
8990
8768
  className,
@@ -9006,6 +8784,9 @@ exports.TopBarV2 = TopBarV2;
9006
8784
  Object.defineProperty(exports, "__esModule", ({ value: true }));
9007
8785
  exports.TopBarWrapper = void 0;
9008
8786
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8787
+ /**
8788
+ * @deprecated Use `NavBar` for app-level navigation instead.
8789
+ */
9009
8790
  const TopBarWrapper = ({ children }) => ((0, jsx_runtime_1.jsx)("div", { className: 'rc-box rc-box--full rcx-sidebar-topbar__wrapper', children: children }));
9010
8791
  exports.TopBarWrapper = TopBarWrapper;
9011
8792
 
@@ -9035,6 +8816,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
9035
8816
  };
9036
8817
  Object.defineProperty(exports, "__esModule", ({ value: true }));
9037
8818
  exports.TopBarAvatar = void 0;
8819
+ /**
8820
+ * @deprecated Use `NavBar` for app-level navigation instead.
8821
+ */
9038
8822
  exports.TopBarAvatar = { size: 'x24' };
9039
8823
  __exportStar(__webpack_require__(/*! ./TopBar */ "./src/components/Sidebar/TopBar/TopBar.tsx"), exports);
9040
8824
  __exportStar(__webpack_require__(/*! ./TopBarV2 */ "./src/components/Sidebar/TopBar/TopBarV2.tsx"), exports);
@@ -9373,13 +9157,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
9373
9157
  exports.SidebarGroupTitle = void 0;
9374
9158
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
9375
9159
  const Chevron_1 = __webpack_require__(/*! ../Chevron */ "./src/components/Chevron/index.ts");
9376
- const SidebarCollapseGroupMenu_1 = __webpack_require__(/*! ./SidebarCollapseGroupMenu */ "./src/components/SidebarV2/SidebarCollapseGroupMenu.tsx");
9377
9160
  const SidebarGroupTitle = ({ title, titleId, badge, menu, barProps, expanded, role, ...props }) => ((0, jsx_runtime_1.jsxs)("div", { className: [
9378
9161
  'rcx-box rcx-box--full',
9379
9162
  'rcx-sidebar-v2-collapse-group__bar rcx-box--animated',
9380
9163
  ]
9381
9164
  .filter(Boolean)
9382
- .join(' '), ...props, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'rcx-box rcx-sidebar-v2-collapse-group__bar-button', role: role, ...barProps, children: [expanded !== undefined && (0, jsx_runtime_1.jsx)(Chevron_1.Chevron, { size: 'x20', right: !expanded }), title && ((0, jsx_runtime_1.jsx)("h4", { className: 'rcx-box rcx-box--full rcx-sidebar-v2-collapse-group__title', id: titleId, children: title })), !expanded && badge && badge] }), menu && (0, jsx_runtime_1.jsx)(SidebarCollapseGroupMenu_1.SidebarCollapseGroupMenu, { children: menu })] }));
9165
+ .join(' '), ...props, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'rcx-box rcx-sidebar-v2-collapse-group__bar-button', role: role, ...barProps, children: [expanded !== undefined && (0, jsx_runtime_1.jsx)(Chevron_1.Chevron, { size: 'x20', right: !expanded }), title && ((0, jsx_runtime_1.jsx)("h4", { className: 'rcx-box rcx-box--full rcx-sidebar-v2-collapse-group__title', id: titleId, children: title })), !expanded && badge && badge] }), menu] }));
9383
9166
  exports.SidebarGroupTitle = SidebarGroupTitle;
9384
9167
 
9385
9168
 
@@ -11463,7 +11246,6 @@ __exportStar(__webpack_require__(/*! ./Chevron */ "./src/components/Chevron/inde
11463
11246
  __exportStar(__webpack_require__(/*! ./Chip */ "./src/components/Chip/index.ts"), exports);
11464
11247
  __exportStar(__webpack_require__(/*! ./CodeSnippet */ "./src/components/CodeSnippet/index.ts"), exports);
11465
11248
  __exportStar(__webpack_require__(/*! ./Contextualbar */ "./src/components/Contextualbar/index.ts"), exports);
11466
- __exportStar(__webpack_require__(/*! ./ContextualbarV2 */ "./src/components/ContextualbarV2/index.ts"), exports);
11467
11249
  __exportStar(__webpack_require__(/*! ./Divider */ "./src/components/Divider/index.ts"), exports);
11468
11250
  __exportStar(__webpack_require__(/*! ./Dropdown */ "./src/components/Dropdown/index.ts"), exports);
11469
11251
  __exportStar(__webpack_require__(/*! ./EmailInput */ "./src/components/EmailInput/index.ts"), exports);
@@ -11575,7 +11357,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
11575
11357
  };
11576
11358
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11577
11359
  exports.getPaletteColor = void 0;
11578
- const colors_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/colors.json */ "@rocket.chat/fuselage-tokens/colors.json"));
11360
+ const colors_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/colors.json */ "@rocket.chat/fuselage-tokens/dist/colors.json"));
11579
11361
  const invariant_1 = __importDefault(__webpack_require__(/*! invariant */ "invariant"));
11580
11362
  const isPaletteColorRef = (ref) => typeof ref === 'string' && ref in colors_json_1.default;
11581
11363
  const mapTypeToPrefix = {
@@ -12156,7 +11938,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
12156
11938
  };
12157
11939
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12158
11940
  exports.fontScale = exports.fontFamily = exports.spacing = exports.size = exports.color = exports.fontColor = exports.backgroundColor = exports.strokeColor = exports.borderRadius = exports.borderWidth = void 0;
12159
- const typography_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/typography.json */ "@rocket.chat/fuselage-tokens/typography.json"));
11941
+ const border_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/border.json */ "@rocket.chat/fuselage-tokens/dist/border.json"));
11942
+ const typography_json_1 = __importDefault(__webpack_require__(/*! @rocket.chat/fuselage-tokens/dist/typography.json */ "@rocket.chat/fuselage-tokens/dist/typography.json"));
12160
11943
  const memo_1 = __webpack_require__(/*! @rocket.chat/memo */ "@rocket.chat/memo");
12161
11944
  const invariant_1 = __importDefault(__webpack_require__(/*! invariant */ "invariant"));
12162
11945
  const Theme_1 = __webpack_require__(/*! ./Theme */ "./src/Theme.ts");
@@ -12182,20 +11965,14 @@ const measure = (computeSpecialValue) => (0, memo_1.memoize)((value) => {
12182
11965
  return value;
12183
11966
  });
12184
11967
  exports.borderWidth = measure((value) => {
12185
- if (value === 'none') {
12186
- return '0px';
12187
- }
12188
- if (value === 'default') {
12189
- return (0, exports.borderWidth)('x1');
11968
+ if (typeof value === 'string' && value in border_json_1.default.width) {
11969
+ return `${border_json_1.default.width[value]}px`;
12190
11970
  }
12191
11971
  return undefined;
12192
11972
  });
12193
11973
  exports.borderRadius = measure((value) => {
12194
- if (value === 'none') {
12195
- return '0px';
12196
- }
12197
- if (value === 'full') {
12198
- return '9999px';
11974
+ if (typeof value === 'string' && value in border_json_1.default.radius) {
11975
+ return `${border_json_1.default.radius[value] / 16}rem`;
12199
11976
  }
12200
11977
  return undefined;
12201
11978
  });
@@ -12328,22 +12105,22 @@ exports.spacing = measure((value) => {
12328
12105
  }
12329
12106
  return undefined;
12330
12107
  });
12331
- const isFontFamily = (value) => typeof value === 'string' && value in typography_json_1.default.fontFamilies;
12108
+ const isFontFamily = (value) => typeof value === 'string' && value in typography_json_1.default.fontFamily;
12332
12109
  exports.fontFamily = (0, memo_1.memoize)((value) => {
12333
12110
  if (!isFontFamily(value)) {
12334
12111
  return undefined;
12335
12112
  }
12336
- const fontFamily = typography_json_1.default.fontFamilies[value]
12113
+ const fontFamily = typography_json_1.default.fontFamily[value]
12337
12114
  .map((fontFace) => (fontFace.includes(' ') ? `'${fontFace}'` : fontFace))
12338
12115
  .join(', ');
12339
12116
  return (0, toCSSValue_1.toCSSFontValue)(value, fontFamily);
12340
12117
  });
12341
- const isFontScale = (value) => typeof value === 'string' && value in typography_json_1.default.fontScales;
12118
+ const isFontScale = (value) => typeof value === 'string' && value in typography_json_1.default.fontScale;
12342
12119
  exports.fontScale = (0, memo_1.memoize)((value) => {
12343
12120
  if (!isFontScale(value)) {
12344
12121
  return undefined;
12345
12122
  }
12346
- const { fontSize, fontWeight, lineHeight, letterSpacing } = typography_json_1.default.fontScales[value];
12123
+ const { fontSize, fontWeight, lineHeight, letterSpacing } = typography_json_1.default.fontScale[value];
12347
12124
  return {
12348
12125
  fontSize: `${fontSize / 16}rem`,
12349
12126
  fontWeight,
@@ -12375,16 +12152,6 @@ module.exports = require("@rocket.chat/fuselage-hooks");
12375
12152
 
12376
12153
  /***/ },
12377
12154
 
12378
- /***/ "@rocket.chat/fuselage-tokens/colors.json"
12379
- /*!***********************************************************!*\
12380
- !*** external "@rocket.chat/fuselage-tokens/colors.json" ***!
12381
- \***********************************************************/
12382
- (module) {
12383
-
12384
- module.exports = require("@rocket.chat/fuselage-tokens/colors.json");
12385
-
12386
- /***/ },
12387
-
12388
12155
  /***/ "@rocket.chat/fuselage-tokens/dist/badge.json"
12389
12156
  /*!***************************************************************!*\
12390
12157
  !*** external "@rocket.chat/fuselage-tokens/dist/badge.json" ***!
@@ -12395,6 +12162,16 @@ module.exports = require("@rocket.chat/fuselage-tokens/dist/badge.json");
12395
12162
 
12396
12163
  /***/ },
12397
12164
 
12165
+ /***/ "@rocket.chat/fuselage-tokens/dist/border.json"
12166
+ /*!****************************************************************!*\
12167
+ !*** external "@rocket.chat/fuselage-tokens/dist/border.json" ***!
12168
+ \****************************************************************/
12169
+ (module) {
12170
+
12171
+ module.exports = require("@rocket.chat/fuselage-tokens/dist/border.json");
12172
+
12173
+ /***/ },
12174
+
12398
12175
  /***/ "@rocket.chat/fuselage-tokens/dist/button.json"
12399
12176
  /*!****************************************************************!*\
12400
12177
  !*** external "@rocket.chat/fuselage-tokens/dist/button.json" ***!
@@ -12405,6 +12182,16 @@ module.exports = require("@rocket.chat/fuselage-tokens/dist/button.json");
12405
12182
 
12406
12183
  /***/ },
12407
12184
 
12185
+ /***/ "@rocket.chat/fuselage-tokens/dist/colors.json"
12186
+ /*!****************************************************************!*\
12187
+ !*** external "@rocket.chat/fuselage-tokens/dist/colors.json" ***!
12188
+ \****************************************************************/
12189
+ (module) {
12190
+
12191
+ module.exports = require("@rocket.chat/fuselage-tokens/dist/colors.json");
12192
+
12193
+ /***/ },
12194
+
12408
12195
  /***/ "@rocket.chat/fuselage-tokens/dist/font.json"
12409
12196
  /*!**************************************************************!*\
12410
12197
  !*** external "@rocket.chat/fuselage-tokens/dist/font.json" ***!
@@ -12465,13 +12252,13 @@ module.exports = require("@rocket.chat/fuselage-tokens/dist/surface.json");
12465
12252
 
12466
12253
  /***/ },
12467
12254
 
12468
- /***/ "@rocket.chat/fuselage-tokens/typography.json"
12469
- /*!***************************************************************!*\
12470
- !*** external "@rocket.chat/fuselage-tokens/typography.json" ***!
12471
- \***************************************************************/
12255
+ /***/ "@rocket.chat/fuselage-tokens/dist/typography.json"
12256
+ /*!********************************************************************!*\
12257
+ !*** external "@rocket.chat/fuselage-tokens/dist/typography.json" ***!
12258
+ \********************************************************************/
12472
12259
  (module) {
12473
12260
 
12474
- module.exports = require("@rocket.chat/fuselage-tokens/typography.json");
12261
+ module.exports = require("@rocket.chat/fuselage-tokens/dist/typography.json");
12475
12262
 
12476
12263
  /***/ },
12477
12264