@dovetail-v2/refine 0.1.12 → 0.1.13

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/dist/style.css CHANGED
@@ -1390,6 +1390,240 @@
1390
1390
  /* box shadow */
1391
1391
  /* fisheye */
1392
1392
  /* z-index */
1393
+ .p5jt6nm .ant-popover-inner {
1394
+ border-radius: 8px;
1395
+ }
1396
+ .p5jt6nm .ant-popover-innerntent {
1397
+ padding: 12px;
1398
+ }
1399
+ .p5jt6nm .ant-popover-content > .ant-popover-arrow {
1400
+ display: none;
1401
+ }
1402
+ .p5jt6nm td.ant-table-cell {
1403
+ vertical-align: middle;
1404
+ }
1405
+ .p5jt6nm .rule-list {
1406
+ list-style: disc;
1407
+ list-style-position: inside;
1408
+ }
1409
+ .p5jt6nm .ant-table {
1410
+ font-size: 12px;
1411
+ line-height: 18px;
1412
+ }
1413
+ .p5jt6nm .ant-table .ant-table-container {
1414
+ border: none !important;
1415
+ }
1416
+ .p5jt6nm .ant-table .ant-table-thead {
1417
+ font-weight: 700;
1418
+ }
1419
+ .p5jt6nm .ant-table .ant-table-thead > tr > th {
1420
+ background: #fff;
1421
+ }
1422
+ .p5jt6nm .ant-table thead > tr > th:last-child,
1423
+ .p5jt6nm .ant-table tbody > tr > td:last-child {
1424
+ border-right: none !important;
1425
+ }
1426
+ .p5jt6nm .ant-table tbody > tr:last-child > td {
1427
+ border-bottom: none;
1428
+ }/* // basic */
1429
+ /* FishEye Color Variables and Functions */
1430
+ /*
1431
+ --------------------------- Primary Color ---------------------------
1432
+ */
1433
+ /*
1434
+ ---------------------------When necessary to add at any time---------------------------
1435
+ */
1436
+ /* computed */
1437
+ /* blue */
1438
+ /* green */
1439
+ /* yellow */
1440
+ /* red */
1441
+ /* purple */
1442
+ /* palette global token*/
1443
+ /* color opaque */
1444
+ /* color transparent */
1445
+ /* blue transparent */
1446
+ /* green transparent */
1447
+ /* yellow transparent */
1448
+ /* red transparent */
1449
+ /* gray transparent */
1450
+ /* white transparent */
1451
+ /* gradient opaque */
1452
+ /* blue radial gradient */
1453
+ /* blue linear gradient */
1454
+ /* green radial gradient */
1455
+ /* yellow radial gradient */
1456
+ /* red radial gradient */
1457
+ /* gray radial gradient */
1458
+ /* white to gray radial gradient */
1459
+ /* white to gray linear gradient */
1460
+ /* gradient transparent */
1461
+ /* secondary palette */
1462
+ /* purple radial gradient */
1463
+ /* refine alias color */
1464
+ /* text */
1465
+ /* link */
1466
+ /* fill */
1467
+ /* fill element */
1468
+ /* fill interaction */
1469
+ /* stroke */
1470
+ /* background */
1471
+ /* dim */
1472
+ /* box shadow */
1473
+ /* fisheye */
1474
+ /* z-index */
1475
+ .clsjtk2 {
1476
+ min-height: 24px !important;
1477
+ }
1478
+
1479
+ .cq3mbby {
1480
+ width: 100%;
1481
+ }/* // basic */
1482
+ /* FishEye Color Variables and Functions */
1483
+ /*
1484
+ --------------------------- Primary Color ---------------------------
1485
+ */
1486
+ /*
1487
+ ---------------------------When necessary to add at any time---------------------------
1488
+ */
1489
+ /* computed */
1490
+ /* blue */
1491
+ /* green */
1492
+ /* yellow */
1493
+ /* red */
1494
+ /* purple */
1495
+ /* palette global token*/
1496
+ /* color opaque */
1497
+ /* color transparent */
1498
+ /* blue transparent */
1499
+ /* green transparent */
1500
+ /* yellow transparent */
1501
+ /* red transparent */
1502
+ /* gray transparent */
1503
+ /* white transparent */
1504
+ /* gradient opaque */
1505
+ /* blue radial gradient */
1506
+ /* blue linear gradient */
1507
+ /* green radial gradient */
1508
+ /* yellow radial gradient */
1509
+ /* red radial gradient */
1510
+ /* gray radial gradient */
1511
+ /* white to gray radial gradient */
1512
+ /* white to gray linear gradient */
1513
+ /* gradient transparent */
1514
+ /* secondary palette */
1515
+ /* purple radial gradient */
1516
+ /* refine alias color */
1517
+ /* text */
1518
+ /* link */
1519
+ /* fill */
1520
+ /* fill element */
1521
+ /* fill interaction */
1522
+ /* stroke */
1523
+ /* background */
1524
+ /* dim */
1525
+ /* box shadow */
1526
+ /* fisheye */
1527
+ /* z-index */
1528
+ .u19jcs7t {
1529
+ list-style: disc;
1530
+ padding-left: 2em;
1531
+ }/* // basic */
1532
+ /* FishEye Color Variables and Functions */
1533
+ /*
1534
+ --------------------------- Primary Color ---------------------------
1535
+ */
1536
+ /*
1537
+ ---------------------------When necessary to add at any time---------------------------
1538
+ */
1539
+ /* computed */
1540
+ /* blue */
1541
+ /* green */
1542
+ /* yellow */
1543
+ /* red */
1544
+ /* purple */
1545
+ /* palette global token*/
1546
+ /* color opaque */
1547
+ /* color transparent */
1548
+ /* blue transparent */
1549
+ /* green transparent */
1550
+ /* yellow transparent */
1551
+ /* red transparent */
1552
+ /* gray transparent */
1553
+ /* white transparent */
1554
+ /* gradient opaque */
1555
+ /* blue radial gradient */
1556
+ /* blue linear gradient */
1557
+ /* green radial gradient */
1558
+ /* yellow radial gradient */
1559
+ /* red radial gradient */
1560
+ /* gray radial gradient */
1561
+ /* white to gray radial gradient */
1562
+ /* white to gray linear gradient */
1563
+ /* gradient transparent */
1564
+ /* secondary palette */
1565
+ /* purple radial gradient */
1566
+ /* refine alias color */
1567
+ /* text */
1568
+ /* link */
1569
+ /* fill */
1570
+ /* fill element */
1571
+ /* fill interaction */
1572
+ /* stroke */
1573
+ /* background */
1574
+ /* dim */
1575
+ /* box shadow */
1576
+ /* fisheye */
1577
+ /* z-index */
1578
+ .evoxbc1 {
1579
+ border-bottom: 1px dashed rgba(107, 128, 167, 0.6);
1580
+ }/* // basic */
1581
+ /* FishEye Color Variables and Functions */
1582
+ /*
1583
+ --------------------------- Primary Color ---------------------------
1584
+ */
1585
+ /*
1586
+ ---------------------------When necessary to add at any time---------------------------
1587
+ */
1588
+ /* computed */
1589
+ /* blue */
1590
+ /* green */
1591
+ /* yellow */
1592
+ /* red */
1593
+ /* purple */
1594
+ /* palette global token*/
1595
+ /* color opaque */
1596
+ /* color transparent */
1597
+ /* blue transparent */
1598
+ /* green transparent */
1599
+ /* yellow transparent */
1600
+ /* red transparent */
1601
+ /* gray transparent */
1602
+ /* white transparent */
1603
+ /* gradient opaque */
1604
+ /* blue radial gradient */
1605
+ /* blue linear gradient */
1606
+ /* green radial gradient */
1607
+ /* yellow radial gradient */
1608
+ /* red radial gradient */
1609
+ /* gray radial gradient */
1610
+ /* white to gray radial gradient */
1611
+ /* white to gray linear gradient */
1612
+ /* gradient transparent */
1613
+ /* secondary palette */
1614
+ /* purple radial gradient */
1615
+ /* refine alias color */
1616
+ /* text */
1617
+ /* link */
1618
+ /* fill */
1619
+ /* fill element */
1620
+ /* fill interaction */
1621
+ /* stroke */
1622
+ /* background */
1623
+ /* dim */
1624
+ /* box shadow */
1625
+ /* fisheye */
1626
+ /* z-index */
1393
1627
  .c1dicff8 {
1394
1628
  width: 100%;
1395
1629
  vertical-align: top;
@@ -4200,191 +4434,6 @@
4200
4434
  /* box shadow */
4201
4435
  /* fisheye */
4202
4436
  /* z-index */
4203
- .p5jt6nm .ant-popover-inner {
4204
- border-radius: 8px;
4205
- }
4206
- .p5jt6nm .ant-popover-innerntent {
4207
- padding: 12px;
4208
- }
4209
- .p5jt6nm .ant-popover-content > .ant-popover-arrow {
4210
- display: none;
4211
- }
4212
- .p5jt6nm td.ant-table-cell {
4213
- vertical-align: middle;
4214
- }
4215
- .p5jt6nm .rule-list {
4216
- list-style: disc;
4217
- list-style-position: inside;
4218
- }
4219
- .p5jt6nm .ant-table {
4220
- font-size: 12px;
4221
- line-height: 18px;
4222
- }
4223
- .p5jt6nm .ant-table .ant-table-container {
4224
- border: none !important;
4225
- }
4226
- .p5jt6nm .ant-table .ant-table-thead {
4227
- font-weight: 700;
4228
- }
4229
- .p5jt6nm .ant-table .ant-table-thead > tr > th {
4230
- background: #fff;
4231
- }
4232
- .p5jt6nm .ant-table thead > tr > th:last-child,
4233
- .p5jt6nm .ant-table tbody > tr > td:last-child {
4234
- border-right: none !important;
4235
- }
4236
- .p5jt6nm .ant-table tbody > tr:last-child > td {
4237
- border-bottom: none;
4238
- }/* // basic */
4239
- /* FishEye Color Variables and Functions */
4240
- /*
4241
- --------------------------- Primary Color ---------------------------
4242
- */
4243
- /*
4244
- ---------------------------When necessary to add at any time---------------------------
4245
- */
4246
- /* computed */
4247
- /* blue */
4248
- /* green */
4249
- /* yellow */
4250
- /* red */
4251
- /* purple */
4252
- /* palette global token*/
4253
- /* color opaque */
4254
- /* color transparent */
4255
- /* blue transparent */
4256
- /* green transparent */
4257
- /* yellow transparent */
4258
- /* red transparent */
4259
- /* gray transparent */
4260
- /* white transparent */
4261
- /* gradient opaque */
4262
- /* blue radial gradient */
4263
- /* blue linear gradient */
4264
- /* green radial gradient */
4265
- /* yellow radial gradient */
4266
- /* red radial gradient */
4267
- /* gray radial gradient */
4268
- /* white to gray radial gradient */
4269
- /* white to gray linear gradient */
4270
- /* gradient transparent */
4271
- /* secondary palette */
4272
- /* purple radial gradient */
4273
- /* refine alias color */
4274
- /* text */
4275
- /* link */
4276
- /* fill */
4277
- /* fill element */
4278
- /* fill interaction */
4279
- /* stroke */
4280
- /* background */
4281
- /* dim */
4282
- /* box shadow */
4283
- /* fisheye */
4284
- /* z-index */
4285
- .clsjtk2 {
4286
- min-height: 24px !important;
4287
- }
4288
-
4289
- .cq3mbby {
4290
- width: 100%;
4291
- }/* // basic */
4292
- /* FishEye Color Variables and Functions */
4293
- /*
4294
- --------------------------- Primary Color ---------------------------
4295
- */
4296
- /*
4297
- ---------------------------When necessary to add at any time---------------------------
4298
- */
4299
- /* computed */
4300
- /* blue */
4301
- /* green */
4302
- /* yellow */
4303
- /* red */
4304
- /* purple */
4305
- /* palette global token*/
4306
- /* color opaque */
4307
- /* color transparent */
4308
- /* blue transparent */
4309
- /* green transparent */
4310
- /* yellow transparent */
4311
- /* red transparent */
4312
- /* gray transparent */
4313
- /* white transparent */
4314
- /* gradient opaque */
4315
- /* blue radial gradient */
4316
- /* blue linear gradient */
4317
- /* green radial gradient */
4318
- /* yellow radial gradient */
4319
- /* red radial gradient */
4320
- /* gray radial gradient */
4321
- /* white to gray radial gradient */
4322
- /* white to gray linear gradient */
4323
- /* gradient transparent */
4324
- /* secondary palette */
4325
- /* purple radial gradient */
4326
- /* refine alias color */
4327
- /* text */
4328
- /* link */
4329
- /* fill */
4330
- /* fill element */
4331
- /* fill interaction */
4332
- /* stroke */
4333
- /* background */
4334
- /* dim */
4335
- /* box shadow */
4336
- /* fisheye */
4337
- /* z-index */
4338
- .u19jcs7t {
4339
- list-style: disc;
4340
- padding-left: 2em;
4341
- }/* // basic */
4342
- /* FishEye Color Variables and Functions */
4343
- /*
4344
- --------------------------- Primary Color ---------------------------
4345
- */
4346
- /*
4347
- ---------------------------When necessary to add at any time---------------------------
4348
- */
4349
- /* computed */
4350
- /* blue */
4351
- /* green */
4352
- /* yellow */
4353
- /* red */
4354
- /* purple */
4355
- /* palette global token*/
4356
- /* color opaque */
4357
- /* color transparent */
4358
- /* blue transparent */
4359
- /* green transparent */
4360
- /* yellow transparent */
4361
- /* red transparent */
4362
- /* gray transparent */
4363
- /* white transparent */
4364
- /* gradient opaque */
4365
- /* blue radial gradient */
4366
- /* blue linear gradient */
4367
- /* green radial gradient */
4368
- /* yellow radial gradient */
4369
- /* red radial gradient */
4370
- /* gray radial gradient */
4371
- /* white to gray radial gradient */
4372
- /* white to gray linear gradient */
4373
- /* gradient transparent */
4374
- /* secondary palette */
4375
- /* purple radial gradient */
4376
- /* refine alias color */
4377
- /* text */
4378
- /* link */
4379
- /* fill */
4380
- /* fill element */
4381
- /* fill interaction */
4382
- /* stroke */
4383
- /* background */
4384
- /* dim */
4385
- /* box shadow */
4386
- /* fisheye */
4387
- /* z-index */
4388
4437
  .wfg6u6g {
4389
4438
  display: flex;
4390
4439
  align-items: center;
@@ -1,3 +1,4 @@
1
+ import { MenuItemProps } from 'antd/lib/menu/MenuItem';
1
2
  import React from 'react';
2
3
  import { ResourceModel } from '../../models';
3
4
  type EditMenuItemProps<Model extends ResourceModel> = {
@@ -5,6 +6,6 @@ type EditMenuItemProps<Model extends ResourceModel> = {
5
6
  submit: () => Promise<unknown> | undefined;
6
7
  } | null>;
7
8
  resourceModel: Model;
8
- };
9
+ } & MenuItemProps;
9
10
  export declare function EditAnnotationDropdownMenuItem<Model extends ResourceModel>(props: EditMenuItemProps<Model>): JSX.Element;
10
11
  export {};
@@ -1,3 +1,4 @@
1
+ import { MenuItemProps } from 'antd/lib/menu/MenuItem';
1
2
  import React from 'react';
2
3
  import { ResourceModel } from '../../models';
3
4
  type EditMenuItemProps<Model extends ResourceModel> = {
@@ -5,6 +6,6 @@ type EditMenuItemProps<Model extends ResourceModel> = {
5
6
  submit: () => Promise<unknown> | undefined;
6
7
  } | null>;
7
8
  resourceModel: Model;
8
- };
9
+ } & MenuItemProps;
9
10
  export declare function EditLabelDropdownMenuItem<Model extends ResourceModel>(props: EditMenuItemProps<Model>): JSX.Element;
10
11
  export {};
@@ -1,3 +1,4 @@
1
+ import { MenuItemProps } from 'antd/lib/menu/MenuItem';
1
2
  import { Unstructured } from 'k8s-api-provider';
2
3
  import { Node } from 'kubernetes-types/core/v1';
3
4
  import React from 'react';
@@ -7,6 +8,6 @@ type EditMenuItemProps = {
7
8
  submit: () => Promise<unknown> | undefined;
8
9
  } | null>;
9
10
  resourceModel: ResourceModel<Unstructured & Node>;
10
- };
11
+ } & MenuItemProps;
11
12
  export declare function EditNodeTaintDropdownMenuItem(props: EditMenuItemProps): JSX.Element;
12
13
  export {};
@@ -8,5 +8,13 @@ interface EditNodeTaintFormProps {
8
8
  interface EditNodeTaintFormHandler {
9
9
  submit: () => Promise<unknown> | undefined;
10
10
  }
11
+ export declare enum NodeTaintEffect {
12
+ 'NoSchedule' = "NoSchedule",
13
+ 'PreferNoSchedule' = "PreferNoSchedule",
14
+ 'NoExecute' = "NoExecute"
15
+ }
11
16
  export declare const EditNodeTaintForm: React.ForwardRefExoticComponent<EditNodeTaintFormProps & React.RefAttributes<EditNodeTaintFormHandler>>;
17
+ export declare const TaintEffectTooltip: React.FC<{
18
+ effect: NodeTaintEffect;
19
+ }>;
12
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",