@capra/core 1.10.0 → 1.11.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.
package/dist/index.cjs CHANGED
@@ -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
- Sandcastle: {
3457
- light: lazyLoad(() => import("@capra/icons/esm/images/Sandcastle")),
3458
- dark: lazyLoad(() => import("@capra/icons/esm/images/SandcastleDark"))
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/EmptyBowl"))
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/Envelope"))
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/MissingSock"))
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/PizzaBox"))
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/PottedPlant"))
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
@@ -1437,7 +1437,7 @@ declare const VerticalNavigation: VerticalNavigationComponent;
1437
1437
  //#endregion
1438
1438
  //#region src/components/EmptyState/EmptyState.d.ts
1439
1439
  /** Valid illustration slugs for the EmptyState component. */
1440
- declare const illustrationSlugs: readonly ['EmptyFolder', 'ArtSupplies', 'EmptyBowl', 'EmptySuitcase', 'Envelope', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
1440
+ declare const illustrationSlugs: readonly ['ArtSupplies', 'Attention', 'Celebration', 'EmptyBowl', 'EmptyFolder', 'EmptySuitcase', 'Envelope', 'Hibernating', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
1441
1441
  type EmptyStateIllustrationSlug = (typeof illustrationSlugs)[number];
1442
1442
  type EmptyStateProps = {
1443
1443
  /** 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
@@ -1437,7 +1437,7 @@ declare const VerticalNavigation: VerticalNavigationComponent;
1437
1437
  //#endregion
1438
1438
  //#region src/components/EmptyState/EmptyState.d.ts
1439
1439
  /** Valid illustration slugs for the EmptyState component. */
1440
- declare const illustrationSlugs: readonly ['EmptyFolder', 'ArtSupplies', 'EmptyBowl', 'EmptySuitcase', 'Envelope', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
1440
+ declare const illustrationSlugs: readonly ['ArtSupplies', 'Attention', 'Celebration', 'EmptyBowl', 'EmptyFolder', 'EmptySuitcase', 'Envelope', 'Hibernating', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
1441
1441
  type EmptyStateIllustrationSlug = (typeof illustrationSlugs)[number];
1442
1442
  type EmptyStateProps = {
1443
1443
  /** The illustration to display, identified by slug. Use theme to switch between light/dark variants when available. @default "EmptyFolder" */
package/dist/index.mjs CHANGED
@@ -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
- Sandcastle: {
3434
- light: lazyLoad(() => import("@capra/icons/esm/images/Sandcastle")),
3435
- dark: lazyLoad(() => import("@capra/icons/esm/images/SandcastleDark"))
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/EmptyBowl"))
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/Envelope"))
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/MissingSock"))
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/PizzaBox"))
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/PottedPlant"))
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
  /**
@@ -1,5 +1,17 @@
1
1
  # History/Changelogs/@capra-core
2
2
 
3
+ ### 1.11.0
4
+
5
+ #### Minor Changes
6
+
7
+ * [85ed2f8](https://bitbucket.org/cribl/capra-ui/commits/85ed2f8): Update `EmptyState` to use new images
8
+
9
+ #### Patch Changes
10
+
11
+ * Updated dependencies [85ed2f8](https://bitbucket.org/cribl/capra-ui/commits/85ed2f8) — Add missing dark mode images
12
+ * Updated dependencies [85ed2f8](https://bitbucket.org/cribl/capra-ui/commits/85ed2f8) — Add new `Attention`, `Celebration`, and `Hibernating` images
13
+ * @capra/icons\@1.9.0
14
+
3
15
  ### 1.10.0
4
16
 
5
17
  #### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capra/core",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
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.8.0"
38
+ "@capra/icons": "^1.9.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "clsx": "^2.1.1",
@@ -44,9 +44,9 @@
44
44
  "storybook": "^10.4.6",
45
45
  "tsdown": "^0.22.7",
46
46
  "@capra/theme": "^1.4.0",
47
- "@private/stories": "^0.0.0",
48
- "@private/linting": "^0.0.1",
49
47
  "@private/building": "^0.1.0",
48
+ "@private/linting": "^0.0.1",
49
+ "@private/stories": "^0.0.0",
50
50
  "@private/testing": "^0.0.7"
51
51
  },
52
52
  "scripts": {