@ryuzaki13/react-foundation-ui 1.0.12 → 1.0.14

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuzaki13/react-foundation-ui",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Reusable React foundation UI primitives and Storybook stories.",
5
5
  "license": "MIT",
6
6
  "author": "Ryuzaki13",
@@ -332,214 +332,6 @@
332
332
  },
333
333
  "./package.json": "./package.json"
334
334
  },
335
- "typesVersions": {
336
- "*": {
337
- "types": [
338
- "dist/types.d.ts"
339
- ],
340
- "advanced-search": [
341
- "dist/advanced-search/index.d.ts"
342
- ],
343
- "badge": [
344
- "dist/badge/index.d.ts"
345
- ],
346
- "base-table": [
347
- "dist/base-table/index.d.ts"
348
- ],
349
- "button": [
350
- "dist/button/index.d.ts"
351
- ],
352
- "check-box": [
353
- "dist/check-box/index.d.ts"
354
- ],
355
- "context-menu": [
356
- "dist/context-menu/index.d.ts"
357
- ],
358
- "date-input": [
359
- "dist/date-input/index.d.ts"
360
- ],
361
- "date-range-preset-select": [
362
- "dist/date-range-preset-select/index.d.ts"
363
- ],
364
- "date-time-input": [
365
- "dist/date-time-input/index.d.ts"
366
- ],
367
- "detail": [
368
- "dist/detail/index.d.ts"
369
- ],
370
- "dialog": [
371
- "dist/dialog/index.d.ts"
372
- ],
373
- "disclosure": [
374
- "dist/disclosure/index.d.ts"
375
- ],
376
- "drop-zone": [
377
- "dist/drop-zone/index.d.ts"
378
- ],
379
- "errors": [
380
- "dist/errors/index.d.ts"
381
- ],
382
- "expandable-action-panel": [
383
- "dist/expandable-action-panel/index.d.ts"
384
- ],
385
- "flex": [
386
- "dist/flex/index.d.ts"
387
- ],
388
- "floating-arrow": [
389
- "dist/floating-arrow/index.d.ts"
390
- ],
391
- "fullscreen-portal": [
392
- "dist/fullscreen-portal/index.d.ts"
393
- ],
394
- "grid": [
395
- "dist/grid/index.d.ts"
396
- ],
397
- "image": [
398
- "dist/image/index.d.ts"
399
- ],
400
- "input": [
401
- "dist/input/index.d.ts"
402
- ],
403
- "input-date-time": [
404
- "dist/input-date-time/index.d.ts"
405
- ],
406
- "input-file": [
407
- "dist/input-file/index.d.ts"
408
- ],
409
- "input-files": [
410
- "dist/input-files/index.d.ts"
411
- ],
412
- "input-image": [
413
- "dist/input-image/index.d.ts"
414
- ],
415
- "input-search": [
416
- "dist/input-search/index.d.ts"
417
- ],
418
- "layout-picker": [
419
- "dist/layout-picker/index.d.ts"
420
- ],
421
- "list": [
422
- "dist/list/index.d.ts"
423
- ],
424
- "listbox": [
425
- "dist/listbox/index.d.ts"
426
- ],
427
- "misc": [
428
- "dist/misc/index.d.ts"
429
- ],
430
- "modal": [
431
- "dist/modal/index.d.ts"
432
- ],
433
- "multi-select": [
434
- "dist/multi-select/index.d.ts"
435
- ],
436
- "notifications": [
437
- "dist/notifications/index.d.ts"
438
- ],
439
- "pages": [
440
- "dist/pages/index.d.ts"
441
- ],
442
- "panel": [
443
- "dist/panel/index.d.ts"
444
- ],
445
- "period-select": [
446
- "dist/period-select/index.d.ts"
447
- ],
448
- "picker": [
449
- "dist/picker/index.d.ts"
450
- ],
451
- "polymorphic": [
452
- "dist/polymorphic/index.d.ts"
453
- ],
454
- "popover": [
455
- "dist/popover/index.d.ts"
456
- ],
457
- "preset-range-date-input": [
458
- "dist/preset-range-date-input/index.d.ts"
459
- ],
460
- "preset-select": [
461
- "dist/preset-select/index.d.ts"
462
- ],
463
- "radio-button": [
464
- "dist/radio-button/index.d.ts"
465
- ],
466
- "radio-group": [
467
- "dist/radio-group/index.d.ts"
468
- ],
469
- "select": [
470
- "dist/select/index.d.ts"
471
- ],
472
- "separator": [
473
- "dist/separator/index.d.ts"
474
- ],
475
- "simple-table": [
476
- "dist/simple-table/index.d.ts"
477
- ],
478
- "slider": [
479
- "dist/slider/index.d.ts"
480
- ],
481
- "sortable": [
482
- "dist/sortable/index.d.ts"
483
- ],
484
- "splitter": [
485
- "dist/splitter/index.d.ts"
486
- ],
487
- "state-select": [
488
- "dist/state-select/index.d.ts"
489
- ],
490
- "switch": [
491
- "dist/switch/index.d.ts"
492
- ],
493
- "table": [
494
- "dist/table/index.d.ts"
495
- ],
496
- "table-column-interactions": [
497
- "dist/table-column-interactions/index.d.ts"
498
- ],
499
- "table-sorting": [
500
- "dist/table-sorting/index.d.ts"
501
- ],
502
- "tabs": [
503
- "dist/tabs/index.d.ts"
504
- ],
505
- "text": [
506
- "dist/text/index.d.ts"
507
- ],
508
- "text-editor": [
509
- "dist/text-editor/index.d.ts"
510
- ],
511
- "text-editor/lexical/plugins": [
512
- "dist/text-editor/lexical/plugins/index.d.ts"
513
- ],
514
- "text-editor/toolbar": [
515
- "dist/text-editor/toolbar/index.d.ts"
516
- ],
517
- "textarea": [
518
- "dist/textarea/index.d.ts"
519
- ],
520
- "three-scene": [
521
- "dist/three-scene/index.d.ts"
522
- ],
523
- "toggle": [
524
- "dist/toggle/index.d.ts"
525
- ],
526
- "toolbar": [
527
- "dist/toolbar/index.d.ts"
528
- ],
529
- "tree": [
530
- "dist/tree/index.d.ts"
531
- ],
532
- "tree-select": [
533
- "dist/tree-select/index.d.ts"
534
- ],
535
- "tree-table": [
536
- "dist/tree-table/index.d.ts"
537
- ],
538
- "wheel-picker": [
539
- "dist/wheel-picker/index.d.ts"
540
- ]
541
- }
542
- },
543
335
  "scripts": {
544
336
  "build": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly",
545
337
  "typecheck": "tsc -p tsconfig.build.json --noEmit",
@@ -4,8 +4,8 @@ body {
4
4
  @include stepped-font();
5
5
  font-family: var(--font-family-base);
6
6
 
7
- color: var(--content-0);
8
- background-color: var(--surface-1);
7
+ // color: var(--content-0);
8
+ // background-color: var(--surface-1);
9
9
 
10
10
  letter-spacing: var(--letter-spacing);
11
11
  word-spacing: var(--word-spacing);
@@ -13,10 +13,6 @@ body {
13
13
  text-size-adjust: 100%;
14
14
  -webkit-font-smoothing: antialiased;
15
15
  -moz-osx-font-smoothing: auto;
16
-
17
- position: relative;
18
- height: 100%;
19
- overflow: hidden;
20
16
  }
21
17
 
22
18
  /* Для WebKit браузеров (Chrome, Safari, Edge) */
@@ -30,19 +26,6 @@ input:autofill {
30
26
  background: var(--surface-0) !important;
31
27
  }
32
28
 
33
- #root {
34
- display: grid;
35
- grid-template-rows: auto 1fr;
36
- height: 100%;
37
- }
38
-
39
- // TODO: ВРЕМЕННО, не забыть убрать после адаптации шапки
40
- @include mobile {
41
- #root {
42
- grid-template-rows: 1fr;
43
- }
44
- }
45
-
46
29
  #modal-root {
47
30
  &:not(:empty) {
48
31
  position: fixed;
@@ -55,6 +38,17 @@ input:autofill {
55
38
  }
56
39
  }
57
40
 
41
+ #dialog-root {
42
+ &:not(:empty) {
43
+ position: fixed;
44
+ z-index: var(--z-dialog);
45
+ left: 0;
46
+ top: 0;
47
+ right: 0;
48
+ bottom: 0;
49
+ }
50
+ }
51
+
58
52
  h1,
59
53
  .h1 {
60
54
  @include stepped-font(24);
@@ -197,13 +191,6 @@ table {
197
191
  }
198
192
  }
199
193
 
200
- .lucide {
201
- stroke-width: var(--stroke-width);
202
- width: 1.25em;
203
- height: 1.25em;
204
- line-height: var(--line-height);
205
- }
206
-
207
194
  :focus-visible {
208
195
  @include focusVisible;
209
196
  }
@@ -216,26 +203,6 @@ table {
216
203
  @include visuallyHidden;
217
204
  }
218
205
 
219
- .debug {
220
- outline: 1px dashed rgb(255, 124, 216);
221
- outline-offset: -1px;
222
- }
223
- // TODO: unused
224
- .debug1 {
225
- outline: 1px dashed rgb(255, 220, 124);
226
- outline-offset: -1px;
227
- }
228
- // TODO: unused
229
- .debug2 {
230
- outline: 1px dashed rgb(124, 240, 255);
231
- outline-offset: -1px;
232
- }
233
- // TODO: unused
234
- .debug3 {
235
- outline: 1px dashed rgb(124, 255, 172);
236
- outline-offset: -1px;
237
- }
238
-
239
206
  // OPACITY
240
207
 
241
208
  // TODO: unused
@@ -1,15 +1 @@
1
1
  // Главный файл общих стилей foundation-ui. Подключается один раз в host-приложении.
2
-
3
- // Нормализация подключается здесь же, чтобы не было проблем с сортировкой импортов, ограниченными eslint
4
- @use "normalize";
5
- @use "variables";
6
- @use "base";
7
- @use "flex";
8
- @use "grid";
9
- @use "margin";
10
- @use "border";
11
- @use "text";
12
- @use "color";
13
- @use "controls";
14
- @use "layout";
15
- @use "components";
@@ -1 +1 @@
1
- {"generatedAt":1783606689420,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"tanstack-react","packageName":"@tanstack/react-router","version":"1.170.17"},"knownPackages":{"testPackages":{"@testing-library/dom":"10.4.1","@testing-library/react":"16.3.2","@testing-library/user-event":"^14.6.1","vitest":"4.1.10"},"stateManagementPackages":{"zustand":"^5.0.14"},"dataFetchingPackages":{"@tanstack/react-query":"^5.101.1"},"routerPackages":{"@tanstack/react-router":"^1.170.16"}},"hasRouterPackage":false,"packageManager":{"type":"npm","version":"11.7.0","agent":"npm","nodeLinker":"node_modules"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":9,"storybookVersion":"10.4.6","storybookVersionSpecifier":"^10.4.6","language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"10.4.6"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.4.6"},"@storybook/addon-a11y":{"version":"10.4.6"}},"packageJsonType":"module"}
1
+ {"generatedAt":1783678919773,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"tanstack-react","packageName":"@tanstack/react-router","version":"1.170.17"},"knownPackages":{"testPackages":{"@testing-library/dom":"10.4.1","@testing-library/react":"16.3.2","@testing-library/user-event":"^14.6.1","vitest":"4.1.10"},"stateManagementPackages":{"zustand":"^5.0.14"},"dataFetchingPackages":{"@tanstack/react-query":"^5.101.1"},"routerPackages":{"@tanstack/react-router":"^1.170.16"}},"hasRouterPackage":false,"packageManager":{"type":"npm","version":"11.7.0","agent":"npm","nodeLinker":"node_modules"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":9,"storybookVersion":"10.4.6","storybookVersionSpecifier":"^10.4.6","language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"10.4.6"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.4.6"},"@storybook/addon-a11y":{"version":"10.4.6"}},"packageJsonType":"module"}