New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

carbon-pictograms-svelte

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbon-pictograms-svelte - npm Package Compare versions

Comparing version 11.2.0 to 11.3.0

lib/AiEthics.svelte

95

CHANGELOG.md

@@ -8,4 +8,12 @@ # Changelog

## [11.3.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v11.3.0) - 2021-04-30
**Features**
- upgrade `@carbon/pictograms` to v11.9.0 (net +29 pictograms)
## [11.2.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v11.2.0) - 2021-02-04
**Features**
- upgrade `@carbon/pictograms` to v11.3.0 (net +25 pictograms)

@@ -15,2 +23,4 @@

**Features**
- upgrade `@carbon/pictograms` to v11.2.0 (net +50 pictograms)

@@ -20,2 +30,4 @@

**Fixes**
- correctly list Pictogram module names in `PICTOGRAM_INDEX.md`

@@ -37,82 +49,101 @@

- Refactor TypeScript definitions to be more concise/performant
- Bump development dependencies
**Fixes**
- refactor TypeScript definitions to be more concise/performant
## [10.18.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.18.0) - 2020-09-04
- Use new Svelte component events interface in TypeScript definitions
- Bump `@carbon/pictograms` build dependency to 10.18.0 (no new pictograms)
- Bump `ts-node-dev`, `typescript`, `@types/node`
- Bump dependencies in `examples/`
**Features**
- bump `@carbon/pictograms` build dependency to 10.18.0 (no new pictograms)
- use new Svelte component events interface in TypeScript definitions
## [10.17.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.17.0) - 2020-08-21
- In the TypeScript definitions, rename the `Pictogram` class to `CarbonPictogram`
- Bump `@carbon/pictograms` build dependency to 10.17.0 (9 new pictograms)
**Features**
- bump `@carbon/pictograms` build dependency to 10.17.0 (net +9 pictograms)
- rename the `Pictogram` TypeScript class to `CarbonPictogram`
## [10.16.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.16.0) - 2020-08-09
- Fix TypeScript definitions to stub `on:eventname` directive
- Bump `@carbon/pictograms` build dependency to 10.16.0 (2 new pictograms)
**Features**
- bump `@carbon/pictograms` build dependency to 10.16.0 (net +2 pictograms)
**Fixes**
- stub `on:eventname` directive in TypeScript definitions
## [10.15.2](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.15.2) - 2020-07-26
- Use ambient module declarations in types (e.g. `"carbon-pictograms/lib/Airplane"`) to encourage direct imports
**Fixes**
- use ambient module declarations in types (e.g. `"carbon-pictograms/lib/Airplane"`) to encourage direct imports
## [10.15.1](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.15.1) - 2020-07-24
- Add TypeScript type definitions
**Features**
- add TypeScript type definitions
## [10.15.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.15.0) - 2020-07-20
- Bump `@carbon/pictograms` build dependency to 10.15.0 (24 new pictograms)
**Features**
- bump `@carbon/pictograms` build dependency to 10.15.0 (net +24 pictograms)
## [10.14.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.14.0) - 2020-07-01
- Bump `@carbon/pictograms` build dependency to 10.14.0 (74 new pictograms)
**Features**
- bump `@carbon/pictograms` build dependency to 10.14.0 (net +74 pictograms)
## [10.13.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.13.0) - 2020-06-19
- Bump `@carbon/pictograms` build dependency to 10.13.0
**Features**
- bump `@carbon/pictograms` build dependency to 10.13.0
## [10.12.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.12.0) - 2020-06-09
- Bump `@carbon/pictograms` build dependency to 10.12.0 (18 new pictograms)
**Features**
- bump `@carbon/pictograms` build dependency to 10.12.0 (net +18 pictograms)
## [10.11.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.11.0) - 2020-05-28
- Bump `@carbon/pictograms` build dependency to 10.11.0
**Features**
- Add `fill`, `stroke` props
- bump `@carbon/pictograms` build dependency to 10.11.0
- add `fill`, `stroke` props
## [10.10.3](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.10.3) - 2020-05-13
- Remove `peerDependencies`
**Features**
- Publish `PICTOGRAM_INDEX.md`
- remove `peerDependencies`
- publish `PICTOGRAM_INDEX.md`
## [10.10.2](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.10.2) - 2020-05-02
- Bump `@carbon/pictograms` build dependency to 10.10.2
**Fixes**
- Refactor to use fs async I/O methods with `util.promisify`
- include svelte@3.20.x as a peer dependency
- Replace `tape` with Node.js `assert`
## [10.10.1](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.10.1) - 2020-04-21
- Include svelte@3.20.x as a peer dependency
**Fixes**
## [10.10.1](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.10.1) - 2020-04-21
- remove `engines` field from `package.json` to remove installation warning
- Remove `engines` field from package.json because node version >=12 is only required for development, not consumption
## [10.10.0](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.10.0) - 2020-04-17
- Bump `@carbon/pictograms` build dependency to 10.10.0
**Features**
- Use recursive `fs.rmdirSync` (requires Node.js version >=12)
- bump `@carbon/pictograms` build dependency to 10.10.0
- use recursive `fs.rmdirSync` (requires Node.js version >=12 when running locally)
- Run build script in Travis CI
## [10.9.2](https://github.com/IBM/carbon-pictograms-svelte/releases/tag/v10.9.2) - 2020-04-06
- Initial release (using `@carbon/pictograms@10.9.2`, `@carbon/icon-helpers@10.6.0`)
- initial release using `@carbon/pictograms@10.9.2`, `@carbon/icon-helpers@10.6.0`

@@ -9,2 +9,8 @@ export { default as AcceleratedComputing } from "./AcceleratedComputing.svelte";

export { default as Agriculture } from "./Agriculture.svelte";
export { default as AiEthics } from "./AiEthics.svelte";
export { default as AiTrust } from "./AiTrust.svelte";
export { default as AiPrivacy } from "./AiPrivacy.svelte";
export { default as AiTransparency } from "./AiTransparency.svelte";
export { default as AiExplainability } from "./AiExplainability.svelte";
export { default as AiRobustness } from "./AiRobustness.svelte";
export { default as AirConditioner } from "./AirConditioner.svelte";

@@ -30,2 +36,3 @@ export { default as Airplane } from "./Airplane.svelte";

export { default as Archive } from "./Archive.svelte";
export { default as ArgentinaObelisk } from "./ArgentinaObelisk.svelte";
export { default as ArtTools_01 } from "./ArtTools_01.svelte";

@@ -42,2 +49,3 @@ export { default as AsiaAustralia } from "./AsiaAustralia.svelte";

export { default as Backpack } from "./Backpack.svelte";
export { default as Badge } from "./Badge.svelte";
export { default as Bag } from "./Bag.svelte";

@@ -59,2 +67,3 @@ export { default as Bangalore } from "./Bangalore.svelte";

export { default as BoxPlot } from "./BoxPlot.svelte";
export { default as Broom } from "./Broom.svelte";
export { default as Budapest } from "./Budapest.svelte";

@@ -107,2 +116,4 @@ export { default as BugVirusMalware } from "./BugVirusMalware.svelte";

export { default as Chicago } from "./Chicago.svelte";
export { default as ChileEasterIsland } from "./ChileEasterIsland.svelte";
export { default as ChileHandOfTheDesert } from "./ChileHandOfTheDesert.svelte";
export { default as ChipCircuit } from "./ChipCircuit.svelte";

@@ -141,2 +152,3 @@ export { default as ChipCredit } from "./ChipCredit.svelte";

export { default as CloudPakForMulticloudManagement } from "./CloudPakForMulticloudManagement.svelte";
export { default as CloudPakForNetworkAutomation } from "./CloudPakForNetworkAutomation.svelte";
export { default as CloudPakForSecurity } from "./CloudPakForSecurity.svelte";

@@ -157,4 +169,6 @@ export { default as CloudPakSystem } from "./CloudPakSystem.svelte";

export { default as ColorContrast } from "./ColorContrast.svelte";
export { default as ColombiaCathedralOfLasLajas } from "./ColombiaCathedralOfLasLajas.svelte";
export { default as CommercialFinancing_01 } from "./CommercialFinancing_01.svelte";
export { default as CommercialFinancing_02 } from "./CommercialFinancing_02.svelte";
export { default as CompostBin } from "./CompostBin.svelte";
export { default as ConceptExpansion } from "./ConceptExpansion.svelte";

@@ -228,2 +242,3 @@ export { default as ConceptInsights } from "./ConceptInsights.svelte";

export { default as Earth } from "./Earth.svelte";
export { default as EcuadorQuito } from "./EcuadorQuito.svelte";
export { default as Education } from "./Education.svelte";

@@ -259,2 +274,3 @@ export { default as Electric } from "./Electric.svelte";

export { default as Factory } from "./Factory.svelte";
export { default as Fairness } from "./Fairness.svelte";
export { default as Farm_01 } from "./Farm_01.svelte";

@@ -338,2 +354,4 @@ export { default as Farm_02 } from "./Farm_02.svelte";

export { default as HomeProfile } from "./HomeProfile.svelte";
export { default as HongKong } from "./HongKong.svelte";
export { default as HongKongCityscape } from "./HongKongCityscape.svelte";
export { default as Hospital } from "./Hospital.svelte";

@@ -357,2 +375,3 @@ export { default as Hpi } from "./Hpi.svelte";

export { default as IdentityTrustAssessment } from "./IdentityTrustAssessment.svelte";
export { default as IndiaSouthAsia } from "./IndiaSouthAsia.svelte";
export { default as InfrastructureSecurity } from "./InfrastructureSecurity.svelte";

@@ -365,2 +384,3 @@ export { default as Innovate } from "./Innovate.svelte";

export { default as Intercom } from "./Intercom.svelte";
export { default as Invoice } from "./Invoice.svelte";
export { default as IotMunich } from "./IotMunich.svelte";

@@ -394,2 +414,3 @@ export { default as ItInfrastructureSoftware } from "./ItInfrastructureSoftware.svelte";

export { default as Love } from "./Love.svelte";
export { default as Luggage } from "./Luggage.svelte";
export { default as Lungs } from "./Lungs.svelte";

@@ -493,2 +514,3 @@ export { default as MachineLearning_01 } from "./MachineLearning_01.svelte";

export { default as PersonalityInsights } from "./PersonalityInsights.svelte";
export { default as PeruMachuPicchu } from "./PeruMachuPicchu.svelte";
export { default as PetriCulture } from "./PetriCulture.svelte";

@@ -536,2 +558,3 @@ export { default as PillBottle_01 } from "./PillBottle_01.svelte";

export { default as Recycle } from "./Recycle.svelte";
export { default as RecycleBin } from "./RecycleBin.svelte";
export { default as Refinery } from "./Refinery.svelte";

@@ -572,2 +595,3 @@ export { default as Refresh } from "./Refresh.svelte";

export { default as SecureProfile } from "./SecureProfile.svelte";
export { default as SecureSearch } from "./SecureSearch.svelte";
export { default as Security } from "./Security.svelte";

@@ -578,2 +602,3 @@ export { default as SecurityAsAService } from "./SecurityAsAService.svelte";

export { default as SecurityShield } from "./SecurityShield.svelte";
export { default as SelectProduct } from "./SelectProduct.svelte";
export { default as SelectRange } from "./SelectRange.svelte";

@@ -648,2 +673,3 @@ export { default as ServerOperatingSystems } from "./ServerOperatingSystems.svelte";

export { default as Tags } from "./Tags.svelte";
export { default as TaipeiBubbleTea } from "./TaipeiBubbleTea.svelte";
export { default as TapeStorage } from "./TapeStorage.svelte";

@@ -662,2 +688,3 @@ export { default as Target } from "./Target.svelte";

export { default as TemperatureLow } from "./TemperatureLow.svelte";
export { default as TemporaryBadge } from "./TemporaryBadge.svelte";
export { default as Tennis } from "./Tennis.svelte";

@@ -712,2 +739,3 @@ export { default as TestTubes } from "./TestTubes.svelte";

export { default as Unlock_02 } from "./Unlock_02.svelte";
export { default as UruguayPalacioSalvo } from "./UruguayPalacioSalvo.svelte";
export { default as Upload_01 } from "./Upload_01.svelte";

@@ -723,2 +751,3 @@ export { default as Upload_02 } from "./Upload_02.svelte";

export { default as Vancouver } from "./Vancouver.svelte";
export { default as VenezuelaNationalPantheonOfVenezuela } from "./VenezuelaNationalPantheonOfVenezuela.svelte";
export { default as Video_01 } from "./Video_01.svelte";

@@ -725,0 +754,0 @@ export { default as Video_02 } from "./Video_02.svelte";

{
"name": "carbon-pictograms-svelte",
"version": "11.2.0",
"version": "11.3.0",
"license": "Apache-2.0",
"description": "Carbon Design System SVG pictograms as Svelte components",
"author": "Eric Liu (https://github.com/metonym)",
"author": "IBM",
"svelte": "./lib/index.js",

@@ -12,17 +12,16 @@ "main": "./lib/index.js",

"scripts": {
"prepack": "tsnd --transpile-only src",
"test": "tsnd --transpile-only src/*.test.ts",
"test:tdd": "tsnd --respawn --transpile-only src/*.test.ts",
"prepack": "tsnd --transpile-only src",
"validate": "svelte-check --workspace=src"
"test:types": "svelte-check --workspace=src"
},
"devDependencies": {
"@carbon/icon-helpers": "^10.12.0",
"@carbon/pictograms": "11.3.0",
"@carbon/icon-helpers": "^10.16.0",
"@carbon/pictograms": "11.9.0",
"@types/carbon__icon-helpers": "^10.7.1",
"@types/node": "^14.14.25",
"sveld": "^0.6.1",
"svelte": "^3.32.1",
"svelte-check": "^1.1.32",
"ts-node-dev": "^1.1.1",
"typescript": "^4.1.3"
"@types/node": "^15.0.1",
"sveld": "^0.7.1",
"svelte": "^3.38.0",
"svelte-check": "^1.5.2",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.4"
},

@@ -29,0 +28,0 @@ "repository": {

@@ -10,6 +10,4 @@ # carbon-pictograms-svelte

This **zero dependency** library builds [Carbon Design System pictograms](https://www.carbondesignsystem.com/guidelines/pictograms/library) as Svelte components. Although best paired with [carbon-components-svelte](https://github.com/IBM/carbon-components-svelte), this library can be consumed standalone.
This zero dependency library builds [Carbon Design System pictograms](https://www.carbondesignsystem.com/guidelines/pictograms/library) as Svelte components. Although best paired with [carbon-components-svelte](https://github.com/IBM/carbon-components-svelte), this library can be consumed standalone.
Svelte version >=3.31 is required to use this library with TypeScript.
Try it in the [Svelte REPL](https://svelte.dev/repl/88b99674d0f24a3a8948d3760f8ba999?version=3.24.1).

@@ -19,24 +17,2 @@

**Table of Contents**
- [Install](#install)
- [Folder Structure](#folder-structure)
- [Usage](#usage)
- [Base Import](#base-import)
- [Direct Import (recommended)](#direct-import-recommended)
- [Import Path Pattern](#import-path-pattern)
- [API](#api)
- [Props](#props)
- [Recipes](#recipes)
- [Custom Fill Color](#custom-fill-color)
- [`fill` prop](#fill-prop)
- [Global class](#global-class)
- [Labelled](#labelled)
- [Labelled with Focus](#labelled-with-focus)
- [Labelled by](#labelled-by)
- [Examples](#examples)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [License](#license)
## Install

@@ -52,22 +28,2 @@

### Folder Structure
The downloaded package contains two folders:
- `lib`: Pictograms as uncompiled Svelte source code
- `types`: TypeScript definitions
```bash
# node_modules/carbon-pictograms-svelte
└───📁 lib # Svelte source code
│ └──index.js
│ └──ActiveServer.svelte
│ └──...
└───📁 types # TypeScript definitions
└──index.d.ts
└──ActiveServer.d.ts
└──...
```
## Usage

@@ -158,2 +114,6 @@

## TypeScript support
Svelte version 3.31 or greater is required to use this library with TypeScript.
## Examples

@@ -160,0 +120,0 @@

// Type definitions for carbon-pictograms-svelte
// 740 pictograms from @carbon/pictograms@11.3.0
// 769 pictograms from @carbon/pictograms@11.9.0

@@ -12,2 +12,8 @@ export { default as AcceleratedComputing } from "./AcceleratedComputing";

export { default as Agriculture } from "./Agriculture";
export { default as AiEthics } from "./AiEthics";
export { default as AiTrust } from "./AiTrust";
export { default as AiPrivacy } from "./AiPrivacy";
export { default as AiTransparency } from "./AiTransparency";
export { default as AiExplainability } from "./AiExplainability";
export { default as AiRobustness } from "./AiRobustness";
export { default as AirConditioner } from "./AirConditioner";

@@ -33,2 +39,3 @@ export { default as Airplane } from "./Airplane";

export { default as Archive } from "./Archive";
export { default as ArgentinaObelisk } from "./ArgentinaObelisk";
export { default as ArtTools_01 } from "./ArtTools_01";

@@ -45,2 +52,3 @@ export { default as AsiaAustralia } from "./AsiaAustralia";

export { default as Backpack } from "./Backpack";
export { default as Badge } from "./Badge";
export { default as Bag } from "./Bag";

@@ -62,2 +70,3 @@ export { default as Bangalore } from "./Bangalore";

export { default as BoxPlot } from "./BoxPlot";
export { default as Broom } from "./Broom";
export { default as Budapest } from "./Budapest";

@@ -110,2 +119,4 @@ export { default as BugVirusMalware } from "./BugVirusMalware";

export { default as Chicago } from "./Chicago";
export { default as ChileEasterIsland } from "./ChileEasterIsland";
export { default as ChileHandOfTheDesert } from "./ChileHandOfTheDesert";
export { default as ChipCircuit } from "./ChipCircuit";

@@ -144,2 +155,3 @@ export { default as ChipCredit } from "./ChipCredit";

export { default as CloudPakForMulticloudManagement } from "./CloudPakForMulticloudManagement";
export { default as CloudPakForNetworkAutomation } from "./CloudPakForNetworkAutomation";
export { default as CloudPakForSecurity } from "./CloudPakForSecurity";

@@ -160,4 +172,6 @@ export { default as CloudPakSystem } from "./CloudPakSystem";

export { default as ColorContrast } from "./ColorContrast";
export { default as ColombiaCathedralOfLasLajas } from "./ColombiaCathedralOfLasLajas";
export { default as CommercialFinancing_01 } from "./CommercialFinancing_01";
export { default as CommercialFinancing_02 } from "./CommercialFinancing_02";
export { default as CompostBin } from "./CompostBin";
export { default as ConceptExpansion } from "./ConceptExpansion";

@@ -231,2 +245,3 @@ export { default as ConceptInsights } from "./ConceptInsights";

export { default as Earth } from "./Earth";
export { default as EcuadorQuito } from "./EcuadorQuito";
export { default as Education } from "./Education";

@@ -262,2 +277,3 @@ export { default as Electric } from "./Electric";

export { default as Factory } from "./Factory";
export { default as Fairness } from "./Fairness";
export { default as Farm_01 } from "./Farm_01";

@@ -341,2 +357,4 @@ export { default as Farm_02 } from "./Farm_02";

export { default as HomeProfile } from "./HomeProfile";
export { default as HongKong } from "./HongKong";
export { default as HongKongCityscape } from "./HongKongCityscape";
export { default as Hospital } from "./Hospital";

@@ -360,2 +378,3 @@ export { default as Hpi } from "./Hpi";

export { default as IdentityTrustAssessment } from "./IdentityTrustAssessment";
export { default as IndiaSouthAsia } from "./IndiaSouthAsia";
export { default as InfrastructureSecurity } from "./InfrastructureSecurity";

@@ -368,2 +387,3 @@ export { default as Innovate } from "./Innovate";

export { default as Intercom } from "./Intercom";
export { default as Invoice } from "./Invoice";
export { default as IotMunich } from "./IotMunich";

@@ -397,2 +417,3 @@ export { default as ItInfrastructureSoftware } from "./ItInfrastructureSoftware";

export { default as Love } from "./Love";
export { default as Luggage } from "./Luggage";
export { default as Lungs } from "./Lungs";

@@ -496,2 +517,3 @@ export { default as MachineLearning_01 } from "./MachineLearning_01";

export { default as PersonalityInsights } from "./PersonalityInsights";
export { default as PeruMachuPicchu } from "./PeruMachuPicchu";
export { default as PetriCulture } from "./PetriCulture";

@@ -539,2 +561,3 @@ export { default as PillBottle_01 } from "./PillBottle_01";

export { default as Recycle } from "./Recycle";
export { default as RecycleBin } from "./RecycleBin";
export { default as Refinery } from "./Refinery";

@@ -575,2 +598,3 @@ export { default as Refresh } from "./Refresh";

export { default as SecureProfile } from "./SecureProfile";
export { default as SecureSearch } from "./SecureSearch";
export { default as Security } from "./Security";

@@ -581,2 +605,3 @@ export { default as SecurityAsAService } from "./SecurityAsAService";

export { default as SecurityShield } from "./SecurityShield";
export { default as SelectProduct } from "./SelectProduct";
export { default as SelectRange } from "./SelectRange";

@@ -651,2 +676,3 @@ export { default as ServerOperatingSystems } from "./ServerOperatingSystems";

export { default as Tags } from "./Tags";
export { default as TaipeiBubbleTea } from "./TaipeiBubbleTea";
export { default as TapeStorage } from "./TapeStorage";

@@ -665,2 +691,3 @@ export { default as Target } from "./Target";

export { default as TemperatureLow } from "./TemperatureLow";
export { default as TemporaryBadge } from "./TemporaryBadge";
export { default as Tennis } from "./Tennis";

@@ -715,2 +742,3 @@ export { default as TestTubes } from "./TestTubes";

export { default as Unlock_02 } from "./Unlock_02";
export { default as UruguayPalacioSalvo } from "./UruguayPalacioSalvo";
export { default as Upload_01 } from "./Upload_01";

@@ -726,2 +754,3 @@ export { default as Upload_02 } from "./Upload_02";

export { default as Vancouver } from "./Vancouver";
export { default as VenezuelaNationalPantheonOfVenezuela } from "./VenezuelaNationalPantheonOfVenezuela";
export { default as Video_01 } from "./Video_01";

@@ -728,0 +757,0 @@ export { default as Video_02 } from "./Video_02";

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc