@capra/core 1.10.0 → 1.11.1
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/index.cjs +28 -16
- package/dist/index.d.cts +7 -2
- package/dist/index.d.mts +7 -2
- package/dist/index.mjs +28 -16
- package/dist/style.css +6 -30
- package/docs/history-changelogs-capra-core--docs.md +18 -0
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1063,8 +1063,8 @@ Collapse.displayName = "Collapse";
|
|
|
1063
1063
|
//#endregion
|
|
1064
1064
|
//#region src/components/InputRow/InputRow.module.css
|
|
1065
1065
|
var InputRow_module_default = {
|
|
1066
|
-
"addon": "capra-InputRow-module-
|
|
1067
|
-
"row": "capra-InputRow-module-
|
|
1066
|
+
"addon": "capra-InputRow-module-hUHSXW-addon",
|
|
1067
|
+
"row": "capra-InputRow-module-hUHSXW-row"
|
|
1068
1068
|
};
|
|
1069
1069
|
//#endregion
|
|
1070
1070
|
//#region src/components/InputRow/InputRow.tsx
|
|
@@ -3300,7 +3300,7 @@ const VerticalNavigationContext = react.createContext(null);
|
|
|
3300
3300
|
* Can be a link (if href is provided) or a button.
|
|
3301
3301
|
* Supports icons, active state, and 'subItem' variant for indentation.
|
|
3302
3302
|
*/
|
|
3303
|
-
const Item = ({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant = "default", rightElement, ...props }) => {
|
|
3303
|
+
const Item = ({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant = "default", rightElement, DANGEROUS_DO_NOT_USE__after, ...props }) => {
|
|
3304
3304
|
if (!react.useContext(VerticalNavigationContext)) throw new Error("VerticalNavigation.Item must be used within VerticalNavigation");
|
|
3305
3305
|
const isLink = Boolean(href);
|
|
3306
3306
|
const Component = as ?? (isLink ? "a" : "button");
|
|
@@ -3350,7 +3350,7 @@ const Item = ({ as, icon, label, isActive, href, FORCE__className, isDisabled, o
|
|
|
3350
3350
|
variant: "body-sm-normal",
|
|
3351
3351
|
color: "inherit",
|
|
3352
3352
|
FORCE__className: VerticalNavigation_module_default.label
|
|
3353
|
-
}, label), rightElement ? /* @__PURE__ */ react.createElement("span", { className: VerticalNavigation_module_default.right }, rightElement) : null));
|
|
3353
|
+
}, label), rightElement ? /* @__PURE__ */ react.createElement("span", { className: VerticalNavigation_module_default.right }, rightElement) : null), DANGEROUS_DO_NOT_USE__after);
|
|
3354
3354
|
};
|
|
3355
3355
|
/**
|
|
3356
3356
|
* A toggle button to collapse/expand the navigation.
|
|
@@ -3445,21 +3445,29 @@ function lazyLoad(importFn) {
|
|
|
3445
3445
|
}));
|
|
3446
3446
|
}
|
|
3447
3447
|
const ILLUSTRATIONS = {
|
|
3448
|
-
EmptyFolder: {
|
|
3449
|
-
light: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolder")),
|
|
3450
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolderDark"))
|
|
3451
|
-
},
|
|
3452
3448
|
ArtSupplies: {
|
|
3453
3449
|
light: lazyLoad(() => import("@capra/icons/esm/images/ArtSupplies")),
|
|
3454
3450
|
dark: lazyLoad(() => import("@capra/icons/esm/images/ArtSuppliesDark"))
|
|
3455
3451
|
},
|
|
3456
|
-
|
|
3457
|
-
light: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3458
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3452
|
+
Attention: {
|
|
3453
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Attention")),
|
|
3454
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/AttentionDark"))
|
|
3455
|
+
},
|
|
3456
|
+
Celebration: {
|
|
3457
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Celebration")),
|
|
3458
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/CelebrationDark"))
|
|
3459
|
+
},
|
|
3460
|
+
Hibernating: {
|
|
3461
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Hibernating")),
|
|
3462
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/HibernatingDark"))
|
|
3459
3463
|
},
|
|
3460
3464
|
EmptyBowl: {
|
|
3461
3465
|
light: lazyLoad(() => import("@capra/icons/esm/images/EmptyBowl")),
|
|
3462
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3466
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/EmptyBowlDark"))
|
|
3467
|
+
},
|
|
3468
|
+
EmptyFolder: {
|
|
3469
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolder")),
|
|
3470
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolderDark"))
|
|
3463
3471
|
},
|
|
3464
3472
|
EmptySuitcase: {
|
|
3465
3473
|
light: lazyLoad(() => import("@capra/icons/esm/images/EmptySuitcase")),
|
|
@@ -3467,19 +3475,23 @@ const ILLUSTRATIONS = {
|
|
|
3467
3475
|
},
|
|
3468
3476
|
Envelope: {
|
|
3469
3477
|
light: lazyLoad(() => import("@capra/icons/esm/images/Envelope")),
|
|
3470
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3478
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/EnvelopeDark"))
|
|
3471
3479
|
},
|
|
3472
3480
|
MissingSock: {
|
|
3473
3481
|
light: lazyLoad(() => import("@capra/icons/esm/images/MissingSock")),
|
|
3474
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3482
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/MissingSockDark"))
|
|
3475
3483
|
},
|
|
3476
3484
|
PizzaBox: {
|
|
3477
3485
|
light: lazyLoad(() => import("@capra/icons/esm/images/PizzaBox")),
|
|
3478
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3486
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/PizzaBoxDark"))
|
|
3479
3487
|
},
|
|
3480
3488
|
PottedPlant: {
|
|
3481
3489
|
light: lazyLoad(() => import("@capra/icons/esm/images/PottedPlant")),
|
|
3482
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3490
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/PottedPlantDark"))
|
|
3491
|
+
},
|
|
3492
|
+
Sandcastle: {
|
|
3493
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Sandcastle")),
|
|
3494
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/SandcastleDark"))
|
|
3483
3495
|
}
|
|
3484
3496
|
};
|
|
3485
3497
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -1378,6 +1378,11 @@ type VerticalNavigationItemBaseProps<As extends React$2.ElementType> = Omit<Reac
|
|
|
1378
1378
|
* Text label for the item.
|
|
1379
1379
|
*/
|
|
1380
1380
|
label: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* DO NOT USE! Temporary workaround. This prop **will be removed** in an upcoming minor version.
|
|
1383
|
+
* @deprecated
|
|
1384
|
+
*/
|
|
1385
|
+
DANGEROUS_DO_NOT_USE__after?: React$2.ReactNode;
|
|
1381
1386
|
};
|
|
1382
1387
|
type VerticalNavigationDefaultItemProps<As extends React$2.ElementType> = VerticalNavigationItemBaseProps<As> & {
|
|
1383
1388
|
/**
|
|
@@ -1404,7 +1409,7 @@ type VerticalNavigationItemProps<As extends React$2.ElementType> = VerticalNavig
|
|
|
1404
1409
|
* Can be a link (if href is provided) or a button.
|
|
1405
1410
|
* Supports icons, active state, and 'subItem' variant for indentation.
|
|
1406
1411
|
*/
|
|
1407
|
-
declare const Item: <As extends React$2.ElementType>({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant, rightElement, ...props }: VerticalNavigationItemProps<As>) => React$2.JSX.Element;
|
|
1412
|
+
declare const Item: <As extends React$2.ElementType>({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant, rightElement, DANGEROUS_DO_NOT_USE__after, ...props }: VerticalNavigationItemProps<As>) => React$2.JSX.Element;
|
|
1408
1413
|
type VerticalNavigationCollapseProps = React$2.ButtonHTMLAttributes<HTMLButtonElement> & StylingOverrideProps;
|
|
1409
1414
|
/**
|
|
1410
1415
|
* A toggle button to collapse/expand the navigation.
|
|
@@ -1437,7 +1442,7 @@ declare const VerticalNavigation: VerticalNavigationComponent;
|
|
|
1437
1442
|
//#endregion
|
|
1438
1443
|
//#region src/components/EmptyState/EmptyState.d.ts
|
|
1439
1444
|
/** Valid illustration slugs for the EmptyState component. */
|
|
1440
|
-
declare const illustrationSlugs: readonly ['
|
|
1445
|
+
declare const illustrationSlugs: readonly ['ArtSupplies', 'Attention', 'Celebration', 'EmptyBowl', 'EmptyFolder', 'EmptySuitcase', 'Envelope', 'Hibernating', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
|
|
1441
1446
|
type EmptyStateIllustrationSlug = (typeof illustrationSlugs)[number];
|
|
1442
1447
|
type EmptyStateProps = {
|
|
1443
1448
|
/** The illustration to display, identified by slug. Use theme to switch between light/dark variants when available. @default "EmptyFolder" */
|
package/dist/index.d.mts
CHANGED
|
@@ -1378,6 +1378,11 @@ type VerticalNavigationItemBaseProps<As extends React$2.ElementType> = Omit<Reac
|
|
|
1378
1378
|
* Text label for the item.
|
|
1379
1379
|
*/
|
|
1380
1380
|
label: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* DO NOT USE! Temporary workaround. This prop **will be removed** in an upcoming minor version.
|
|
1383
|
+
* @deprecated
|
|
1384
|
+
*/
|
|
1385
|
+
DANGEROUS_DO_NOT_USE__after?: React$2.ReactNode;
|
|
1381
1386
|
};
|
|
1382
1387
|
type VerticalNavigationDefaultItemProps<As extends React$2.ElementType> = VerticalNavigationItemBaseProps<As> & {
|
|
1383
1388
|
/**
|
|
@@ -1404,7 +1409,7 @@ type VerticalNavigationItemProps<As extends React$2.ElementType> = VerticalNavig
|
|
|
1404
1409
|
* Can be a link (if href is provided) or a button.
|
|
1405
1410
|
* Supports icons, active state, and 'subItem' variant for indentation.
|
|
1406
1411
|
*/
|
|
1407
|
-
declare const Item: <As extends React$2.ElementType>({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant, rightElement, ...props }: VerticalNavigationItemProps<As>) => React$2.JSX.Element;
|
|
1412
|
+
declare const Item: <As extends React$2.ElementType>({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant, rightElement, DANGEROUS_DO_NOT_USE__after, ...props }: VerticalNavigationItemProps<As>) => React$2.JSX.Element;
|
|
1408
1413
|
type VerticalNavigationCollapseProps = React$2.ButtonHTMLAttributes<HTMLButtonElement> & StylingOverrideProps;
|
|
1409
1414
|
/**
|
|
1410
1415
|
* A toggle button to collapse/expand the navigation.
|
|
@@ -1437,7 +1442,7 @@ declare const VerticalNavigation: VerticalNavigationComponent;
|
|
|
1437
1442
|
//#endregion
|
|
1438
1443
|
//#region src/components/EmptyState/EmptyState.d.ts
|
|
1439
1444
|
/** Valid illustration slugs for the EmptyState component. */
|
|
1440
|
-
declare const illustrationSlugs: readonly ['
|
|
1445
|
+
declare const illustrationSlugs: readonly ['ArtSupplies', 'Attention', 'Celebration', 'EmptyBowl', 'EmptyFolder', 'EmptySuitcase', 'Envelope', 'Hibernating', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
|
|
1441
1446
|
type EmptyStateIllustrationSlug = (typeof illustrationSlugs)[number];
|
|
1442
1447
|
type EmptyStateProps = {
|
|
1443
1448
|
/** The illustration to display, identified by slug. Use theme to switch between light/dark variants when available. @default "EmptyFolder" */
|
package/dist/index.mjs
CHANGED
|
@@ -1040,8 +1040,8 @@ Collapse.displayName = "Collapse";
|
|
|
1040
1040
|
//#endregion
|
|
1041
1041
|
//#region src/components/InputRow/InputRow.module.css
|
|
1042
1042
|
var InputRow_module_default = {
|
|
1043
|
-
"addon": "capra-InputRow-module-
|
|
1044
|
-
"row": "capra-InputRow-module-
|
|
1043
|
+
"addon": "capra-InputRow-module-hUHSXW-addon",
|
|
1044
|
+
"row": "capra-InputRow-module-hUHSXW-row"
|
|
1045
1045
|
};
|
|
1046
1046
|
//#endregion
|
|
1047
1047
|
//#region src/components/InputRow/InputRow.tsx
|
|
@@ -3277,7 +3277,7 @@ const VerticalNavigationContext = React$1.createContext(null);
|
|
|
3277
3277
|
* Can be a link (if href is provided) or a button.
|
|
3278
3278
|
* Supports icons, active state, and 'subItem' variant for indentation.
|
|
3279
3279
|
*/
|
|
3280
|
-
const Item = ({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant = "default", rightElement, ...props }) => {
|
|
3280
|
+
const Item = ({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant = "default", rightElement, DANGEROUS_DO_NOT_USE__after, ...props }) => {
|
|
3281
3281
|
if (!React$1.useContext(VerticalNavigationContext)) throw new Error("VerticalNavigation.Item must be used within VerticalNavigation");
|
|
3282
3282
|
const isLink = Boolean(href);
|
|
3283
3283
|
const Component = as ?? (isLink ? "a" : "button");
|
|
@@ -3327,7 +3327,7 @@ const Item = ({ as, icon, label, isActive, href, FORCE__className, isDisabled, o
|
|
|
3327
3327
|
variant: "body-sm-normal",
|
|
3328
3328
|
color: "inherit",
|
|
3329
3329
|
FORCE__className: VerticalNavigation_module_default.label
|
|
3330
|
-
}, label), rightElement ? /* @__PURE__ */ React$1.createElement("span", { className: VerticalNavigation_module_default.right }, rightElement) : null));
|
|
3330
|
+
}, label), rightElement ? /* @__PURE__ */ React$1.createElement("span", { className: VerticalNavigation_module_default.right }, rightElement) : null), DANGEROUS_DO_NOT_USE__after);
|
|
3331
3331
|
};
|
|
3332
3332
|
/**
|
|
3333
3333
|
* A toggle button to collapse/expand the navigation.
|
|
@@ -3422,21 +3422,29 @@ function lazyLoad(importFn) {
|
|
|
3422
3422
|
}));
|
|
3423
3423
|
}
|
|
3424
3424
|
const ILLUSTRATIONS = {
|
|
3425
|
-
EmptyFolder: {
|
|
3426
|
-
light: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolder")),
|
|
3427
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolderDark"))
|
|
3428
|
-
},
|
|
3429
3425
|
ArtSupplies: {
|
|
3430
3426
|
light: lazyLoad(() => import("@capra/icons/esm/images/ArtSupplies")),
|
|
3431
3427
|
dark: lazyLoad(() => import("@capra/icons/esm/images/ArtSuppliesDark"))
|
|
3432
3428
|
},
|
|
3433
|
-
|
|
3434
|
-
light: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3435
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3429
|
+
Attention: {
|
|
3430
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Attention")),
|
|
3431
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/AttentionDark"))
|
|
3432
|
+
},
|
|
3433
|
+
Celebration: {
|
|
3434
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Celebration")),
|
|
3435
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/CelebrationDark"))
|
|
3436
|
+
},
|
|
3437
|
+
Hibernating: {
|
|
3438
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Hibernating")),
|
|
3439
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/HibernatingDark"))
|
|
3436
3440
|
},
|
|
3437
3441
|
EmptyBowl: {
|
|
3438
3442
|
light: lazyLoad(() => import("@capra/icons/esm/images/EmptyBowl")),
|
|
3439
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3443
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/EmptyBowlDark"))
|
|
3444
|
+
},
|
|
3445
|
+
EmptyFolder: {
|
|
3446
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolder")),
|
|
3447
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/EmptyFolderDark"))
|
|
3440
3448
|
},
|
|
3441
3449
|
EmptySuitcase: {
|
|
3442
3450
|
light: lazyLoad(() => import("@capra/icons/esm/images/EmptySuitcase")),
|
|
@@ -3444,19 +3452,23 @@ const ILLUSTRATIONS = {
|
|
|
3444
3452
|
},
|
|
3445
3453
|
Envelope: {
|
|
3446
3454
|
light: lazyLoad(() => import("@capra/icons/esm/images/Envelope")),
|
|
3447
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3455
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/EnvelopeDark"))
|
|
3448
3456
|
},
|
|
3449
3457
|
MissingSock: {
|
|
3450
3458
|
light: lazyLoad(() => import("@capra/icons/esm/images/MissingSock")),
|
|
3451
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3459
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/MissingSockDark"))
|
|
3452
3460
|
},
|
|
3453
3461
|
PizzaBox: {
|
|
3454
3462
|
light: lazyLoad(() => import("@capra/icons/esm/images/PizzaBox")),
|
|
3455
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3463
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/PizzaBoxDark"))
|
|
3456
3464
|
},
|
|
3457
3465
|
PottedPlant: {
|
|
3458
3466
|
light: lazyLoad(() => import("@capra/icons/esm/images/PottedPlant")),
|
|
3459
|
-
dark: lazyLoad(() => import("@capra/icons/esm/images/
|
|
3467
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/PottedPlantDark"))
|
|
3468
|
+
},
|
|
3469
|
+
Sandcastle: {
|
|
3470
|
+
light: lazyLoad(() => import("@capra/icons/esm/images/Sandcastle")),
|
|
3471
|
+
dark: lazyLoad(() => import("@capra/icons/esm/images/SandcastleDark"))
|
|
3460
3472
|
}
|
|
3461
3473
|
};
|
|
3462
3474
|
/**
|
package/dist/style.css
CHANGED
|
@@ -1564,7 +1564,7 @@ input:disabled + .capra-Radio-module-ZI7rzq-inner:after {
|
|
|
1564
1564
|
transition: none;
|
|
1565
1565
|
}
|
|
1566
1566
|
}
|
|
1567
|
-
.capra-InputRow-module-
|
|
1567
|
+
.capra-InputRow-module-hUHSXW-row {
|
|
1568
1568
|
flex-direction: row;
|
|
1569
1569
|
align-items: stretch;
|
|
1570
1570
|
width: 100%;
|
|
@@ -1584,7 +1584,7 @@ input:disabled + .capra-Radio-module-ZI7rzq-inner:after {
|
|
|
1584
1584
|
flex: none;
|
|
1585
1585
|
}
|
|
1586
1586
|
|
|
1587
|
-
& > [data-capra-input-row-addon]:not(:first-child), & > [data-capra-text-input]:not(:first-child), & > [data-capra-field-root]:not(:first-child) :where([data-capra-text-input])
|
|
1587
|
+
& > [data-capra-input-row-addon]:not(:first-child), & > [data-capra-text-input]:not(:first-child), & > [data-capra-field-root]:not(:first-child) :where([data-capra-text-input]) {
|
|
1588
1588
|
margin-inline-start: -1px;
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
@@ -1592,10 +1592,6 @@ input:disabled + .capra-Radio-module-ZI7rzq-inner:after {
|
|
|
1592
1592
|
z-index: 1;
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
|
-
& > .ant-select-focused {
|
|
1596
|
-
z-index: 1;
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
1595
|
& > :not(:only-child):not(:last-child) {
|
|
1600
1596
|
border-top-right-radius: 0;
|
|
1601
1597
|
border-bottom-right-radius: 0;
|
|
@@ -1605,29 +1601,9 @@ input:disabled + .capra-Radio-module-ZI7rzq-inner:after {
|
|
|
1605
1601
|
border-top-left-radius: 0;
|
|
1606
1602
|
border-bottom-left-radius: 0;
|
|
1607
1603
|
}
|
|
1608
|
-
|
|
1609
|
-
& > .ant-select:not(:only-child):not(:last-child) .ant-select-selection, & > .ant-select:not(:only-child):not(:last-child) .ant-select-selector {
|
|
1610
|
-
border-top-right-radius: 0;
|
|
1611
|
-
border-bottom-right-radius: 0;
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
& > .ant-select:not(:only-child):not(:first-child) .ant-select-selection, & > .ant-select:not(:only-child):not(:first-child) .ant-select-selector {
|
|
1615
|
-
border-top-left-radius: 0;
|
|
1616
|
-
border-bottom-left-radius: 0;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
& > .ant-select:first-child:not(:only-child) .ant-select-selection, & > .ant-select:first-child:not(:only-child) .ant-select-selector {
|
|
1620
|
-
border-top-left-radius: var(--cds2-radius-md);
|
|
1621
|
-
border-bottom-left-radius: var(--cds2-radius-md);
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
& > .ant-select:last-child:not(:only-child) .ant-select-selection, & > .ant-select:last-child:not(:only-child) .ant-select-selector {
|
|
1625
|
-
border-top-right-radius: var(--cds2-radius-md);
|
|
1626
|
-
border-bottom-right-radius: var(--cds2-radius-md);
|
|
1627
|
-
}
|
|
1628
1604
|
}
|
|
1629
1605
|
|
|
1630
|
-
.capra-InputRow-module-
|
|
1606
|
+
.capra-InputRow-module-hUHSXW-addon {
|
|
1631
1607
|
box-sizing: border-box;
|
|
1632
1608
|
align-items: center;
|
|
1633
1609
|
gap: var(--cds2-spacing-md);
|
|
@@ -1650,17 +1626,17 @@ input:disabled + .capra-Radio-module-ZI7rzq-inner:after {
|
|
|
1650
1626
|
}
|
|
1651
1627
|
}
|
|
1652
1628
|
|
|
1653
|
-
.capra-InputRow-module-
|
|
1629
|
+
.capra-InputRow-module-hUHSXW-row > [data-capra-input-row-addon]:first-child:not(:only-child) {
|
|
1654
1630
|
border-top-left-radius: var(--cds2-radius-md);
|
|
1655
1631
|
border-bottom-left-radius: var(--cds2-radius-md);
|
|
1656
1632
|
}
|
|
1657
1633
|
|
|
1658
|
-
.capra-InputRow-module-
|
|
1634
|
+
.capra-InputRow-module-hUHSXW-row > [data-capra-input-row-addon]:last-child:not(:only-child) {
|
|
1659
1635
|
border-top-right-radius: var(--cds2-radius-md);
|
|
1660
1636
|
border-bottom-right-radius: var(--cds2-radius-md);
|
|
1661
1637
|
}
|
|
1662
1638
|
|
|
1663
|
-
.capra-InputRow-module-
|
|
1639
|
+
.capra-InputRow-module-hUHSXW-row > [data-capra-input-row-addon]:only-child {
|
|
1664
1640
|
border-radius: var(--cds2-radius-md);
|
|
1665
1641
|
}
|
|
1666
1642
|
.capra-NumberField-module-crO5za-withStepper {
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# History/Changelogs/@capra-core
|
|
2
2
|
|
|
3
|
+
### 1.11.1
|
|
4
|
+
|
|
5
|
+
#### Patch Changes
|
|
6
|
+
|
|
7
|
+
* [d5f21be](https://bitbucket.org/cribl/capra-ui/commits/d5f21be): Add temporary prop to `VerticalNavigation`
|
|
8
|
+
|
|
9
|
+
### 1.11.0
|
|
10
|
+
|
|
11
|
+
#### Minor Changes
|
|
12
|
+
|
|
13
|
+
* [85ed2f8](https://bitbucket.org/cribl/capra-ui/commits/85ed2f8): Update `EmptyState` to use new images
|
|
14
|
+
|
|
15
|
+
#### Patch Changes
|
|
16
|
+
|
|
17
|
+
* Updated dependencies [85ed2f8](https://bitbucket.org/cribl/capra-ui/commits/85ed2f8) — Add missing dark mode images
|
|
18
|
+
* Updated dependencies [85ed2f8](https://bitbucket.org/cribl/capra-ui/commits/85ed2f8) — Add new `Attention`, `Celebration`, and `Hibernating` images
|
|
19
|
+
* @capra/icons\@1.9.0
|
|
20
|
+
|
|
3
21
|
### 1.10.0
|
|
4
22
|
|
|
5
23
|
#### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capra/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Core React components for the Capra design system",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"react-aria": "^3.48.0",
|
|
37
37
|
"react-aria-components": "^1.17.0",
|
|
38
|
-
"@capra/icons": "^1.
|
|
38
|
+
"@capra/icons": "^1.9.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"clsx": "^2.1.1",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"antd": "4.24.16",
|
|
44
44
|
"storybook": "^10.4.6",
|
|
45
45
|
"tsdown": "^0.22.7",
|
|
46
|
+
"@private/building": "^0.1.0",
|
|
46
47
|
"@capra/theme": "^1.4.0",
|
|
47
|
-
"@private/stories": "^0.0.0",
|
|
48
48
|
"@private/linting": "^0.0.1",
|
|
49
|
-
"@private/
|
|
49
|
+
"@private/stories": "^0.0.0",
|
|
50
50
|
"@private/testing": "^0.0.7"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|