nntc-ui 0.0.8 → 0.0.9

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 (4) hide show
  1. package/index.css +31 -23
  2. package/index.d.ts +1 -1
  3. package/index.js +287 -196
  4. package/package.json +1 -1
package/index.css CHANGED
@@ -692,6 +692,29 @@ button[disabled] {
692
692
  height: 0;
693
693
  }
694
694
 
695
+ /* src/components/common/ButtonsGroup/buttonsGroup.module.css */
696
+ .buttonsGroup_root {
697
+ display: flex;
698
+ align-items: center;
699
+ }
700
+ .buttonsGroup_fillEvenly > * {
701
+ flex-grow: 1;
702
+ width: 0;
703
+ }
704
+ .buttonsGroup_root > *:nth-child(n+1) {
705
+ border-top-right-radius: 0;
706
+ border-bottom-right-radius: 0;
707
+ }
708
+ .buttonsGroup_root > *:nth-child(n+2) {
709
+ margin-left: 1px;
710
+ border-top-left-radius: 0;
711
+ border-bottom-left-radius: 0;
712
+ }
713
+ .buttonsGroup_root > *:last-child {
714
+ border-top-right-radius: 4px;
715
+ border-bottom-right-radius: 4px;
716
+ }
717
+
695
718
  /* src/components/common/DateTime/ui/CalendarPopover/calendarPopover.module.css */
696
719
  .calendarPopover_root {
697
720
  display: flex;
@@ -1257,29 +1280,6 @@ button[disabled] {
1257
1280
  width: 100%;
1258
1281
  }
1259
1282
 
1260
- /* src/components/common/ButtonsGroup/buttonsGroup.module.css */
1261
- .buttonsGroup_root {
1262
- display: flex;
1263
- align-items: center;
1264
- }
1265
- .buttonsGroup_fillEvenly > * {
1266
- flex-grow: 1;
1267
- width: 0;
1268
- }
1269
- .buttonsGroup_root > *:nth-child(n+1) {
1270
- border-top-right-radius: 0;
1271
- border-bottom-right-radius: 0;
1272
- }
1273
- .buttonsGroup_root > *:nth-child(n+2) {
1274
- margin-left: 1px;
1275
- border-top-left-radius: 0;
1276
- border-bottom-left-radius: 0;
1277
- }
1278
- .buttonsGroup_root > *:last-child {
1279
- border-top-right-radius: 4px;
1280
- border-bottom-right-radius: 4px;
1281
- }
1282
-
1283
1283
  /* src/components/layout/Surface/surface.module.css */
1284
1284
  .surface_root {
1285
1285
  padding: 16px;
@@ -1668,6 +1668,14 @@ button[disabled] {
1668
1668
  background: none !important;
1669
1669
  }
1670
1670
 
1671
+ /* src/components/view/VirtualTable/ui/DateFiltration/dateFiltration.module.css */
1672
+ .dateFiltration_root {
1673
+ display: flex;
1674
+ gap: 16px;
1675
+ align-items: center;
1676
+ padding: 16px 8px 0 8px;
1677
+ }
1678
+
1671
1679
  /* src/components/view/VirtualTable/ui/NumberFiltration/numberFiltration.module.css */
1672
1680
  .numberFiltration_root {
1673
1681
  display: flex;
package/index.d.ts CHANGED
@@ -273,7 +273,7 @@ declare function VirtualTable(props: UiProps<Props$7>): react_jsx_runtime.JSX.El
273
273
 
274
274
  interface FilterBy {
275
275
  columnName: string;
276
- type: 'value' | 'range';
276
+ type: 'value' | 'numberRange' | 'dateRange';
277
277
  values: (string | number)[];
278
278
  }
279
279