@tight-embedded/react 6.0.2 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/index.css +331 -315
  2. package/dist/index.css.gz +0 -0
  3. package/dist/index.d.ts +1 -2
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.gz +0 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.js.map.gz +0 -0
  8. package/package.json +9 -7
  9. package/dist/235.css +0 -446
  10. package/dist/235.css.gz +0 -0
  11. package/dist/41.css +0 -245
  12. package/dist/41.css.gz +0 -0
  13. package/dist/fonts/G centra-book.otf +0 -0
  14. package/dist/fonts/G centra-book.otf.gz +0 -0
  15. package/dist/fonts/G centra-medium.otf +0 -0
  16. package/dist/fonts/G centra-medium.otf.gz +0 -0
  17. package/dist/fonts/Inter-Bold.ttf +0 -0
  18. package/dist/fonts/Inter-Bold.ttf.gz +0 -0
  19. package/dist/fonts/Inter-ExtraLight.ttf +0 -0
  20. package/dist/fonts/Inter-ExtraLight.ttf.gz +0 -0
  21. package/dist/fonts/Inter-Light.ttf +0 -0
  22. package/dist/fonts/Inter-Light.ttf.gz +0 -0
  23. package/dist/fonts/Inter-Medium.ttf +0 -0
  24. package/dist/fonts/Inter-Medium.ttf.gz +0 -0
  25. package/dist/fonts/Inter-Regular.ttf +0 -0
  26. package/dist/fonts/Inter-Regular.ttf.gz +0 -0
  27. package/dist/fonts/Inter-SemiBold.ttf +0 -0
  28. package/dist/fonts/Inter-SemiBold.ttf.gz +0 -0
  29. package/dist/fonts/gcentra-book.woff +0 -0
  30. package/dist/fonts/gcentra-book.woff.gz +0 -0
  31. package/dist/fonts/gcentra-book.woff2 +0 -0
  32. package/dist/fonts/gcentra-medium.woff +0 -0
  33. package/dist/fonts/gcentra-medium.woff.gz +0 -0
  34. package/dist/fonts/gcentra-medium.woff2 +0 -0
  35. package/dist/gcentra.css +0 -25
  36. package/dist/gcentra.css.gz +0 -0
  37. package/dist/inter.css +0 -36
  38. package/dist/inter.css.gz +0 -0
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tight-embedded/react",
3
- "version": "6.0.2",
3
+ "version": "6.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -16,8 +16,7 @@
16
16
  "require": "./dist/index.umd.cjs"
17
17
  },
18
18
  "./index.css": "./dist/index.css",
19
- "./duplet.css": "./dist/duplet.css",
20
- "./inter.css": "./dist/inter.css"
19
+ "./duplet.css": "./dist/duplet.css"
21
20
  },
22
21
  "peerDependencies": {
23
22
  "react": "^18.3.1 || ^19.0.0",
@@ -41,6 +40,7 @@
41
40
  "fuse.js": "^7.1.0",
42
41
  "idb": "^8.0.2",
43
42
  "lodash-es": "^4.17.21",
43
+ "motion": "^12.35.0",
44
44
  "react-confirm": "^0.4.0",
45
45
  "react-number-format": "^5.4.4",
46
46
  "recharts": "^3.1.2",
@@ -100,10 +100,10 @@
100
100
  },
101
101
  "nyc": {
102
102
  "check-coverage": true,
103
- "branches": 37,
104
- "functions": 40,
105
- "lines": 40,
106
- "statements": 40
103
+ "branches": 35,
104
+ "functions": 35,
105
+ "lines": 35,
106
+ "statements": 35
107
107
  },
108
108
  "scripts": {
109
109
  "setup": "chmod -R +x ./scripts",
@@ -111,6 +111,8 @@
111
111
  "typecheck": "./scripts/typecheck.sh -w false",
112
112
  "build": "./scripts/build.sh",
113
113
  "build:lab": "./scripts/buildLab.sh",
114
+ "build:playgroundComponents": "./scripts/buildPlaygroundComponents.sh",
115
+ "dev:playgroundComponents": "vite dev -c vite.playgroundComponents.config.ts",
114
116
  "build:playground": "../../apps/playground/scripts/buildPlayground.sh",
115
117
  "analyze": "./scripts/analyze.sh",
116
118
  "lint": "./scripts/lint.sh",
package/dist/235.css DELETED
@@ -1,446 +0,0 @@
1
- :where(:root, :host) {
2
-
3
- /* Brand Colors */
4
-
5
- --Tight-colors-brand-primary-weak: #0A8080;
6
- --Tight-colors-brand-primary: #005961;
7
- --Tight-colors-brand-primary-strong: #0A8080;
8
-
9
- --Tight-colors-brand-secondary-weak: #FFFFFF;
10
- --Tight-colors-brand-secondary: #E5F4F3;
11
- --Tight-colors-brand-secondary-strong: #6c7381;
12
-
13
- --Tight-colors-brand-success-opaque: #E5F4F3;
14
- --Tight-colors-brand-success-weak: #E5F4F3;
15
- --Tight-colors-brand-success: #56A9AC;
16
- --Tight-colors-brand-success-strong: #005961;
17
-
18
- --Tight-colors-brand-warning-opaque: #FFF2DF;
19
- --Tight-colors-brand-warning-weak: #FFF2DF;
20
- --Tight-colors-brand-warning: #E1B762;
21
- --Tight-colors-brand-warning-strong: #E1B762;
22
-
23
- --Tight-colors-brand-danger-opaque: #FFFBFB;
24
- --Tight-colors-brand-danger-weak: #FFFBFB;
25
- --Tight-colors-brand-danger: #FFEDEB;
26
- --Tight-colors-brand-danger-strong: #C53336;
27
-
28
- --Tight-colors-brand-action-opaque: #E5F4F3;
29
- --Tight-colors-brand-action-weak: #E5F4F3;
30
- --Tight-colors-brand-action: #CEE6E6;
31
- --Tight-colors-brand-action-strong: #9DCCCC;
32
-
33
- /* Surface Colors */
34
-
35
- --Tight-colors-surface-background: #FAFAFA;
36
- --Tight-colors-surface-elevated: #F8F5F2;
37
-
38
- /*--Tight-colors-surface-intent-secondary: #f5f7fa;*/
39
- /*--Tight-colors-surface-intent-secondary-hover: #f5f7fa;*/
40
- /*--Tight-colors-surface-intent-secondary-active: #f5f7fa;*/
41
-
42
- /*--Tight-colors-surface-intent-success: #dcfce7;*/
43
- /*--Tight-colors-surface-intent-success-hover: #dcfce7;*/
44
- /*--Tight-colors-surface-intent-success-active: #dcfce7;*/
45
-
46
- /*--Tight-colors-surface-intent-warning: #fffbec;*/
47
- /*--Tight-colors-surface-intent-warning-hover: #fffbec;*/
48
- /*--Tight-colors-surface-intent-warning-active: #fffbec;*/
49
-
50
- /*--Tight-colors-surface-intent-danger: #fee2e1;*/
51
- /*--Tight-colors-surface-intent-danger-hover: #fee2e1;*/
52
- /*--Tight-colors-surface-intent-danger-active: #fee2e1;*/
53
-
54
- /* Typography Colors */
55
-
56
- --Tight-colors-typography-base: #525257;
57
- --Tight-colors-typography-label-sub: #6b6b6b;
58
- --Tight-colors-typography-label-strongSub: #6b6b6b;
59
-
60
- --Tight-colors-typography-intent-primary: #FFFFFF;
61
- --Tight-colors-typography-intent-primary-hover: #FFFFFF;
62
- --Tight-colors-typography-intent-primary-active: #FFFFFF;
63
-
64
- --Tight-colors-typography-intent-secondary: #6c6c72;
65
- --Tight-colors-typography-intent-secondary-hover: #6c6c72;
66
- --Tight-colors-typography-intent-secondary-active: #6c6c72;
67
-
68
- /* Border Colors */
69
-
70
- --Tight-colors-border-layout-weak: #eff3f5;
71
- --Tight-colors-border-layout: #CED1D2;
72
- --Tight-colors-border-layout-strong: #525257;
73
-
74
- --Tight-colors-border-intent-primary-hover: #0A8080;
75
- --Tight-colors-border-intent-primary: #0A8080;
76
- --Tight-colors-border-intent-primary-active: #0A8080;
77
-
78
- --Tight-colors-border-intent-secondary-hover: #005C5C;
79
- --Tight-colors-border-intent-secondary: #005C5C;
80
- --Tight-colors-border-intent-secondary-active: #005C5C;
81
-
82
- --Tight-colors-border-intent-danger-hover: #A31821;
83
-
84
- /*--Tight-colors-border-intent-warning-hover: #ffe58f;*/
85
- /*--Tight-colors-border-intent-warning: #ffe58f;*/
86
- /*--Tight-colors-border-intent-warning-active: #ffe58f;*/
87
-
88
- /*--Tight-colors-border-intent-success-hover: #8ceda8;*/
89
- /*--Tight-colors-border-intent-success: #8ceda8;*/
90
- /*--Tight-colors-border-intent-success-active: #8ceda8;*/
91
-
92
- /*--Tight-colors-border-intent-action-hover: #93c6ff;*/
93
- /*--Tight-colors-border-intent-action: #93c6ff;*/
94
- /*--Tight-colors-border-intent-action-active: #93c6ff;*/
95
-
96
- /* Money Colors */
97
-
98
- --Tight-colors-money-negative-weak: #E36751;
99
- --Tight-colors-money-negative: #EB4C33;
100
- --Tight-colors-money-negative-strong: #A52E1B;
101
- --Tight-colors-money-positive-weak: #56A9AC;
102
- --Tight-colors-money-positive: #52B2B6;
103
- --Tight-colors-money-positive-strong: #245860;
104
-
105
- /* Border Radii */
106
-
107
- --Tight-radii-sm: 4px;
108
- --Tight-radii-md: 4px;
109
- --Tight-radii-lg: 5px;
110
-
111
- /* Typefaces */
112
-
113
- --Tight-fonts-base: "G Centra", sans-serif;
114
-
115
- /* Font Weights */
116
-
117
- --Tight-fontWeights-md: 500;
118
-
119
- /* Box Shadows */
120
-
121
- --Tight-shadows-box-shadow: 0px -2px 12px rgba(28, 28, 28, 0.04), 0px 8px 16px rgba(28, 28, 28, 0.12), 0px 4px 12px rgba(28, 28, 28, 0.04);
122
-
123
- }
124
-
125
- .Tight-heading {
126
- line-height: normal;
127
- letter-spacing: 0;
128
- }
129
- .Tight-label {
130
- line-height: normal;
131
- letter-spacing: 0.32px;
132
- }
133
- .Tight-strong-label {
134
- line-height: normal;
135
- letter-spacing: 0.32px;
136
- }
137
- .Tight-sub-label {
138
- line-height: 1.25rem;
139
- letter-spacing: 0.32px;
140
- }
141
- .Tight-strong-sub-label {
142
- line-height: 1.25rem;
143
- letter-spacing: 0.32px;
144
- }
145
- .Tight-body {
146
- line-height: 1.3;
147
- letter-spacing: 0.32px;
148
- }
149
-
150
- .Tight-dashboard-header {
151
- input {
152
- font-family: "G Centra", sans-serif;
153
- }
154
- .Tight-button-primary {
155
- font-family: "G Centra", sans-serif;
156
- border: none;
157
- font-weight: 400;
158
- color: #0A8080;
159
- text-decoration: underline;
160
- .Tight-small-icon > path {
161
- stroke: #0A8080;
162
- }
163
- }
164
- }
165
- .Tight-dashboard-table {
166
- border: none;
167
- }
168
- .Tight-dashboard-table-header {
169
- border-top: 1px solid var(--Tight-colors-border-layout-strong);
170
- background-color: var(--Tight-colors-surface-background);
171
- }
172
- .Tight-dashboard-table-column-header {
173
- .Tight-text {
174
- color: #6B6B6B;
175
- }
176
- }
177
- .Tight-table-parent-row {
178
- border-top: 1px solid var(--Tight-colors-border-layout-strong);
179
- background-color: var(--Tight-colors-surface-foreground);
180
- @media (hover: hover) and (pointer: fine) {
181
- &:hover:not(:disabled) {
182
- background-color: #F9FDFC;
183
- }
184
- }
185
- }
186
- .Tight-table-cell-divider {
187
- display: none;
188
- }
189
-
190
- .Tight-button-table-header {
191
- border: 2px solid var(--Tight-colors-border-intent-primary);
192
-
193
- .Tight-text {
194
- font-weight: 500;
195
- color: #0A8080;
196
- }
197
- .Tight-small-icon {
198
- display: none;
199
- }
200
- .Tight-medium-icon {
201
- display: none;
202
- }
203
- }
204
- .Tight-button-tertiary {
205
- border: none;
206
- background-color: var(--Tight-colors-brand-primary-weak);
207
-
208
- .Tight-text {
209
- font-weight: 500;
210
- color: white;
211
- }
212
- .Tight-strong-label {
213
- font-weight: 500;
214
- color: white;
215
- }
216
- .Tight-small-icon {
217
- display: none;
218
- }
219
- }
220
-
221
- .Tight-selector-button {
222
- @media (hover: hover) and (pointer: fine) {
223
- &:hover:not(:disabled) {
224
- background-color: #E5F4F3;
225
- }
226
- }
227
- }
228
- .Tight-review-status-selector-button {
229
- border: none;
230
- background-color: transparent;
231
-
232
- .Tight-text {
233
- font-weight: 500;
234
- color: #0A8080;
235
- text-decoration: underline;
236
- }
237
- .Tight-label {
238
- font-weight: 500;
239
- color: #0A8080;
240
- text-decoration: underline;
241
- }
242
- .Tight-icon > path {
243
- stroke: #0A8080;
244
- }
245
- .Tight-icon > g > path {
246
- stroke: #0A8080;
247
- }
248
-
249
- .Tight-button-base {
250
- text-transform: lowercase;
251
- .Tight-text {
252
- text-transform: lowercase;
253
- }
254
- .Tight-label {
255
- text-transform: lowercase;
256
- }
257
- .Tight-strong-label {
258
- text-transform: lowercase;
259
- }
260
- }
261
-
262
- @media (hover: hover) and (pointer: fine) {
263
- &:hover:not(:disabled) {
264
- .Tight-text {
265
- color: #005961;
266
- }
267
- .Tight-label {
268
- color: #005961;
269
- }
270
- .Tight-medium-icon > path {
271
- stroke: #005961;
272
- }
273
- }
274
- }
275
-
276
- &:active:enabled, &[data-active='true']:enabled {
277
- background-color: #E5F4F3;
278
- }
279
- }
280
- .Tight-review-status-dropdown-arrow {
281
- display: flex;
282
- }
283
-
284
- .Tight-filter-bar {
285
- background-color: var(--Tight-colors-surface-foreground);
286
- border: 1px solid var(--Tight-colors-border-layout);
287
- }
288
- .Tight-bulk-select {
289
- height: 40px
290
- }
291
- .Tight-filter-pill {
292
- border-radius: 100px;
293
- border-color: #929292;
294
- @media (hover: hover) and (pointer: fine) {
295
- &:hover:not(:disabled) {
296
- background-color: #FAFAFA;
297
- border-color: #535353;
298
- }
299
- }
300
- }
301
-
302
- .Tight-pagination-button {
303
- height: 44px;
304
- border: none;
305
-
306
- button {
307
- &:disabled {
308
- opacity: 0.6;
309
- }
310
- .Tight-small-icon > path {
311
- stroke: #0A8080;
312
- }
313
- }
314
- }
315
-
316
- .Tight-tile-header {
317
- padding: 20px;
318
- }
319
- .Tight-tile-body {
320
- padding: 20px;
321
- }
322
-
323
- .Tight-financial-summary-chatbox-header {
324
- .Tight-strong-label {
325
- font-size: 14px;
326
- font-weight: 500;
327
- }
328
- }
329
- .Tight-financial-summary-layout {
330
- padding: 20px;
331
- }
332
- .Tight-financial-summary-chatbox {
333
- padding: 20px;
334
- background-color: var(--Tight-colors-surface-foreground);
335
- .Tight-strong-label {
336
- font-size: 14px;
337
- font-weight: 500;
338
- }
339
- .Tight-button-primary {
340
- height: 36px;
341
- border: 2px solid var(--Tight-colors-border-intent-primary);
342
-
343
- .Tight-strong-label {
344
- font-size: 14px;
345
- font-weight: 500;
346
- color: #0A8080;
347
- }
348
- .Tight-small-icon {
349
- display: none;
350
- }
351
- .Tight-medium-icon {
352
- display: none;
353
- }
354
- }
355
- }
356
- .Tight-financial-summary-chatbox-header {
357
- padding-left: 20px;
358
- padding-right: 20px;
359
- }
360
-
361
- .Tight-tile-bar-label {
362
- .Tight-label {
363
- color: var(--Tight-colors-typography-contrast);
364
- }
365
- }
366
-
367
- .Tight-month-picker {
368
- border: none;
369
- .Tight-small-icon > path {
370
- stroke: #0A8080;
371
- }
372
- }
373
- .Tight-month-picker-label {
374
- width: 85px;
375
- }
376
- .Tight-month-picker-left-button {
377
- border-right: none;
378
- }
379
- .Tight-month-picker-right-button {
380
- border-left: none;
381
- }
382
-
383
- .Tight-banner {
384
- box-shadow: var(--Tight-shadows-box-shadow);
385
- background-color: #F9FDFC;
386
- border: none;
387
- .Tight-sub-label {
388
- margin-left: 44px;
389
- }
390
- }
391
- .Tight-banner-button {
392
- background-color: var(--Tight-colors-brand-primary-weak);
393
- border: none;
394
- .Tight-label {
395
- color: var(--Tight-colors-typography-intent-primary);
396
- }
397
- .Tight-strong-label {
398
- color: var(--Tight-colors-typography-intent-primary);
399
- }
400
- &:hover:not(:disabled) {
401
- background-color: var(--Tight-colors-brand-primary);
402
- }
403
-
404
- &:active:enabled, &[data-active='true']:enabled {
405
- background-color: var(--Tight-colors-brand-primary);
406
- }
407
- }
408
- .Tight-banner-button-icon {
409
- display: none;
410
- }
411
- .Tight-banner-title {
412
- height: 21px;
413
- align-items: flex-start;
414
- }
415
- .Tight-banner-title > img {
416
- margin-top: 5px;
417
- height: 36px;
418
- width: 36px;
419
- }
420
- .Tight-banner-title > svg {
421
- margin-top: 5px;
422
- height: 36px;
423
- width: 36px;
424
- }
425
-
426
- .Tight-empty-dashboard-layout {
427
- background-color: var(--Tight-colors-surface-foreground);
428
- }
429
-
430
- .Tight-button-inline {
431
- .Tight-sub-label {
432
- color: var(--Tight-colors-typography-contrast);
433
- }
434
- }
435
-
436
- .Tight-button-group {
437
- @media (hover: hover) and (pointer: fine) {
438
- &:hover:not(:disabled) {
439
- background-color: #E5F4F3;
440
- }
441
- }
442
- &:active:enabled, &[data-active='true']:enabled {
443
- background-color: #E5F4F3;
444
- border-color: var(--Tight-colors-border-intent-primary-active);
445
- }
446
- }
package/dist/235.css.gz DELETED
Binary file